yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] lost101:
You can flash the following zip in custom recovery to fix root access:

http://download.chainfire.eu/589/SuperSU/UPDATE-SuperSU-v2.16.zip​

UPDATE: I think I know what is causing the root issues. The pre-installed SuperSU works fine - the problem is when it is updated to a newer version, root access is broken. This could possibly be avoided if SuperSU is opened once (and maybe an app is granted root access) - before updating.
[Moto G Android Development] Kochoa940:
Go to developer settings and see if there's an option to allow root access.

[my phone iz better than urz]
[Moto G Android Development] ashisharia:
thanks a lot, flashed the package you mentioned and its working fine
[Moto G Android Development] Zerelth:
So, can I OTA update through the untouched version?
[Moto G Android Development] lost101:
Yes, as will all the ROMs in OP. But you may also need stock recovery.
[Moto G Android Development] BaghiXDA:
So it means if you're rooted and have custom recovery installed, you still get notified about the updates but in order to actually install it you've to go back to stock recovery? Also, does OTA updating breaks root access as well?
[Moto G Android Development] lost101:
You will get notified about updates, you may need to flash stock recovery to actually install it and root will almost certainly not remain - especially if we are talking about Android 5.0, which is a major OS revision.

At present, the only example of rooting Android 5.0 is on Nexus 5, and that requires a custom Kernel - it could be a few days / weeks before root is possible on Moto G running Lollipop.
[Moto G Android Development] StOrmCatz:
Here are those 4.3 faux kernels. I'd love if you could try it again to see if it makes a difference.

falcon_umts-faux123-002m-signed.zip: https://mega.co.nz/#!OBR3RbiQ!PjX1wygcLxVnS9xczqVsSIT7Jb7ouL7g6IUCZ4LcWXI

falcon_umts-faux123-002u-signed.zip

https://mega.co.nz/#!3Ixg2YqZ!PmFpq57N9jS3Ab3_nX_FhiT9kXj-06tyz19ClhysALg

When you ran the test, were you using the bootloader that came with 4.4.4?
[Moto G Android Development] lost101:
Yes, which is the reason 4.3 Stock Kernel will not boot. Thanks for the custom 4.3 kernels, I will test asap.
[Moto G Android Development] h2o64:
Is it possible to add OTG support directly here for GPE ROM ?
[Moto G Android Development] lost101:
If you have an f2fs-formatted USERDATA partition, you flash the GPe ROMs along with a custom kernel such as Faux kernel. See OP FAQ regarding formatting.
[Moto G Android Development] h2o64:
And with ext4 userdata?
[Moto G Android Development] lost101:
No custom kernels exist with ext4 support.
[Moto G Android Development] eddydc1:
Ok, so i flashed GPE and aero kernel. When OTA comes out, can I install it, because i have custom kernel?
[Moto G Android Development] lost101:
http://xdaforums.com/showthread.php?p=56240886
[Moto G Android Development] eddydc1:
Thanks for fast answer, i should have search..
[Moto G Android Development] lost101:
Unfortunately the same result. Those 4.3 custom kernels will not boot with the latest bootloader installed. Unless someone figures out how to downgrade the bootloader, or develops a new 4.3 kernel - running Jelly Bean is no longer possible.
[Moto G Android Development] StOrmCatz:
Thanks for trying with the 4.3 custom kernel! Out of curiosity, have we tried with a known bootable kernel (eg. 4.4.2) with the JB rom? The 4.3 and 4.4.2 kernel are both version 3.4.0 if I recall.
[Moto G Android Development] josip-k:
It doesnt matter. 4.4.4 kernel is also 3.4.0 and it doesnt work on older versions. Its the ramdisk changes.
[Moto G Android Development] DustArma:
Perhaps someone could try to build CyanogenMOD 10.2 for the Moto G?
[Moto G Android Development] fireball0093:
CyanogenMod 11 is phenomenal as it is, I highly recommend it over CM10. Just my personal input :p
[Moto G Android Development] StOrmCatz:
I believe 4.4.4 is on kernel 3.4.42
[Moto G Android Development] DustArma:
Oh I know, but if someone wants Android 4.3 it might be easier to port CM10.2 than to make the stock 4.3 ROM work with the new bootloader
[Moto G Android Development] lost101:
Yes, I've already tried the 4.4.2 kernels. If enough people want this to happen, maybe you can start a donation thread to have a DEV find a way to downgrade the Bootloader (or install a custom one); or at the very least, create a custom 4.3 kernel.
[Moto G Android Development] StOrmCatz:
Again, thanks for putting in time and trying these out. That does sound like a possible next step if there is demand. The most future friendly would probably be a custom 4.3 kernel that supports the newer bootloader.
[Moto G Android Development] keplenk:
Thanks for this collection!

