yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] plmiller0905:
Do you have to be rooted to do this or no ?

---------- Post added 3rd February 2014 at 12:47 AM ---------- Previous post was 2nd February 2014 at 11:51 PM ----------

ok I tried to do this on my U.S. model Moto G with Bootloader locked and unrooted, After I flashed the bootloader, I got "hab check filed failed for boot, After I fashed Recovery, I got the following error message "hab check failed for the recovery. And when I flashed the system, I got the error message "invalid signed image"

I then continued through all the steps but when the phone turned back on, I still had motorola apps as if nothing changed...

Update:

I went ahead and unlocked my bootloader and finally got it installed. However, I have no service :( So I will be reverting back to Motorola 4.4.2 then reflashing the GPE files without flashing the modem files and see if that works
[Moto G Android Development] soyd:
I installed this one yesterday, and everything works great! :)

And thank you for the updated CWM v6.0.4.7, now sdcard access works as well :)

UK sim free XT1032

/Regards
[Moto G Android Development] plmiller0905:
Did exactly what's posted in the OP and didn't have any service afterwards. I did what Marcin1147 did and I have service. :)
[Moto G Android Development] alonsoch:
how you do it?

i boot into CWM RECOVERY and then select install zip from sideload

and in console tipe:

adb sideload supersu.zip

and always give me back a message "error :device dont found"
[Moto G Android Development] soyd:
You need the drivers:https://github.com/koush/UniversalAdbDriver

Install the drivers and make sure the device is listed: ADB devices

And then run the command: ADB sideload "filename.name"

/Regards
[Moto G Android Development] come2jojo:
Is it available on umts.Retail.en.US(XT1032) ?
[Moto G Android Development] drfr:
Of course. Be sure to flash fsg_gpe.img (not fsg_intl).
[Moto G Android Development] plmiller0905:
Do anyone know why some of us have no service when we flash the modem files?

I have the U.S. Model Moto G w/ AWS
[Moto G Android Development] come2jojo:
but i am outside US.

i wonder the different between fsg_gpe and fsg_intl

i think it depend on the version, Global GSM or US GSM

and i just bought the Global GSM (not US GSM) from amazon

so i use fsg_intl

---------- Post added at 09:41 PM ---------- Previous post was at 09:20 PM ----------

maybe the modem is just for Global GSM

mine is Global GSM, even i have "hab check filed failed for boot and recovery", it works ok
[Moto G Android Development] rapunzel11:
I think if you‘re getting this error message GPE Kernel and recovery could not be flashed. Or am i wrong?
[Moto G Android Development] ffosilva:
If your bootloader is unlocked partition images are flashed with unverified signatures.
[Moto G Android Development] joemossjr:
But does not work on USA models modern incompatable
[Moto G Android Development] obvious:
I just tried flashing faux kernel but stuck at boot animation for 10 minutes. Guess I will have to fastboot flash boot boot.img from the files in the OP...? - Yeah that worked

..unless I've missed an overclock kernel for this somewhere? :)
[Moto G Android Development] :
Top.

This is working perfectly on my German XT1032! Great job :D
[Moto G Android Development] rapunzel11:
Good to know! Have you already flashed cwm for the GPE Version?
[Moto G Android Development] drfr:
CWM for GPE working great here.
[Moto G Android Development] rapunzel11:
Btw...another question. So far as i know the GP Edition comes without an App for the fm receiver. Has someone tried to install the stock Motorola App or any others?
[Moto G Android Development] tazlooney89:
Spirit2 FM Beta working perfect in Moto G
[Moto G Android Development] Zetok:
Working perfect in Peru even the GPS.

One question: It also includes the GPE kernel?
[Moto G Android Development] drfr:
Yes. See the OP (...partition boot)
[Moto G Android Development] obvious:
Hmm, this is odd. I had wifi for a while but it's stopped working and wont switch on even after a reboot
[Moto G Android Development] tazlooney89:
excellent battery life

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Android Development] yelnam2manley:
Just installed this

Just installed this on my Moto G (XT1032) and it works! I was about to sell my Moto G, but with this I might change my mind.
[Moto G Android Development] Kodaro:
Have you seen this? http://xdaforums.com/showthread.php?t=2634570

How is your performance with this image? It changes the filesystem, too, doesn't it? So regarding the information gathered there GPE should be a lot slower. I was right before flashing but now I am not sure. What are the benchmarks saying?
[Moto G Android Development] lunudog:
works like charm, on my Moto G, German D2 Provider.

No problems by Flash via Fastboot.

