Moto G XT1068 2014 bricked and stuck in fastboot - G 2014 Q&A, Help & Troubleshooting

I tried to flash my Moto G XT1068 from Android Open Source Project (AOSP) 5.1.1 to the stock firmware and relock the bootloader.
I followed these steps I found on a website:
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 oem lock
mfastboot.exe reboot
After I had typed those to the command prompt on the folder I had placed the firmware and mfastboot v2 I found out that the phone didnt reboot, and that it was stuck in the fastboot mode where it says failed to validate system image and something about falling-through boot mode or something.
I read the text again carefully that I didn't do anything wrong, and I didnt. I went to the comments and there were people complaining that it doesnt work and you need to add one command more
mfastboot.exe flash system system.img_sparsechunk.3
well I did type that to the command prompt and it did nothing after I tried to reboot again, so I typed all the commands again including the command I mentioned, and still nothing.
now I'm stuck in the fastboot mode where it says:
Failed to validate system image
Fastboot reason: fall-through from not charger boot mode
I'm begging for immediate help

I got the bootloader re-unlocked
I got the phone's bootloader re-unlocked
I'll keep posting more info If I dont solve this mess myself

Munkkimake said:
I tried to flash my Moto G XT1068 from Android Open Source Project (AOSP) 5.1.1 to the stock firmware and relock the bootloader.
I followed these steps I found on a website:
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 oem lock
mfastboot.exe reboot
After I had typed those to the command prompt on the folder I had placed the firmware and mfastboot v2 I found out that the phone didnt reboot, and that it was stuck in the fastboot mode where it says failed to validate system image and something about falling-through boot mode or something.
I read the text again carefully that I didn't do anything wrong, and I didnt. I went to the comments and there were people complaining that it doesnt work and you need to add one command more
mfastboot.exe flash system system.img_sparsechunk.3
well I did type that to the command prompt and it did nothing after I tried to reboot again, so I typed all the commands again including the command I mentioned, and still nothing.
now I'm stuck in the fastboot mode where it says:
Failed to validate system image
Fastboot reason: fall-through from not charger boot mode
I'm begging for immediate help
Click to expand...
Click to collapse
As far as I can see, you didn't lock the bootloader corectly, use this: http://forum.xda-developers.com/moto-g-2014/general/restore-to-stock-t2873657

I have same problem, I had to unlock the bootloader again and it worked like normal. I ended up reflashing twrp and going back to 5.1.1 aosp rom. To clarify your phone is probably not bricked. Re unlock the bootloader with fastboot oem unlock {unique code} and flash twrp and the rom of your choice.

ethanchow said:
I have same problem, I had to unlock the bootloader again and it worked like normal. I ended up reflashing twrp and going back to 5.1.1 aosp rom. To clarify your phone is probably not bricked. Re unlock the bootloader with fastboot oem unlock {unique code} and flash twrp and the rom of your choice.
Click to expand...
Click to collapse
-----Update----
I think I have it fixed: just flash the system images again after you do
Code:
fastboot oem lock
You seem to have to flash them twice
Code:
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

ethanchow said:
-----Update----
I think I have it fixed: just flash the system images again after you do
Code:
fastboot oem lock
You seem to have to flash them twice
Code:
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
Click to expand...
Click to collapse
you found this to be working? What firmware file are you using?

ethanchow said:
-----Update----
I think I have it fixed: just flash the system images again after you do
Code:
fastboot oem lock
You seem to have to flash them twice
Code:
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
Click to expand...
Click to collapse
and in that code you arent using mfastboot? Is there no use for it?

Munkkimake said:
you found this to be working? What firmware file are you using?
Click to expand...
Click to collapse
I am using lastest one for xt1064 from here forum.xda-developers.com/moto-g-2014/orig-development/original-motorola-firmware-collection-t3153533
For adb and fastboot I am using the 15 second installer, no mfastboot.
I managed to successfully relock the bootloader and get the phone to boot to stock rom but the "unlock warning" boot logo still appears.