I'm just curious. There is actually an on going Sale of a XT1034 here in the US (mainly Sears and Target) with ISP name of Consumer cellular.

Is the Retail Canada 4.4.4 Stock ROM - the same with US Retail version? If I flash this Canada version instead, will I encounter problems?

I really like an optimized STOCK rom but afraid that if I use the Canada version, it might mess up the RADIOS and other firmware.

Or maybe if you get the chance, can you please upload an optimized version of this XT1034 US version?

Thanks!
[Moto G Android Development] lost101:
Retail Canada will work fine on any XT1034. There is no XT1034 Retail US Firmware Image yet, hence no ROMs.
[Moto G Android Development] lost101:
Maybe Kernel DEVs will focus on this subject if Lollipop arrives with a new bootloader that prevents older kernels from booting.
[Moto G Android Development] ChemicalSymphony:
Works great for me. No issues whatsoever. Paired with FauxKernel.

---------- Post added at 04:04 PM ---------- Previous post was at 04:03 PM ----------

Is there an advantage to 4.3 over 4.4?
[Moto G Android Development] Holysmoke99:
I encrypted my Moto G and it wont wipe system, data, dalvik, cache. It simply fails. What do I have to do?

twrp says wipe complete Failed
[Moto G Android Development] lost101:
Could you explain a little more what you are asking?

Fastboot is another option. However I'm not sure if it would be wise to use the command: fastboot erase system - I think it would be safer to flash a full firmware image.

Tutorial:

http://xdaforums.com/showthread.php?t=2542219​

If you provide your model and country / region / carrier, I can suggest a firmware image.
[Moto G Android Development] lost101:
[MENTION=4403780]TeamMex[/MENTION], [MENTION=1248420]montamer[/MENTION] - can either of you suggest anything more about why the latest Bootloader prevents Android 4.3 Kernels booting, and if there could be a work around?
[Moto G Android Development] TeamMex:
Only you can't flash 4.3 bootloader , you can flash 4.3 kernel but it only compatible with 4.3 the overlay change on kk etc...
[Moto G Android Development] Holysmoke99:
I was able to wipe the phone. I think I messed up though. It says 1032 in baseband but I flashed 1034 canadian optimized. It works, but should I wipe it and put 1032 EU?

it is weird when I login to google play under my devices it lists the phone as an xt1034
[Moto G Android Development] lost101:
1032 is present in the baseband of every model. You are running the XT1034 ROM.
[Moto G Android Development] Holysmoke99:
after flashing 1034 canadian optimized, I am no longer able to place a call or do anything but use wifi.

how do I know which version to flash?

I have a tmobile prepaid sim

when trying to place a call, it says I need to undo airplane mode, but it is not in airplane mode. do I need to flash a radio?

is it messed up since it is a canadian rom and I am in usa?
[Moto G Android Development] lost101:
I'll assume you have an XT1034 AWS phone. The fact that the ROM is Retail Canada is not the reason for your problem. Radios for both Retail Canada and Retail US XT1034 are available here: http://xdaforums.com/showthread.php?t=2649763

