Hi guys, so i flashed a Moto G GPE rom onto my phone, got sick of seeing 3G rather then H or H+ and have decided to move back to Stock Retail.
I have a problem though when i use the guide on the FAQ ( the mfastboot way) everything i flash gets the okay appart from the system spasrsechunks? that gets some sort of error and it says error okay? Well apart from that after i reboot the phone, it has the warning sign but then uses the google bootanimation? ive left it on a good couple of minutes to see if it will boot but it doesnt seeem to want to..
Clarkiieh said:
Hi guys, so i flashed a Moto G GPE rom onto my phone, got sick of seeing 3G rather then H or H+ and have decided to move back to Stock Retail.
I have a problem though when i use the guide on the FAQ ( the mfastboot way) everything i flash gets the okay appart from the system spasrsechunks? that gets some sort of error and it says error okay? Well apart from that after i reboot the phone, it has the warning sign but then uses the google bootanimation? ive left it on a good couple of minutes to see if it will boot but it doesnt seeem to want to..
Click to expand...
Click to collapse
Google animation means that you still have the gpe rom on your phone. This happened to me before when i flashed the GPE rom too. What you need to do is flash your firmware again. Download the stock firmware form this guide: http://forum.xda-developers.com/showthread.php?t=2542219 Then what you need to do is run these commands MANUALLY! As in 1 by 1.
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition 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
fastboot oem fb_mode_clear
Click to expand...
Click to collapse
Yeah I sorted it thanks no 4.4.2 ROM would work trued multiple times until I tries a 4.3 and downgraded then it worked and updated to 4.4.2 ora
Sent from my XT1032 using Tapatalk
Hey guys!! I have Moto g xt1033.... My bootloader is unlocked...i had lollipop...factory reset it....then thought of flashing cyanogenmod.....used twrp to wipe all data...( Big blunder: Forgot to enable USB Debuging)...now left with no os....not able to flash one....I need some serious help now.....saw all the previous forums....Didnt work out....when i try flashing this code(Worked before for me)
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
everything works....but except
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
My bootloader is unlocked....I didnt enable USB Debugging(Yes this is the worst thing a person can do...) I need help from you guys....i read in the previous forums that these 2 codes wont be an issue....but the thing is my phone turn on only till the warning bootloader sign...then it doesnt turn up.....I even tried sideload using both twrp and cwm.....I can flash recoveries and it works fine.....but the os is not getting installed/ maybe installed but not showing up.
and is there any way to enable usb debugging in bootloader mode??
Please guys i need your help badly.
dhanushf14d said:
Hey guys!! I have Moto g xt1033.... My bootloader is unlocked...i had lollipop...factory reset it....then thought of flashing cyanogenmod.....used twrp to wipe all data...( Big blunder: Forgot to enable USB Debuging)...now left with no os....not able to flash one....I need some serious help now.....saw all the previous forums....Didnt work out....when i try flashing this code(Worked before for me)
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
everything works....but except
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
My bootloader is unlocked....I didnt enable USB Debugging(Yes this is the worst thing a person can do...) I need help from you guys....i read in the previous forums that these 2 codes wont be an issue....but the thing is my phone turn on only till the warning bootloader sign...then it doesnt turn up.....I even tried sideload using both twrp and cwm.....I can flash recoveries and it works fine.....but the os is not getting installed/ maybe installed but not showing up.
and is there any way to enable usb debugging in bootloader mode??
Please guys i need your help badly.
Click to expand...
Click to collapse
Try flashing cyanogenmod 12 via cwm recovery. It allows you to install via otg. Install Cm12 via Otg . :thumbup:
Sent from my XT1033 using XDA Free mobile app
Malyaj said:
Try flashing cyanogenmod 12 via cwm recovery. It allows you to install via otg. Install Cm12 via Otg . :thumbup:
Sent from my XT1033 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks a ton bro...you made my day!!.....
anytime man!
HI FRIENDS!
This is a one-click tool I made to automatically restore your device back to stock firmware. This is for Windows only at the moment. This tool can restore your device to stock when the device is booted up, in a bootloop, in recovery, or in booloader mode (fastboot mode).
Introducing my new "Restore to Stock" tool for Windows! This is tool currently supports XT1072.
So how do u restore to stock?
***This will wipe all your data***
Step 1)
Download the "Moto G 2014 Restore to Android 5.0.2" zip from here:
XT1072:
1) Firmware 22.46.28 [5.0.2-EU] - LINK
Step 2)
Extract the .zip to a location on your PC/Laptop you can easily access
Step 3)
Plug your Moto G 2015 into your computer
***Make sure all the proper device drivers are installed***
Step 4)
In the extracted folder, find a file called "Auto Restore Script" and click it (It is a Windows batch file)
Step 5)
In less than 5 min. your Moto G 2015 will be restored to stock firmware
NOTE: I RECOMMEND YOU TRY THIS TOOL OUT ON YOUR MOTO G, SO JUST IN CASE IF YOU EVER ARE IN A PROBLEM (BOO-LOOP, CORRUPT PARTITION, ETC.) YOU KNOW HOW TO USE THIS TOOL AND U ARE ASSURED THIS TOOL WORKS!
If you like my work please donate by clicking "DONATE TO ME" on the left side of this post under my XDA username.
ALL DONATIONS ARE GREATLY APPRECIATED!
Oh my god, your lovely tool just saved my new Moto G from bricktown after an aborted attempt at rooting. Cannot thank you enough.
One note I want to add: in order to get this to work, I had to move the files into the same folder as my 'fastboot' and 'adb' installation, and also remove the 'm' from the start of each line. Otherwise, it worked perfectly.
Thank you thank you thank you!
you really need to add the mfastboot.exe file to this as in its current state it is not working until you add the file yourself. either add the file or change the script to use normal fastboot
Just to confirm ... will this restore my Moto G back 100% to how it was before I started rooting (and I can then receive official updates)? There are so many different versions of Moto G 2nd generation, like 2014 vs. 2015, Europe vs. USA, etc. I just want to be sure.
I tried rooting my phone yesterday, and I might want to go back to default at some point (I only unlocked bootloader + installed TWRP + installed SuperSU).
See attached photo of my phone's stats.
The link is broken
I have the file. I try to share it this weekend.
EDIT:
Here you are
https://dl.dropboxusercontent.com/u...1072] Restore to Android 5.0.2 (22.46.28).zip
Anyone have this already and can reupload it?
doesn't work on my XT1072
with my old phone, the galaxy nexus, it will take 1 click and 5 minutes time to restore to stock firmware with a simple toolkit, now i look like a freaking noob.
RandyRhoads1821 said:
doesn't work on my XT1072
with my old phone, the galaxy nexus, it will take 1 click and 5 minutes time to restore to stock firmware with a simple toolkit, now i look like a freaking noob.
Click to expand...
Click to collapse
Same here
if it doesn't work try this:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Link doesn't work
EDIT: NVM, just saw the other post
mendelssohn said:
if it doesn't work try this:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Click to expand...
Click to collapse
I tried the whole process, but with "mfastbond" instead of "fastbond" ;-P, and it worked nicely, thanks a lot.
Piece of advice, DON'T SKIP THE ERASE USERDATA LINE!!, I tried to save me the time of setting up everyting again, and I had a memorable UPS! moment, when the boot process stopped into a black screen... thank god I could reboot into bootloader mode and start again :_o
switch to br retail from EU rom
after i install this EU rom, can i install a stock retail from brazil? as i am in Brazil, not EU. myne is a xt1078, updated to 6.0 but it is stuck in fastboot mode, with locked boot. tryed few comands no use,
did not work. mine is a xt1079. guess the same as the 1072. tried manual commands but still no use. any other help?
Shawn5162 said:
HI FRIENDS!
This is a one-click tool I made to automatically restore your device back to stock firmware. This is for Windows only at the moment. This tool can restore your device to stock when the device is booted up, in a bootloop, in recovery, or in booloader mode (fastboot mode).
Introducing my new "Restore to Stock" tool for Windows! This is tool currently supports XT1072.
So how do u restore to stock?
***This will wipe all your data***
Step 1)
Download the "Moto G 2014 Restore to Android 5.0.2" zip from here:
XT1072:
1) Firmware 22.46.28 [5.0.2-EU] -
Step 2)
Extract the .zip to a location on your PC/Laptop you can easily access
Step 3)
Plug your Moto G 2015 into your computer
***Make sure all the proper device drivers are installed***
Step 4)
In the extracted folder, find a file called "Auto Restore Script" and click it (It is a Windows batch file)
Step 5)
In less than 5 min. your Moto G 2015 will be restored to stock firmware
NOTE: I RECOMMEND YOU TRY THIS TOOL OUT ON YOUR MOTO G, SO JUST IN CASE IF YOU EVER ARE IN A PROBLEM (BOO-LOOP, CORRUPT PARTITION, ETC.) YOU KNOW HOW TO USE THIS TOOL AND U ARE ASSURED THIS TOOL WORKS!
If you like my work please donate by clicking "DONATE TO ME" on the left side of this post under my XDA username.
ALL DONATIONS ARE GREATLY APPRECIATED!
Click to expand...
Click to collapse
help
mendelssohn said:
if it doesn't work try this:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Click to expand...
Click to collapse
still dont work
erprando said:
after i install this EU rom, can i install a stock retail from brazil? as i am in Brazil, not EU. myne is a xt1078, updated to 6.0 but it is stuck in fastboot mode, with locked boot. tryed few comands no use,
Click to expand...
Click to collapse
Hey mate don't know if you fixed the problem but you can find the latest image for you phone xt1072 BR
MM XT1078_THEA_RETBR_DS_6.0_MPB24.65-34_cid12_subsidy-DEFAULT_CFC.xml.zip
or latest 5.0.2 whit stagefright fix
LL XT1078_THEA_RETBR_DS_5.0.2_LXB22.99-24.12_cid12_subsidy-DEFAULT_CFC.xml.zip
To flash this use the minimal fastboot folder in my sign and the correct bat script LP/MM, just put everything in the same folder and launch the bat
lucifermorn said:
still dont work
Click to expand...
Click to collapse
Grab the latest stock image for your phone from the repo linked in my sign, read the first answer in this post reply on how to flash it.
-------------------------------------------------------------------------------------------------------
Most of the times if you didn't flashed the wrong files you can recover from a bootloop by wiping data/cache (factory reset) whit bootloader or fastboot.
As @lucifermorn noted the original updater.bat file included by th OP wasn't complete, motoboot.img missing if i'm correct, and wasn't using mfastbootv2.
You can find bat scripts for flashing stock roms in my sign, latest minimal fastboot+mfastbootv2, and a link to the moto g stock roms repo on filefactory.
PS
@vegdroid that image is old too, latest 5.0.2 whit stagefright fix is 22.99-24.12 if i'm correct.
Check the moto g stock images repo linked in my sign.
EDIT
Ouch @erprando just realized you wasn't asking, but stating that you have flashed an xt1072 rom on an xt1078, that a very bad thing, if my bat script isn't working you know why.
help
mendelssohn said:
if it doesn't work try this:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Click to expand...
Click to collapse
IVE TRIED EVERYTHING, CAN SOMEONE PLEASE GO IN DETAILS ON THE STEPS TO ENSURE IT WORKS, IM DESPERATE:crying:
This works fine but only if you add the mfastboot files. Moto G 2nd XT1072 Tesco. Saved me from a previous Marshmallow custom rom! Many thanks.
help
ArchieGodfrey said:
This works fine but only if you add the mfastboot files. Moto G 2nd XT1072 Tesco. Saved me from a previous Marshmallow custom rom! Many thanks.
Click to expand...
Click to collapse
how do i get tge moto g 2nd XT1072 Tesco?
---------- Post added at 06:56 PM ---------- Previous post was at 06:06 PM ----------
Never mind i fixed it xd i dont know how but thank god its fixed
Guys this bat script or how some call it "WINDOWS TOOL" (make me laugh), is not OK from a loooooong time, check by yourself, USE AT YOUR OWN RISK.
Bootloader is left behind......
wrong script said:
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot.exe reboot
Click to expand...
Click to collapse
bootloader.img ??? anyone noticed this file in the zip or any lollipop/mm stock rom?? is this from gen1 kikat roms ?
right script said:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
Click to expand...
Click to collapse
Hi, I've flashed my Moto G and I messed up real bad, multiple flashes and so... I can still get into fastboot, but trying to power up normally just gives me the warning about unlocked bootloader, which hangs indefinitely.
The phone is Moto G 8GB XT1032, Retail DE, originally 4.4.2.
-> What can be done about this? Is there a way to reformat the partitions and flash them all fresh and new?
Just so you know, I've been flashing with this batch below. Whatever I flash with it now, doesn't help.
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
Btw, I know I probably made a lot of stupid mistakes, but in the past I've succesfully flashed dozens of phones and I never messed up like this... Feel free to mock me
Updated: I installed TWRP and found out I am unable to mount or repair system and cache. Also, both partitions show 0 MB size.
The restore to stock should work. Make sure you have mfastboot, the exact factory firmware images for your device, and that each file flashes successfully. Maybe you could post the cmd output if it doesn't flash correctly.
Swamp_cz said:
Hi, I've flashed my Moto G and I messed up real bad, multiple flashes and so... I can still get into fastboot, but trying to power up normally just gives me the warning about unlocked bootloader, which hangs indefinitely.
The phone is Moto G 8GB XT1032, Retail DE, originally 4.4.2.
-> What can be done about this? Is there a way to reformat the partitions and flash them all fresh and new?
Just so you know, I've been flashing with this batch below. Whatever I flash with it now, doesn't help.
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
Btw, I know I probably made a lot of stupid mistakes, but in the past I've succesfully flashed dozens of phones and I never messed up like this... Feel free to mock me
Click to expand...
Click to collapse
Use this tool: http://forum.xda-developers.com/moto-g/general/gpe-lollipop-5-1-1click-installer-t3075522
SLATE21&MOTOG said:
Use this tool: http://forum.xda-developers.com/moto-g/general/gpe-lollipop-5-1-1click-installer-t3075522
Click to expand...
Click to collapse
It initially worked, the phone booted up fine, but after I switched it off, it came back up in recovery mode. Now it only boots up in recovery.
Swamp_cz said:
It initially worked, the phone booted up fine, but after I switched it off, it came back up in recovery mode. Now it only boots up in recovery.
Click to expand...
Click to collapse
so you can't boot into system?
Finally, I solved it.
I couldn't, but then I found many people have this issue and the solution was to somehow repair the misc directory through ADB in TWRP (instructions are somewhere here at xda-dev). Now works well.
Hi guys,
Im from the UK and I have a Moto G XT1032 device which was running Cyanogenmod 12 up until yesterday when I decided to re-install the stock rom. Unfortunately, I have well and truly botched it. The current situation is that I have TWRP set up as the recovery image, so I can get into 'AP Fastboot Flash Mode (S)' OR into TWRP.
I accidentally wiped the 'system' via TWRP which seems to have caused most of my problems. I have tried to install the stock rom using a flashable zip (which failed) and I have also tried around 10 times to install the stock rom using the fastboot commands:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
#fastboot flash system system.img_sparsechunk.3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
When I try to do a basic wipe using TWRP, this is what shows up: hxxps://s27.postimg.org/r1dax21mb/falcon.jpg (change xx for tt, I don't yet have 10 posts so I cannot post links)
I just cannot seem to get the stock rom installed and booting no matter what I try. Can someone please work with me to get this sorted?
I would very, very much appreciate the help.
Thank you
Ok so i've managed to fix the 'unable to mount storage' issue via TWRP. I changed 'data' to EXT4 and I don't get any errors now.
But the problem is, for whatever reason, I am just unable to install a stock rom. I've used tutorials and still cannot seem to get a stock rom to load/work.
I used fastboot to install the rom files is this zip: XT1032_FALCON_TESCOGBSL_5.1_LPBS23.13-56-2_cid7_CFC.xml.zip
When I do a normal boot it gets stuck on 'Warning bootloader unlocked'
When I go to 'recovery', it boots up to a dead android which says 'no command'
When I go to factory restore, it gets stuck on the 'Warning bootloader unlocked' screen
What am I doing wrong?
edit: I even tried sideloading cyanogenmod and it said it was successful, but then it boots up to TWRP. Totally confused! In desperate need of help.
EDIT: I have now made progress. Here are my basic instructions:
put all the files from the zip file in a folder
put mfastboot.exe files into the same folder
install TWRP, erase
run bat file (add/remove sparse depending on files)
reboot and wait. Should work
I have managed to install the OS but wifi isn't working. And i'm now learning about a file called persist that I need to look into regarding wifi.