ethanchow said:
I am using lastest one for xt1064 from here forum.xda-developers.com/moto-g-2014/orig-development/original-motorola-firmware-collection-t3153533
For adb and fastboot I am using the 15 second installer, no mfastboot.
I managed to successfully relock the bootloader and get the phone to boot to stock rom but the "unlock warning" boot logo still appears.
Click to expand...
Click to collapse
you think that the unlock warning could somehow be removed with a locked bootloader?

Munkkimake said:
you think that the unlock warning could somehow be removed with a locked bootloader?
Click to expand...
Click to collapse
i don't know if works on stock bootloader locked, but you can try after you are on stock rom the command
mfastboot.exe flash logo logo.bin
with a modify boot logo like this but dont know if will works on locked bootloader...
if you try and the command is accepted and the device don't boot use the command again with the logo.bin file that is in the stock XML zip that you download.
in the case of not be able to flash and error that you described on OP.
before do the commands you need to check how many system.img_sparsechunk files you have and change the commands line according.
Motorola stock rom's may have up to 6 of those file maybe more in the future, the 5x.x have 4 to 6 so you need to add the lines in the script before:
mfastboot.exe flash modem NON-HLOS.bin
the rest doesn't change

All you need is
this official firmware of XT1068 https://drive.google.com/file/d/0Bzr0qvz6uRerOGRfOEptU2p0ZkU/view?usp=sharing
This is the complete zip which is having mfastboot v2 also in that and you just now need to flash below commands correctly, and you're done.
Code:
------------------------------------------------------------------|
Moto G 2014 Stock 5.0.2 Restore Script
mfastboot.exe oem lock begin
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 system system.img_sparsechunk.4
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 oem lock
mfastboot.exe reboot
------------------------------------------------------------------|
hope this'll help you out
Also if you wanna get rid of that "Unlocked Warning" boot logo, you can easily flash any of the logo.bin file successfully on a locked bootloader too. So you can flash your own bootlogo, custom or stock, as you prefer.
Thanks

Thanks!
ArtRahul said:
this official firmware of XT1068 https://drive.google.com/file/d/0Bzr0qvz6uRerOGRfOEptU2p0ZkU/view?usp=sharing
This is the complete zip which is having mfastboot v2 also in that and you just now need to flash below commands correctly, and you're done.
Code:
------------------------------------------------------------------|
Moto G 2014 Stock 5.0.2 Restore Script
mfastboot.exe oem lock begin
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 system system.img_sparsechunk.4
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 oem lock
mfastboot.exe reboot
------------------------------------------------------------------|
hope this'll help you out
Also if you wanna get rid of that "Unlocked Warning" boot logo, you can easily flash any of the logo.bin file successfully on a locked bootloader too. So you can flash your own bootlogo, custom or stock, as you prefer.
Thanks
Click to expand...
Click to collapse
Well I got the stock firmware through an automatic installer and yes the phone let me flash the logo.bin waiting for the official 5.1

Munkkimake said:
Well I got the stock firmware through an automatic installer and yes the phone let me flash the logo.bin waiting for the official 5.1
Click to expand...
Click to collapse
with locked bootloader you flash the logo.bin and the logo warning disappeared?

Yes and it worked! I have no longer proof of that the warranty has been void / the warranty is back
Sent from my XT1068 using XDA Free mobile app

Munkkimake said:
Yes and it worked! I have no longer proof of that the warranty has been void / the warranty is back
Sent from my XT1068 using XDA Free mobile app
Click to expand...
Click to collapse
ok is nice to know that works. But only to remove that warning thing...
Because the bootloader have 3 stats:
Status code 0 =locked with warranty
Status code 3 = unlocked without warranty
Status code 2= relocked but also without warranty
check in the bootloader screen yours must be 2...
Status code 1 is unknown.

