AOSP building? - Galaxy Tab S Q&A, Help & Troubleshooting

I am attempting to start a build of an AOSP rom for our SM-T700 wifi tablet and need some questions answered from anybody that knows anything about AOSP rom development.
I haven't gotten very far so I'll be asking as i go if anybody can follow me till this is usable
: what line do i choose in "lunch" menu or how do i manually input our device?
Be gentle as mentioned above (straight up begginer to building)

jball said:
I am attempting to start a build of an AOSP rom for our SM-T700 wifi tablet and need some questions answered from anybody that knows anything about AOSP rom development.
I haven't gotten very far so I'll be asking as i go if anybody can follow me till this is usable
: what line do i choose in "lunch" menu or how do i manually input our device?
Be gentle as mentioned above (straight up begginer to building)
Click to expand...
Click to collapse
Oh man, your first question is there? These type of questions are covered extensively on the web. Here is a freebie though.
[email protected]:~/android/system/device/samsung/klimtwifi$ cat vendorsetup.sh
add_lunch_combo aosp_klimtwifi-userdebug
[email protected]:~/android/system$ lunch klimtwifi

Thank you
Nexus 5 via Tapatalk

Related

[CM9] Building from source

Hey Everyone,
This is my first post here on XDA. I've been around for a while and always try to read a lot before attempting anything so as not to break stuff; hence the reason for no posts so far. I appreciate all of the helpful information I find on these forums and it has been great for keeping my trusty Dinc running well and running the latest Android OS.
I have been busy with school, but finally have some time to sit down and bang out some Android development, leading me to my
Question/problem: I am attempting to build android from source to get up and running on being able to create my own ROMs or help contribute to others and I've run into a problem. I'm stuck in a boot-loop during the CM9 boot animation. I have a logcat dump during the boot that shows the errors and the cycle of it trying again and again, but I'm not sure where to go next.
Background:
I have been running drk.hd's CM9 ROM for the last month or so (http://forum.xda-developers.com/showthread.php?t=1558923) and I have enjoyed it. It works very well. He has build instructions posted on his github here: https://github.com/drkhd/android_device_htc_inc. I have followed those steps exactly as posted, which all work as expected. I have not run into any build/compile errors, but after flashing the zip file, I end up in the boot-loop.
Logcat:
I pasted the logcat here: http://pastebin.com/wVVbmeRY
The last ~400 lines just repeat until killing the logcat. I can see errors about media services dying and a fatal signal 11, but again, I'm not sure what to do with this information.
Any help is much appreciated. I know this should really be in the dev forum, but as I mentioned, this is my first post; I don't have 10 posts yet, so I cannot post in the dev forum until that point. I am really just starting to dig into this stuff, so go easy on me and help guide me in the right direction so I can take things and run with them. Once I get a feel for how best to approach android development, I should be able to pick it up pretty easily.
Thanks
I know this thread should really be in the dev forum, but if any of you have any suggestions or can at least point me in the right direction for where to look for answers, that would be great.
Thanks again
Dezier11 said:
I know this thread should really be in the dev forum, but if any of you have any suggestions or can at least point me in the right direction for where to look for answers, that would be great.
Thanks again
Click to expand...
Click to collapse
This is the right forum. Development threads are meant to be for ROM and other development support, Q&A is where I would ask about this too but I guess the other devs either aren't around or don't know how to answer your question. cmlusco is a dev of touch of blue and he lingers around Q&A a lot so maybe if he comes across this he can give you some insight. I would really like to get into building ROMs as well but I don't have any experience in coding just yet. I don't really know what kind of experience is required to build ROMs either and my only Ubuntu machine is 32-bit so I am essentially out of the race for now. That being said, I found this guide that I was going to use for my own building ventures until I realized I needed a 64-bit machine but maybe it can help you or maybe the support can give you a little direction. I hope this helps!!
http://forums.androidcentral.com/ve...99-guide-ubuntu-compiling-android-source.html
nschiwy said:
This is the right forum. Development threads are meant to be for ROM and other development support, Q&A is where I would ask about this too but I guess the other devs either aren't around or don't know how to answer your question. cmlusco is a dev of touch of blue and he lingers around Q&A a lot so maybe if he comes across this he can give you some insight. I would really like to get into building ROMs as well but I don't have any experience in coding just yet. I don't really know what kind of experience is required to build ROMs either and my only Ubuntu machine is 32-bit so I am essentially out of the race for now. That being said, I found this guide that I was going to use for my own building ventures until I realized I needed a 64-bit machine but maybe it can help you or maybe the support can give you a little direction. I hope this helps!!
http://forums.androidcentral.com/ve...99-guide-ubuntu-compiling-android-source.html
Click to expand...
Click to collapse
I would love to help but i have no clue how to build from source. All i know how to do is take stock roms and modify and tweak them. I do not have a linux setup, i use win 7 with cygwin and android kitchen. Android kitchen does a lot of the work for you. Apktool is another great windows program for decompiling and recompiling apks. It just takes time to tweak and modify everything. Google and xda are your best friends, you can find the answer to just about anything you want.
cmlusco said:
I would love to help but i have no clue how to build from source. All i know how to do is take stock roms and modify and tweak them. I do not have a linux setup, i use win 7 with cygwin and android kitchen. Android kitchen does a lot of the work for you. Apktool is another great windows program for decompiling and recompiling apks. It just takes time to tweak and modify everything. Google and xda are your best friends, you can find the answer to just about anything you want.
Click to expand...
Click to collapse
yes you can flash it which suitable for your device
---------- Post added at 07:12 AM ---------- Previous post was at 07:07 AM ----------
[email protected] said:
yes you can flash it which suitable for your device
Click to expand...
Click to collapse
I have sync Evervolv source code and I'll make this days
Thank you guys for your responses. I appreciate you taking the time.
nschiwy, I'm still working my way through the thread you provided, hopefully something there will help.