Please state clearly how you wiped your phone. I hope you did not use the fastboot command: fastboot erase all
[Moto G Android Development] Holysmoke99:
I flashed a factory firmware then wiped with twrp then flashed your rom.
[Moto G Android Development] lost101:
What fastboot commands did you use when flashing the factory firmware?
[Moto G Android Development] Holysmoke99:
it was a batch file rom rootjunky.com , I am sure rootjunky program did it. :eek:
[Moto G Android Development] lost101:
Fastboot commands can ruin your phone, so I would not trust batch files. There is a tutorial on XDA that tells you the manual commands.

Under the current circumstances, I would re-flash the stock firmware image via fastboot. Get the phone working again, then wipe and flash an Optimized ROM. There is no reason why these ROMs would break anything for you.
[Moto G Android Development] lost101:
Can you see any possibility of regaining 4.3 kernel support on Moto G with a newer bootloader? With Android 5.0 arriving soon with likely a another new bootloader, it would be disappointing to loose the ability to boot KitKat.

Do you know if the bootloader is flashed to a specific partition? "Fastboot motoboot motoboot.img" suggests a partition called 'motoboot,' but either this partition is only available in bootloader mode or the bootloader is stored on another partition.

It would be great if the partition with the current bootloader could be dump to .img, and then later re-flashed as a way to downgrade.
[Moto G Android Development] TeamMex:
And why you need 4.3 :/ is tooo old

You cant downgrade baseband and yes is flashed on partition untouchable by user.

Enviado desde mi moto g usando xda premium 4
[Moto G Android Development] lost101:
Quite a few people seem to want 4.3, I don't personally.

Are you saying it is impossible to create a backup of the bootloader partition, and it would also be impossible to make 4.3 kernels work with newer bootloaders?
[Moto G Android Development] alireza_simkesh:
I flashed Canada AWS Stock 4.4.4. It got passed the boot screen but then it shows a black screen afterwards, nothing else. I had stock ROM with unlocked bootloader before hand.

What could be the problem?
[Moto G Android Development] abendroidx:
I'm having issues with my xt1033 with the signal with sim 1 dropping randomly and the messaging app telling me that the default for sending sms.

Am using the optimized 1.1 with faux123 stock kernel m14 latest radio from lost101 and updated adreno drivers. Had anyone experienced the sane?
[Moto G Android Development] lost101:
What is the version of your Bootloader? Turn phone on while holding 'vol down.' For example mine is: 41.13

Have you applied any hacks? Such as Mallory Engine? The more changes you make, the greater are the chances of problems like this. If you want to return to stock Adreno drivers, they are available here:

http://www.androidfilehost.com/?fid=23610159112651698​
[Moto G Android Development] abendroidx:
Dont have such hacks installed as i want to keep mine closest to stock with few optimization

Was thinking of re flashing the rom without wiping, does your script auto wipe before installing?
[Moto G Android Development] lost101:
No. I prefer to give people as much choice as possible, including the ability to 'dirty flash' - no matter how problematic that can be.
[Moto G Android Development] Holysmoke99:
I reverted to stock and got radio back. I flashed twrp then this rom after wiping. All looked good but on some not all apps on google play I get

these are free apps nothing to purchase :eek:

I looked on my box and saw I had xt1034 so that mystery is over. I installed AWS Canadian optimized
[Moto G Android Development] xoleras20099:
If i flash an unmodified file in cwm and choose to not preserve cwm will it install the official recovery? Just wanting to make sure so i can prepare for the lollipop ota. Thsnk you. :)
[Moto G Android Development] lost101:
Each ROM zip includes Kernel and OS only. Your Recovery will remain as CWM.
[Moto G Android Development] xoleras20099:
I can't take an OTA on CWM though, can I?
[Moto G Android Development] lost101:
Some people have flashed an OTA update via Custom Recovery in the past.
[Moto G Android Development] xoleras20099:
Right, my situation though; my girlfriend is getting my old Moto G and I wanted to put it back to pure stock (recovery included), so she can use it with no hassle. :)
[Moto G Android Development] lost101:
Stock Recoveries are available here:

http://xdaforums.com/showthread.php?t=2649763​

Flashing an Untouched ROM with Stock Recovery from above thread should be all you need.
[Moto G Android Development] xoleras20099:
Thanks man, I appreciate it!
[Moto G Android Development] reav:
hi, i really love your rom... im using it since september and its the best rom for moto G, good battery life fast and stable

do you will develop an android 5.0 rom ? i will love it
[Moto G Android Development] OldYellowBricks:
Man, he's not in the position to magically conjure up 5.0 roms haha.
[Moto G Android Development] lost101:
When the OTA Update arrives, I will make a ROM zip - if someone provides a nandroid backup of an updated system. It's really only to help people that get into problems with Android 5.0, since it's very possible none of the KitKat firmware images will work after they upgrade their Bootloader.

In other words; assuming a factory reset doesn't work - fixing serious problems with Lollipop could be impossible until Motorola firmware images are available. But hopefully a ROM based on an updated system would be a temporary solution.

As Motorola Lollipop firmware images become available, I will make ROMs based on them.
[Moto G Android Development] reav:
thank you for the explaination! i will try it when it will be released
[Moto G Android Development] monchee:
Hi, if I may, request a Retail US Optimized 4.4.4 Stock ROM?
[Moto G Android Development] lost101:
ADDED: XT1032 Retail US Stock ROM (Untouched)

ADDED: XT1032 Retail US Stock ROM (Optimized) v1.1

ADDED: XT1034 Retail US Stock ROM (Untouched)

ADDED: XT1034 Retail US Stock ROM (Optimized) v1.1​
[Moto G Android Development] Holysmoke99:
I got xt1034 canadian optimized working well now and thank you for that. what is the difference between US stock optimized and would I need to do a clean install?
[Moto G Android Development] lost101:
The only difference might be certain features that are geo-locked. For example 'OK Google' from any screen (not just homescreen) is not available outside of US.
[Moto G Android Development] monchee:
Wow, that was fast. Thank you!
[Moto G Android Development] AssToast:
Can you please upload GB RETAIL? Would really appreciate it :D

Thanks in advance :)

Getting things ready for Lollipop.
[Moto G Android Development] Zetok:
It's just me. I can't see the media controls in lockscreen?
[Moto G Android Development] raulillo88:
I've been on custom roms for months, now I've installed this stock rom, to have ota update and is impressive how good is. Now on lollipop I will have a deodexed and rooted rom not a custom
[Moto G Android Development] AssToast:
What!? You're on lollipop?
[Moto G Android Development] cbd dvd:
xq? LOL WTF?

Enviado desde mi Moto G
[Moto G Android Development] lost101:
The EU ROM is identical. If you want Retail GB specifically, flash the firmware image:

http://xdaforums.com/showpost.php?p=54872143&postcount=362​

No issues here.

He's talking in future tense - he plans to use rooted Stock Motorola Lollipop instead of a Custom ROM.
[Moto G Android Development] Paliacci:
Hello I have a question, I have a Moto G Xt1032 retail, can I flash the gpe rom?
[Moto G Android Development] lost101:
Yes. If you plan to update it via OTA Update, then you need to convert USERDATA to ext4. See FAQ in OP.
[Moto G Android Development] AssToast:
Including modem or I should grab the UK modem.
[Moto G Android Development] lost101:
EU modem is the same. It's up to you.
[Moto G Android Development] aj141:
Pardon me,

But by flashing this untouched stock rom, will i be able to receive OTA??
[Moto G Android Development] lost101:
Yes. However, you may need the stock 4.4.4 Recovery also, assuming you have flashed a custom one. Stock recoveries are available here:

http://xdaforums.com/showthread.php?t=2649763​
[Moto G Android Development] Jwtiyar:
OTA works on untouched 4.4.4 ?
[Moto G Android Development] alfick3:
Rather than write another post asking the same question that the person two above you asked, please read the thread and you'll find your answer. Thank you.