baybutcher27 said:
ok is nice to know that works. But only to remove that warning thing...
Because the bootloader have 3 stats:
Status code 0 =locked with warranty
Status code 3 = unlocked without warranty
Status code 2= relocked but also without warranty
check in the bootloader screen yours must be 2...
Status code 1 is unknown.
Click to expand...
Click to collapse
Oh, according to that, the tool program which installed the firmware, didnt lock the bootloader. I assumed that it was locked cause i was told that the bootloader warning still exists after relocking so...
Sent from my XT1068 using XDA Free mobile app

Related

[Q] Can't relock my Bootloader

Hey guys...
I'm preparing my moto g for selling, but i need to relock my bootloader, so everything goes like the first day i bought'em.
But when i try to flash the stock rom using fastboot i can't follow it through. It gives an error of "Preflash validation".
PS: I'm doing the correct sequences on flashing. Like this:
"mfastboot.exe oem lock begin
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 oem lock
mfastboot.exe reboot"
What can i do? Cheers!
Have you flashed stock lollipop ota? If yes, you cannot lock bootloader again. Nevertheless to say, that after unlock it, you cannot relock it again like pre factory.
Bootloader status code
Code 0 - locked with warranty
Code 2 - relocked without warranty
Code 3- unlocked without warranty
There is no procedure atm to put code 0. And never will be, because when bootloader gets unlocked, the e-fuse is blowned
Sent from my XT1068 using XDA Free mobile app
Have you flashed stock lollipop ota? If yes, you cannot lock bootloader again. Nevertheless to say, that after unlock it, you cannot relock it again like pre factory.
Bootloader status code
Code 0 - locked with warranty
Code 2 - relocked without warranty
Code 3- unlocked without warranty
There is no procedure atm to put code 0. And never will be, because when bootloader gets unlocked, the e-fuse is blowned
Sent from my XT1068 using XDA Free mobile app
Click to expand...
Click to collapse
Nope, i'm trying on Kitkat.
So there is nothing i can do to get the Code 2 again? The warranty stuff doesn't make such difference to me...

[BRICK?] Moto G 8GB XT1064

Hello XDA!
- Canadian Moto G 2014 XT1064 (8 GB)
- Bootloader Locked
- Unable to enable USB debugging since "bricked"
1) I downloaded Motorola Drivers, fastboot, mfastboot v2, RETUAWS_XT1064_5.0.2_LXB22.46-28_cid9_CFC.xml.zip
2) My Moto G was able to go into boot loader mode, but now it won't.
3. I was trying to:
mfastboot oem lock begin
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img - it fails on this step -> something about a failed partition
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
Now my device won't even turn on (can't go into boot loader mode)
Any suggestions?!!? Let's fix this together
NEVER FLASH STOCK FIRMWARE ON A LOCKED BOOTLOADER !
UNLOCK bootloader first and then only flash stock firmware via fastboot mode by PC.
Try going to Service Center, maybe they will have to change the motherboard of your G2.

How do I go back to complete stock?

I cracked my screen and so I'm going to send it to Motorola. My bootloader is unlocked and I'm on marshmallow. How would I got back to 5.1 on lollipop with the boot loader locked?
Sent from my XT1095 using Tapatalk
Basically this.
If you're having trouble with your phone, you should flash the latest full factory firmware, in bootloader mode, using fastboot. Look for the newest firmware for your specific device model:
http://www.filefactory.com/folder/dd05c058d3ff8dbe/
http://motofirmware.center/files/
Only flash the latest Lollipop so as not to get bootloader troubles. Boot into bootloader mode, with adb and fastboot in the same folder as the firmware files, press Shift+Right click in that folder, Open command prompt here, paste these commands one by one, so you can check for errors. FIRST CHECK THE NUMBERS ON YOUR "system.img_sparsechunk" files:
fastboot -w
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 system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot -w
fastboot reboot
Click to expand...
Click to collapse
If you're on the XT1095 Pure Edition, here's the link to the latest factory image.
SurlyDuff said:
Basically this.
If you're on the XT1095 Pure Edition, here's the link to the latest factory image.
Click to expand...
Click to collapse
Thanks! How would you check the "system.img_sparsechunk" files? I'm sorry, just want to get this right.
iam on 6.0 rooted,theres is any problem if i flash 5.1??? and do you know when 6.0 will be avaliable for download ??

