[One (M9) General] HumbleTech001:
HTC one m9: Unable to get OTA updates because I messed up TWRP please help

HI there ! I will try my best to describe my situation as clearly as possible but please do ask me if you need any more data.

Thanks in advance. You guys are awesome.

First of all some details about my Canadian Htc One M9:

Bootloader is unlocked and my phone is NOT rooted

(bootloader) product: htc_himaulatt

(bootloader) version: 1.0

(bootloader) version-main: 2.11.631.2

(bootloader) boot-mode: download

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 0PJA11000

(bootloader) cid: ROGER001

My bootloader screen shows the below information (if it is of any help):

***LOCKED******

htc_himaulatt PVT S-ON

LK-1.0.0.0000 (thats the kernel I think)

RADIO-01.02_U11440601_77.04.50715G_2_F

OpenDSP-v29.2.6-00492-M8994_0702

OS-2.11.631.2

What I did wrong:

1) I flashed twrp-3.0.0-0-hima.img (using the command "fastboot flash recovery twrp3.img")

2)Then when twrp installed successfully and I booted into recovery mode, I was prompted with the option to keep mount as

read only or swipe to read-write.. (THIS IS WHERE I WENT WRONG).. I intended to click "keep read only" but my mistake (call it my

bad luck or whatever) I swiped and thus twrp mounted as "read-write" state.

I think this means that my stock recovery is now replaced by twrp.

3)Anyhow, after that I did some research and I realized that "twrp 3.0" was not the correct version, so I flashed the beta version of

TWRP (twrp-2.8.7.1_CPTB-B1-hima.img). This time I selected "keep mounted as write only".

4)After all this I tried doing an OTA from my current firmware 2.11.631.2 -> 2.11.631.180 but TWRP won't let me do the OTA (ofcourse

it wont..thats the whole point of TWRP..it blocks OTA's).

5) But I didn't stop there.. since I had twrp (twrp-2.8.7.1_CPTB-B1-hima.img) in "read only" mode, I created a full system backup along with system image, boot, recover, even android secure.

And then (THIS IS ALSO WHERE I MESSED UP AGAIN !! stupid me) i flashed my "backedup system images" (which I had got from

twrp, thinking that it would somehow "restore my htc m9 back to the stock firmware" so that I can get OTA updates.

Obviously I was wrong...

A very strange thing occured after I flashed my "system", "recovery" and "boot" with the backed up images from twrp.. My phone

couldn't boot into system (normal boot) and I was stuck on the white loading screen of HTC...

6) to fix the boot loop, I wiped all partitions and I reflashed the system images which I had backed up using twrp.

Then I set twrp to "read-write" and then I was able to boot into the system normally.

7) Now my phone is back to square one.. right from where I started..

Condition: Bootloader unlocked, unrooted and twrp messed up.

8) Point to be noted: I tried flashing "stock system images" from a friend (he said he got it from this very forum, he mentioned
[MENTION=1566190]efrant[/MENTION]) so they were legit.. but no use... I have heard that RUU's would fix this problem (but they are extremely hard to find for the canadian htc one m9).. but because my phone is not rooted is there a way I can get to stock firmware and finally get OTAs ??.

Can any one help me please ??? I tried every thing that was in my knowledge and this forum is my last (but not the least) hope..

Any help would be greatly appreciated !

If you need any more information or data please do ask me.