How to get 5GHz Wi-Fi on AOSP ROMs working.

Hello everyone,
I didn't see a thread for this and I am just sick and tiered of not being able to post in dev threads, I figured I would attempt to make something useful for newer users of using AOSP ROMs.
I noticed that when using AOSP ROMs, the 5GHz band won't work, I can see the network but can not connect to it, and in some ROMs I can get it to take the Key but then says something like disabled and still doesn't work. Crazy thing is this is something that is not unique to this Device (the i317), I had a i777 (Galaxy S2) before that and it did the same exact thing. What is even more crazy is the fix is exactly the same for both phones.
While making this post I am going through a wip and re-install of my ROM (PAC-Man in this case, but does it with all other AOSP ROMS)
Some information befor I start, 5GHz is important to me as I use it at home, the 2.4GHz range in my area is quite crowded and I am the only 5GHz network in the area so it works better for me.
Anyways here we go;
Step 1, Install your ROM like normal, once you're signed in to your Google Account download Root Explorer (or something of equivalence) Once that is done proceed to step 2.
(NOTE: If you already have your ROM installed you can skip Step 1)
Step 2, In Root Explorer go to System --> etc --> wifi, once here you're going to see various files. Were looking for "nvram_net.txt" and "nvram_net.txt-murata".
These are the two files were going to modify.
Step 3, Hold your finger on "nvram_net.txt" until the popup window for Options comes up, hit Open With and then select Text Editor. From here you're going to look for a line of code thats "ccode=GB" this is needing to be changed to "ccode=US". Once that has been changed then hit the back button and hit Yes on the save box. This will automatically make a backup of the original file.
Step 4, Were going to do the same thing to the "nvram_net.txt_murata" so open it with the Text Editor and look for the same line of code "ccode=GB" and change it to "ccode=US", save the file.
Step 5, Reboot your phone and once back up go into settings and you are now able to use your 5GHz network.
I hope this helps someone and I hope that one day we won't have to keep changing these settings to get 5GHz working on AOSP ROMs, have fun Everyone!!!!
PS. If you all want screenshots I can do them but bare in mind I would have to wipe my phone again and take them during the process. The instructions should be clear and easy to follow without them.
Excellent....
Many thanks....this will help several people out I'm sure.
Thank you...g
gregsarg said:
Excellent....
Many thanks....this will help several people out I'm sure.
Thank you...g
Click to expand...
Click to collapse
Thank You!!
I need to add something to it, if you ever update your ROM you need to do it again just start from step two.
Thanks for the post. I'm sure those who need 5ghz support appriciate it.
I just saw this post and checked. The latest CM10.1 for today (20130701 build) has the correct US settings. Not sure about other AOSP. However you should mention it to the devs of each one you find it in so they can fix it.
Holy ****balls. I just have to say that.
I'm using Galaxy S3 i9300, been running Slimbean 4.2.2 build 8 flawlessly when I came across that situation where I can't connect to 5G wifi. since then I tried searching for a fix but failed. So i opted to cm13, with utter disappointment with its lag and bugs. And still, hoping for a miracle, i flashed my old recovery back, trying to give it one more chance. Lo and behold, you've given me the fix that I've been searching for all these while. But instead of just that two files, I've changed all nvram_net files ccode with US instead GB. Reboot. And now I'm replying this on my workplace 5ghz wifi. Thanks dude. Very much thanks.
I don't have wifi folder
I don't have the WiFi folder in system/etc
Unknown300 said:
I don't have wifi folder
I don't have the WiFi folder in system/etc
Click to expand...
Click to collapse
Have you found any solutions yet?
Mushfiq Khan said:
Have you found any solutions yet?
Click to expand...
Click to collapse
No what phone do you use?I got a new phone and it seems to work
Unknown300 said:
No what phone do you use?I got a new phone and it seems to work
Click to expand...
Click to collapse
I use pocofone f1.I'm on Aosp extended rom.
.
Mushfiq Khan said:
I use pocofone f1.I'm on Aosp extended rom.
Click to expand...
Click to collapse
Are you from Bangladesh?
Mushfiq Khan said:
I use pocofone f1.I'm on Aosp extended rom.
Click to expand...
Click to collapse
Dont think there is a way to change region in aosp extended roms but some region don't support 5ghz for some reason but it's only in miui I think try joining the pocophone f1 telegram

