yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] chairshot215:
Thanks for the heads up, when testing these I also cherry picked a few other things that looked related. Have to double check but may have forked the repository’s from you so would receive credit if anyone decided to look over my repository’s. Well overall my personal Github has been pretty bare as in the past most work was done on more obscure Virgin Mobile devices with only a few developers so we would pretty much create an organization for all the developers to use.

https://github.com/MTDEV-CM7

https://github.com/MTDEV-CM10

https://github.com/vmobi-triumph

https://github.com/MTDEV-KERNEL

https://github.com/MTDEV-MIUIv4

https://github.com/MTCM9

https://github.com/MTCM10

https://github.com/HTCCM9

https://github.com/HTCCM10

https://github.com/HTCStarShip

https://github.com/HTCUbuntu

https://github.com/vmobi-shooter

https://github.com/vmobi-gogh

These days have been keeping everything under Starship-Android.

https://github.com/Starship-Android

Have 2 other members listed who I had worked with in the past but has otherwise been a solo organization with one of the other members who decided on going with the Moto X and Verizon over the N5 and showed little interest in his 2012 version of the N7 as it was intended for being a Nexus only device line up and the second being my Kernel Guru from a few devices back who mainly joined to help me out with a few things but ultimately what I am getting around to is this is the first time working %100 solo. Have to say without having anyone to bounce off ideas and share findings with things definitely move much slower and take a bit of getting used to. Is also the reason for starting threads like this. Most of this stuff looking in the developer section appeared to be pretty common knowledge but having never worked from pure AOSP before was slowing down other development for about a week just to figure out what seemed like half the community had already known and with what probably took at the most 5 or 10 minutes of copying and pasting commits probably saved me a weekend of sifting through github and testing. I hope by creating a thread like this will be able to do the same for others.
[Nexus 5 General] malcho:
Hi guys,

Anyone manage to fix RIL problems with master branch?

I also build AOSP roms so for sure i will hangout here:)
[Nexus 5 General] Elluel:
Never tried.
[Nexus 5 General] soorajj:
ODEXED

i am successfully build cm12 with fully odexed. now i like to odex some prebuilt apk also but LOCAL_DEX_PREOPT=true not odexing prebuilt apk. can somebody help me? already DEX_PREOPT=true working fine.
[Nexus 5 General] Elluel:
Why do you need to odex a prebuilt apk?

Not sure if what you want is even possible.

But if odexing your prebuilt apk is necessary then why not odex it then include the .odex with the prebuilt?
[Nexus 5 General] soorajj:
suppose i want to odex gapps. how to?
[Nexus 5 General] chairshot215:
Nothing so far, I downloaded the master and 5.0.2_r1 branches and have loaded both in meld for looking over differences but have not yet identified from the dif between the 2 branches that is responsible for ril working in release branch but not master. Still have allot to look over though still. Still have not found a decent explanation of the master branch to know if its recommended to build from but still just for Knowledge sake am interested in knowing. At first thought maybe apn's but not so sure with baseband also listed as unknown from my Master branch builds.
[Nexus 5 General] malcho:
As far as i know all the patches goes to master branch then from this branch ,if they are ok,is distributed to lower branches.I also didn't find info why is named as 5.0.50.50.I will try to investigate this ril problem
[Nexus 5 General] chairshot215:
Thanks will definitely update the Op with any findings. Was very surprised to find the thread again as it has now been moved 4 times by 4 different Mods, some bounce it to general Q&A and then is bounced back here by another. I understand its not comprised of the most advanced development topics but with that said is still way more advanced than the topics being discussed by general users over in the general Q&A section. I had just thought it would be a nice one stop place for learning the basics of AOSP development. With the constant moving and scolding messages being received one would think the threads very existence is up there with crossing the streams and threatens the existence of Android development.
[Nexus 5 General] Milly7:
[MENTION=4310179]chairshot215[/MENTION] Thank you for starting this thread. Thank you [MENTION=5666997]Lethargy[/MENTION] for all of your insight. I like to do my own perosnal builds every once in a while for my nexus devices. What I have observed over the years is that the Master Branch will sometimes have funky version numbers like you have described. One thing to consider is what [MENTION=2901778]malcho[/MENTION] mentioned. If all commits indeed go there first before the respective branches(although this may not entirely be the case), then it is likely that some things may be broken in the master branch from time to time, hence the ril problem. I think with the galaxy nexus I ended up running into issues from time to time with the master branch, and from there learned to build for specific branches/tags. For instance, there are times when items within a specific branch will be ahead of master in some areas and behind it in others, as in this link to platform_build for lollipop release https://github.com/android/platform_build/tree/lollipop-release. So with that, it is probably in our best interests to just use specific branches.
[Nexus 5 General] chairshot215:
Thanks for the response and have definitely learned its better building from branches with a release tag. Still very curious why and how the branches are structured so thanks for the explanations.
[Nexus 5 General] chairshot215:
Way totally off topic for the thread but landed a brand new SSD and decided to install everything fresh. After everything was set back up and wanted to start building I ran my usual,

