[HTC 10 Questions & Answers] madzur:
Hello experts,

I'm in urgent need of some inspiration as I'm experiencing some very funky behavior of my HTC 10. I'm trying to get my phone back to stock and all my attempts at RUU flashing are failing. The phone has gotten up to a point, where I can't even flash TWRP anymore. Any help would be greatly appreciated.

Here's the story:

- some basic info about my device:

< waiting for device >
(bootloader) kernel: lk
(bootloader) product: htc_pmeuhl
(bootloader) version: 1.0
(bootloader) max-download-size: 1579200000
(bootloader) serialno: xxx
(bootloader) current-slot:
(bootloader) imei: xxx
(bootloader) version-main: 2.41.401.4
(bootloader) boot-mode: download
(bootloader) version-baseband: 1.0.U010241a@61226
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS620000
(bootloader) cid: HTC__034
all:
finished. total time: 0.064s

- due to some issues that we might get into later, I tried flashing the latest EXE RUU I found, which is RUU_PERFUME_UHL_N70_SENSE80GP_MR_HTC_Europe_2.41.401.4_Radio_1.0.U010241a@61226_79.07_F_release_495903_signed_2.exe

- this one didn't go so well, since just before completing the flash, the RUU installer threw an error 155 at me and the phone was bricked. TWRP had been overwritten by stock recovery. At the time of doing this, the phone was S-On and Relocked. Thankfully the phone still was able to boot to download mode and was responding to fastboot commands.

- I unlocked the bootloader using Unlock_code.bin from HTCDev and proceeded to flash twrp, first 3.0.2-6 and then 3.0.2-5., both appearing to successfully flash

target reported max download size of 1579200000 bytes
sending 'recovery' (20852 KB)...
OKAY [ 1.711s]
writing 'recovery'...
(bootloader) HOSD CL#857212
(bootloader) start@1
(bootloader) recovery@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [ 1.810s]
finished. total time: 3.528s

- however, booting to recovery gave me a screen with HTC logo, saying "This build is for development purposes only " bla bla, for details see the pic below [IMG="Recovery fail"]http://i68.tinypic.com/e152jd.jpg[/IMG]

- Thanks to djluisbento in this thread, I found a zip RUU called 2PS6IMG_PERFUME_UHL_N70_SENSE80GP_MR_HTC_Europe_2.41.401.4_Radio_1.0.U010241a@61229_89.09_F_release_693552_signed and was able to flash it in download mode.

- the process didn't go 100% smoothly, as during the flash it threw a "tp_SYN3708.img@FAIL" message at me and finished with an overall message

33 RU_UPDATE_FIRMWARE_FAIL
33 RU_UPDATE_FIRMWARE_FAIL
FAIL33 RU_UPDATE_FIRMWARE_FAIL

as shown in the pic below [IMG="RUU FAIL"]http://i66.tinypic.com/m9r2vm.jpg[/IMG]

- Now, unlike with Flashing the EXE RUU, now the phone is able to boot into Android, which is running Nougat, however 3 major problems remain:

1. Can't flash TWRP as the HTC recovery stays there even after successfully flashing TWRP

2. Software status in bootloader stayed Modified, where I was looking to get back to Original

3. Double-tap to wake and camera shortcut are not working in android, which are symptoms of a problem I was trying to solve in the first place, where the touchscreen is not responding at all in Recovery mode. I had to use OTG mouse and keyboard to control TWRP when it was able to flash.

The 2 options I was considering at are:

1. Paying 25 USD for flashing a signed HTC RUU from this guy: http://llabtoofer.com/htc-ruu-flashing-service/, however I might end up with the same errors as when I was trying to flash my files, so not good.

or

2. Get Sunshine S-OFF and try flashing some of the older ZIP RUUs I found in my process, 1.30.401.1 or 1.90.401.1. If that doesn't work then I can at least hack the phone to get it back to Software status original and sending it back for Service. However, without TWRP and root, this is currently not possible.

Any advice to solve the 3 above mentioned pain points would be appreciated, as I've reached my limits.

Thanks.