[Q] ask to port cm 10.2 to sm-t210r

yes i am ask for someone to port cm 10.2 for for galaxy tab 3 7.0 smt210r i would like to try it out if somebody can port it thanks let me know if u can
Jaykingis20 said:
yes i am ask for someone to port cm 10.2 for for galaxy tab 3 7.0 smt210r i would like to try it out if somebody can port it thanks let me know if u can
Click to expand...
Click to collapse
i think cm10.1 is the one to do unless i'm getting my versions mixed up,
cm10.2 is android 4.3 and that had problems.
cm10.1 is android 4.2 and should be an easy match i think.
wanting the latest version of whatever is not always best.
and i mean this in the best way, xda is not a shopping mall it's a developers site.
requests are a reasonable thing to expect. progressively flooding the forums with useless
threads/posts is not reasonable. rather than ask for someone else to do for you, take the time
to learn so you can do for yourself. i started in may and since then i have learned a lot.
all i ask is that you consider that.
m
alright
moonbutt74 said:
i think cm10.1 is the one to do unless i'm getting my versions mixed up,
cm10.2 is android 4.3 and that had problems.
cm10.1 is android 4.2 and should be an easy match i think.
wanting the latest version of whatever is not always best.
and i mean this in the best way, xda is not a shopping mall it's a developers site.
requests are a reasonable thing to expect. progressively flooding the forums with useless
threads/posts is not reasonable. rather than ask for someone else to do for you, take the time
to learn so you can do for yourself. i started in may and since then i have learned a lot.
all i ask is that you consider that.
m
Click to expand...
Click to collapse
where do i start and how to do this it would be fun for me to learn to do this kind of stuff also where do i download to like port roms make roms ect so where do i start i want to learn how to make my first rom
Jaykingis20 said:
where do i start and how to do this it would be fun for me to learn to do this kind of stuff also where do i download to like port roms make roms ect so where do i start i want to learn how to make my first rom
Click to expand...
Click to collapse
you start by using the xda search bar.
search terms such as how to compile a kernel, how to build a rom, etc.
and read, read, read.
you will also need a linux 64bit pc for rom building.
you can use a linux 32bit pc for kernel building which is where i started.
as a sort of quick link to find the threads in which i began my learning process
click on my username and select view posts option, it will show you every post i've made.
pay particular attention to the discussions between myself and Restl3ss as he completely guided me
through the process to getting my cm11 build environment set up. there is a huge deal of excellent noob-friendly
info in there.
good luck :good:
m
moonbutt74 said:
you start by using the xda search bar.
search terms such as how to compile a kernel, how to build a rom, etc.
and read, read, read.
you will also need a linux 64bit pc for rom building.
you can use a linux 32bit pc for kernel building which is where i started.
as a sort of quick link to find the threads in which i began my learning process
click on my username and select view posts option, it will show you every post i've made.
pay particular attention to the discussions between myself and Restl3ss as he completely guided me
through the process to getting my cm11 build environment set up. there is a huge deal of excellent noob-friendly
info in there.
good luck :good:
m
Click to expand...
Click to collapse
alright i have windows but not linux i need to download linux for my windows vista so i can get started
on Linux
Jaykingis20 said:
alright i have windows but not linux i need to download linux for my windows vista so i can get started
Click to expand...
Click to collapse
you will need to search the internet for instruction on installing Linux.
again, read read read.
As a recommendation search for Debian Linux or Linux Mint.
That is outside the scope of this discussion however. When you have completed that then return
to XDA to continue your quest.
m