-j'grep 'processor' /proc/cpuinfo | wc -l'

a very old habit before fully understanding what number to use after -j so used grep to figure it out based on Googles recommendation. The command did not work so removed the grep and just made it -j4 but also with 0 success. At first just figued I missed somthing setting everything back up and "make" is just not working but wrong again as running "make" command without -j of any number works just fine.

Also tried this with CM12 as I am doing 2 versions of my Starship Rom. One from AOSP and one using CM. Figured AOSP would be special for Nexus users why also having a version for CM I can make most changes by adding a Starship Device Tree could easily port the Rom to any device running CM supported or not.

https://github.com/Starship-Android/android_device_starship-common/tree/cm-12.0

Also found why compiling CM that -j also results in an error

Invalid lunch combo: cm_hammerhead--j4

No such item in brunch menu. Try 'breakfast'

So far have not found anything using the Google Box so figured may as well ask. If have not figured out by now I have no shame in asking questions. Oddly enough that is for things that are probably relatively simple. Took a better part of a week figuring out how to start CM using the Now Launcher and setting up init.d bash scripts for moving around and replacing libs after learning the Gapps package includes libs that will not work so the solution needed to be that the CM Gapps package libs needed to be replaced with either stock or libs pulled after installing the Now Launcher from the Play Store after flashing Gapps and the Rom staring. Also then what if user updates and wipes the system partition after the new and updated llibs have been moved into place. Anyhow point of story is things like this I will just figure out without bothering anyone but for the cant believe I need to stop what I am working on to figure out something most likely very simple and can be answered with very little time spent I have no shame in just asking. Not that someone else’s time is less important but like I have mentioned before is frustrating just after spending hours or days figuring out something asked in dozens of threads is just frustrating getting caught up or loosing momentum and thought processes over something so simple there are little resources available. Also I assume most devs have the same experience when you have an idea or thought behind resolving an issue that once you stop and change direction it just sometimes never comes back and that short time you had I guess can be called an epiphany is gone once going back. Otherwise thats how I justify asking dumb ars questions.
[Nexus 5 General] danarama:
Can you use mka instead of make, which automatically assigns the -j variable...?
[Nexus 5 General] chairshot215:
Will give that a try now, Just came to update that "-j" seems to work when compiling the MSM Kernel from googlesource but is still about it. Hate rereading posts as I definitely tend to babble so thanks for reading through the post. Going foreword trying to make things short and sweet. Think was just upset I figured out all that Google Now crap for CM12 then discovered it was not just AOSP having "-j" issues but CM also so build was going to take forever before testing.
[Nexus 5 General] chairshot215:
That is a negative on 'mka", received the following,

No command 'mka' found, did you mean:

Command 'mkfa' from package 'julius' (multiverse)

Command 'm-a' from package 'module-assistant' (universe)

Command 'moka' from package 'alliance' (universe)

mka: command not found
[Nexus 5 General] Elluel:
This is the initial commit for using "mka": https://github.com/CyanogenMod/android_build/commit/a254921e2cdc5128895e21b3720e7427d6cf4cb9

May be a couple others but I don't want to look for them.

Nor does it make much difference for your issue.
[Nexus 5 General] danarama:
Using mka means he wouldn't have to use the -j flag, so if he cannot use the -j flag with make, he is building slower than if he was building with mka
[Nexus 5 General] Elluel:
But all mka does is basically the same as:

Then automatically assigning the -j flag to a make command.

So if his issue is that he can't use the -j flag with make, mka won't work?
[Nexus 5 General] danarama:
It will dynamically choose the appropriate -j flag, so if the user is using the wrong -j flag, that would not be an issue. If make doesnt work with the -j flag, there is probably an issue with make. mka doesnt use make. mka replaces make.
[Nexus 5 General] Elluel:
Last I checked it was just autoassigning the -j flag to a make command. Meh.
[Nexus 5 General] upndwn4par:
All you need is "brunch hammerhead" to build cm.