Moto G 2014 LTE XT1078 How do I restore stock rom?

Did someone had success restoring stock rom in this device?
I wanted to restore the stock rom, but I have seen people reporting hard bricks after any procedure.
A user posted this Firmware, which is supposedly for my phone.
XT1078_THEA_RETBR_DS_5.0.2_LXB22.99-24.12_cid12_subsidy-DEFAULT_CFC.xml.zip
I was thinking in follow the instructions that the user mendelssohn give here . Maybe I could use that script in this firmware, but do not know if it would work.
Someone managed to do this procedure successfully? If so, what is right procedure?
Thanks in advance.
I've been looking for how to restore the stock recovery, so I could install Android 6.0 from OTA update. I did not flash a custom ROM, because CyanogenMod did not have a stable release for XT1078 then, and it stil does not have at the time I write this. So this file helped me to revert my XT1078 to stock.
But I did not use any script. It's just how I choose to do it, I'd rather know what's going on in every step instead of let a script do things for me. I extracted the file XT1078_THEA_RETBR_DS_5.0.2_LXB22.99-24.12_cid12_subsidy-DEFAULT_CFC.xml.zip, and moved the required files to the folder platform-tools on Android SDK. Then these are the commands I used:
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
After reboot, OTA update with Android 6.0 worked flawlessly.
I think you may want MM6.0 clean flash whitout any ota mess -> http://www.filefactory.com/file/2rw...MPB24.65-34_cid12_subsidy-DEFAULT_CFC.xml.zip
This is the MM 6.0 complete image, flash it as tatianes told you, but i would like to sugget the use of mfastbotv2 instead of fastboot
Flash like this
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 reboot
Click to expand...
Click to collapse
Just remeber to doublecheck the numbers of systeam sparse file, if your rom have 0 to 7, ou will have to add those
Am i understand?
So, let me see if i understand:
I extract the zip with the rom in the same folder of fastboot (or mfastboot) then, after (double) check the numbers of system sparse file, i'll do this commands?
There is no "collateral effects"?
(I'm asking 'cause I've tried this, boot on a lollipop, and when i tried to reboot, the phone bricked)
Does anybody tried to do this from Cyano?

Looking for XT1094 5.1 Stock Image

Hi,
I've given my minor daughter a Republic XT1094 with firmware version lpe23.32-39-R-28 (5.1). I rooted it and flashed TWRP so that parental control software could be installed (please don't address the ethics here as there was a child safety issue). Unfortunately, she managed to mess up the phone badly enough that I need to flash back to stock image to get the parental control software back on there. I grabbed a pds.img before this happened but, unfortunately, didn't get a NAND backup.
Any idea where I can find a stock image and how I can flash it?
Thanks,
Doc
Try https://firmware.center/firmware/Motorola/Moto%20X%20%282nd%20gen-2014%29/Stock/XT1094/VICTARA_REPW_XT1094_5.1_LPE23.32-39-R-28_cid6_CFC.xml.zip using fastboot.
Follow the flashing steps in the .xml file that was included in the package.
A typical flashing sequence includes all these partitions, but might vary depending on your product - so please use the sequence in the .xml file in your package.
E.g:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set oem
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 system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
Good luck.
Thanks. Worked perfectly.
datawrhsdoc said:
Hi,
I've given my minor daughter a Republic XT1094 with firmware version lpe23.32-39-R-28 (5.1). I rooted it and flashed TWRP so that parental control software could be installed (please don't address the ethics here as there was a child safety issue). Unfortunately, she managed to mess up the phone badly enough that I need to flash back to stock image to get the parental control software back on there. I grabbed a pds.img before this happened but, unfortunately, didn't get a NAND backup.
Any idea where I can find a stock image and how I can flash it?
Thanks,
Doc
Click to expand...
Click to collapse
Wait, how were you able to flash TWRP on XT1094 with 5.1 if the bootloader can't be unlocked?

Categories

Resources