Rooted ist, Debloat, some Services deleted, Hyperfast with Art, Awesome Battery. I Love it so much!

Thanks for the Images!
[Moto G Android Development] thesebastian:
My Moto G from UK arrived today. How bad is the Motorola ROM against GPE ROM?

I really want to transform it to a GPE phone. But I don't want to lose the warranty for now...(unlocking the bootloader)

Inviato dal mio Nexus 5
[Moto G Android Development] smohanv:
Hi OP

Why is this called semi official. Is this because of installation via fastboot.

Thanks for the compilation and install instructions.
[Moto G Android Development] ffosilva:
This is called semiofficial due to unsigned images/images are dumps/homemade (not handmade) system.img - based on tree/metadata dump.
[Moto G Android Development] theoneofgod:
The normal version is fine, nothing is wrong with it. But most people that root and play will freeze unwanted Motorola services, no need to do that on GPE.
[Moto G Android Development] nlra:
Can somebody help me understand something? Maybe there is a better place to find the answer to this question...if so, feel free to point me in the right direction.

It seems as though everywhere I look, available "stock" GPE ROMs for any GPE phone models are *always* rips/dumps from actual phones. Official, fully stock/factory-signed images seem to be readily available for non-GPE models, and of course for Nexus models, but never for GPE models.

Why is that?

I've been tempted many times to purchase a GPE phone, and I'm currently tempted to bite the bullet on a GPE Moto G (since it sounds like there is no need to go through motorola.com to unlock/relock the bootloader), but if I do, I'd be afraid to ever experiment with other ROMs on it because there apparently is no source for a fully signed, complete official ROM file set that I could use to return the phone to stock. This state of affairs seems absurd to me.

-- Nathan
[Moto G Android Development] theoneofgod:
Currently there aren't any official images, but there will be.
[Moto G Android Development] nlra:
How do you know that, though? I don't think there have ever been any official GPE images released for (e.g.) the HTC One, or any of the other GPE phones. They're all dumps. And as far as the Moto G goes, it's already been like 2-3 weeks, and for all of the Moto-supplied (non-GPE) images, those have always surfaced relatively quickly.

You'd think that Google would have a publicly-accessible repository of official images to download for the GPE models they sell...how are you supposed to re-flash if things go wrong? Do they really expect you do to an RMA? If so, what kind of sense does that make?

-- Nathan
[Moto G Android Development] wildestpixel:
It is what it is. What one would like from a vendor isn't one and the same as what the vendor will put out there.

You do the best with what's available and if that's no good for you either build a solution yourself or quietly walk away.
[Moto G Android Development] theoneofgod:
Well installing GPE from a dumped Moto G GPE would look exactly the same to Motorola?
[Moto G Android Development] nlra:
My understanding is that the dumped ones are not properly signed, and therefore you cannot re-lock the boot loader after flashing it. So, no, it would not look the same to them.