mka is automatically called.

mka is essentially: make -j$(grep -c ^processor /proc/cpuinfo)
[Nexus 5 General] chairshot215:
Thanks for all the digging into the issue everyone. Is a very odd one at that. Still no -j or mka working for either CM or AOSP. Odd I'm having no problem using -j compiling Kernels. Wondering if its worth setting up over again and see if it is still an issue.

Also have been reading Google has added the fix for the big memory leakage bug into AOSP. Imagine from the given explanations it is currently committed in the Master branch. Thinking about taking a look through and see what can be turned up. .
[Nexus 5 General] Elluel:
The ColorFade one? You'd hope. Not committed yet.

People have also said it doesn't completely fix the issue. There could be other memory leaks.
[Nexus 5 General] chairshot215:
Yeah Lollipop has just a few issues to say the least. With that said and because I don’t already have a few projects going on decided to start a new organization.

https://github.com/Android-AOSP

Figure if anything can maybe stay a little ahead on updates by testing new commits from Google not yet tagged. Pretty much for a living I test software and hardware for a company that does Energy Management System Diagnostics and provide a Nexus Tablet with each system set up with applications used for applying things like store temperature set points and collecting data for different reporting analytics. We only approve Nexus devices because they all have relatively the same software and UI which makes Technical Support and documentation much easier than other devices. We wont use Apple because of some hardware requirements and the device needing a usb to serial connection for accessing some archaic energy management systems and the Apple approval process is expensive and dreadfully slow. Also requires that an approved manufacturer is used with obscene minimal run requirements that may one day leave us stuck with thousands of Serial Cables not be compatible with new devices. Sorry had to get in an anti Apple rant in as receive about 15 calls a day asking if an IOS device can be used. I do testing, documentation and support so spend a minimum of 10 hours a day in a cubicle with nothing but a pile of Nexus devices save the Nexus 6 with a bit of time to kill each day and not always motivated working on the same project.

Otherwise if anyone feels it worth the time let me know. Figure if anyone else shows any interest will just give them full access. Will just need to set up testing branches for keeping the code stable at all times. Not yet at this point sure its even worth the effort but figure it cant hurt. If does end up turning out to be worth the time we will at least have Pure AOSP code with the latest fixes and updates for everyone to work with and keep Nexus users happy campers. Anyhow just a work in progress idea at this point and sure ill get hit with a billion reasons against but whatever. Have only committed a few updates from the master branch into the repository’s created from lollipop-release and all is well thus far and working just fine so next steps is going to be before and after log comparisons and just general performance testing. Not trying to get ahead of myself and at this point just adding bits at a time.

Also throwing in a few new images here and there testing updated starship theme for those who have sent messages so the definitely have not abandoned updating Starship but will not commit any new images or code changes here that have not come from Google. Will of curse be some exceptions but trying to keep the code as pure as possible.
[AT&T Samsung Galaxy Note 4] tEcHsAvY:
Hey guys. I was wondering if you could list your favorite root apps and the potential non root app alternatives?

Thanks!
[AT&T Samsung Galaxy Note 4] johntuck77:
Nova Launcher lets you do a lot of the things that a custom launcher requires. Hope this helps
[AT&T Samsung Galaxy Note 4] Android300ZX:
http://xdaforums.com/note-4-att/themes-apps/apps-t2927057
[AT&T Samsung Galaxy Note 4] djmouse:
http://xdaforums.com/showthread.php?t=2955902

Check this a thread I started in ATT to direct you to a great thread for workarounds
[AT&T Samsung Galaxy Note 4] tEcHsAvY:
This is excellent! Thanks for the info
[P3300, MDA Compact III General] chickyd:
I tried to set up my orbit to sync with works exchange server and it ended up applying some security setting making me set a password. Now i've got rid of the sync relationship i still have this password control. I've been in the 'lock' settings and the check box to untick is greyed out!

Can anyone tell me how to get rid of this annoying thing so i don't have to type in a password every 5 seconds!!???
[Moto G General] lilsidsri:
did you modify the OTA ? I mead did you edit any files inside it ?

