[One (M9) Q&A, Help & Troubleshooting] nbull:
Hello everybody,

My phone was originally of Vodafone Spain.

I have my M9 bricked, because of download mode is booting all the time, so i can not flash anything, i only can enter to bootloader and sent commands with fastboot this is the only i can do.

My phone was *** unlocked *** and *** S-Off *** and was working with android developer edition 4.23.617.1 the other day my phone reboot by itself and then all the time was rebooting in loop. i will explain you all the steps a did and i hope someone can help me with this expensive brick.

1.- I tried to enter download mode pressing VOL - and Power button , then the phone reboot show me the black logo of Htc some the red lines of advise that this version is only for developers and then vibrate show me a black screen and return to the Htc logo and all the time is the same looping.

2.- Then i Tried to enter Bootloader VOL + and Power Button press, well all is ok i can see bootloader and it show me my phone was modified and is *** Unlocked *** and *** S-OFF *** great. I tried to enter recovery and is the same show me the Black htac logo with re lines of advidse and vibrate the reboot in loop.:crying:

3.- Ok this was bad thing, i will try to enter download mode from bootloader, so i enter on bootloader again and select Download Mode, and all is the same all the time reboot in loop.

4.- Well is time to try with my Linux computer to solve this issue, and connect my phone to my computer USB and enter on bootloader on my phone. Then i try this commands:

[B]./fastboot flash zip M9_4.14.401.7_Fullstock_wipe.zip[/B]

target reported max download size of 536870912 bytes
sending 'zip' (137299 KB)...
OKAY [ 3.462s]
writing 'zip'...
FAILED (remote: Flash zip not support in BL, please go download mode)
finished. total time: 3.478s

5.- This is maddening, ok i tried to ask on XDA DEVLOPERS FORUM and [MENTION=1102297]Sneakyghost[/MENTION] told me that tried with the next commands:

[B][root@localhost platform-tools]# ./fastboot flash aboot /home/fernando/Descargas/M9_4.14.401.7_FullStock_wipe/aboot_signed.img [/B]

target reported max download size of 536870912 bytes
sending 'aboot' (823 KB)...
OKAY [ 0.056s]
writing 'aboot'...
OKAY [ 0.038s]
finished. total time: 0.094s

[B][root@localhost platform-tools]# ./fastboot flash hosd /home/fernando/Descargas/M9_4.14.401.7_FullStock_wipe/hosd_signed.img [/B]

target reported max download size of 536870912 bytes
sending 'hosd' (24132 KB)...
OKAY [ 0.795s]
writing 'hosd'...
OKAY [ 0.284s]
finished. total time: 1.080s

This not fix the problem my phone give me the same HTC logo an reboot on loop.:crying::crying::crying:

6.- Well i continue trying things, and try to boot with a recovery image with this command:

root@localhost platform-tools]# ./fastboot boot /home/fernando/Descargas/twrp-3.1.0-0-hima.img

GREAT, i can see the recovery and cant select options to recover my phone, but then i can see the problem because i not on download mode when i tried to wipe and format my phone this is the result:

Failed to mount '/cache' (Invalid argument)
Could not mount /data and unable to find cryptofooter.

Updating partition details...
Failed to mount '/cache' (Invalid argument)
Failed to mount '/system' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/devlog' (Invalid argument)
Failed to mount '/carrier' (Invalid argument)
Failed to mount '/cota' (Invalid argument)
Failed to mount '/preload' (Invalid argument)
...done

Unable to mount Storage
Failed to mount '/data' (Invalid argument)

Full SElinux support is present.
E:failed to write /dev/block/mmcblk0p32: I/O error
Unable to mount /data/media/TWRP/.twrps

MTP Enabled
Failed to mount '/data' (Invalid argument)
Failed to wipe dalvik

Updating partition details...

Failed to mount '/cache' (Invalid argument)
Failed to mount '/system' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/devlog' (Invalid argument)
Failed to mount '/carrier' (Invalid argument)
Failed to mount '/cota' (Invalid argument)
Failed to mount '/preload' (Invalid argument)
...done
Unable to mount storage

The good news is that i can enter to my terminal shell of my phone so i tried to investigate why i can flash the HOSD partition so i tried to view my phone partitions, i attached it on this post.

7.- Then [MENTION=4987085]xunholyx[/MENTION] tell me another thing to try, flash hosd with another hosd img i tried it with this commands but is the same.

hima_uhl_n70_hosd_signed.img

[B][root@localhost platform-tools]# ./fastboot flash hosd hima_uhl_n70_hosd_signed.img[/B]
[B][root@localhost platform-tools]# ./fastboot reboot download[/B]

The command ./fastboot reboot download not work for me because fastboot show me the help of fastboot and dont do nothing.

This is my fourth day with my phone brick and now i continue with the same problem if someone can help me i will be more gratefull.

I want to give my thanks to [MENTION=1102297]Sneakyghost[/MENTION] and [MENTION=4987085]xunholyx[/MENTION] for their help for me was a ray of hope to solve the problem, finally dont work, but i want to gratefull them. Thank you mens ;)

I will looking for a solution of this, and if someone had this problem and could solve it, please tell me how.

Regards