-- Nathan
[Moto G Android Development] theoneofgod:
You have a very good point. Best buying the normal Moto G and then making it GPE like I have.
[Moto G Android Development] andpizzolato:
Is it actually possible to flash PA GApps (after ROM installation) and get them overwritten in order to have just some of the Google Apps (depending on the package you've downloaded)?
[Moto G Android Development] avercros:
Thanks for the tutorial.

I have one question, where is the messages stock app? I don't like hangouts for SMS/MMS

Thanks!
[Moto G Android Development] theoneofgod:
https://play.google.com/store/apps/details?id=fr.slvn.mms&hl=en_GB
[Moto G Android Development] drfr:
This is GooglePE, that´s why you get Google apps (sms, keyboard, chrome ...)

If you prefer AOSP apps, you may want to consider choosing "more AOSP" ROM, like the Motorola one for instance.
[Moto G Android Development] yelnam2manley:
Made a video on how to do this.

If anybody want this in a video format, I made how-to video on YouTube. Since I'm not allowed to post links, it's called "Convert Moto G (XT1032) to a Google Play Edition" by Manley Evangelista
[Moto G Android Development] obvious:
Further to this, I've noticed that for me, titanium backup hangs backing up Wi-Fi access points during a complete backup but I'm not sure what to erase data on or delete in order to troubleshoot. I'll Google it but am open to suggestions :)
[Moto G Android Development] ffosilva:
I'll put your video on op, ok?
[Moto G Android Development] yelnam2manley:
Sure go ahead if you want to.
[Moto G Android Development] andpizzolato:
[MENTION=3103503]ffosilva[/MENTION] Any ideas about this? http://xdaforums.com/showpost.php?p=50100175&postcount=57
[Moto G Android Development] surfino:
anyone tried already faux123 kernel and if OTA works?

Should be compatible no?

Radio isn't working properly on a german moto g , any clue ?
[Moto G Android Development] yelnam2manley:
Re: Video

[MENTION=3103503]ffosilva[/MENTION] I reuploaded the video since I had to cover up my IMEI number.
[Moto G Android Development] surfino:
i even tried to maintain fsg and non-hlos from stock, radio still not working on de retail.. any clue?
[Moto G Android Development] yelnam2manley:
Which one do you have?

Do you have a XT1032, XT1034, XT1033 ??? It should work on the XT1032, but don't know the rest.
[Moto G Android Development] surfino:
XT1032 !!!

Dunno why isn't working properly, it's the only rom it doesn't. i tried also the other one and the "automated one" on the other forum section.

Im going mad!
[Moto G Android Development] yelnam2manley:
Re

If you flashed the international way (fsg_intl.img) then try flashing with (fsg_gpe.img) and see if that works.
[Moto G Android Development] surfino:
already tried :(
[Moto G Android Development] yelnam2manley:
Try the CWM version

I think they have a CWM version available, try downloading & flash that instead. If the radio works then flash everything (in this thread, except the radio).
[Moto G Android Development] rockyrobin:
Does anyone have an idea what will happen for us not in the USA when an OTA occurs? On my Nexus 4 if you change any of the system files the OTA won't flash. Just thinking that if I use the international flashing instructions my modem will be different to a real GPE moto g and so OTA will fail
[Moto G Android Development] yelnam2manley:
[MENTION=4354144]rockyrobin[/MENTION] I'm guessing you won't get the OTA at all and you might have to sideload it. Just a guess.
[Moto G Android Development] rockyrobin:
Thats a shame. Was hoping I could flash and forget. Was looking at the frequencies of the GPE Moto G and the UK version and looks like they both support the frequencies my carrier uses for 2 & 3G. Does this mean the radio hardware is the same, but the software (drivers?) are different? If this was true then I was thinking that in theory the fsg-gpe should work on a UK phone and so the OTA's should not be a problem.
[Moto G Android Development] theoneofgod:
The reliance on hangouts happened in 4.4? Because of that he shouldn't use the GPE ROM. Strange logic there. The best thing about GPE is it's a mostly clean base to work on, and that's the whole point.
[Moto G Android Development] alonsoch:
Hi .. Someone know how extract the stock fsg.mbn via adb?? Thanks

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Android Development] denzel09:
GPE image:

http://www.filefactory.com/file/14mn1ui7sx0t/GPE_XT1032_KOT49H.M004_CFC.xml.zip
[Moto G Android Development] TangerineTractor:
can this be made into a flashable zip?
[Moto G Android Development] nlra:
Thanks, denzel09 (who I presume is also daywalker04 @ firmware-team)!

As I always say, it never hurts to ask...and apparently sometimes it pays off! http://www.firmware-team.com/showthread.php?t=294

Huge thanks to Firmware Team!

-- Nathan
[Moto G Android Development] tazlooney89:
downloading to install on my Moto G
[Moto G Android Development] SamsungAdmire:
isn't that the same thing as the OP or is there something different?
[Moto G Android Development] nlra:
It's the official, *signed* factory image from Motorola themselves. What the OP posted was a dump of an image from a phone and is not signed/encrypted, which means that your bootloader must be unlocked in order to use it.

The hope is that owners of non-GPE phones who want to convert to GPE software but don't want to void their warranty by unlocking the bootloader can flash with this image.

-- Nathan
[Moto G Android Development] tazlooney89:
I just flash the official version and now everything is working perfect, there is no difference to the unofficial.
[Moto G Android Development] m_loaiza:
How flash this?

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Android Development] tazlooney89:
run the file GPE_XT1032_KOT49H.M004_CFC.bat this inside the firmware folder.

or do it the traditional way, from the command window:

[COLOR="Blue"]fastboot flash gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot erase cache
fastboot erase userdata[/COLOR]
[Moto G Android Development] m_loaiza:
Only this? Hahaha thank you man

Enviado desde mi XT1032 mediante Tapatalk
[Moto G Android Development] cra1g321:
Has anyone been able to get the Motorola Camera to work with the GPE firmware ?

Really don't like the Google one compared to it.

---------- Post added at 06:36 AM ---------- Previous post was at 05:41 AM ----------

Mirrors for the Official GPE Firmware

