cant flash stock recovery on htc one m9 - One (M9) Q&A, Help & Troubleshooting

Hello dear xda developers
Recently i ve unlocked my HTC One M9`s bootloader, installed a costume recovery and flashed supersu. Now i want to go back to stock. I have already relocked my phone, installed the stock recovery downloaded the Stock RUU.zip file required to get back to stock but there is one Problem: when i try to flash the zip file it goes like this
C:\Users\ilija_000\Desktop\platform-tools>fastboot reboot
< waiting for device >
^C
C:\Users\ilija_000\Desktop\platform-tools>fastboot oem rebootRUU
...
OKAY [ 0.050s]
finished. total time: 0.051s
C:\Users\ilija_000\Desktop\platform-tools>fastboot flash zip ruu.zip
target reported max download size of 800000000 bytes
Invalid sparse file format at header magi
C:\Users\ilija_000\Desktop\platform-tools>
and then my fastboot crashes and i cant do anything about it
so if anyone knows how to fix this i would be really glad ty

Related

[Q] Bricked ?? Please Please Please Help

Hi
I have tried going back to Sense stock after trying out GPE edition lollipop flavour.
Unfortunately somewhere along the way something has gone horrible wrong and I'm now stuck in a bootloop with a Red Triangle
My bootloader is currently locked, althougth I am S-Off. I can still access fastboot and RUU but the problem is when I try to flash standard or twrp recovery i get the following error message
From RUU
./fastboot flash recovery recov.img
target reported max download size of 1830711296 bytes
sending 'recovery' (16092 KB)...
OKAY [ 1.442s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.447s
So I currently have no os, no recovery and no way of loading a recovery back on as you can see above... am I screwed ???
Have now managed to put stock recovery back (via ruu) on and at the top of the screen it says entering recovery but never gets any further ...
Have tried again to install twrp ... no joy there what so ever
Dont' Worry I got the same problem but I fixed it!!
gsusx said:
Hi
I have tried going back to Sense stock after trying out GPE edition lollipop flavour.
Unfortunately somewhere along the way something has gone horrible wrong and I'm now stuck in a bootloop with a Red Triangle
My bootloader is currently locked, althougth I am S-Off. I can still access fastboot and RUU but the problem is when I try to flash standard or twrp recovery i get the following error message
From RUU
./fastboot flash recovery recov.img
target reported max download size of 1830711296 bytes
sending 'recovery' (16092 KB)...
OKAY [ 1.442s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.447s
So I currently have no os, no recovery and no way of loading a recovery back on as you can see above... am I screwed ???
Click to expand...
Click to collapse
Hi
Press power,volume up and down for 90 seconds.It will enter into bootloader.
Then press recovery. If it is not going to recovery,stay in the bootloader mode. Connect to the pc.
Download this software from this website.
http://www.hasoon2000.info/
Click your phone model.
(If it is HTC ONE M8 CLICK this link http://www.hasoon2000.info/?device=One%202014%20(M8))
Unzip it.
open the software.
Unlock the bootloader by following the step shown on the software.
After,
Click any recovery but I prefer TWRP.
Install custom rom and you are good to go
Absolute legend ... thank you !!!

[Q] Can't flash any custom recovery on my m8

My m8 has an unlocked bootloader with s-on and i recently just used a nandroid backup which flashed the stock recovery and i updated to newest 5.0 update my phone was with t-mobile but it is factory unlocked now. Whenever I try to flash philz or twrp through fastboot it gives me:
target reported max download size of 1826414592 bytes
sending 'twrp' (16086 KB)...
OKAY [ 1.469s]
writing 'twrp'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.047s
How am i supposed to flash a custom recovery
Are you trying to do it in fastboot oem rebootRUU or just normal fastboot? You should be in the bootloader and just use fastboot flash recovery recovery.img
EddyOS said:
Are you trying to do it in fastboot oem rebootRUU or just normal fastboot? You should be in the bootloader and just use fastboot flash recovery recovery.img
Click to expand...
Click to collapse
I tried both

I delete my recovery

I delete my recovery and cant insatall a new recovery :/
Code:
C:\Users\xxx\Desktop\adb>fastboot flash recovery 3.35.617.12_recovery.img
target reported max download size of 800000000 bytes
sending 'recovery' (20716 KB)...
OKAY [ 2.106s]
writing 'recovery'...
(bootloader) HOSD CL#576582
FAILED (remote: 9: SD_SECURITY_FAIL recovery and bootloader isn't BL_UNLOCK)
finished. total time: 3.128s
RUU back to stock ??
Your bootloader is locked...causing the failure...
Tick "allow bootloader unlock" in developer settings.
On your pc go to htcdev website and get your unlock token and push it via fastboot to your device. Then you can flash twrp, make a system backup!!!!! and flash supersu for root.
Beware, you lose ota ability. This is why you MUST make a backup with twrp BEFORE flashing supersu.
There is only one working supersu so choose wisely.
Sent from my HTC One M9 using Tapatalk

TWRP problem

Hi,
what i did so far was:
unlocked the bootloader
download the twrp recovery img (...ruu.lalleman.net/HTC_M8S%28QL_UL%29/Recovery/twrp-recovery-2.8.7.0-m8s-qlul/)
set phone on Fastboot USB
over the cmd bar (windows 10) i used fastboot and got this result:
C:\Android>fastboot flash recovery twrp-2.8.7.0-m8s-qlul.img
target reported max download size of 16510976 bytes
Invalid sparse file format at header magi
sending sparse 'recovery' 1/2 (15368 KB)...
OKAY [ 1.899s]
writing 'recovery' 1/2...
FAILED (remote: image error! (BootMagic check fail))
finished. total time: 1.907s
I have no idea what i did wrong or how i can solve the problem. I just wanted run the twrp, use the Superuser. zip to have the rootet htc one m8s.
Thajin said:
Hi,
what i did so far was:
unlocked the bootloader
download the twrp recovery img (...ruu.lalleman.net/HTC_M8S%28QL_UL%29/Recovery/twrp-recovery-2.8.7.0-m8s-qlul/)
set phone on Fastboot USB
over the cmd bar (windows 10) i used fastboot and got this result:
C:\Android>fastboot flash recovery twrp-2.8.7.0-m8s-qlul.img
target reported max download size of 16510976 bytes
Invalid sparse file format at header magi
sending sparse 'recovery' 1/2 (15368 KB)...
OKAY [ 1.899s]
writing 'recovery' 1/2...
FAILED (remote: image error! (BootMagic check fail))
finished. total time: 1.907s
I have no idea what i did wrong or how i can solve the problem. I just wanted run the twrp, use the Superuser. zip to have the rootet htc one m8s.
Click to expand...
Click to collapse
Use HTC_fastboot and not the generic fastboot..
nopynel said:
Use HTC_fastboot and not the generic fastboot..
Click to expand...
Click to collapse
I have the same problem and just ask now because i am really confused about the hole stuff here.. Have we now to tipp in cmd
C:\Android>HTC_fastboot flash recovery twrp-2.8.7.0-m8s-qlul.img ??
Edit: Ok, i find HTC_Fastboot there > ruu.lalleman.net/HTC_M8S%28QL_UL%29/Tools/Fastboot/ and it solve this problem.
But i think its still not everything fine.. if i change to hboot on bootlader i get this infomations
fs5.directupload.net/images/160727/z9lr634u.jpg
whether unlock bootloader?

soft brick solution

hi, long story, solution needed, help!
I was on evolutin x + orange fox recovery.. was working pretty fine for 2 months.. I was using chrome and all of a sudden the phone just froze and I had to force shut it down..
now it boot loops.. ofox stays on welcome screen and doesnt go past it..
tried "fastboot clear userdata".. then tried " fastboot flash recovery recovery.img" it gives out error
--
fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (47472 KB)...
OKAY [ 1.008s]
writing 'recovery'...
FAILED (remote: Error flashing partition : Write Protected)
finished. total time: 1.099s
--
tried flashing stock fastboot rom via miflashtool it says "Flash xbl error"
bootloader is unlocked aswell
what to do now? any help much appreciated..

Categories

Resources