How to Unroot the HTC One (M7)

UPDATE: NEW VERSION OF THIS PROCEDURE WITH VIDEO LOCATED HERE - 

http://theunlockr.com/2013/07/17/how-to-unroot-the-htc-one-video/

Want to unroot your HTC One (M7) smartphone and get it back to stock firmware? No problem, it’s not a big deal and the following guide will teach you how to do just that. Unrooting and getting your device back to stock will reinstate the warranty of your device and you will have the pure Android experience, no customizations, nothing. So, here’s how you can do it:

I. Before You Begin:

1. You should have rooted your device using the procedure given here.

2. Your device should have at least 70% of battery life left.

II. Downloading Required Files:

1. Stock Firmware (Download the appropriate firmware for your device)

2. Fastboot

III. Unrooting the HTC One (M7):

1. Download and place both the files onto your Desktop.

2. Extract files from the Fastboot archive to your Desktop. Leave the other archive as is.

3. Turn OFF your device.

4. Reboot your device into bootloader mode. To do that, press and hold the Volume UP+Power buttons together.

5. Connect your device to your PC using the USB cable.

6. Open a Command Prompt Window on the Desktop of your PC. To do so, press and hold the Shift button on your keyboard and right-click on any empty area on the screen, then select Open command window here.

7. Type in following commands into the Command Prompt Window:

fastboot oem rebootRUU
fastboot flash zip firmware.zip

8. Once it’s done, reboot your device.

9. And you’re unrooted now!

Great! You’re now back to stock firmware and you do not have root-access any longer. The warranty of your device has also been reinstated!

If this procedure helped you please thank/donate to the original developers here.

If you need help with this procedure, please ask in the comments below or in the forum.

This is part of our Android How To’s. We have how to’s on rooting, loading ROMs, and tons of other tips and tricks for your specific device or for Android devices in general! For all of our Android How To’s, head here.

  • Melissa A. Polk

    up to I looked at the bank draft 4 $7108, I didnt believe
    …that…my neighbour was like trully making money in there spare time on
    their apple laptop.. there mums best friend had bean doing this 4 only 13
    months and a short time ago repaid the loans on there villa and bourt a great
    new Honda. I went here, jump15.comCHECK IT OUT

  • kaish

    99 unknown fails when trying to unroot.

  • htkareem

    Does this restore the stock recovery as well?

  • Penpen72

    this is BS and doesn’t come close to working or it needs a lot more info!!!

  • Ion

    How to flash?
    (bootloader needs to be relocked)
    Re-lock your bootloader (this will most probably wipe content of your device)
    Copy downloaded .zip to fastboot.exe location (e.g. c:/SDK/platform-tools/fastboot.exe)
    Re-name .zip file to firmware.zip
    Open command prompt
    Boot your device in fastboot mode (vol down + power ===> fastboot)
    Connect device to the PC
    In command prompt cd to fastboot.exe location
    Make sure you have correct modeid and cidnum (type: fastboot getvar all)
    Type: fastboot oem lock (if your device is not relocked yet)
    Type: fastboot oem rebootRUU and wait for device to reboot
    Type: fastboot flash zip firmware.zip and wait for process to complete
    Sometimes flashing for the first time doesn’t work, so flash firmware.zip again just to make sure.
    Type: fastboot flash zip firmware.zip and wait for process to complete
    Type: fastboot reboot
    Unlock your bootloader and flash custom recovery if you are going to use custom ROM.

  • anonymous

    on giving the command ” fastboot flash zip firmware.zip ” i got an error of ” parsing android info failed “. what to do nw ?