[One (M7) Q&A, Help & Troubleshooting] Mizagorn:
HTC One not recognized by ADB

Hi MacHackz,

I got a used AT&T HTC One M7 almost a year ago. I updated it to a Google Play Edition with TWRP 2.7.1.0 and have had absolutely zero problems with it until now. If it matters, I am S-OFF.

I kept getting OTA update notifications for 4.4.4 but it would not ever install. After reading that OTA updates will only work with a factory recoery, I decided I would do a factory reset, let the OTA update and then decide if I even wanted a custom ROM back.

I made 3 separate TWRP backups, then did the "wipe" function in TWRP. I selected all partitions to wipe, I guess which turned out to be a mistake. In retrospect, I'm thinking I should have just flashed a stock recovery and done the factory reset from the phone menu. But oh well... You live, you learn. But in this case, I haven't learned enough lol

Since then I have spent maybe 7 hours researching how to get my phone un-soft-bricked. It will boot up the the HTC development splash screen but no further. ADB on two different computers does not recognize the device, but Fastboot does. I have been using the HTC USB drivers and also the Universal driver setup that 1wayjonny offered here. Neither set of drivers installed at the same time, of course.

With ADB not recognizing the device, I dont' have a way to PUSH a TWRP backup to the phone. And I have no idea how to use Fastboot to get the backup to the phone.

I found the Insertcoin-m7_4.0.4.zip ROM that I tried to flash. I was told that android-info.txt and android-product.txt were missing. I found a sample android-info.txt, filled it with my phone's details, plugged it into the .zip and tried again. This time, 3 different .sig files were missing.

So, after more research, I found a thread that describes how to do a firmware and RUU.

I found a GPe firmware that I tried to install based on the baseband and it being Google: 0fd76b215965552cac74cd68e97393244b330fc6.OTA_M7_UL_K44_STOCK_UI_MR_Google_WWE_3.62.1700.1-3.58.1700.5_release_343526.zip. I renamed that file to firmware.zip.

And an RUU: RUU_M7_UL_JB_50_Cingular

Then here's what I did:

FASTBOOT OEM LOCK. So I am now "*** Relocked ***.

Then, "fastboot oem rebootRUU'. I am now at the silver HTC screen ready for firmware flash. Here are the results:

C:\adb>fastboot flash zip firmware.zip
target reported max download size of 1526722560 bytes
sending 'zip' (67923 KB)...
OKAY [ 4.209s]
writing 'zip'...
FAILED (remote: not allowed)
finished. total time: 4.250s

I read that you have to do it twice, expecting an error on the first run, but that is normal. So... exact same results.

Then the RUU. I get the warning that all info and data will be deleted. OK, since nothing's there, that's fine! It says the image version is 3.17.502.3.

It says it flashed from that version to version 1.26.502.12. Then the 10 minute notice. Then I get a CUSTOMER ID error. Get the correct RUU and try again.

So here's my GETVAR list:

C:\adb>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.21.3218.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.17.502.3
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: HT35GW906784
(bootloader) imei: 354439055160792
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: GOOGL001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4287mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.128s

At this point, I am completely, hopelessly, frustratingly and helplessly lost. I have no idea what RUU to use, and I don't know why the firmware wouldn't update.

Thanks in advance if there's anything you can recommend and also thanks for being so committed that you've already helped so many people. Even if I can't be helped, you deserve a cream cheese bagel or something for all your hard work. :good: