bricked Moto E 2015 - E 2015 Q&A, Help & Troubleshooting

I tried to install android 6.0 XT1521 without unlocking the bootloader, and as it was an official rom motorola believed that would be possible. However it did not work and since I have not unlocked the bootloader, I can not go back to the retail XT1523 stock ROM
I was able to flash gpt.bin and bootloader.img, but things went south on boot.img. Now the bootloader is stuck with the following error:
Code:
version downgraded for boot
failed to validate boot image
Trying to flash boot.img (or system) fails with error:
Code:
hab check failed for boot
Failed to verify hab image boot
Trying to go back to XT1523 ROM fails with:
Code:
version downgraded for aboot
Trying to unlock the bootloader fails with:
Code:
Enable OEM Unlock
Which is obvious because I haven't enabled it on the phone, but it sucks because I can't boot and enable it.
So, here goes my questions:
- What does the "hab check failed" means? Is there any way to bypass it and finish flashing the XT1521 ROM?
- Is there any way to unlock the bootloader without enabling it first on developer settings?
- Is there anything I can do other than waiting that 6.0 gets rolled to XT1523 phones, and that a stock ROM for it gets leaked?
Thanks a lot for your kindly help!

Related

Reflashing Stock Firmware

Hello, I'm trying to flash stock firmware on the Moto E, Model number is XT1023, and my device won't boot. I unlocked the bootloader, flashed the software, but it's still showing that bootloader warning screen and not booting to OS. I was wondering if this had anything to do with it. When I tried to flash the gpt.bin it cam back with an error saying preflash validation failed. But it's weird because the bootloader's unlocked already.
Use this guide
http://dev-viraj.blogspot.in/2015/02/flash-official-android-444-on-moto-e.html
But plz Download the firmware for XT1023 from here http://forum.gsmhosting.com/vbb/f78...-x-x-5-x-x-stock-firmware-flash-tool-2003127/ instead of link in guide.
RMFDEMON said:
Hello, I'm trying to flash stock firmware on the Moto E, Model number is XT1023, and my device won't boot. I unlocked the bootloader, flashed the software, but it's still showing that bootloader warning screen and not booting to OS. I was wondering if this had anything to do with it. When I tried to flash the gpt.bin it cam back with an error saying preflash validation failed. But it's weird because the bootloader's unlocked already.
Click to expand...
Click to collapse
I hope my blog helps

5.1 OTA failed, device stuck in fastboot

The device's bootloader is locked. I tried to update it via an OTA (was on 4.4.4) and about 30% in it restarted into fastboot mode.
Whatever option I try it says:
"hab check failed for system
failed to validate system image"
or
"hab check failed for boot
failed to validate boot image"
I figured I'd reflash 4.4 via fastboot, but I can't find the firmware. Also, since it was 30% into lollipop, I don't know if I should flash the Lollipop rom instead.
It's a XT1025 from Brazil (dual SIM+TV).
Any ideas?
LordBass said:
The device's bootloader is locked. I tried to update it via an OTA (was on 4.4.4) and about 30% in it restarted into fastboot mode.
Whatever option I try it says:
"hab check failed for system
failed to validate system image"
or
"hab check failed for boot
failed to validate boot image"
I figured I'd reflash 4.4 via fastboot, but I can't find the firmware. Also, since it was 30% into lollipop, I don't know if I should flash the Lollipop rom instead.
It's a XT1025 from Brazil (dual SIM+TV).
Any ideas?
Click to expand...
Click to collapse
As suggested by my friend
Flash stock rom from fastboot
http://forum.xda-developers.com/showthread.php?t=2755857
As suggested by me
Flash twrp recovery and then cm12.1

Moto E 2015 Surnia XT1527 Bricked: locked bootloader and preflash validation error

Hey guys i tried to install latest Android version on my Surnia (XT1527) but i bricked it, only i can get into bootloader (the bootloader is locked) my pc can't recognize the COM Qualcomm port (i'm trying hard to use QFIL), so i was thinking on use another moto E XT1527 to retrieve a full image of the system to flash it on my device, but i don't know how to do that or what i need for that, trying to flash some stock firmwares keep giving an error (preflash validation failed).
Can you help me with that??
QFIL never worked for me.
Check https://forum.xda-developers.com/showthread.php?t=2759495.
Forget the adb part, just check if fastboot recognizes your device and try the steps.
I think you can also install custom recovery without unlocking the bootloader. Ones that is done you can try to install your custom rom.
rk92 said:
QFIL never worked for me.
Check https://forum.xda-developers.com/showthread.php?t=2759495.
Forget the adb part, just check if fastboot recognizes your device and try the steps.
I think you can also install custom recovery without unlocking the bootloader. Ones that is done you can try to install your custom rom.
Click to expand...
Click to collapse
Did you solve the 'preflash validation error'?? mine keeps giving that error and i tried all the versions of the ROM, all i need is to install a custom recovery without unlocked bootloader, can you help me explaining what have you done? thanks
With locked bootloader you cannot flash custom recovery(even boot).
You can try to flash the newest stock rom without commands:
fastboot flash bootloader...
fastboot flash partition...

[Solved] Error after restoring to stock TWRP backup and reboot