Sent from my XT1034 1st Moto G
[Moto G Android Development] manoj36:
I flashed on my xt1033 but after reboot getting a black and white screen ...it's just like old TV CRT animation..need help
[Moto G Android Development] amit.lohar:
MAY BE u flashed wrong rom or wrong kernel.

Wipe everything and reflash.
[Moto G Android Development] Miqueas111:
I'm converted my Moto G XT1032 to GPE with a AIO Tool. Then flashed Aero Kernel. If I flashed the GPE firmware of this thread, would be ok?

I do this because I want to receive the OTA when it comes out.
[Moto G Android Development] manoj36:
Can anyone provide me link for custom recovery for xt1033..
[Moto G Android Development] lost101:
Flash UNTOUCHED, and stock recovery. Recoveries available here: http://xdaforums.com/showthread.php?t=2649763

I'll assume you mean stock recovery - see above.
[Moto G Android Development] lost101:
ADDED: XT1032 Retail EU Stock ROM (Untouched) (FIX: Previous version included root)​

If you have previously flashed this ROM, you need to wipe and flash again in order to upgrade to Lollipop via OTA Update.
[Moto G Android Development] andromobilogy:
Just flashed this Stock Rom on my Moto G Xt1032 :

Retail US 4.4.4 Stock ROM (Optimized) v1.1 (310mb)

Needed some time to get flashed as its mentioned on thread but all went ok.

Before it reboots it asks you if you want to keep your custum recovery or flash the stock one

so thats up to you to choose i just kept my clockmodrecovery one.

Also you need to flash SU to root it.

Well now I'll just wait to see if may get the 5.0 version by OTA update when time comes.

Thnx nice work with the zip files.
[Moto G Android Development] tanishpruthi:
I have a xt1033 converted to gpe( xt1032)! Which which versions can I flash! Please help! Can I flash all xt1033 or xt1032 roms!?
[Moto G Android Development] lost101:
Please read the FAQ in OP.
[Moto G Android Development] Lucas Eugene:
Hi [MENTION=1006674]lost101[/MENTION] could you please upload the boost stock unmodified version to another mirror please

https://mega.co.nz/#!CNoSjRyT!FBb9qV1HZXaXubA3eLzJLsIWD0-xCvkRrqai_NCX3zs
[Moto G Android Development] lost101:
Sorry, I'm offline for a few days. Hopefully someone else can come to the rescue.
[Moto G Android Development] Lucas Eugene:
Nevermind actually my friend just downloaded it a few minutes ago now I don't need it
[Moto G Android Development] Holysmoke99:
this optimized rom is wonderful. I hated the motorola bloatware almost made the moto g unusable, constant nagging from them. thanks much!
[Moto G Android Development] ward24:
Will u still get the update with this ROM?
[Moto G Android Development] lost101:
The Optimised versions may fail ota update. Better use Untouched.
[Moto G Android Development] zpmarcos:
Optimised version on xt1032 is perfect!

thanks
[Moto G Android Development] Mahesh8348:
hi,

Optimized rom works really good. but i have one doubt can i get updated from motorola for optimized roms?
[Moto G Android Development] eddydc1:
No OTA for optimized version.
[Moto G Android Development] Miqueas111:
Where are the GPE zips?

---------- Post added at 04:39 PM ---------- Previous post was at 04:33 PM ----------

Can someone explain how to do this "via USB OTG Cable"? Thanks!

What do I need?

I want the reflash the GPE firmware but I can't find it here.

So now I want to go back to stock Motorola, but I converted my Moto G XT1032, and how do I do that "via..."?

Thanks!
[Moto G Android Development] AmyClaraRose:
Search google for otg cable and a otg cable is basically what you use for external storage so you could connect a USB stick to the phone via that cable then copy everything over
[Moto G Android Development] Sgt-Hartley:
Does anyone have a link to 4.4.4 retail UK? Xt1032
[Moto G Android Development] robin0800:
Here you go

