[GUIDE] Convert any Moto G into a GPE with root and custom recovery

thelegendofzeth

Senior Member
Jan 28, 2014
169
86
0
'Morning, 'afternoon and 'night.

I saw some XT1033 (some XT1032 too) users having problems with the latest unified roms (falcon ones) and decided to help them. I already did a guide like this in a brazilian Android forum, so, I'm only translating it. Hope it can be helpful to XDA.

-- First, thanks to ffosilva. Without his "semi-official" firmware, this guide couldn't exist.

| PRE-REQUISITES
- You need to have bootloader unlocked.
- Google Play Edition rom - Google Drive
- Google Play Edition rom - MediaFire
- mfastboot
- Minimal ADB & Fastboot
- Motorola Device Manager (Drivers)

1 - Alright. First of all, install Minimal ADB & Fastboot in C:\, to keep things easy. After, extract Google Play Edition.tgz inside its folder with mfastboot.
2 - Turn off your Moto G and put it on Bootloader mode by pressing power + vol. down for a few seconds.
3 - Plug it in PC and verify if it is connected.
4 - Open cmd.exe and do this command: cd C:\Minimal ADB & Fastboot or the folder you've installed it.
5 - After, copy these commands and paste them. On the third one, cmd will crash, just wait your Moto G reboot and close the warning.

Code:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot reboot-bootloader
mfastboot continue
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg_intl.img
mfastboot erase cache
mfastboot erase userdata
| If you live in USA, do these last commands instead:

Code:
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg_gpe.img
mfastboot erase cache
mfastboot erase userdata
| And after checking if all the commands returned an OKAY, do

Code:
mfastboot reboot
| To flash any custom recovery, download CWM or TWRP (thanks to Dhacker29!), put it inside of Minimal ADB & Fastboot folder, launch cmd.exe doing "cd" in folder and do:

Code:
mfastboot flash recovery filename.img
| After, just flash SuperSU from recovery to get root. (thanks chainfire!)

| THIS WILL WIPE YOUR DEVICE. INCLUDING INTERNAL STORAGE.
| THIS WILL ALLOW XT1033 TO INSTALL falcon ROMS WITH ONLY ONE SIM WORKING
| NOW YOUR DEVICE HAS EXT4 STORAGE, SOME TWEAKS WON'T WORK
| AND SORRY FOR ANY GRAMMAR ERRORS

-------------------
REVERSE GUIDE

| Use this guide if you failed with first one or want to go back to stock rom.
| Install Minimal ADB & Fastboot again in another folder to avoid conflicts and download here (thanks to droid-developers) your respective stock rom. Extract it inside the folder.
| After, just re-do steps 2, 3 and 4 from above.
| Step 5 you'll run with these commands below. On the third one, cmd will crash, just wait your Moto G reboot and close the warning.
| I'm not sure if system partitions are the same for ALL roms at sbf.droid-developers. Some will have sparsechunk.1, 2 and 3. Verify that before running the commands!

Code:
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe reboot-bootloader
mfastboot.exe continue
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 flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe reboot
--
Thanks to all XDA community. I've learned so much here with you guys.
 
Last edited:

antarix

Senior Member
May 16, 2012
1,552
513
0
Surat
  • Like
Reactions: thelegendofzeth

thelegendofzeth

Senior Member
Jan 28, 2014
169
86
0
It didn't work for me.
But this zip did.
Though I got hab check failed in boot.IMG and recovery.IMG but ROM still booted up and I got network.
Don't know how but this one is favourable to me
These are ignorable errors. I always get them when flashing this rom but never had problems.
 

imbroken80

Member
Apr 22, 2014
5
0
0
Hi,

I have a question regarding the ROM linked in the thread. Is this the official ROM or is this a modified version? So if I install this ROM on my XT1032, will it get the updates directly OTA from Google?

Thanks
 

antarix

Senior Member
May 16, 2012
1,552
513
0
Surat
Hi,

I have a question regarding the ROM linked in the thread. Is this the official ROM or is this a modified version? So if I install this ROM on my XT1032, will it get the updates directly OTA from Google?

Thanks
It may get ota unless you alter the system with custom recovery or root it.

Sent from my Moto G using XDA Premium 4 mobile app

---------- Post added at 05:13 PM ---------- Previous post was at 05:11 PM ----------

These are ignorable errors. I always get them when flashing this rom but never had problems.
Yep. First I panicked but after booting up the rom I got network and was happy to ignore it.

Sent from my Moto G using XDA Premium 4 mobile app
 

thelegendofzeth

Senior Member
Jan 28, 2014
169
86
0
imbroken80 said:
Hi,

I have a question regarding the ROM linked in the thread. Is this the official ROM or is this a modified version? So if I install this ROM on my XT1032, will it get the updates directly OTA from Google?

Thanks
No one knows because there is no OTA for test this. But I believe it will receive because it was made of the system-pull of original GPE Moto G.
 

LeslieKawiti

Senior Member
Jun 26, 2013
103
68
0
Misunderstood

Use WinRAR to do so. You can't run mfastboot. Run "cmd.exe" and follow the guide. You have to cd a workspace.


I got it to work, my problem was i was expecting the entire folder not a .tar image.
I then realized that i had to extract the tar file and use 7zip or winrar to extract all the files out of that one. Fileception if you will.
Thanks again for writing this tutorial.
 

robin0800

Senior Member
Jan 22, 2012
437
174
0
Change in code required

From OP

mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot reboot-bootloader
Add "mfastboot continue" to stop fastboot crash after bootloader reboot
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg_intl.img
mfastboot erase cache
mfastboot erase userdata
 

prateek_gemini

Senior Member
Nov 10, 2011
471
98
0
From OP

mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot reboot-bootloader
Add "mfastboot continue" to stop fastboot crash after bootloader reboot
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg_intl.img
mfastboot erase cache
mfastboot erase userdata
Thats weird , I didnt even faced any crash ... What was the reason of the crash anyways >?