(Q) Walkthrought - Omni Q&A

Can you guys provide a walkthrought on how to quickly add a device by merging this code and the device source code?
What to look for in source, where to place it
How to safely test it, etc
With this walkthrought you can get users quickly enabled to start on creating support for their own devices as wel as more community maintainership
pretty pretty pretty please

bachera said:
Can you guys provide a walkthrought on how to quickly add a device by merging this code and the device source code?
What to look for in source, where to place it
How to safely test it, etc
With this walkthrought you can get users quickly enabled to start on creating support for their own devices as wel as more community maintainership
pretty pretty pretty please
Click to expand...
Click to collapse
This is on the way
We have a load to document, and we will be doing it as quickly as possible. We can provide a guide on how to go from AOSP => Omni quickly. It's a bit complex to explain how to safely test on any device, as that depends on specific per-device knowledge that a developer of that device has.
But we'll do our best to help people get building

pulser_g2 said:
This is on the way
We have a load to document, and we will be doing it as quickly as possible. We can provide a guide on how to go from AOSP => Omni quickly. It's a bit complex to explain how to safely test on any device, as that depends on specific per-device knowledge that a developer of that device has.
But we'll do our best to help people get building
Click to expand...
Click to collapse
I have been following this guide...but its rather incomplete and is not clear on some explanation so I got stuck halfway through. Wasn't sure what it meant by looking for the commit of new device addition in the vendor (for ominirom) so i kinda stop halfway through...lol maybe you can make some sense out of it, clarify it and help me by me helping you
http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code
---------- Post added at 03:42 PM ---------- Previous post was at 03:41 PM ----------
bachera said:
Can you guys provide a walkthrought on how to quickly add a device by merging this code and the device source code?
What to look for in source, where to place it
How to safely test it, etc
With this walkthrought you can get users quickly enabled to start on creating support for their own devices as wel as more community maintainership
pretty pretty pretty please
Click to expand...
Click to collapse
Lol meant to quote you

mgbotoe said:
I have been following this guide...but its rather incomplete and is not clear on some explanation so I got stuck halfway through. Wasn't sure what it meant by looking for the commit of new device addition in the vendor (for ominirom) so i kinda stop halfway through...lol maybe you can make some sense out of it, clarify it and help me by me helping you
http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code
---------- Post added at 03:42 PM ---------- Previous post was at 03:41 PM ----------
Lol meant to quote you
Click to expand...
Click to collapse
.
Vendor is the manufacturer i believe. OR the devices code name. Ex. HTC EVO 4G is the supersonic and HTC EVO 4G LTE is the Jewel.

Well i gathered that part (been catching up on my source lingo) what i meant is finding the add new device commit on ominirom vendor commit. I guess i need to see some example? Ominirom vendor is listed as android_vendor_custom if you want to take a look

mgbotoe said:
Well i gathered that part (been catching up on my source lingo) what i meant is finding the add new device commit on ominirom vendor commit. I guess i need to see some example? Ominirom vendor is listed as android_vendor_custom if you want to take a look
Click to expand...
Click to collapse
Wasnt the repo int "repo int http://www.github.com/omnirom/android.git (something else) android-4.3" ?
Sent from my EVO using XDA Premium 4 mobile app

lreyes said:
Wasnt the repo int "repo int http://www.github.com/omnirom/android.git (something else) android-4.3" ?
Sent from my EVO using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I used this repo init -u git://github.com/omnirom/android.git -b android-4.3 and it worked fine...just actually got done syncing.
Its essentially the same, you just forgot the -b

mgbotoe said:
I used this repo init -u git://github.com/omnirom/android.git -b android-4.3 and it worked fine...just actually got done syncing.
Its essentially the same, you just forgot the -b
Click to expand...
Click to collapse
Yeah that "(something else)" was the -b I just forgot what it was. I got the source all correct and fully synced but as you read in my thread I'm gonna have to do some dirty work.
Sent from my EVO using XDA Premium 4 mobile app

For htc explorer,all i needed to do was place the device,kernel,vendor repositories in the correct place,rename the makefile(not sure if even required,but did it anyways),and built.that;s it

sakindia123 said:
For htc explorer,all i needed to do was place the device,kernel,vendor repositories in the correct place,rename the makefile(not sure if even required,but did it anyways),and built.that;s it
Click to expand...
Click to collapse
what build commend did you use?