http://xdaforums.com/showthread.php?t=2546251&page=37
[Moto G Android Development] Paliacci:
So just to be crear if I'm running Cm11 I just need to flash these to go back to stock?
[Moto G Android Development] Miqueas111:
where are the GPE zips?
[Moto G Android Development] AmyClaraRose:
You should read op better they are under xt1032 there not hiding
[Moto G Android Development] Mahesh8348:
Is there any way to get updates ? or flash OTA zip file
[Moto G Android Development] lost101:
Until Lollipop OTA zip is available - it is unknown what will happen if you flash it over one of the Optimised ROMs.

On nexus the OTA Update has failed when flashed on a rooted ROM.

I will be making an Optimized Lollipop ROM as soon as the firmware images are available.
[Moto G Android Development] Mahesh8348:
Thanks bro....

MAhesh
[Moto G Android Development] lyerx:
1031 can flash 1028 rom or not??
[Moto G Android Development] lost101:
Unknown. Try and report back. No permanent harm can occur.
[Moto G Android Development] knickfan5745:
I went from CM 11 to 4.4.4 AWS USA. Did a full wipe.

I'm now experiencing pretty poor download/upload speeds. I used to get around 12Mb/s, now I get 2-3. Any ideas? I also flashes a 4.4.4 AWS Radio from your link, still had the issue.
[Moto G Android Development] lyerx:
hope this thread will goto 5.0L in the future
[Moto G Android Development] lost101:
It's possible the cause is something on your internal storage (app data). You could try backing that up and wiping.
[Moto G Android Development] akya22:
Hi. I am on Stock rooted 4.4.4 with custom recovery. I can't remember that my phone was rooted or not when I went from 4.4.2 to 4.4.4 OTA update. I can receive OTA for 5.0 right? Or do I have to go back to stock recovery and such?
[Moto G Android Development] OldYellowBricks:
You can DOWNLOAD ota. Whether you can install the update is still kinda unknown/grey area.
[Moto G Android Development] akya22:
Reading back on the thread, found this..

I will just wait for now
[Moto G Android Development] 3RAN7ON:
I clicked Thanks but I also wanted to say 'Thanks! for making this optimized version on 4.4.4!'

I came from stock rooted 4.4.3 and even tho I love the G, it was really hard for me to use: I had the battery drop bug and also the memory bug that made multitasking impossible. The dialer app was real buggy and the home screen and app drawer would constantly redraw themselves. Widgets may load or not, and sometimes the phone would just reboot itself for no good reason.

Despite all this, the moto G has been my daily driver and I just put up with it. Now that I flashed your optimized rom I don't have any of those previously mentioned bugs and my G is a joy to use! Thanks again!
[Moto G Android Development] surikan12:
I'm on XT1028 Moto G, which by the way, is impossible to unlock the bootloader.

I see that the above Optimized XT1028 ROM have been rooted and has busybox installed.

1) Will the ROM be able to install on XT1028 and run on a

Locked

Bootloader(As I said, xt1028 bootloader can't be unlocked)?

2) Will the ROM retain ROOT and have /system Write Permission on

Locked

bootloader?
[Moto G Android Development] lost101:
The ROM is based on the stock XT1028 firmware image. Until the bootloader on that model can be unlocked, it's of limited value.
[Moto G Android Development] surikan12:
Hi, I don't really care about flashing custom roms or other stuff......

This phone isn't my primary one.

I just need root access so I can install apps that require root.

Will this ROM do that on XT1028?
[Moto G Android Development] lost101:
You need custom recovery to flash the ROM. And for custom recovery you need an unlocked bootloader.

According to this post, there are unlock options for CDMA:

http://xdaforums.com/showthread.php?p=57243667
[Moto G Android Development] surikan12:
Isn't stock based roms flashable via ADB fastboot? Without unlocked bootloader or recovery, i mean.

I converted the rom above to img files to flash with adb.