https://drive.google.com/file/d/0Bxgf37IA03s-dHBDZDF2NTA1bWM/edit?usp=sharing

https://mega.co.nz/#!EFhlUZQS!E4FR2ITYhx5OpNhGobEvChdeA8p92vevOIuEXwGyWdQ
[Moto G Android Development] ohn42:
Hi all,

So if this ROM is signed, it should be possible to relock the bootloader.

Anyone tested this yet?
[Moto G Android Development] iluvatrix:
hi guys i have an xt1032 global gsm bought from amazon us. bootloader is locked , unrooted & stock & its my daily driver so cant afford to have anything go wrong with it but would really love to make mine a gpe.

i have lost touch with these flashing stuff.

can some kind soul detail in steps how i can successfully flash this gpe rom

thanks a million

so far i have understood to dl the gpe rom zip , extract them & supposed to run GPE_XT1032_KOT49H.M004_CFC.bat file

in what manner should the G be connected to the PC?

when i plug in usb & it self installs all drivers correctly & pc able to recognise the G is that sufficient?
[Moto G Android Development] yelnam2manley:
I tried it

I tried flashing this on my XT1032 8GB Moto G and it says that boot, recovery, and system check failed. Hence I can't relock the bootloader.
[Moto G Android Development] ohn42:
Ok. Good to know.
[Moto G Android Development] mokkami:
Wrong thread :) deleted
[Moto G Android Development] nlra:
Did you try flashing the GPE firmware on top of the stock Moto G firmware *without* unlocking the bootloader first?

-- Nathan
[Moto G Android Development] ohn42:
My Moto G is unlocked and I get this error messages, too. The ROM works fine so far, but relock is not possible.
[Moto G Android Development] nlra:
Right, so that doesn't answer my question. I am looking for somebody to try this:

1) Put the original firmware back on.

2) Re-lock the bootloader.

3) Flash the GPE firmware on WITHOUT first unlocking the bootloader.

Alternatively, if you have never unlocked, try flashing the GPE firmware on top of the original firmware WITHOUT unlocking first. Can it be done, and does it stay locked?

-- Nathan
[Moto G Android Development] thesebastian:
[MENTION=4830503]nlra[/MENTION]

Well for the 2nd case (the alternative). I saw a few persons from a Spanish forum (with warranty, I mean with a locked and never unlocked bootloader) try to flash the .bat file from the GPE firmware. And they all ended with a bootloop or something like that.

Sent from my Nexus 5
[Moto G Android Development] denzel09:
Mmmmmm strange...
[Moto G Android Development] drfr:
Testing that right know. Went back to retail stock, locked bootloader and now flashing GPE - everything goes smooth.

... but it won´t boot, hangs on boot logo.
[Moto G Android Development] denzel09:
So you flashed stock, relock bl, flashed gpe and no boot loop?

If yes you tried to unlock bl now w/o moto code?

Edit: you maked an edit to your post.

So bootloop.

But you can try to unlock bl without moto code? this is important.
[Moto G Android Development] drfr:
No, fastboot said OK but bl stays locked. Hope Motorola will give my code again now :p
[Moto G Android Development] denzel09:
I did not understand what you tried..
[Moto G Android Development] cra1g321:
delete.
[Moto G Android Development] drfr:
You asked if I tried to unlock bootloader without moto code after flashing GPE.

I tried that and it didn´t work.
[Moto G Android Development] dondian:
I went and flashed this todays image over V2 "semi official". It boots fine, just google play won't work. I get all sorts of errors and nothing seems to help. So I'm going back to V2 for now.

What would be the easiest / safest way to flash official GPE over V2?
[Moto G Android Development] swirly05:
does this work on XT1034??
[Moto G Android Development] denzel09:
The gpe owners how unlock the bl? With or without moto code?
[Moto G Android Development] ffosilva:
There's a difference between gpt.bin from unofficial and gpt.bin from official. If you flash official gpt.bin, when you try to flash 4.3 rom you will get error messages when flashing system image (sort of wrong size partition errors). So it's important to flash 4.4 not-GPE gpt.bin file to remove these errors.
[Moto G Android Development] dondian:
So what are the differences in semi-official vs official?
[Moto G Android Development] :
Is semi official bug free and does it work with European GSM?
[Moto G Android Development] dondian:
I'm running it on european gsm for about a week now. So far I haven't found any bugs.

Sent from my Moto G GPE
[Moto G Android Development] scott_doyland:
The motoboot.img in the 4.4.2 non-GPE stock ROM and the GPE stock ROM (ie the 'official' motorola leaked ROMS) are the same.