[Q&A] [ROM-AOSP] OFFICIAL CM11.0 KFire HD 8.9 (KK 4.4.2) [05/20 AUDIO/CAMERA FIXES]

[Q&A] [ROM-AOSP] OFFICIAL CM11.0 KFire HD 8.9 (KK 4.4.2) [05/20 AUDIO/CAMERA FIXES]
Q&A for [ROM-AOSP] OFFICIAL CM11.0 KFire HD 8.9 (KK 4.4.2) [05/20 AUDIO/CAMERA FIXES]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
LTE working?
So I searched through the CM 11, CM 10.2 and CM10.1 threads and am curious if LTE works on these ROMs?
Can anyone comment on if LTE works on the current snapshot/nightlies and if there are any LTE related issues? (I saw bluetooth support on 10.1/10.2 had some issues with diff firmware, does CM 11 suffer that as well?)
LTE
The LiquidSmooth ROM has LTE and bluetooth functionality; however there are some problems with video (Netflix, YouTube, etc.).
Upgrading from CM 10.1 to CM11 Clarification (New to this)
Thanks so much for your hard work on this project and others. I have a very stable running 10.1 setup that I just performed last week. I installed just as described and have TWRP 2.6.0.0 and the 2nd boot loader provided for that install. WORKS GREAT!
I wish to now go ahead though and upgrade again to the CM 11, and 4.4.2 etc.. I have read through both threads and still have a couple of questions... First- Do I need to JUST upgrade the TWRP to 2.7.*.*?, and if so what is the best way to do that ie. Run ADB commands again. Or, use something like FlashFly that I have seen used. Or, do I need to also load another new bootloader as well?. I assume if that is the case I would need to just run back through the whole ADB process again to just get to where I can Flash the latest CM release and Gapps.
Sorry if this seems like some basic information, but I am very new to this and am LOVING IT!... And your work Hashcode, as well as all of the other input from other users..
Any assistance would be greatly appreciated..
Thanks in advance!
Flash error
Still cannot quite figure this upgrade out. Seems I have lost ADB now.. When I use the
"fastboot -i 0x1949 flash bootloader kfhd8-u-boot-prod-8.1.4.bin" line I get Target reported max download size of 1006632960 bytes
error: cannot load 'kfhd8-twrp-2.7.0.0-recovery.img' : no error
Lost on this... ARRRRGGGG
---------- Post added at 07:58 PM ---------- Previous post was at 07:35 PM ----------
s I stated earlier the 10.1 install and upgrade went off without a hitch.. Pretty sure I just need to upgrade from 2.6 to 2.7 and then flash the new CM11 package and GAAPS, but I cannot figure out how to upgrade. This is very frustrating indeed.
Oh.. Secret Cynogen Menu for ADB.. LOL
Oh my.. Feeling like the fool. I had not heard of or read about the Developers Menu in Cm til just now. Obviously I know now why ADB was not working... LOL.... Maybe I can get this CM 11 installed now..
GEEEEEEEEEEEEEEEEEEEEEEEZ.
(Solved) Upgrading from CM 10.1 to CM11 Clarification Flash Issue
Ok, so that ONE little tidbit of information about how to activate "developers" menu in CyanogenMod was what was causing me to pull my hair out trying t figure out why I could no longer use ADB script and flash commands after I first installed CM10. That darn simple. That should be included for those of us that are new to doing this. Tap 4 times.....
Oh My... Well, maybe this 10 post limit will be up soon so I can actually start to engage and learn and assist.
Later
jem?
I have a KF 8.9 LTE software 8.5.1
How do Iknow if its a JEM?
tia
cancel
USB OTG Support
This build has been awesome for my KFHD. I bought it just because this was available.
My issue, though, right now, is that I can't get my OTG to work with a USB stick, or with a wireless keyboard/mouse. I have tried with both the ADB enabled and disabled, but no recognition of a device attached. I even double checked it against my Xperia Z3 just to be sure that it wasn't my cable. I have tried multiple apps as well with no luck. So, either, A) I am dumb (quite possible) and am doing something wrong, or B) the support isn't there yet.
I am running cm-11-20150309-NIGHTLY-jem.zip
If I am doing something wrong, please, let me know. Otherwise, are their plans to include it? If I were more linux literate, I would work on it myself, but I just haven't gotten to that level yet.
On a side note, is CM-12 in the works for Jem? Just curious.
Again, thank you so much for all your hard work, this is amazing.
kujo1b09 said:
The LiquidSmooth ROM has LTE and bluetooth functionality; however there are some problems with video (Netflix, YouTube, etc.).
Click to expand...
Click to collapse
And the GPS doesn't work.
Multi users
Is multi users supported on CM11? When I look under Settings > Device the "User" option is missing and as far as I know it should be supported in 4.4. Any way to get this feature working?
Present on mine.
That option is available on my 8.9 Jem. Running the March 30th nightly.

Question [Q] Error while Buding a custom rom

Hello fellow coder and programmers. I'm building a custom rom for oneplus 9 pro but as soon as as Enter the "lunch" command , the terminal say command not found. can you help with that?
I'm not sure you're getting people excited to use your ROM, when you're posting about not being able to figure out the build system...
In order to use the build commands, you'll need to source the build/envsetup.sh file. For someone who's new to building it can be an obvious problem but I would like you to give the rom building process a second thought. It would be full of hoops which would be even more weird than this error. In short, you should've been able to figure the lunch command by yourself.
samwhiteUK said:
I'm not sure you're getting people excited to use your ROM, when you're posting about not being able to figure out the build system...
Click to expand...
Click to collapse
I'm new into custom rom and learning new thing, thanks for your advice
samwhiteUK said:
I'm not sure you're getting people excited to use your ROM, when you're posting about not being able to figure out the build system...
Click to expand...
Click to collapse
Where did the guy "get people excited"? The man wants to learn and is asking questions so he can learn. At least he's not uploading a module which bricks peoples devices... just sayin'

Categories

Resources