[SOLVED] XT1032 stuck at boot even after factory reset and reflashing stock firmware - Moto G Q&A, Help & Troubleshooting

My Moto G 1st Gen 2013 (XT1032) is stuck at the first boot screen even after wiping user data and reflashing it with stock firmware.
It was an untampered model (non-rooted, with “Status Code: 0” factory-locked bootloader, no-carrier, non-SIM-locked), with whatever latest OTA update Motorola ever shipped (Lollipop, I believe), officially updated all the way from whatever the first Moto Gs sold at Amazon.es shipped with—4.something. Out of the blue, one day it rebooted and stayed in the screen with the blue marble with an M on it.
To fix it, I have repeatedly tried:
wiping the cache
wiping user data
unlocking the bootloader
reflashing stock 4.4.4, 5.0.2 and 5.1
wiping cache + user data yet again
All those tasks complete without seemingly meaningful errors, but after that the phone will still just light up into, now, the “warning bootloader unlocked” screen and just stay there. If, from Recovery, I power down while connected to the computer by USB, it will restart into what will be now be a flat-color version of the circled M with “Powered by Android” below it, but still stay there. Force-restarting it, will bring back the “warning…” screen, and not get past that just as well. I've left it there for hours, both the first time it got stuck on the blue marble screen and with the other two startup screens.
The specific firmwares I tried were:
RETAIL_XT1032_4.4.4_KXB21.14-L1.61_cid9_CFC.xml.zip
XT1032_FALCON-RETEU_5.0.2_LXB22.46-28.1_1_cid7_CFC_1FF.xml.zip
XT1032_FALCON_RETEU_5.1_LPBS23.13-56-2_cid7_CFC.xml.zip
I flashed those firmwares by booting into Fastboot Flash mode. I got fastboot on Mac OS X 10.10 by installing Homebrew and running brew install android-platform-tools.
As per each firmware's XML file, these are the commands I used to flash, for instance, stock-5.0.2:
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
and these for stock-5.1:
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
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 oem fb_mode_clear
After flashing, I re-wiped cache and user data by booting into Fastboot mode again, from there going to Recovery, and there chosing wipe data/factory reset.
What else can I attempt? How can I even attempt to diagnose what is wrong at all?
EDIT: Just tried reflashing 5.1 for the 25th time, this time using mfastboot instead of fastboot (downloaded from the thread at Moto G General [GUIDE] Moto G - Restore stock firmware, linked as mfastboot-v2.zip and actually named osx-fastboot when uncompressed). After rebooting into the “warning…” screen and leaving it there for some minutes, it changed into the animated blue marble M logo (with concentric waves as like from water drops) and finally booted into the “Welcome” wizard!

Related

Moto g errors when updating to lollipop

Hi had a moto g xt1039 on 4.4.4 yesterday finally got the official 5.0.1 update however my phone is rooted and the bootloader is unlocked. So I got the official stock from for my phone checked it and the cid number too. Followed the instructions on here to flash the rom back on. This all worked and a clean install was done. After a few apps updated the lollipop update message appeared again so downloaded and installed it however during the install it errored, restarted and once I was back on the phone dashboard it said an error occurred no changes made. The bootloader is still unlocked. Could this be the issue? If so how do you relock or what could cause the install error issue?
Many thanks
update so far while waiting for someone to help fix this current issue i have done some research on how to lock the boot loader. I found a guide on here to do so and the commands within mfastboot was as follows:
fastboot oem lock begin
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 oem lock
So i executed this and now the problem is after restarting the phone the screen is stuck on the warning boot loader unlocked screen and wont move. Te phone still can boot into boot loader and communicates with the pc.
So i re flashed the firmware with the original guide ( without the fastboot oem lock) but still stuck on the boot loader unlock screen. Do i have to input a command to unlock the boot loader again?
Need this sorting asap as its my only phone for communication and i currently don't have a functioning phone.
Many Thanks
Unlocked Bootloader is not the reason for your original issue. I have never 'relocked.'
Download the XT1039 Fastboot Firmware image here:
http://forum.xda-developers.com/showpost.php?p=61445658&postcount=654​Use mfastboot to flash the files: https://www.androidfilehost.com/?fid=23578570567719065
TIP: Do not include the follow command for your own safety: mfastboot flash motoboot motoboot.img