This type of error occurrs when OTA is modded.
[Moto G General] waltinho2:
Nooo, I'm just downloaded the zip and put on root folder.
[Moto G General] vaibhavnriitm:
[MENTION=4958854]waltinho2[/MENTION] will u b kind enough to upload & share the recovery image of brazilian firmware if u have downloaded it..thanks[emoji1] [emoji1]
[Moto G General] sandyisgood:
Locked Bootloader

Hi There, I have XT1033 the Asia Retail version, non rooted, bootloader locked any way of me getting the lollipop update installed on my phone....
[Moto G General] padhu1989:
No you cant.. wait for update for Asia retail
[Moto G General] joaovitor2763:
Everything going well thill step 4, when I select the file to update i get the following messages:

-Finding Update Package

-Opening Update Package

-Verifying Update Package

-Installation aborted

Do you know why?
[Moto G General] Lemagex:
I'm on asia retail too, no way to do it besides waiting or converting to BR
[Moto G General] Meuuks13:
That Retail BR link is dead.
[Moto G General] deeplyyoung:
Have u flashed Braz 4.4.3 stock & then u updated OTA? if yes download Braz stock 4.4.4 and give a try, as same happened with me last nyt thrice n then I downloaded the Brazilian stock 4.4.4 n successfully updated ... [MENTION=6094951]lilsidsri[/MENTION] few ss for yr ref..
[Moto G General] kedar512:
Link for bazil 4.4.4 is not working.

Can you please upload it on Gdrive?

Thanks:)
[Moto G General] joaovitor2763:
I first installed the brazil retail 4.4.4 just as you may see bellow:
[Moto G General] Fuel-The-Droid:
Worked fine for me...will try to upload on drive.
[Moto G General] lilsidsri:
yes, I installed 4.4.4 & then installed the OTA.

And everything is working very smooth.
[Moto G General] droider007:
Somebody plz provide retail brazil 4.4.4 mirror?
[Moto G General] Lucas Eugene:
Hi if anyone was successful in updating can you please upload a nandroid backup
[Moto G General] paulobinhu:
Same problem

I'm exactly the same problem, unlocked the bootloader,

I'm using the stock retail Br 4.4.4 and it did not work,

someone help? :rolleyes:

I dont know what to do!
[Moto G General] Ajit99:
The link for Brazil Retail 4.4.4 is dead. Please re-upload the ROM again preferably on Devhost or Mediafire.
[Moto G General] Fuel-The-Droid:
This might be weird but no matter what key combination I try after choosing recovery from bootloader I just cannot see the extra options. So I am unable to flash the new OS. My phone is running on 4.4.4 brazil version and the boot loader is unlocked (status:3)

Edit: The actual procedure is as follows (it worked like this on my phone):

1. Enter recovery

2. Hold volume up key for about 10 seconds

3. While still holding the volume up key press the power button and hold both the keys for few seconds

4. Release and you'll have the option to install from SD card.
[Moto G General] Oscar_camacho:
Help with bootloader

I tried to flash brazilian stock 4.4.4 but at the first flash it returns a failure

"C:\Users\Oscar\Desktop\OTA>mfastboot flash partition gpt.bin

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.079s]

writing 'partition'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.513s"

Can somebody help me with this?
[Moto G General] MarckozZ:
Hey man, are you on 4.4.4? or you are trying to downgrade from 5.0.2 to 4.4.4? tellme that and I can help.
[Moto G General] Pajaro_Azul:
Hi! I was trying to downgrade from cm12 so I could install the stock. I've managed to make it work though a critical error has showed: the device randomly displays a blue (sometimes green or red) image (it takes all the screen) and then it reboots itself. On doing that it "forgets" all Wi-Fi connections. Nonetheless, it's far more stable and less frequent on the stock Brazilian ota than on cm12

Cheers and if you can help I'll be grateful
[Moto G General] tzzeri:
Hi, your problem is very normal. A phone is very similar to the human body. After a severe trauma to the head, it'll start seeing colors (the blue green red screen) and then blacks out (when it turns off).

Then, when it wakes up (reboots), it will have memory loss (forgetting Wi-Fi connections) due to the brain injury.

To fix it, your going to have to take it to a neurosurgeon.
[Moto G General] tzzeri:
Try a factory reset
[Moto G General] Pranayj7:
Hi I have a moto g XT1032 usa

