[One (M9) Q&A, Help & Troubleshooting] itsjamel210:
Hi,

i was trying to s-off my phone so i downloaded sunshine, in the process my phone rebooted randomly then my device enterd a bootloop.

i opened the recovery [TWRP v2.8.7.0] and i got a lot of errors in the log like:

E: unable to mount '/data'

E: unable to mount '/cache'

E: unable to mount '/devlog'

E: unable to mount storage​

I can't do a Factory Reset.

i tried to flash the stock recovery

C:\adb>fastboot flash recovery Recovery_2.9.710.5.img
target reported max download size of 800000000 bytes
sending 'recovery' (37764 KB)...
OKAY [ 2.844s]
writing 'recovery'...
(bootloader) HOSD CL#573756
(bootloader) start@1
(bootloader) recovery@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 2.135s]
finished. total time: 4.980s

but when i booted it i got the twrp recovery.

i tried to flash a lot of recoveries, but the old recovery wont change.

I Downloaded the Stock Rom and tried to flash it with htc_Fastoot

C:\adb>htc_fastboot flash zip 0PJAIMG_HIMA_UHL_L51_SENSE70_MR_hTC_Asia_AUS_2.9.710.5_Radio_01.04_U11440601_71.02.50709G_F_release_452741_signed.zip
sending 'zip'... (154628 KB) OKAY
sending time = 7.219 secs
writing 'zip'... (bootloader) HOSD CL#573756
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
FAIL90 hboot pre-update! please flush image again immediately
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
For "hboot-preupdate" response, restart the same procedure for device XXXXXXXXXXXX...
sending 'zip'... (154628 KB) OKAY
sending time = 8.309 secs
writing 'zip'... (bootloader) HOSD CL#573756
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) start@23
(bootloader) aboot_signed.img@100%
(bootloader) rcdata.img@BYPASS
(bootloader) splash1.nb0@BYPASS
(bootloader) adsp.img@BYPASS
(bootloader) modem_st1.img@BYPASS
(bootloader) modem_st2.img@BYPASS
(bootloader) pg2fs_ship_signkey.img@BYPASS
(bootloader) apppreload.img@BYPASS
(bootloader) cota.img@BYPASS
(bootloader) sbl1-8994-1.img@100%
(bootloader) sdi.img@100%
(bootloader) hosd_signed.img@100%
(bootloader) rpm-8994-1.img@100%
(bootloader) pmic-8994-1.img@100%
(bootloader) boot_signed.img@BYPASS
(bootloader) recovery_signed.img@BYPASS
(bootloader) cpe.img@BYPASS
(bootloader) tz-8994-1.img@100%
(bootloader) hyp-8994-1.img@100%
(bootloader) sensor_hub.img@BYPASS
(bootloader) tp_SYN3351.img@BYPASS
(bootloader) tp_MXM11876.img@BYPASS
(bootloader) radio.img@BYPASS
FAIL90 hboot pre-update! please flush image again immediately
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
For "hboot-preupdate" response, restart the same procedure for device XXXXXXXXXXXX...
sending 'zip'... (154628 KB) OKAY
sending time = 8.201 secs
writing 'zip'... (bootloader) HOSD CL#573756
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
FAIL90 hboot pre-update! please flush image again immediately
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
For "hboot-preupdate" response, restart the same procedure for device XXXXXXXXXXXX...
sending 'zip'... (154628 KB) OKAY
sending time = 8.291 secs
writing 'zip'... (bootloader) HOSD CL#573756
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) start@23
(bootloader) aboot_signed.img@100%
(bootloader) rcdata.img@BYPASS
(bootloader) splash1.nb0@BYPASS
(bootloader) adsp.img@BYPASS
(bootloader) modem_st1.img@BYPASS
(bootloader) modem_st2.img@BYPASS
(bootloader) pg2fs_ship_signkey.img@BYPASS
(bootloader) apppreload.img@BYPASS
(bootloader) cota.img@BYPASS
(bootloader) sbl1-8994-1.img@100%
(bootloader) sdi.img@100%
(bootloader) hosd_signed.img@100%
(bootloader) rpm-8994-1.img@100%
(bootloader) pmic-8994-1.img@100%
(bootloader) boot_signed.img@BYPASS
(bootloader) recovery_signed.img@BYPASS
(bootloader) cpe.img@BYPASS
(bootloader) tz-8994-1.img@100%
(bootloader) hyp-8994-1.img@100%
(bootloader) sensor_hub.img@BYPASS
(bootloader) tp_SYN3351.img@BYPASS
(bootloader) tp_MXM11876.img@BYPASS
(bootloader) radio.img@BYPASS
FAIL90 hboot pre-update! please flush image again immediately
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
For "hboot-preupdate" response, restart the same procedure for device XXXXXXXXXXXX...

and it continues to do that.

My device :

it is s-on

and was rooted

kernel: lk

product: htc_himauhl

version: 1.0

version-main: 2.9.710.2

boot-mode: RUU

version-baseband: 01.04_U11440601_71.02.50709G_F

version-bootloader: 1.0.0.0000

mid: 0PJA10000

cid: OPTUS001

Any ideas how to fix it ??