Hanging in bootloop after trying to install 4.4.4

Hello, I registered, hoping that somone maybe could help here.
Yesterday I wanted to get the latest 5.1 update for my moto g, running 5.0.2. Because I rooted the device amd modified some things like uninstalling system apps and replacing system apps with their updates; I wanted to flash a clean system first. I tried to find a german 5.0.2 rom and couldn't find one, so I decided the 4.4.4 version I got should do the same. So I tried to install it via fastboot. For doing this I used these fastboot commands:
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
I got these three errors: version downgraded primary_gp, version downgraded for tz, version downgraded for boot.
On reboot the phone get's stuck on bootloader unlocked screen and won't boot. I can reset by long pressing power, I can also enter fastboot menu.
After searching for two hours I could find this firmware XT1032_FALCON-RETDE_5.0.2_LXB22.46-28.1_1_cid7_CFC_1FF.xml (can't post link) and tried to install, I used the same commands as above and finished without any error. But there's still the bootloop. I tried to install several times and tried also to wipe data and cache. Can anyone help or is the phone bricked forever?
Dont flash motoboot, i had this same problem when flashing motoboot
I tried it again without flashing motoboot, with the same result. I think the problem is, that I flashed it once, so I think I could only fix it by undoing the motoboot flash.
Edit: Seems like the problem is only with stock rom. I tried to install CM12 and it is running fine, except it refuses a wifi connection. If CM would run that would also be ok, but without wifi,...so I just need stock.
Meanwhile I'm using a custom rom as a workaraound.
Try on this order @piet85
logo
boot
recovery
system.img1
system.img2
system.img3
nhlos
erase midem set 1
erase modem set 2
fsg
erase user data
and cache
Mind that the commands are not written on the right way just because im lazy :-
Thank you a lot, don't get me wrong, but for the moment I'm very glad having a running system on my phone and it runs very good for a custom rom. So there is no real need to flash again. Maybe I will do so, when there are major bugs or when I have more time, but for the moment the custom rom does it's job.

Motorola Moto G 4G (XT1040) Bootloop Problem

Hi, this is my first time making a post, ok here's the thing, a couple of days ago my phone run out of battery, when i come back to charge the phone, this just get stuck in the Motorola logo and don´t turn on, i never make nothing like root or flashing roms, the phone os was all stock Android 5.1; so i look in the internet for possible cause and i find that it was a bootloop, i try to get in to the fastboot flash mode to make a reset with the factory option but just get directly to the motorola logo and dont do nothing, so a try with the recovery option and gets in to the android system recovery <3e> and try the wipe data/factory reset but doesn´t work. I try even via computer using the minimal adb and fastboot to erase the cache and the userdata with the commands and doesn't work, still appearing the motorola logo. so i found that i have to install the original rom again but first ill have to unlock the bootloader for my device, so i did it, i unlock the bootloader and now appear <Device is UNLOCKED. Status Code: 3> and now appear the poster WARNING BOOTLOADER UNLOCKED instead of the motorola logo; then i search for the stock rom for my device and i find this one XT1040_PEREGRINE_RETBR_5.1_LPB23.13-8_cid12_CFC.xml.zip (i know that my device is peregrine because i remember saw it before in the settings but not remeber the hole name), so i make the installation with adb tools like the post say and make this 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 its over i press fastboot reboot, but then appears again the WARNING BOOTLOADER UNLOCKED poster, i try to make it again, bus still appearing, i try more than 10 times, but still appearing.
sorry if the post is too large but i try to explain everything so you guys can help me because im desesperate with this, thanks.
HanSolo97 said:
Hi, this is my first time making a post, ok here's the thing, a couple of days ago my phone run out of battery, when i come back to charge the phone, this just get stuck in the Motorola logo and don´t turn on, i never make nothing like root or flashing roms, the phone os was all stock Android 5.1; so i look in the internet for possible cause and i find that it was a bootloop, i try to get in to the fastboot flash mode to make a reset with the factory option but just get directly to the motorola logo and dont do nothing, so a try with the recovery option and gets in to the android system recovery <3e> and try the wipe data/factory reset but doesn´t work. I try even via computer using the minimal adb and fastboot to erase the cache and the userdata with the commands and doesn't work, still appearing the motorola logo. so i found that i have to install the original rom again but first ill have to unlock the bootloader for my device, so i did it, i unlock the bootloader and now appear <Device is UNLOCKED. Status Code: 3> and now appear the poster WARNING BOOTLOADER UNLOCKED instead of the motorola logo; then i search for the stock rom for my device and i find this one XT1040_PEREGRINE_RETBR_5.1_LPB23.13-8_cid12_CFC.xml.zip (i know that my device is peregrine because i remember saw it before in the settings but not remeber the hole name), so i make the installation with adb tools like the post say and make this 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 its over i press fastboot reboot, but then appears again the WARNING BOOTLOADER UNLOCKED poster, i try to make it again, bus still appearing, i try more than 10 times, but still appearing.
sorry if the post is too large but i try to explain everything so you guys can help me because im desesperate with this, thanks.
Click to expand...
Click to collapse
If your goal is to re-lock the bootloader: try the command: fastboot oem lock
However, I don't see that solving your problem and may compromise your ability to restore to stock. Instead check this link and follow the install directions EXACTLY:
http://forum.xda-developers.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816
eg. for Canada choose: XT1040 (Note: for Rogers/Fido - confirmed)
Retail Canada 5.1 ROM (Untouched) (531mb) [Download]
i.e., you want the untouched version for your specific region.
Good luck. S

Flash went bad, how to flash anything working?

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.

Problem with unlock boot loader in motorola x force

Hello everyone, i have big problem with my new motorola x force, i bought it with dead software. And i tried install new, (I'm doing it isnt first time). I get key for unlock from motorola service but is imposible. I get an error. This device can not be unlocked.
I guess first owner, forgot turn on develop mode.
Any idea? I'm tried flashing it with instructions from other thread https://forum.xda-developers.com/moto-x/general/guide-moto-x-return-to-100-stock-using-t2446515.
I download soft from motorola, I'm tried first ver. android and new one. Everything without result.
Rasah97 said:
Hello everyone, i have big problem with my new motorola x force, i bought it with dead software. And i tried install new, (I'm doing it isnt first time). I get key for unlock from motorola service but is imposible. I get an error. This device can not be unlocked.
I guess first owner, forgot turn on develop mode.
Any idea? I'm tried flashing it with instructions from other thread https://forum.xda-developers.com/moto-x/general/guide-moto-x-return-to-100-stock-using-t2446515.
I download soft from motorola, I'm tried first ver. android and new one. Everything without result.
Click to expand...
Click to collapse
You do not need to unlock the bootloader to flash original moto firmware
Just put it in bootloader mode and on your pc where you have fastboot and all the firmware files open a command/terminal prompt and type the following
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img (not all devices have this)
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk0 (flash all sparsechunks in number order - for example)
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash system system.img_sparsechunk4
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
TheFixItMan said:
You do not need to unlock the bootloader to flash original moto firmware
Just put it in bootloader mode and on your pc where you have fastboot and all the firmware files open a command/terminal prompt and type the following
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img (not all devices have this)
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk0 (flash all sparsechunks in number order - for example)
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash system system.img_sparsechunk4
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
Sure, but When i done it phone starting with Motorola logo and restarting, I didn't have this file img with nr 1/4 I mean this fastboot flash system system.img_sparsechunk4
I download soft from Motorola, I don't remember version but it like 5.1? Middle one from list and in another one first vet same
Rasah97 said:
Sure, but When i done it phone starting with Motorola logo and restarting, I didn't have this file img with nr 1/4 I mean this fastboot flash system system.img_sparsechunk4
I download soft from Motorola, I don't remember version but it like 5.1? Middle one from list and in another one first vet same
Click to expand...
Click to collapse
Some phones may not have sparsechunks 0 & 4 - as long as you flash all the ones in the firmware in number order
I don't have your phone so I couldn't tell you what firmware to use
I have Motorola g5 so I can just tell you the process
And looking on that firmware thread it says you need to use mfastboot for system images - so see that thread for details
Long as everything is flashed successfully in the order I have written above including erasing user data
Sooo.... Could you tell me which comand i have to use ?
Related to no sim card issue?
I'm wondering if this is related to a problem I am having with mine phone. I flashed the official firmware (6.0) on my moto x force and everything works but the simcard. It says it's not loaded so I have no phone or cell data. My sim card works in other moto phones so its not that.

Categories

Resources