Shohld I flash this zip to get lollipop and if not where should I look for the lollipop zip for my phone
[Moto G General] Malyaj:
Link not working!!! mirror it to mediafire please!!!
[Moto G General] lilsidsri:
which link is not working ?
[Moto G General] Malyaj:
Link to the brazilian ones! always gets stuck at 20 mb bro!!! please mirror it to mediafire! its the best and fastest!
[Moto G General] lilsidsri:
Brazzilian OTA or Brazillian Stock 4.4.4 ?
[Moto G General] Malyaj:
Brazilian 4.4.4 is not working.... OTA is awesome with mediafire.... Brazilian 4.4.4 filefactory link is not working.... can you mirror it bro?
[Moto G General] lilsidsri:
Added mirrors for 4.4.4 Brazil

Check the OP :)
[Moto G General] Fuel-The-Droid:
Use a software named "mega down loader" to get stable connections from mega.
[Moto G General] OldYellowBricks:
You should also mention that flashing the 4.4.4 brazil firmware will wipe all personal data
[Moto G General] gokTyBalD:
Works perfectly with a german retail XT1032 single sim card

This guide also works for german XT1032 retail! I tried it out and had no problems. H+ works, calling works, sms works, wlan works. No problems so far! Nice!

When i flashed the brazil 4.4.4 retail it came up with some warnings and errors but it worked anyway.

My phone:

Moto G (XT1032) single SIM card, German Retail

16 GB

BTW: Lollipop is great user experience <3
[Moto G General] soumitro316:
So while flashing Brazil retail can I skip the steps which erase userdata?? I always skip those steps when returning to stock Asia retail firmware. So will it be okay with this too?
[Moto G General] tzzeri:
Did you wipe userdata from xt1032?
[Moto G General] gokTyBalD:
yes!
[Moto G General] Nebulino:
XT1032?

I need to flash XT1033 fsg.mbn too? If yes, it's strange because in other device it cause softbrick :rolleyes:

So...:

mfastboot.exe flash partition gpt.bin

mfastboot.exe flash motoboot motoboot.img

mfastboot.exe flash logo logo.bin

mfastboot.exe flash boot boot.img

mfastboot.exe flash recovery recovery.img

mfastboot.exe flash system system.img_sparsechunk.0

mfastboot.exe flash system system.img_sparsechunk.1

mfastboot.exe flash system system.img_sparsechunk.2

mfastboot.exe flash modem NON-HLOS.bin

mfastboot.exe erase modemst1

mfastboot.exe erase modemst2

mfastboot.exe erase cache

mfastboot.exe erase userdata

mfastboot.exe reboot
[Moto G General] ChaTy:
Can any1 confirm "ambient display" ???
[Moto G General] Ogatron:
Someone can tell me if french ils available in this brazillian lollipop uptade ???
[Moto G General] j-beltran:
What recovery is installed with this? Twrp or cwm or which one? I have cwm and the "volume+ &power" bottons dont do anything.
[Moto G General] lilsidsri:
Its is the stock,

use Vol Down + Power

Then select recovery & after you see the red triangle then press Volume Up + Power for 3 to 4 seconds & you'll be seeing the recovery.
[Moto G General] The "A" Factor:
[MENTION=6094951]lilsidsri[/MENTION] Post a warning on first post.

Downgrading is causing some serious Issues !!!!

Please don't try this OTA.
[Moto G General] Malyaj:
Thanks a ton man for posting Brazilian of 4.4.4 on mediafire...! successfully updated on asian retail... people go for it.. its worth it :D
[Moto G General] lilsidsri:
All links are updated :)
[Moto G General] mdsaif92:
I don't see the problem here. Downgrading will never be possible after any lollipop ota is installed. This has been clearly notified by Motorola.
[Moto G General] The "A" Factor:
True , but Moto X and Moto G2users are able to successfully downgrade and upgrade after flashing the Soak test OTA's. And no one has bricked their phone , on the contrary here 2 people have bricked their phone.
[Moto G General] Aashish-kkhckr:
let me know about BR and IN lollipop

suppose after this method i won't be able to downgrade !

and indian xt1033 also got lollipop after that

what will be the difference between BR and IN lollipop ?
[Moto G General] CygnusBlack:
I have Teamwin recovery.

How to upgrade?
[Moto G General] lilsidsri:
Done :good::good:
[Moto G General] lilsidsri:
I hope we can flash the IN version over the BR :cyclops::cyclops:
[Moto G General] j-beltran:
In case I install this OTA, and the official OTA be released later, is it needed to downgrade to 4.4.4 to install it or it is posible to install over the soak?