I am trying to flash a `CMW Recovery` into my HTC Explorer device so i could install a custome rom:
Upon issuing command:
>fastboot flash recovery recovery.img
I get this error:
sending 'recovery' (4728 KB)...
OKAY [ 0.877s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 1.467s
Can anyone please explain why is this happening and how can i solve this? Thankyou
Have you used the htcdev.com site to unlock the bootloader?
I got the key and used "fastboot oem unlock <key>" to unlock the device. Replace the logo.bin so that the warning messages goes off. After that I locked the phone. Following is the screenshot.
# fastboot oem lock
...
(bootloader) Phone is locked successfully!
(bootloader) Please reflash system image before reboot the phone!
OKAY [ 1.595s]
finished. total time: 1.595s
Now the phone remains in fastboot mode because it cannot boot (system image issue.). While unlocking it says,
# fastboot oem unlock W3YRQHWOSLI2V7OVUI4L
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.007s
It is a deadlock situation now, I cannot change the option because the phone does not boot to access Developer options and cannot flash because it is locked. (The display says Device is LOCKED. Status Code: 2, Software staus modified.)
I think this is the answer of your question : http://forum.xda-developers.com/showthread.php?p=59564073
dulce.ai.angel said:
I think this is the answer of your question : http://forum.xda-developers.com/showthread.php?p=59564073
Click to expand...
Click to collapse
Thanks a lot for the quick response. Looks better now. At least not flagging Check 'Allow OEM Unlock' in Developer Options'. but transformed to 'Preflash validation failed' , not sure if it means the same as before. The response is as below.
# mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (32768 KB)...
OKAY [ 1.038s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.664s
When flashing system images it gives:
# mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (262143 KB)...
OKAY [ 8.231s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.638s
Gives Invalid signed image. As from fastboot screen, the product variant is "sunria XT1521 8GB P3" of Moto E 2015 4g LTE, country - India. Used the same image as refereed above "XT1527_SURNIA_RETUS_5.0.2_LXI22.50-24.1_cid9_subsidy-DEFAULT_CFC.xml.zip"
Still hopeful to bring it back. Any more clues ..
[Q][CLOSED] Device locked and system image reflash required - a deadlock situation
rakeshv62 said:
Thanks a lot for the quick response. Looks better now. At least not flagging Check 'Allow OEM Unlock' in Developer Options'. but transformed to 'Preflash validation failed' , not sure if it means the same as before. The response is as below.
# mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (32768 KB)...
OKAY [ 1.038s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.664s
When flashing system images it gives:
# mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (262143 KB)...
OKAY [ 8.231s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.638s
Gives Invalid signed image. As from fastboot screen, the product variant is "sunria XT1521 8GB P3" of Moto E 2015 4g LTE, country - India. Used the same image as refereed above "XT1527_SURNIA_RETUS_5.0.2_LXI22.50-24.1_cid9_subsidy-DEFAULT_CFC.xml.zip"
Still hopeful to bring it back. Any more clues ..
Click to expand...
Click to collapse
Yayy !!!! I could bring the phone back to life after a day of coma.
@dulce.ai.angel - thanks for referring to squid2 link, must read for all fiddling with the device.
My 2 cents on it.
The problem was region. The build referred above refers to US ( .._RETUS_5.0.2...). I could get the image for the build for ASIA, pl search. I am too young on this group to put a external link (please drop a PM if needed for this).
With the Product name appearing on the initial fastboot string, Region, version of android, you will be able to makeout the right firmware. As for me the it was XT1521_SURNIA_RETASIA_DS_5.0.2_LXI22.50-53.1_cid7_subsidy-DEFAULT_CFC.xml.zip
Enjoy!!!!
My device is an XT1524. I was on CAF 6.0.1 rom and i wanted to come back stock, waiting for official Mashmallow. So i flashed this firmware https://mega.nz/#!ecUiUDDC!OG_MssktVAjTu4l7OGeqxKOFRIpBiml1Gro0VnfX0Tk following the guide step by step.
Now i am stuck at a bootloop. I can only boot to bootloader and in recovery mode there's only and android with red warning triangle.
I looked at the log and i notices these two failures:
Code:
D:\Downloads\XT1524_RETEUALL_MOTOE2(4G-LTE)_5.0.2_LXI22.50-13_cid7_subsidy-DEFAULT_CFC.xml>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.016s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.360s
Code:
D:\Downloads\XT1524_RETEUALL_MOTOE2(4G-LTE)_5.0.2_LXI22.50-13_cid7_subsidy-DEFAULT_CFC.xml>mfastboot erase customize
erasing 'customize'...
(bootloader) Invalid partition name customize
FAILED (remote failure)
finished. total time: 0.007s
What i have to do now?
Thanks
[SOLVED]
OK, i am a stupid.
5.1.1 firmwares have 6 sparsechunk files and i flashed only 5.
Hey there!
I am unable to flash TWRP through ADB fastboot commands.
Earlier i unlocked bootloader and flashed the stock kitkat 4.4.4 but my device is not booting.. it has blank screen all the time also the 'bootloader unlocked' warning logo is not showing there!
Please help me what to do..? I just want to flash TWRP..
a110 said:
Hey there!
I am unable to flash TWRP through ADB fastboot commands.
Earlier i unlocked bootloader and flashed the stock kitkat 4.4.4 but my device is not booting.. it has blank screen all the time also the 'bootloader unlocked' warning logo is not showing there!
Please help me what to do..? I just want to flash TWRP..
Click to expand...
Click to collapse
Check if your display is working
Connect your charger and see if display shows charging symbol
Rajendran Rasa said:
Check if your display is working
Connect your charger and see if display shows charging symbol
Click to expand...
Click to collapse
Yes it is working as i am able to go in fastbootmode easily. Also the battery icon is showing. I think display has no problem.
Screenshots
https://ibb.co/fQtWAv
https://ibb.co/jMSSHa
a110 said:
Yes it is working as i am able to go in fastbootmode easily. Also the battery icon is showing. I think display has no problem.
Click to expand...
Click to collapse
a110 said:
https://ibb.co/fQtWAv
https://ibb.co/jMSSHa
Click to expand...
Click to collapse
Flash stock lollipop using fastboot command
Then flash twrp
Rajendran Rasa said:
Flash stock lollipop using fastboot command
Then flash twrp
Click to expand...
Click to collapse
Sir I am getting error in cmd in all the command i tried while flashing stock lollipop through mfastbootv3 ..This message
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 0.406s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 6.108s
a110 said:
Sir I am getting error in cmd in all the command i tried while flashing stock lollipop through mfastbootv3 ..This message
target max-sparse-size: 256MB
sending 'recovery' (10280 KB)...
OKAY [ 0.406s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 6.108s
Click to expand...
Click to collapse
Erase recovery
Fastboot erase recovery
Then flash twrp
Fastboot flash recovery twrp.img
Rajendran Rasa said:
Erase recovery
Fastboot erase recovery
Then flash twrp
Fastboot flash recovery twrp.img
Click to expand...
Click to collapse
THERE IS NO SOLUTION
getting this message....
C:\Users\mypc\Desktop\ADB and Fastboot>fastboot erase recovery
erasing 'recovery'...
(bootloader) Erase allowed in unlocked state
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 5.004s
C:\Users\mypc\Desktop\ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 299892736 bytes
sending 'recovery' (6890 KB)...
OKAY [ 0.258s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 5.305s
a110 said:
THERE IS NO SOLUTION
getting this message....
C:\Users\mypc\Desktop\ADB and Fastboot>fastboot erase recovery
erasing 'recovery'...
(bootloader) Erase allowed in unlocked state
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 5.004s
C:\Users\mypc\Desktop\ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 299892736 bytes
sending 'recovery' (6890 KB)...
OKAY [ 0.258s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 5.305s
Click to expand...
Click to collapse
Can you erase data and cache in recovery??
Yes..I have already cleared data cache even factory reset through stock recovery several times..but there is no change..still facing same issue!!!
a110 said:
Yes..I have already cleared data cache even factory reset through stock recovery several times..but there is no change..still facing same issue!!!
Click to expand...
Click to collapse
Give me suitable twrp link
because i m getting error partition size mismatched .... i want suitable recovery link plz
Try erasing cache from twrp might work
i installed all the drivers in PC and after trying commands one after another it stucks at command "fastboot flash partition gpt.bin" and showing the following error :
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.005s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.142s
after that other commands also not working and getting error: FAILED (remote failure)....now I am stuck at bootloader.......how to get rid of this issue....and works my handset well....... i searched all the questions in XDA and no command helped me out.......... cold u please help me out....thank you in advance