Hi everyone,
I follow this awesome forum for several years now. Unfortunately, I currently have a problem which I do not get solved on my own and hope for your support:
My xt1032 (non GPE, non LTE) is stuck at bootlogo no matter what rom I flash! :crying:
Background:
Some time ago I successfully converted my device to the GPE edition using MotoTool. After Lollipop was finalized and penetrated me to update, I did him the favor. As some apps were no longer compatible, I restored my nandroid backup and lived with the ongoing update message.
Now that I leave the device to my wife, I'm trying to flash a factory image of desirably 5.1 GPE.
First I tried to flash GPE_5.1_XT1032_LMY47M.M001_CFC.xml.zip using fastboot:
Code:
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 system system.img_sparsechunk.3
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
... stuck in Google bootlogo.
Then I tried to flash XT1032_FALCON-RETEU_5.0.2_LXB22.46-28.1_1_cid7_CFC_1FF.xml.zip also using fastboot:
Code:
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 system system.img_sparsechunk.3
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
.. stuck in Motorola unlocked bootloader warning.
I also tried to flash GPE_XT1032_KTU84P.M003_CFC.xml.zip again using fastboot:
Code:
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 flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
mfastboot.exe reboot
.. stuck in Google bootlogo again.
I even tried to 'convert to GPE' in MotoTool as I did before using the same image as it was then. Unfortunately with the same result...
I'm a bit desperate right now! My research into threads with similar problems have led to no result. Solutions like flashing gptfix.bin didn't to the trick. What am I doing wrong? Can anyone point me to the right direction please?
Thanks in advance!
*nikon
*push*
I tried this and that in the meantime... all I get are bootscreens in multiple versions. After all I still have fastboot access.
My wife is getting nervous and so am I! Do I have a brick now?
Thanks in advance!
*nikon
I'm gonna make an educated guess its probably formation the GPE-rom uses ext4 in /data and the motorala uses F2FS (those are linux file-systems). GPE doesn't work with F2FS and Moto doesn't work with EXT4.
And assuming you use the TWRP as your recovery? If not install it with Mototools or fastboot to recover your phone (I'm not 100% sure if this is the only method but is the only method I can think of).
Step 1) Download the right recovery from this thread. If you want GPE-rom download GPE otherwise download falcon. Instructions are given in this thread.
Step 2) Start your recovery via fastboot and than choose recovery (use sound button down to scroll, up to select). If everything is allright your booting to a recovery menu with touchbuttons.
Step 3) Choose wipe -->> Advanced wipe -->> select data -->> Repair or Change File System -->> Choose F2FS or Ext4 depending on your choose for moto (F2FS) or an GPE rom. (Ext4). Repeat this steps for /system and /cache.
Step 4) Do a factory reset just to be sure (not sure if necessary, better safe than sorry)
Step 5) Flash your rom of choose
Step 6) Report back to me when succeeded if not report back with more information.
I like this thread its friendly and much information is given and your seem very polite (Learn from this man you screamy panicking kids). There is how ever some essential information missing.
-Which recovery did you use?
-What is your bootloader version?
-From which rom are you coming?
P.s. I never used Fastboot to flash an complete rom only for recovery's (except for my oldskool G1, but that was long ago). I like flashing via recovery most roms are tested and made for flashing via TWRP or CWMR (mostly specified from dev).
P.s.s. I tried my best English! Its not my first language.
@*nikon - provide a fastboot log of the entire flashing process. I want to see any message fastboot is presenting.
Also, you do not need to change the format of /data manually - flashing the gpt.bin does that automatically.
EDIT: Using TWRP to flash a custom ROM is much safer than flashing fastboot images. A flashable GPE 5.1 ROM is available here: http://forum.xda-developers.com/moto-g/development/rom-stock-motorola-lollipop-rom-t3017510
Shortly beforehand: thanks a lot for your responses! Very nice to have some feedback!
After being quite busy this weekend, I now have the time to dig into this again.
@Xacky: My apologies for the missing information.
I've tried different recoveries, mainly stock recovery or TWRP depending on my current flash try. Thank you that you have pointed out to me on the recovery thread where I became aware of the GPE edition of TWRP. I'll take this one in the future if I get this hopefully running sometime.
My current bootloader version is 41.18 because last time I tried to downgrade again to 4.4.4. But I also had version 41.19 running with my Lollipop tries.
Concerning the rom I was coming from, I thought my description was relatively detailed. The original was a (NON-GPE) Moto rom, upgraded to 4.4.4 GPE by Moto Tool, then OTA upgraded some time to 5.0.1, downgraded by naindroid backup restore and then tried to flash a 5.1 GPE factory image via fastboot. Then the journey began...
@lost101: Thanks for the information that the format is no issue since it is defined by gpt.bin. I'll give the images from your thread a try and get back in when my battery is ready for flashing again. I also try to save a log which I can post here, if necessary by hand.
Greetz
*nikon
I'm back with good news! :victory:
Unfortunately I still don't know what the problem was (and I really can't stand this!!), but it seems to be solved. I successfully managed to downgrade to 4.4.4 with the image from this thread and then I was able to flash GPE 5.1 as stated in this tutorial.
Afterall kind of weird because I am firm conviction that I've not done anything else manually in the beginning.
Nonetheless, thanks for listening!
Greetz
*nikon
Hey Nikon,
I'm running into the same issue as you. My only question is: is there still screen flickering once you've updated to 5.1? thx
Hey pables69,
sry for beeing late - I was quiet busy the last few days.
To answer your question:
No, fortunately screen flickering is also gone since the upgrade! :good:
Greetz
*nikon
Related
I've been reading forums on here all day and nothing seems to match my problem down to the letter.
Here is my problem, I thought this morning it would be fun to upgrade my Moto G, was rooted on Kit Kat (perfectly fine -_-) to Lollipop. I followed a tutorial with great feedback and thought what could go wrong? Turns out everything could go wrong and after following every step perfect, my phone was bricked. It just displayed the Warning: Bootloader Unlocked screen and does nothing else.
I'm able to get in to recovery, have all the ADB tools installed, tried every tutorial, non-stop, the entire day and nothing is working.
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 modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
When I type almost any of these commands I'm met with this: "error: cannot load 'gpt.bin': No error" not just for gpt.bin though, for anything? Althought these commands worked fine when bricking my phone
My phone is a single sim XT1032 Moto G. Can someone please help? I just want my phone fixed. I don't care if I never have to have Lollipop on it, it was fine the way it was and wish I'd just left it that way.
What lollipop ROM are you trying to flash? The gpe ROM uses a slightly different file format than a retail lollipop ROM.
Hey guys. I got a telus moto g xt1032. It was on official 5.0.2. I flashed TWPR 2.8.5.0, and encountered the bootloop bug. I proceeded to flash the only stock telus firmware i could find- 4.4.4. I followed the guide on XDA to the tee and resulted in my moto go being stuck at the "Warning, boot loader unlocked" screen. I have no idea what to do and would really appreciate some help, as I am new to this. Am even willing to donate if it results in me fixing my phone. Thank for taking the time to read
Try doing the following Fastboot commands manually:
mfastboot flash partition gpt.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk1 (CHANGE TO MATCH ACTUAL FILENAME ON HARD DISK)
mfastboot flash system system.img_sparsechunk2 (CHANGE TO MATCH ACTUAL FILENAME ON HARD DISK)
mfastboot flash system system.img_sparsechunk3 (CHANGE TO MATCH ACTUAL FILENAME ON HARD DISK)
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
Provide a log of what happens, if this does not work.
lost101 said:
Try doing the following Fastboot commands manually:
mfastboot flash partition gpt.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk1 (CHANGE TO MATCH ACTUAL FILENAME ON HARD DISK)
mfastboot flash system system.img_sparsechunk2 (CHANGE TO MATCH ACTUAL FILENAME ON HARD DISK)
mfastboot flash system system.img_sparsechunk3 (CHANGE TO MATCH ACTUAL FILENAME ON HARD DISK)
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
Provide a log of what happens, if this does not work.
Click to expand...
Click to collapse
I also have this problem. I am trying to downgrade to 4.4.4 stock firmware (from 5.02) and I'm getting an this error:
$ fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.042s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.336s
Click to expand...
Click to collapse
All the other commands are successful but the device remain stucked on the boot screen after the reboot :crying:
I have this problem too, trying to factory reset my phone but it's still stuck on the bootloader. CWM says can't mount sd card now aswell so any help would be appreciated
I got the stock Telus 4.4.4 firmware from here: http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=filename&order=ASC&show=100&page=1
lost101 said:
Try doing the following Fastboot commands manually:
mfastboot flash partition gpt.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk1 (CHANGE TO MATCH ACTUAL FILENAME ON HARD DISK)
mfastboot flash system system.img_sparsechunk2 (CHANGE TO MATCH ACTUAL FILENAME ON HARD DISK)
mfastboot flash system system.img_sparsechunk3 (CHANGE TO MATCH ACTUAL FILENAME ON HARD DISK)
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
Provide a log of what happens, if this does not work.
Click to expand...
Click to collapse
hey man, ok ill try that again. The only thing is, there is no boot.img in the telus file I downloaded. Its named "motoboot." Should i replace that with the boot img part? Also, i recently read somewhere trying to downgrde from 5.0.2 to 4.4.4 will mess my phone up. Is that true?
EDIT- I do remember the first time i tried this after sparsechunk.1, is sad "image file is too large" but kept on goiing anyways
audit13 said:
I got the stock Telus 4.4.4 firmware from here: http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=filename&order=ASC&show=100&page=1
Click to expand...
Click to collapse
theres 2 telus ones. How do you know which one to use? Also i tried flashing one of them im pretty sure and am stuck at the screen in OP
butthurtlocker said:
hey man, ok ill try that again. The only thing is, there is no boot.img in the telus file I downloaded. Its named "motoboot." Should i replace that with the boot img part? Also, i recently read somewhere trying to downgrde from 5.0.2 to 4.4.4 will mess my phone up. Is that true?
EDIT- I do remember the first time i tried this after sparsechunk.1, is sad "image file is too large" but kept on goiing anyways
Click to expand...
Click to collapse
motoboot.img and boot.img are not the same thing. Be careful renaming these files, or else you will destroy your phone. If there is no boot.img included then that zip has been messed with by someone.
The 'image file is too large' message should not be ignored - it means the firmware has not flashed at all. Nothing has changed on your phone; flash has not been successful.
butthurtlocker said:
theres 2 telus ones. How do you know which one to use? Also i tried flashing one of them im pretty sure and am stuck at the screen in OP
Click to expand...
Click to collapse
I used this one: XT1032_TELUS-CA_4.4.4_KXB21.14-L1.50_52_cid14_CFC_1FF.xml
Then I updated Motorola Apps via Play store, then get the OTA update to 5.02.
lost101 said:
motoboot.img and boot.img are not the same thing. Be careful renaming these files, or else you will destroy your phone. If there is no boot.img included then that zip has been messed with by someone.
The 'image file is too large' message should not be ignored - it means the firmware has not flashed at all. Nothing has changed on your phone; flash has not been successful.
Click to expand...
Click to collapse
good to know thanks. theres only 2 stock telus files, and one didnt have the boot.img. so ill have to hope the other does. I managed to get my phone booted on GpE 4.4. now im just trying to get back to stock motorola. Is there a guide you could link me to?
audit13 said:
I used this one: XT1032_TELUS-CA_4.4.4_KXB21.14-L1.50_52_cid14_CFC_1FF.xml
Then I updated Motorola Apps via Play store, then get the OTA update to 5.02.
Click to expand...
Click to collapse
did that file have a boot.img?
butthurtlocker said:
good to know thanks. theres only 2 stock telus files, and one didnt have the boot.img. so ill have to hope the other does. I managed to get my phone booted on GpE 4.4. now im just trying to get back to stock motorola. Is there a guide you could link me to?
Click to expand...
Click to collapse
Fastboot Tutorial:
http://forum.xda-developers.com/showthread.php?t=2542219
Yes, the boot.img file is included.
I know the title is a bit confusing, but I will try to explain the context of my situation so you can understand it better.
I have a x1032 since the end of 2013. When the first image of the Google Play Edition went "public", I converted my device to it, and it stayed that way, doing all the OTA updates, until the 5.1 GPE appear.
When I did the update to this version (5.1 GPE), my compass didn't work with some apps (for example, GPS tools and c:geo), and as it is a sensor that I use most of the time, I decided do revert my device from fastboot to the 4.4 “stock Motorola” (don’t remembre if it was 4.4.2 or 4.4.4) and then update it to the 5.0.2.
In the process, I think that I had a soft brick: when I turned on the device, he stayed in the “unlocked bootloader” image, and he didn’t move forward. But, after trying, I saw that I had access to the bootloader menu and to the recovery, without any problem. I tryed to install the images via fastboot, even the new 5.1 GPE and 5.02 Motorola ones, but none of them works.
I searched, and searched, and finally understand that in this cases, the problema is the /system, /data and /cache partitions that need to be formated, and then I can flash any zip rom via recovery.
And now, this is where I stay: Via fastboot I installed the 5.1 GPE rom. Then I installed philz touch recovery, formated all partitions in ext4, wipe them all (just to be sure ), and did an adb push to have the GPE 5.1 zip ROM from @lost101 in my sdcard, and installed it. AND IT WORKS!
Now, the actual problem: I’m having form time to time some random reboots. They always appear after I try to turn the screen on, and after 3 or 4 seconds, the phone reboot.
Can this be related to the softbrick? I tought it could be a rom problem, but no one else have the same complains and @lost101 says that maybe this is from my phone.
Thanks in advance, and sorry for the long text and my bad english.
I suggest you try flashing the GPE 5.1 Firmware Image available here: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Make sure you use only the following commands and use mfastboot available here: https://www.androidfilehost.com/?fid=23578570567719065
mfastboot flash partition gpt.bin
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 modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
You should not need to manually format partitions. The above commands will do everything for you. The reason for your sensor issues are that the fastboot flashing previous was not successful.
Please do the fastboot commands manually, one at a time, and log everything and post it here.
lost101 said:
I suggest you try flashing the GPE 5.1 Firmware Image available here: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Make sure you use only the following commands and use mfastboot available here: https://www.androidfilehost.com/?fid=23578570567719065
mfastboot flash partition gpt.bin
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 modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
You should not need to manually format partitions. The above commands will do everything for you. The reason for your sensor issues are that the fastboot flashing previous was not successful.
Please do the fastboot commands manually, one at a time, and log everything and post it here.
Click to expand...
Click to collapse
You are absolutely right: there were no errors (except the "normal" validation erros because it's a GPE image), and in the end, I didn't need to format the partitions manualy.
I think the problem was the fastboot (I was using the one from the sdk... my bad!).
Now I know that any problems don't come from the software side, because in that part, everthing is ok.
I will just ask you two more things:
- What custom recovery do you recomend?
- Your Low Memory Killer Tweak works without any problem in the 5.1 GPE installed via fastboot?
Thank you very much for your help. You really made my day.
RBras said:
I will just ask you two more things:
- What custom recovery do you recomend?
- Your Low Memory Killer Tweak works without any problem in the 5.1 GPE installed via fastboot?
Click to expand...
Click to collapse
Latest TWRP. Yes, the LMK Tweak will work in that case.
lost101 said:
I suggest you try flashing the GPE 5.1 Firmware Image available here: http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Make sure you use only the following commands and use mfastboot available here: https://www.androidfilehost.com/?fid=23578570567719065
mfastboot flash partition gpt.bin
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 modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
You should not need to manually format partitions. The above commands will do everything for you. The reason for your sensor issues are that the fastboot flashing previous was not successful.
Please do the fastboot commands manually, one at a time, and log everything and post it here.
Click to expand...
Click to collapse
Unfortunately, random reboots are still present
I have installed 5.1 Google Play edition factory image, with the mfastboot you told me, but it still reboots randomly. Did the same with the 5.02 EU from Motorola, and it behaves the same way.
The random reboots happen more or less, one time a day, and it's when I try to turn the screen on, it doesen't respond, and after 3 or 4 seconds, the system reboots.
Any clue of what can be? Is there a way to grab some logs to try to understand what's happening, or it is too difficult and it's better I don't have too many hopes?
It would appear some sort of corruption has occured. I can't say anything with certainty - but I do believe Bootloader corruption could cause what you are experiencing.
It's possible you could fix this by reflashing the Lollipop Bootloader. I did not include the fastboot command to do this above.
Here it is: mfastboot flash motoboot motoboot.img
Try that and report back.
lost101 said:
It would appear some sort of corruption has occured. I can't say anything with certainty - but I do believe Bootloader corruption could cause what you are experiencing.
It's possible you could fix this by reflashing the Lollipop Bootloader. I did not include the fastboot command to do this above.
Here it is: mfastboot flash motoboot motoboot.img
Try that and report back.
Click to expand...
Click to collapse
During my time with Moto G, I flashed it using fastboot, dozens of times, but I was so desperate in the other day that I didn't even notice that your list with commands didn't have the bootloader one.
Now I undestand why the bootloader I have is the one from 5.1 GPE.
I'm gonna try it. In the last 2 days I didn't have any random reboot, but I will take my risk and flash the bootloader from the 5.0.2 EU, and I will report back in the next days.
I'm buying you a beer today, for being so helpful and nice. Thank you very much.
I'm reopening this thread to try to see what's happening with my phone.
So, after flashing the bootloader of the 5.1 GPE, the phone was really better than it was in the OP.
My Moto G didn't reboot anymore when I tryed to turn the screen on, but instead, it started to reboot randomly every 2 or 3 weeks, without needing to touch the phone (the phone was rebooting by itself).
In the last month or so, I'm using the XT1032 Retail EU 5.1 (Optimized) v1.0 from @lost101, and now the behavior is, once again, the described in the OP: I try to turn the screen on, the phone doesen't respond, and after 3 or 4 seconds, it reboots by itself.
And this is happening once every 1 or 2 weeks.
So, can anyone give me some help to try to understand what's happening? @lost101 @luca020400 @LuK1337 @matmutant
Usually, I have the original firmwares from Motorola or GPE, or I can have the optimized versions from @lost101 with TWRP.
Thanks for your help, guys!
Just for the record, I get occasional sudden / unexpected power off. It's rare, but stuff can happen when you are dealing with a complex device such as a smart phone. This is especially so, if you are rooting / modifying the operating system.
The problem could be related to something you are installing. Also, I recommend a clean install once every few months.
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
THE ISSUE HAS BEEN RESOLVED BY THE UNAMAZING MOI
But feel free to read the issue.
######################################
######################################
######################################
Hello everyone, Like usual I managed to destroy to some extend the way my very old phone works. Its Rooted. And after an issue with my phone I reverted to a backup (using CWM) and everything went fine (expect SU Binairy wich failed, but got fixed easily).
Now I'm on stock rom. On Kitkat 4.4.4. So I wanted to install a new rom because I did it many times and never really encountered anything I couldn't fix myself (I've been working with overall technology for 4 years now). While searching the new roms xda offered, I realised that they where all for lolipop (or 90% of them) So I decided to update.
It didn't worked. It didn't worked so hard It bootlooped at least 5 times before I shut it down myself.
I don't remember where it failed, but it had to do with my System Version (Somewhere in a folder)
More info:
MOTO G XT1034 Kitkat 4.4.4
System version:
210.12.41.falcon_umts.AWSRetail.en.CA
Kernel :
3.4.42-gaf6580c
[email protected] #1
Click to expand...
Click to collapse
TL;DR: How do I install this god forsaken lolipop update. (More info right up)
EDIT: this is the CWM error message
Clockworkmod recovery v6.0.4.7
E: Invalid command argument
Finding update package...
Opening update package...
Verifying update package...
E:failed to verify whole-file signature
E: signature verification failed
installing update...
Package expects build fingerprint of motorola/fa
lcon_retca/falcon_umts: 4.4.4/KXB21.14-L1/37:user/releaser-keys
or
motorola/falcon_retca/falcon_umts:5.0.2/LXB22.46-32/31:user/release-keys;
this device has
motorola/falcon_retcaws/falcon_umts:4.4.2/KXB20.9
E:Error in /cache/Blur_Version.210.12.41.falcon_umts.AWSRetail.en.ca .zip
(status 7)
Installation aborted.
Rebooting
Click to expand...
Click to collapse
Please flash one of the factory images that is right for your phone in your case is XT1034:
https://www.androidfilehost.com/?fid=24052804347780781
Download it, extract it, and then flash it using these mfastboot commands:
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 system system.img_sparsechunk.3
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
and then type mfastboot reboot to reboot the device. If you don't have ADB and fastboot installed then install this ADB and fastboot installer:
https://drive.google.com/file/d/0B0MKgCbUM0itSUhpUklCTFpzWkE/view
also these drivers from Motorola: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
and then extract this to C:\adb folder created by the ADB and fastboot installer
https://www.androidfilehost.com/?fid=95916177934532795
and type "Y" and enter for all questions.
To flash the images just hold the SHIFT key and then right click in the folder and select open command window and apply that commands above (like mfastboot flash etc...)
Good luck !
Eurofighter_ty said:
Please flash one of the factory images that is right for your phone in your case is XT1034:
https://www.androidfilehost.com/?fid=24052804347780781
Download it, extract it, and then flash it using these mfastboot commands:
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 system system.img_sparsechunk.3
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
and then type mfastboot reboot to reboot the device. If you don't have ADB and fastboot installed then install this ADB and fastboot installer:
https://drive.google.com/file/d/0B0MKgCbUM0itSUhpUklCTFpzWkE/view
also these drivers from Motorola: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
and then extract this to C:\adb folder created by the ADB and fastboot installer
https://www.androidfilehost.com/?fid=95916177934532795
and type "Y" and enter for all questions.
To flash the images just hold the SHIFT key and then right click in the folder and select open command window and apply that commands above (like mfastboot flash etc...)
Good luck !
Click to expand...
Click to collapse
I actually Wrote down the error message down
Clockworkmod recovery v6.0.4.7
E: Invalid command argument
Finding update package...
Opening update package...
Verifying update package...
E:failed to verify whole-file signature
E: signature verification failed
installing update...
Package expects build fingerprint of motorola/fa
lcon_retca/falcon_umts: 4.4.4/KXB21.14-L1/37:user/releaser-keys or motorola/falcon_retca/falcon_umts:5.0.2
/LXB22.46-32/31:user/release-keys;
this device has motorola/falcon_retcaws/falcon_umts:4.4.2/KXB20.9
E:Error in /cache/Blur_Version.210.12.41.falcon_umts.AWSRetail.en.ca.zip
(status 7)
Installation aborted.
Rebooting
Click to expand...
Click to collapse
So if you still think I should flash stock rom tell me. I think I accidentally flashed the wrong stock rom. Im not sure though.
Please follow the instructions I wrote beacuse what you are doing is wrong.
First you can't flash OTA updates with CWM just with Motorola official recovery for your device version in your case is XT1034 AWS the recovery for XT1032 will not flash OTA for XT1034.
Second you're trying to flash a 5.0.2 based image over 4.4.2 and that's is not going to work.
So please follow my instructions and you will get the Android 5.0.2 with no problems like this
Eurofighter_ty said:
Please follow the instructions I wrote beacuse what you are doing is wrong.
First you can't flash OTA updates with CWM just with Motorola official recovery for your device version in your case is XT1034 AWS the recovery for XT1032 will not flash OTA for XT1034.
Second you're trying to flash a 5.0.2 based image over 4.4.2 and that's is not going to work.
So please follow my instructions and you will get the Android 5.0.2 with no problems like this
Click to expand...
Click to collapse
I am not choosing to reboot it in recovery, it does it automatically.
Keep pressed these buttons for 10-15 seconds to enter fastboot mode and then flash the files above: Volume down + power and then connect via usb the moto g and flash the files.
Eurofighter_ty said:
Keep pressed these buttons for 10-15 seconds to enter fastboot mode and then flash the files above: Volume down + power and then connect via usb the moto g and flash the files.
Click to expand...
Click to collapse
I got a soft brick after flashing it. I'm suck at the logo (the bootloader unlocked logo)
Are you flashed all the files ? There were any errors ?
Eurofighter_ty said:
Are you flashed all the files ? There were any errors ?
Click to expand...
Click to collapse
Yes I did and no it didn't had apparent errors. I tried erasing the cache, Dalvik cache and user data. Didn't worked.
So here what ended up happening:
I fixed it without your help.
But now that I flashed motoboot from the file you sent me its uncompatible with my old rom and now my screen flickers everytime I open it (I need to close it to fix it)
Final note. I fixed everything the way I should of.
I got the lolipop stock rom, Pushed it into CWM using adb and flashed it like that.
I got no problems with anything regarding it and will make a backup.
Thanks for the help
Yes, the new bootloader ic ompatibile with 5.0.2 and 5.1. On kitkat you will get screen flicker.
Eurofighter_ty said:
Please flash one of the factory images that is right for your phone in your case is XT1034:
https://www.androidfilehost.com/?fid=24052804347780781
Download it, extract it, and then flash it using these mfastboot commands:
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 system system.img_sparsechunk.3
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
and then type mfastboot reboot to reboot the device. If you don't have ADB and fastboot installed then install this ADB and fastboot installer:
https://drive.google.com/file/d/0B0MKgCbUM0itSUhpUklCTFpzWkE/view
also these drivers from Motorola: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
and then extract this to C:\adb folder created by the ADB and fastboot installer
https://www.androidfilehost.com/?fid=95916177934532795
and type "Y" and enter for all questions.
To flash the images just hold the SHIFT key and then right click in the folder and select open command window and apply that commands above (like mfastboot flash etc...)
Good luck !
Click to expand...
Click to collapse
Thank you.
I had an M8 and it stopped charging last night. I bought the Moto G from someone on Craigslist while I wait for the next Nexus(s)(i)(whatever). The one I bought was the XT1034 model and I've been searching and reading for a few hours on how to upgrade it from 4.4.4. I tried installing CM 12.1 and got the Bootloader error, I installed a 5.0.2 based rom and got the screen flicker. Now I'm on 5.0.2 with no flicker.
I know what I'm doing, I've been rooting and roming since 2010 with my OG EVO 4G but I still followed your instructions exactly and it worked. The only issue was the first boot hung on the splash screen for a while and I got a bit nervous but everything worked out.