I ran a binary diff on the motobot.img files.

This means the bootloader for non-GPE and GPE are exactly the same. Thats assuming the leaked ROMS actually are the real official Motorola ROMS and non-one has fiddled with motoboot.img before they have been uploaded.

Therefore the process of unlocking will be the same I suspect, I dont see how it can be any different, ie GPE phones need a code to unlock them.

So even if you flash motoboot.img from GPE to non-GPE (ie basically reflash the SAME bootloader) the bootloader will either:

a) need unlocking again via code (if reflashing motoboot.img locks it)

b) stay unlocked.

Either way the phone knows it has at one time been unlocked due to blown fuses or whatever method is used.

I suspect it stays unlocked but maybe someone can confirm.

What you cant do is flash GPE bootloader and expect it to work like a Nexus bootloader, because as I said, its the same as the non-GPE bootloader. Now Im waiting for someone to prove me wrong ;)
[Moto G Android Development] wildestpixel:
It will stay unlocked as the bits for unlocking are stored in secure band / emmc space. You can keep flashing different boot loaders but they will always check boot loader status from secure area and report locked or unlocked.
[Moto G Android Development] chlehqls:
Does this work with T-Mobile USA?
[Moto G Android Development] CosmoDroid:
GPE on XT1033 (HowTo)

http://xdaforums.com/showthread.php?t=2661022
[Moto G Android Development] VictoriousShooter:
Will this work on the Boost variant of the Moto G?
[Moto G Android Development] jaggu1989:
Moto G GPE logo.bin

hey ,

i need logo.bin file for GPE ... only that bootscreen which shows google only ... thanks in advance
[Moto G Android Development] robin0800:
Here you go

http://xdaforums.com/showthread.php?t=2548530
[Moto G Android Development] mhdsanto85:
Hello guys,

I read all the thread but I'm not sure yet.

Do I need to unlock the bootloader before flashing this official image? Or is it possible to go flashing over a totally stock 1032 device?

Is there a root method to gpe?
[Moto G Android Development] hkotaku:
I tried flashing the official GPE batch through fastboot on my locked bootloader Moto G and was unsuccessful. Fastboot threw the error:

(bootloader) Preflash validation failed

I then went on to try mfastbootV2 as the error seemed related to that, but got a new error:

(bootloader) Invalid signed image

I'm surprised about the signed image error since I thought the GPE files from firmware-team were official and signed.
[Moto G Android Development] robin0800:
No they are not one of the system files is not signed as you have seen and no doubt you found more flashing errors.

Though the rom still works, but you can't relock the bootloader because of the errors.
[Moto G Android Development] DarkShoko:
I need help, I tried doing it but it gave me a "hab check failed for boot" error and recvoery error on the device and when I typed fast boot flash system system.img I got "error: cannot load 'system.img': No error"

what to do?
[Moto G Android Development] yash.sharma99@yahoo.com:
How did you root it through sideload????:confused:
[Moto G Android Development] robin0800:
Perhaps your right I don't know but it is only one of the system files and would have thought all flashed files would have failed if checks were involved may be not?
[Moto G Android Development] hydromän:
One question ..

Post #1 DL Link on the top and DL Link at the end.

I tried this now for some days..

With the First dl Link is my battery Life really Bad. One day, 3 h Display on. GPS off ans WiFi only on if needed.. Rest percent after 12h around 10.

With the second dl Link, a really amazing battery Life. 2days and some hours...5 1/2 hours Display on.

Why?

I tried to Flash th First dl Link second time complete clean, without any apps. But still Bad battery Life.

Its only a question, im using tue second dl Link and im really happy

Gesendet von meinem KFSOWI mit Tapatalk
[Moto G Android Development] hkotaku:
Thank you for the very informative post. Nice spot with the different CID values; it must be how the bootloader flashes the GPE image fine on a GPE handset but not the normal retail, expecting different keys for both types as you mentioned in your post.
[Moto G Android Development] Piyush Rawal:
Is it possible to use GPE rom with F2FS partition?
[Moto G Android Development] VictoriousShooter:
I don't believe this will work on the CDMA Moto G.

I've flashed the official GPE firmware on my XT1031 and got no data. IMEI reads as zero until you install the stock Boost firmware.
[Moto G Android Development] damiloveu:
[MENTION=4684240]VictoriousShooter[/MENTION] How did you get it unlocked? I have a USC version and failed to unlock the boot loader.
[Moto G Android Development] VictoriousShooter:
I just used Motorola's website to unlock it.