Help resetting HTC One M7

Soldato
Joined
18 Feb 2003
Posts
8,616
Location
Brighton/West Wicklow
Hi guys,

Think this might be terminal but thought i'd ask those in the know.

I have an HTC One M7 that has somehow become corrupted, it asks for a decryption key when started up and upon entering it it says:

"Decryption unsuccessful, the password you entered is correct but unfortunately your data is corrupt".

Booting into recovery gives the following:

1jt1Rr7.jpg

Factory reset does nothing, the phone is not rooted, has standard recovery and does not have USB debugging enabled (and obviously can't enable it as I can't boot into the OS).

I've had a good read, but practically everything requires USB debugging to use ADB/fastboot etc.

Just want to reset the phone to standard - would be grateful for any help.

Thanks in advance.
 
You can use an RUU file to reflash every single partition, do you know if the phone is S-ON or S-OFF? It should tell you on the top of the bootloader screen.

You can still use fastboot, when entering fastboot mode it is seperate from ADB and the OS.

This RUU EXE will do the work but it's based on Sense 6 Kitkat so it may not run if the M7 is running the later Sense 6 Lollipop: http://www.htc1guru.com/dld/ruu_m7_...0-38r-1157-04l_release_353069_signed_2-1-exe/


EDIT: I have a RUU ZIP file based on Sense 6 Lollipop, I'll try get that uploaded and see if I can remember the fastboot steps flashing it.
 
Last edited:
No problem, the M7 was one of the easiest phones I found in terms of returning to stock if you somehow borked the phone. This should work even if the phone's bootloader is locked.

Download HTC fastboot: https://drive.google.com/open?id=0BwQJqwBIsTP5a09id0Z6RjBQeEU
And the RUU file: https://drive.google.com/open?id=0BwQJqwBIsTP5ZlNneEpxZVhob0U

Extract the HTC fastboot 7z file to get htc_fastboot.exe.
Copy the RUU zip file and htc_fastboot.exe to the same folder.
Rename the RUU to RUU.zip
Hold shift and in explorer, right click and open a command window here.

If it isn't already, turn the phone off.
Hold the volume down and power button, and when you see the screen light up, let go of the power button but keep holding volume down.
Once you see a white menu, let go of the volume down key.
Now use the volume keys to navigate to "fastboot", and press the power button to enter it. Phone should now be in fastboot mode. Plug the phone to the PC.

On the command window you have open, type:
Code:
htc_fastboot devices

It should report the device is connected and in fastboot mode. If it doesn't detect the device, install these: http://forum.xda-developers.com/showthread.php?t=2263822

Now, enter:
Code:
htc_fastboot oem rebootRUU
This will enter HTC's RUU flashing mode, you should see the HTC logo on a black background.

Then, do:
Code:
htc_fastboot flash zip RUU.zip
It will take a while to send the file over. If you see "Failed" at the end, do the command again. Once it says it has succeeded and finished, then the phone has finished flashing the RUU. Ignore the green bar on the phone screen, it's normal for it not to be at 100%. Just do this in cmd:
Code:
htc_fastboot reboot

This will reboot the phone back to the freshly flashed Sense 6 and will take about half an hour or so until it reaches the setup screen.
 
Ah you're already in fastboot mode :p.

Should be fine, you only need to be S-OFF if you're flashing an older version of Sense/Android.
 
Hmmmm, i've tried it a few times and it keeps failing - any ideas?

puGVh5C.jpg


Thanks again for your help
 
Looks like the CID is not matching.

Go back to the bootloader, and type:
Code:
fastboot getvar cid

What does it say there?
 
Hi again,

Here's what it says:

*snip*

I've had a look and am finding it tough to find a suitable RUU file, although i'm not totally sure that i'm on the right path.
 
Last edited:
Wow that's awesome - thanks so much - will this still be fine with S-On? Will give it a try now.
 
No problem, glad you got the phone working again :).

EDIT: Just noticed getvar also displays the IMEI number... You might want to hide that :p.
 
Last edited:
Back
Top Bottom