hello folks,
I was on Android 7.0 on my Moto G 4.
I unlocked the bootloader, installed TWRP and flashed Android 7.1.2 and then 8.0 a week later.
Had backed up the stock Android 7.0 and the 7.1.2 also before i went to 8.0.
Today i restored the system back to the Stock version backup (7.0) and rebooted it.
Everything went fine. Then there was the notification of the Android security update. I proceeded with the install and it started rebooting.
In the reboot it stuck with the error message for bootlocker being unlocked and came back to TWRP. Even after going to reboot it only came back to TWRP. I then tried logged into the bootloader and tried to relock the bootloader using the commands (i was using mfastboot)
mfastboot oem lock
mfastboot flashing lock
mfastboot oem relock
it showed me an error for the 'relock' that it was an invalid command. Later i found that the unlock key also needs to be supplied (not sure). Then i tried the commands again after installing fastboot, and from the stock firmware folder.
fastboot oem lock begin
fastboot oem lock begin
fastboot flash partition gpt.bin
it showed me an error on this l9ast command saying invalid boot mode.
Any advise on how to start the relock process cleanly? my worry is if the system is bricked !
I was missing the stock moto so i need to go back there, all the flashing didn't seem too worthwhile.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Solution is in mentions by echo92 in the post by tywinlannister7 below
https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
anoopgkris said:
hello folks,
I was on Android 7.0 on my Moto G 4.
I unlocked the bootloader, installed TWRP and flashed Android 7.1.2 and then 8.0 a week later.
Had backed up the stock Android 7.0 and the 7.1.2 also before i went to 8.0.
Today i restored the system back to the Stock version backup (7.0) and rebooted it.
Everything went fine. Then there was the notification of the Android security update. I proceeded with the install and it started rebooting.
In the reboot it stuck with the error message for bootlocker being unlocked and came back to TWRP. Even after going to reboot it only came back to TWRP. I then tried logged into the bootloader and tried to relock the bootloader using the commands (i was using mfastboot)
mfastboot oem lock
mfastboot flashing lock
mfastboot oem relock
it showed me an error for the 'relock' that it was an invalid command. Later i found that the unlock key also needs to be supplied (not sure). Then i tried the commands again after installing fastboot, and from the stock firmware folder.
fastboot oem lock begin
fastboot oem lock begin
fastboot flash partition gpt.bin
it showed me an error on this last command saying invalid boot mode.
Any advise on how to start the relock process cleanly? my worry is if the system is bricked !
I was missing the stock moto so i need to go back there, all the flashing didn't seem too worthwhile.
Click to expand...
Click to collapse
I'm not sure about this. As far as I know you can only relock the bootloader after a full (fastboot) wipe and install of the latest stockrom.
In the (far) past I managed to relock the bootloader of my Moto G 2014. Only after trial and error and only after a full flash. A week or so later I unlocked again....
I never relocked my Moto G4 Plus, nor my Moto G5 Plus. Simply because I don't see the need. The times that Motorola provides us with regular stock updates are, apparantly, over....
Thanks, Harro.
I thought that my TWRP would restore it back to stock. I read some half information about relocking and went ahead with the commands.
I also don't know if the USB debug settings are on.
It's shows a preflash verification error on the partition gpt.bin command. Think it's because maybe the stock version i downloaded is a downgrade. Can't find the exact stock for my LATAM dds_cust one. Another G4(Plus) version that was successful for others didn't work too.
Tried to skip and load boot partition but it said invalid boot state.
Need to keep trying different things. At least the bootloader and TWRP recovery are accessible for now.
Regards.
anoopgkris said:
Thanks, Harro.
I thought that my TWRP would restore it back to stock. I read some half information about relocking and went ahead with the commands.
I also don't know if the USB debug settings are on.
It's shows a preflash verification error on the partition gpt.bin command. Think it's because maybe the stock version i downloaded is a downgrade. Can't find the exact stock for my LATAM dds_cust one. Another G4(Plus) version that was successful for others didn't work too.
Tried to skip and load boot partition but it said invalid boot state.
Need to keep trying different things. At least the bootloader and TWRP recovery are accessible for now.
Regards.
Click to expand...
Click to collapse
Hi Anoop!
Yes, you'll have find the latest stockrom for your region. Also, a locked bootloader and TWRP is, in my humble opinion, a impossible combination. You'll have to fastboot install the whole rom, including (stock)recovery and the bootloader. And indeed: it's impossible to downgrade the bootloader: trying that will possibly result in a hardbrick...
Thank you, thank you for jumping in to always help.
Really sad that Moto also goes the way of not providing updates that too on a not so old phone. ROMs and the beautiful world of XDA is there, hopefully.

MOTO Z (XT - 1650-03) Bootloader Partition error

Hello Developers and Enthusiasts
I am facing a problem with a second hand Moto Z I bought around a week ago. It came with the latest OTA Oreo updates. I unlocked the bootloader on the device and flashed custom roms (LineageOS 16.1) out of curiosity. Now I a trying to get back to the stock firmware of the device when it came back in 2016 i.e. based on Android Marshmallow (Stock Firmware) but when I flash the bootloader I get the following message in the bootloader logs and the bootloader fails to get flashed rendering all the subsequent flashed files unable to boot:-
cmd: getvar:slot-count
cmd: getvar:slot-suffixes
cmd: getvar:slot-suffixes
cmd: getvar:has-slot:bootloader
cmd: getvarartition-type:bootloader
cmd: getvar:max-download-size
cmd: download:006e9000
cmd: flash:bootloader
Mismatched partition size (tz)
Mismatched partition size (devcfg)
The version of the Stock Firmware I am trying to flash is,
XT1650-03_GRIFFIN_EMEA_APAC_MEA_India_6.0.1_MPL24.246-45_cid50_subsidy-DEFAULT_regulatory-XT1650-03.xml,
which I downloaded from firmware.center.
I request anyone who could help to kindly inform me as to what is the problem and what will be its solution?
Thanks in Advance
Have a nice one

Categories

Resources