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

I'm having some troubles with flashing a new rom into my HTC M9.

Last week HTC "tried" to install android 7 via the automatic update in my phone. For some reason (might be because I bought my phone abroad) the installation failed and my phone booted back to its OS. I paid no attention to it (Wasn't that eager to upgrade)

a few days later after I tried to restart my phone, it decided to brick (just like that) and now I can only get as far as the boot menu when turning on my phone on.

My phone is S-on , and the bootloader it locked (quite inconveniently as I came to realize) and I am able to get to Download\Recovery\bootloader mode.

I found my CID and MID and double checked that the "androind-info" file in the RUU I downloaded suits them. But I keep receiving the message "footer is wrong signature verification failed".

To add to my enormous sorrow (I'm quite attached to my phone), I am not able to mount my internal SD even after performing "factory reset" and "cache format". At first I suspected the card is damaged but when I write "fastboot getvar all" in bootloader mode I can see that the partitions exist and have an address.

For some reason "adb" doesn't recognize my phone in "adb devices" unless I'm in "sideload mode" and I'm unable to launch "adb shell" or any "adb" function that is not "adb sideload"

Also I'm not able to update my firmware (OTA) because the phone keeps complaining that the firmware version doesn't match (I searched all over the web for "more fitting" firmware but couldn't fine one that would satisfy my phone).

I searched this forum (and the web) for an answer to my problem but couldn't find a solution to my problem.

To sum things up: S-on , bootloader locked + not able to unlock it with HTC's guide , can change to Bootloader\Recovery\Download mode but that's all (No custom recovery mode) , internal sd wouldn't mount though external sd would, "signature verification error" when trying to update my RUU.

Here is what "fastboot getvar all" gives me:

In bootloader mode:

(bootloader) version:0.5

(bootloader) variant:MTP eMMC

(bootloader) secure:yes

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:cache:ext4

(bootloader) partition-size:cache: 0x14000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0x5e0000000

(bootloader) partition-type:system:ext4

(bootloader) partition-size:system: 0x118000000

(bootloader) serialno:FA563YJ00838

in Download mode:

(bootloader) kernel: lk

(bootloader) product: htc_himauhl

(bootloader) version: 1.0

(bootloader) imei:

(bootloader) version-main: 3.35.401.32

(bootloader) boot-mode: download

(bootloader) version-baseband: 01.01_U11440792_97.00.51203G_F

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA10000

(bootloader) cid: HTC__032

And this is the RUU and OTA I tried to flash (via fastboot, adb sideload , external sd):

RUU:

0PJAIMG_HIMA_UHL_N70_SENSE80_MR_HTC_Europe_4.14.401.7_Radio_01.01_U114401011_117.00.61117G_2_F_release_490768_signed_2_4.zip

OTA:

OTA_HIMA_UHL_M60_SENSE70_MR_HTC_Europe_3.35.401.12-2.10.401.180_release_464237