mgbotoe said:
what build commend did you use?
Click to expand...
Click to collapse
same as aosp, "make otapackage"

sadly i keep getting an error. I think i choose the wrong time to learn source codes and building them lol
Code:
build/core/tasks/kernel.mk:86: **********************************************************
build/core/tasks/kernel.mk:87: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:88: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:89: * BoardConfig.mk file *
build/core/tasks/kernel.mk:90: **********************************************************
make: *** No rule to make target `otapackage'. Stop.

awesome, just installed virtual machine to run Ubuntu. I am wagering I need that to start git syncs and move source files around in this sync.
Really guys I am clueless. I probably need to create a fork first so I dont sync g2 stuff to base lol.
I think I am not up to the task

sakindia123 said:
same as aosp, "make otapackage"
Click to expand...
Click to collapse
How I didn't remember this! I had a hard time unpacking system image and creating a flashable zip. LoL

found it http://docs.omnirom.org/Setting_Up_A_Compile_Environment

bachera said:
I give up. Cant get sdk installed lol
Click to expand...
Click to collapse
Welcome to Linux my friend :fingers-crossed:

sakindia123 said:
same as aosp, "make otapackage"
Click to expand...
Click to collapse
I just brunch, works great

sevenup30 said:
Welcome to Linux my friend :fingers-crossed:
Click to expand...
Click to collapse
achievement unlocked syncing first git.
is it normal some stuff cant be downloaded?

bachera said:
achievement unlocked syncing first git.
is it normal some stuff cant be downloaded?
Click to expand...
Click to collapse
I would say normally not, but I believe it's that the omni source isn't finished on github.
Edit, I believe, if I remember correctly, one on the device trees on the manifest to be synced isn't on their github. Which will probably be fixed soon enough.
Just because one is anonymous doesn't mean that one has privacy.

syncing going on. I got a lg g2 d802 with sources from lg,
Am starting an experiment. Wont get the speed anywhere near the pros.
I got sources from LG for the 4.2.2 rom. Will this be a version de mismatch with 4.3?
Now I need to add\edit some files. No walkthrough for that yet.
Anybody has a good hook on where I can check next steps? I was thinking probably along the lines in this post:
http://forum.xda-developers.com/showthread.php?p=46453349

Related

New Eris Vendor Tree

Ok, folks... Some very industrious devs have worked out a more complete vendor tree for the Eris at http://github.com/punk-kaos/vendor_htc_desirec. I've synced it into -
$AOSPsource/froyo/vendor/htc/desirec <-- this is the level that all of the files are at (i.e. everything under vendor_htc_desirec/ from the repo)
I'm a little lost as to where to go from there. I've looked at multiple vendor trees, and everyone seems to do things a little differently each time.
Can any of you point me in the right direction?
Thanks!
Kudos to Kaos, jamezelle, conap, vinylfreak89, & darchstar! You really rock.
Ok, so I copied it all under
$AOSPsource/froyo/device/htc/
Since that's where the dream, passion, etc. stuff is.
Now, I do a - 'source build/envsetup.sh' and it seems to find the desirec stuff.
including device/htc/desirec/vendorsetup.sh
including device/htc/dream/vendorsetup.sh
including device/htc/passion/vendorsetup.sh
including device/htc/sapphire/vendorsetup.sh​
I'm stuck at what to do a 'lunch' on now. In the vendorsetup.sh, there's a 'cyanogen_desirec-eng'.
When I 'lunch cyanogen_desirec-eng', I get -
build/core/product_config.mk:190: *** _nic.PRODUCTS.[[device/htc/desirec/froyo_desirec.mk]]: "vendor/htc/desirec/device_desirec-vendor-blobs.mk" does not exist. Stop.
** Don't have a product spec for: 'cyanogen_desirec'
** Do you have the right repo manifest?​
Getting closer!
Applause
I read you posts and see the questions you ask(that never seemed to get answered)and you will post some stuff you have learned all to help someone else who might want to get started dinking around with a pretty cool open source operating system. I applaud you for asking questions and when no one replies you answer it again yourself. You are the true definition of open source!
Im fairly new to this whole scene so excuse the "dumb" question but what exactly is a vendor tree?
You are stellar. I am going to try and port a froyo rom and then start to build something from the ground up. The questions you ask and the information you provide is invaluable. Want to put a rom project together?
Sent from my FroyoEris
good progress
paperweight said:
I read you posts and see the questions you ask(that never seemed to get answered)and you will post some stuff you have learned all to help someone else who might want to get started dinking around with a pretty cool open source operating system. I applaud you for asking questions and when no one replies you answer it again yourself. You are the true definition of open source!
Click to expand...
Click to collapse
Thank you. Many devs have helped me to learn all that I have learned. They are busy people just like most of us. Some of them probably don't pay attention to the forum that often. Some just have their own projects. Some hang out in IRC instead of looking in here. Actually, I've learned a lot in IRC, even when I just kick back and lurk. I really do want to get all of the info that I learn out here in the forum where 'noobs' are lurking. I've found that there is a certain level of detail that is available fairly easily with the search box. There's a point where it takes some real digging to figure things out. My hope is that it won't always be that way.
I tried manually taking all of the files and settings from the vendor tree and inserting them into SgtShultz. It didn't fix things. So, I'm thinking that either it really does have to be compiled in or this tree and AOSP Froyo don't quite mesh. Since there is some source code in the tree, that is most likely the issue.
I never could get the lunch command to work. That file is not there, and I'm still not sure what it should contain if I were to create it. Getting this to work would really help both of my other current projects...
MacShannon said:
Im fairly new to this whole scene so excuse the "dumb" question but what exactly is a vendor tree?
Click to expand...
Click to collapse
When you compile AOSP and/or variants from source, there is generally no device specific code - like drivers for instance. The vendor tree just sets everything up to add those proprietary files and settings into the mix, so that the resulting ROM will actually be usable. That's the idea anyway!
thanks for all the work you've been doing recently! i've followed the other thread as well... and am happy to say that i use (and appreciate) your work!
gnarlyc said:
When you compile AOSP and/or variants from source, there is generally no device specific code - like drivers for instance. The vendor tree just sets everything up to add those proprietary files and settings into the mix, so that the resulting ROM will actually be usable. That's the idea anyway!
Click to expand...
Click to collapse
I also have a "dumb" question.
If this is for the Eris, then why are the files under the "desire" name? I thought the eris was based on the hero platform or am I missing something obvious here?
gnarlyc said:
I'm a little lost as to where to go from there. I've looked at multiple vendor trees, and everyone seems to do things a little differently each time.
Can any of you point me in the right direction?
Click to expand...
Click to collapse
Have you tried the steps from this thread?
I am currently working through them, but had to stop because it's time for me to get ready for work.
I have gotten through the step where you copy the vendor files to the htc folder
sbarne3 said:
I also have a "dumb" question.
If this is for the Eris, then why are the files under the "desire" name? I thought the eris was based on the hero platform or am I missing something obvious here?
Click to expand...
Click to collapse
Great question! HTC's 'internal' name for the Eris is 'desirec' apparently. (Note that it's 'desirec' not 'desire'.) It was somewhat confusing when they came out with the Desire...
sbarne3 said:
Have you tried the steps from this thread?
I am currently working through them, but had to stop because it's time for me to get ready for work.
I have gotten through the step where you copy the vendor files to the htc folder
Click to expand...
Click to collapse
Looking at it now. Thanks!
gnarlyc said:
Ok, so I copied it all under
$AOSPsource/froyo/device/htc/
Since that's where the dream, passion, etc. stuff is.
Now, I do a - 'source build/envsetup.sh' and it seems to find the desirec stuff.
including device/htc/desirec/vendorsetup.sh
including device/htc/dream/vendorsetup.sh
including device/htc/passion/vendorsetup.sh
including device/htc/sapphire/vendorsetup.sh​
I'm stuck at what to do a 'lunch' on now. In the vendorsetup.sh, there's a 'cyanogen_desirec-eng'.
When I 'lunch cyanogen_desirec-eng', I get -
build/core/product_config.mk:190: *** _nic.PRODUCTS.[[device/htc/desirec/froyo_desirec.mk]]: "vendor/htc/desirec/device_desirec-vendor-blobs.mk" does not exist. Stop.
** Don't have a product spec for: 'cyanogen_desirec'
** Do you have the right repo manifest?​
Getting closer!
Click to expand...
Click to collapse
Did you run extract-files.sh? Iirc, the vendor_blob file is created when you run it.
Sent from my FroyoEris using XDA App
Resun said:
Did you run extract-files.sh? Iirc, the vendor_blob file is created when you run it.
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
Holy cow! I did not run it because I already have all of those files in place. It didn't occur to me to check and see if 'extract-files.sh' does something more than just pull the files.
Thank you.
Np, been working on my own, I've done the same thing about 10 times in the past week.
Sent from my Froyo Eris using XDA App
So, I commented out all of the 'adb pull' statements in the 'extract-files.sh' script, since the files are already there. Now I see that extract-files was creating the ...blobs.mk file under vendor/htc/desirec instead of device/htc/desirec. So, I changed that and ran it all again...
cd $AOSPsource/froyo
device/htc/desirec/extract-files.sh
source build/envsetup.sh
lunch cyanogen_desirec-eng
And this gives me -
build/core/product_config.mk:192: *** vendor/htc/desirec/froyo_desirec.mk: PRODUCT_NAME must be unique; "desirec" already used by device/htc/desirec/froyo_desirec.mk vendor/htc/desirec/froyo_desirec.mk . Stop.
** Don't have a product spec for: 'cyanogen_desirec'
** Do you have the right repo manifest?​
Here I go again! Thanks for all of the help. I really want to get this working, so that it can be scripted.
gnarlyc said:
So, I commented out all of the 'adb pull' statements in the 'extract-files.sh' script, since the files are already there. Now I see that extract-files was creating the ...blobs.mk file under vendor/htc/desirec instead of device/htc/desirec. So, I changed that and ran it all again...
cd $AOSPsource/froyo
device/htc/desirec/extract-files.sh
source build/envsetup.sh
lunch cyanogen_desirec-eng
And this gives me -
build/core/product_config.mk:192: *** vendor/htc/desirec/froyo_desirec.mk: PRODUCT_NAME must be unique; "desirec" already used by device/htc/desirec/froyo_desirec.mk vendor/htc/desirec/froyo_desirec.mk . Stop.
** Don't have a product spec for: 'cyanogen_desirec'
** Do you have the right repo manifest?​
Here I go again! Thanks for all of the help. I really want to get this working, so that it can be scripted.
Click to expand...
Click to collapse
Shouldn't have it in both, should only be in the device subfolder.
Resun said:
Shouldn't have it in both, should only be in the device subfolder.
Click to expand...
Click to collapse
Thanks again! I know better than to do a drive by like that. I spent two minutes testing, posted the results, and then left to run errands for most of the day.
I'll try again when i get home.
so ive patched up the vendor on my computer (some files were pointing to devices/htc/desirec) and when i finally got it to behave i ran into something worse..
Code:
build/core/combo/TARGET_linux-arm.mk:39: *** Unknown ARM architecture version: armv6. Stop.
i ended up changing the lunch to desirec-eng because it wouldnt resolve the product name... im not a dev but i sure have a nose for this sort of thing, and help or an armv6.mk file would be appreciated

Android 4.2 For Nexus S

More then one thread is making me dizzy
Please refer to the development thread for new rom releases and comments:
http://forum.xda-developers.com/showthread.php?t=1992411
Going to maintain this Rom from there
IAmTheDarkOne said:
I'm new as a posted to XDA but I'v ebeen making kernels for the Nexus S for a good while now. I've managed to take the GIT of android 4.2 and get to to compile with the crespo source from the cyanogenmod jellybean GIT repo with some minor modifications.
I currently have a GT9020A (fido canada network) and I'm currently running android 4.2 on it with my custom kernel.
Kernel Changes
-Overclocking enabled to 1.3 ghz as that's the highest I could get my phone to go stable
-added VR i/o scheduler as default
-added smartassv2 as default governor
-removed fsync for performance (francisco kernel)
I upgraded this os from a stock android 4.1.2 firmware all I needed to do is wipe cache no factor reset
I don't currently have a working installation of APPS and the image is not rooted. Like I said I'm new to this.
Since I haven't posted on the forums before I can't post a link to the firmware I made. Can anyone help me with this?
Click to expand...
Click to collapse
I'm more than willing to try and test your work. What kind of help do you need?
You can upload files here: http://goo.im/
ej8989 said:
I'm more than willing to try and test your work. What kind of help do you need?
You can upload files here:
Click to expand...
Click to collapse
I guess the issue is that I haven't currently made 10 posts on xda-developers therefore I'm not allowed to post external links guess I'll have to be patient and post regularly so I can actually get the links out there.
Contact the user darkargon here on xda. Or on irc.freenode.net #andromirror. He hosts builds/roms for free and with great support.
Can we PM? I want to build for sgs1 i9000 which should be similar to your device.
I have fully synced android-4.2_rc1 and cyanogenmod jellybean git repo as you did but now I'm stuck.
droidjam said:
Contact the user darkargon here on xda. Or on irc.freenode.net #andromirror. He hosts builds/roms for free and with great support.
Can we PM? I want to build for sgs1 i9000 which should be similar to your device.
I have fully synced android-4.2_rc1 and cyanogenmod jellybean git repo as you did but now I'm stuck.
Click to expand...
Click to collapse
Yeah sure we can PM. Like I said I'm new to this but I'll try to help the best I can
It's not that hard to find 10 useful things to post..
I don't think the problem is hosting, as others have seemed to assume. I think he can't post the link without having 10 posts
I would to try that ROM as well. It easy to see 10 posts.
Sent from my Nexus S using Tapatalk
Kitch16 said:
I don't think the problem is hosting, as others have seemed to assume. I think he can't post the link without having 10 posts
Click to expand...
Click to collapse
Yep.
IAmTheDarkOne said:
I guess the issue is that I haven't currently made 10 posts on xda-developers therefore I'm not allowed to post external links guess I'll have to be patient and post regularly so I can actually get the links out there.
Click to expand...
Click to collapse
IAmTheDarkOne said:
I guess the issue is that I haven't currently made 10 posts on xda-developers therefore I'm not allowed to post external links guess I'll have to be patient and post regularly so I can actually get the links out there.
Click to expand...
Click to collapse
Just post it with spaces in between the letters, that way xda won't pick it up as a link.
like this:
www. google .com
SuBethi Isthmian
navjot94 said:
Just post it with spaces in between the letters, that way xda won't pick it up as a link.
like this:
spaces used to be here
Click to expand...
Click to collapse
Trying with spaces I can't even replay to your comment with the quote in it with spaces
IAmTheDarkOne said:
Trying with spaces I can't even replay to your comment with the quote in it with spaces
Click to expand...
Click to collapse
Well, PM someone the link and then they reply with the link in a post, then you can edit the OP with that post as a quote
ok. I ask you on your thread so you can get more posts.
how did you "lunch (crespo-userdebug)"?
I don't have such an option, there are just full-eng full_manta-userdebug full_tilapia-userdebug full_x86-eng mini_mips-userdebug full_grouper-userdebug full_mips-eng full_toroplus-userdebug mini_armv7a_neon-userdebug mini_x86-userdebug full_maguro-userdebug full_panda-userdebug full_toro-userdebug mini_armv7a-userdebug vbox_x86-eng
where do I have to put the necessary files or which I have to edit to get a galaxysmtd-userdebug?
thanks!
give me the link per PM I'll post it here for you, if you want
it's not difficult to read his link..downloading right now
.....
booting now
droidjam said:
ok. I ask you on your thread so you can get more posts.
how did you "lunch (crespo-userdebug)"?
I don't have such an option, there are just full-eng full_manta-userdebug full_tilapia-userdebug full_x86-eng mini_mips-userdebug full_grouper-userdebug full_mips-eng full_toroplus-userdebug mini_armv7a_neon-userdebug mini_x86-userdebug full_maguro-userdebug full_panda-userdebug full_toro-userdebug mini_armv7a-userdebug vbox_x86-eng
where do I have to put the necessary files or which I have to edit to get a galaxysmtd-userdebug?
thanks!
give me the link per PM I'll post it here for you, if you want
Click to expand...
Click to collapse
the option doesn't exist in the 4.2 stock source because google isn't making one for the crespo. I added crespo to the source from CM10
you can add it by extracting this file to the root of your 4.2 source
dubdubdubdotfreefilehostingdotnetslashdevicesourcetar
fanguru said:
it's not difficult to read his link..downloading right now
.....
booting now
Click to expand...
Click to collapse
Please report how it works. Whats broken etc.
Interested to know how this works.
ubnub82 said:
Interested to know how this works.
Click to expand...
Click to collapse
+1
the link pls ...i cant understand from the post ...
what is working and not working list ...
how to flash ...
leap_ahead said:
+1
the link pls ...i cant understand from the post ...
What is working and not working list ...
How to flash ...
Click to expand...
Click to collapse
+2 link please!!
http://www.freefilehosting.net/fullcrespo-ota-engdark

Where should i start to translate?

Hey Guys
I wanted to translate Omnirom to my motherlanguage (german). But i dont know where to send a pull request or somethinh like this. On the Github-page are no members signed and a pull request for omnitorch is one month old..... So i think Github is not the primary Platform for this where should i send a pull request or where should i start to translate?
Greetings,
Leon
DarkFantasy6 said:
Hey Guys
I wanted to translate Omnirom to my motherlanguage (german). But i dont know where to send a pull request or somethinh like this. On the Github-page are no members signed and a pull request for omnitorch is one month old..... So i think Github is not the primary Platform for this where should i send a pull request or where should i start to translate?
Greetings,
Leon
Click to expand...
Click to collapse
youll need repo to download the sourcecode, but you'll also need more than that so i'd suggest you do a good reading of this this;
http://source.android.com/source/initializing.html
http://source.android.com/source/downloading.html
Goodluck!
Anthropostar said:
youll need repo to download the sourcecode, but you'll also need more than that so i'd suggest you do a good reading of this this;
http://source.android.com/source/initializing.html
http://source.android.com/source/downloading.html
Goodluck!
Click to expand...
Click to collapse
And these links (omni specific):
http://docs.omnirom.org/Setting_Up_A_Compile_Environment
http://docs.omnirom.org/Contributing_code
Gerrit (which has already been documented by previous posters) is the way.
I'm surprised there are any open PRs against any Omni repo. xplodwild has been pretty good about closing them and redirecting people to gerrit.
We realize Gerrit is a bit of a pain in the ass for translators - figuring out a good way to handle translations submissions has been difficult for all AOSP-derivative projects. I believe xplodwild has some ideas for how to make it easier in the long term.

[ROM] [Unofficial] [4.4.2] PAC-man ROM - All in One - PA/CM/AOKP

I have all the repos downloaded to do this, and I'm going to build it asap, any testers?
pro_granade said:
I have all the repos downloaded to do this, and I'm going to build it asap, any testers?
Click to expand...
Click to collapse
Yes please
Yay
Alrighty, first build that comes out, I will send to you. Have you ever done this before?
pro_granade said:
I have all the repos downloaded to do this, and I'm going to build it asap, any testers?
Click to expand...
Click to collapse
im down to test this. Ive tested MANY beta roms on my OG Evo 4G, S2, S3, Bionic, Rezound, Incredible 1 and 2 (you get the idea)
lemme know if you need any other testers
I'm down to test. Hit me up
Sent from my SM-G900P using XDA Free mobile app
I would be careful creating threads before something is built and booting, there's more than just downloading repos to getting a working build.
Just sayin.
If you need help with anything hit me up, working through various builds as well
I'll also test.
Id try it
I'd test it for you as well. :good: :good:
Hey PM me
sleshepic said:
I would be careful creating threads before something is built and booting, there's more than just downloading repos to getting a working build.
Just sayin.
If you need help with anything hit me up, working through various builds as well
Click to expand...
Click to collapse
Hey, xD, I need some help. I'm getting some errors with ./build-pac.sh and I need chur help.
I'm in as well. Working on some builds myself but no success yet. :good:
pro_granade said:
Hey, xD, I need some help. I'm getting some errors with ./build-pac.sh and I need chur help.
Click to expand...
Click to collapse
Best thing might be having this moved to general until a build is out. Then we could troubleshoot/go over build errors on record for the benefit of all. I was going to just put out the PAC builds, but we could do it together (in general) as it tends to be one of the easier ones to start with.
It building now it's just kernel issues. And alrighty I'm sorry for that >. <
Sent from my SM-G900P using XDA Premium 4 mobile app
Mod?
Could we get this thread moved to General?
pro_granade said:
I have all the repos downloaded to do this, and I'm going to build it asap, any testers?
Click to expand...
Click to collapse
hell yeah, count me in!!
pro_granade said:
It building now it's just kernel issues. And alrighty I'm sorry for that >. <
Sent from my SM-G900P using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Post that error again, and your roomservice.xml(can use Pastebin for that). I dont believe your kernel source is where it is supposed to be. Look in /kernel/samsung, is there anything in there?
:/
sleshepic said:
Post that error again, and your roomservice.xml(can use Pastebin for that). I dont believe your kernel source is where it is supposed to be. Look in /kernel/samsung, is there anything in there?
Click to expand...
Click to collapse
No there isn't but I looked in the BoardConfig.mk and changed the location to where I had the kernel. Now it's complaining about the obj idek what that is.
pro_granade said:
No there isn't but I looked in the BoardConfig.mk and changed the location to where I had the kernel. Now it's complaining about the obj idek what that is.
Click to expand...
Click to collapse
You dont want to change the boardconfig. You're gonna want the klte kernel folder in there where its supposed to be
Post your roomservice.xml from .repo/local_manifests. You prob just need to sync a klte kernel repo to your tree
Aside from a few build errors(overlay/base package stuff) you should be able to essentially sync and build once your roomservice is figured out. It's not yet a supported device so its not gonna write it for you, thats what youre running into
sleshepic said:
You dont want to change the boardconfig. You're gonna want the klte kernel folder in there where its supposed to be
Post your roomservice.xml from .repo/local_manifests. You prob just need to sync a klte kernel repo to your tree
Aside from a few build errors(overlay/base package stuff) you should be able to essentially sync and build once your roomservice is figured out. It's not yet a supported device so its not gonna write it for you, thats what youre running into
Click to expand...
Click to collapse
I have no roomservice.xml xD
pro_granade said:
I have no roomservice.xml xD
Click to expand...
Click to collapse
Boom, progress
I just got out off work and have to drive home but im working on stuff, ill shoot you some of the things you'll need when I get back. There are several folders you're missing
Edit: or if thats too much of a wait. Just make one up based off the cm.dependencies file in garwynn's klte repo(github), check that out and make up a local_manifest/roomservice.xml those folders, that tells you exactly what you need.
sleshepic said:
Boom, progress
I just got out off work and have to drive home but im working on stuff, ill shoot you some of the things you'll need when I get back. There are several folders you're missing
Edit: or if thats too much of a wait. Just make one up based off the cm.dependencies file in garwynn's klte repo(github), check that out and make up a local_manifest/roomservice.xml those folders, that tells you exactly what you need.
Click to expand...
Click to collapse
Alright, I'll look into it, if I can't comprehend it I'll wait xD

CLOSED

CLOSED
XDA:DevDB Information
QualComm AptXHD Drivers, Tool/Utility for the HTC 10
Contributors
Eliminater74, thewalkingdude, indian-mafia
Source Code: https://github.com/TheMuppets/proprietary_vendor_htc/commit/4a5c92c6213c89b31838335ab7a61397e4a1418e
Version Information
Status: Snapshot
Created 2017-02-16
Last Updated 2017-02-22
Downloads:
CLOSED
Reserved
Since we know these questions are coming, here's how to check and make sure the mod works:
Option 1: Computer
Run this command: adb logcat | grep -i "aptx"
This must be done on the computer. adb logcat uses the adb.exe to read the logcat from the device, then piping the output of the log into a search command to look for aptx. You have to do this quickly after you first start playing music. If you're too slow, you will miss the buffer and the message will no longer be there. If the command spits out some lines containing aptx, then it works.
Option 2: Phone
Open a terminal emulator and type:
Code:
su
logcat | cat > /sdcard/logtemp.txt
**close the terminal window and start a new one. Since the logcat keeps going, that window will no longer take commands**
su
grep -i "aptx" /sdcard/logtemp.txt
You have to do this quickly after you first start playing music. If you're too slow, you will miss the buffer and the message will no longer be there. If the command spits out some lines containing aptx, then it works.
I'm sad I didn't get a credit for giving you the source lol
noob question: so if I flash this on my htc 10, it would improve the sound quality with any bluetooth devices? or do I need a specific aptxHD-compatible bluetooth device? thanks
c19932 said:
noob question: so if I flash this on my htc 10, it would improve the sound quality with any bluetooth devices? or do I need a specific aptxHD-compatible bluetooth device? thanks
Click to expand...
Click to collapse
You need a compatible Bluetooth device. aptx.com has a list of them.
prsterero said:
Since we know these questions are coming, here's how to check and make sure the mod works:
Run this command: adb logcat | grep -i "aptx"
quickly after you first start playing music. If you're too slow, you will miss the buffer and the message will no longer be there. If the command spits out some lines containing aptx, then it works.
If it's needed, I'll edit this post with a bit more detail.
Click to expand...
Click to collapse
Should I type [adb logcat | grep -i "aptx"] in android terminal?
BrianKuo1853 said:
Should I type [adb logcat | grep -i "aptx"] in android terminal?
Click to expand...
Click to collapse
Check out my updated post
Is it possible to make a systemless/Magisk-compatible version of this mod?
Captain_Throwback said:
Is it possible to make a systemless/Magisk-compatible version of this mod?
Click to expand...
Click to collapse
That's a had great idea! That would definitely be possible. It's very simply 3 libs and a build.prop addition.
tabp0le said:
I'm sad I didn't get a credit for giving you the source lol
Click to expand...
Click to collapse
Dear OP,
Honestly... Are you kidding me? No comment...
tabp0le said:
I'm sad I didn't get a credit for giving you the source lol
Click to expand...
Click to collapse
they pulled the source.. lucky I have it on my github still..
But Thank you @tabp0le For supplying the source.
dh.harald said:
Dear OP,
Honestly... Are you kidding me? No comment...
Click to expand...
Click to collapse
Hes joking man....... we hang out together in slack................
Eliminater74 said:
they pulled the source.. lucky I have it on my github still..
But Thank you @tabp0le For supplying the source.
Hes joking man....... we hang out together in slack................
Click to expand...
Click to collapse
OK, Here's my thread:
https://forum.xda-developers.com/oneplus-3/themes/mod-aptx-codec-t3521228
so... are you kidding me?
Eliminater74 said:
they pulled the source.. lucky I have it on my github still..
But Thank you @tabp0le For supplying the source.
Hes joking man....... we hang out together in slack................
Click to expand...
Click to collapse
dh.harald said:
OK, Here's my thread:
https://forum.xda-developers.com/oneplus-3/themes/mod-aptx-codec-t3521228
so... are you kidding me?
Click to expand...
Click to collapse
Lmao! I didn't say I wrote the source. I gave him the link to it. Hahaha you need to go take a pill. Maybe don't talk crap if you don't know what your talking about.
dh.harald said:
OK, Here's my thread:
https://forum.xda-developers.com/oneplus-3/themes/mod-aptx-codec-t3521228
so... are you kidding me?
Click to expand...
Click to collapse
First off I dont go around on the threads looking at other devices to see if they support something for us.. I took my crap Direct from qualcomm my self.........
then did all the work my self.. I did not take nothing from nowhere else.. if you think I did.. then go report it.. cause I got proof.
Eliminater74 said:
First off I dont go around on the threads looking at other devices to see if they support something for us.. I took my crap Direct from qualcomm my self.........
then did all the work my self.. I did not take nothing from nowhere else.. if you think I did.. then go report it.. cause I got proof.
Click to expand...
Click to collapse
If you got that libraries from Qualcomm, why didn't got the original aptxHD library? Just because it's libaptXHD-1.0.0-int-Android21-ARMv7A.so from LG V20 rom, I just renamed it, lol...
dh.harald said:
If you got that libraries from Qualcomm, why didn't got the original aptxHD library? Just because it's libaptXHD-1.0.0-int-Android21-ARMv7A.so from LG V20 rom, I just renamed it, lol...
Click to expand...
Click to collapse
And your point to all this is?, Yes I got it from a Public Repo called the Muppets that you pushed there and that was reverted by Dan..... and that 100 other people took......
so whats your point? its all public............................ But if you are the one that took it from the v20, then guess you deserve a thanks too..
I threw this crap up on this thread really to just let others use it.. I put the little zip together really quick and uploaded it..
I dont even read this thread.. a friend of mine showed me your post.........
But in the future if you dont want your stuff leaked out, Then dont push it to Huge public Repos.............
But thank you for your work.... and I will change the #op when I get a chance with your name............
Eliminater74 said:
And your point to all this is?, Yes I got it from a Public Repo called the Muppets that you pushed there and that was reverted by Dan..... and that 100 other people took......
so whats your point? its all public............................ But if you are the one that took it from the v20, then guess you deserve a thanks too..
I threw this crap up on this thread really to just let others use it.. I put the little zip together really quick and uploaded it..
I dont even read this thread.. a friend of mine showed me your post.........
But in the future if you dont want your stuff leaked out, Then dont push it to Huge public Repos.............
But thank you for your work.... and I will change the #op when I get a chance with your name............
Click to expand...
Click to collapse
That's everything, that I need
Thanks!
Anyone found a difference with the htc stereoclip? This codec is backward compatible with aptx devices but would it enhance their audio quality or they will still be limited by their hardware?
Sent from my HTC 10 using XDA-Developers Legacy app

Categories

Resources