How to Restore AT&T HTC One M8 to Stock with RUU

We are all fond of installing new ROMs now and then. Moreover, many of us root our devices the very day it comes out-of-the-box, probably in a haste, without realizing its consequences. While some of us like the Custom experience, others don’t. And therefore there is a need to Restore to Stock Firmware. Rolling back to stock in devices like Nexus is pretty easy and takes least amount of time as compared to Samsung or HTC. We have covered a lot of guides about moving back to stock condition from as many devices as possible.

And here we’re today with the AT&T HTC One M8. This guide beholds the complete procedure to Restore AT&T HTC One M8 to stock condition. This involves, relocking the bootloader, RUU installation, removing TAMPERED banner and finally relocking the bootloader.

Warning!

The procedure if performed wrong, may damage your device. Read and understand the instructions carefully before proceeding. DroidViews or any of its members shall not be held responsible for any damage to your device.

Prerequisites

Update: Firewater method has been discontinued by the developer now!

We assume your device is already S-OFF. If its not, use Firewater and do it.

Remove TAMPERED Banner

Removing the TAMPERED flag from the bootloader mode is just a matter of a minute using some simple Command lines.

Enter the commands below to get it done. When you will enter the shell, the device will prompt for Superuser access, press on GRANT.

adb devices

adb shell

su

echo -ne ‘\x00′ | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564

exit

adb reboot bootloader

Restore Bootloader to Locked state

Since the flag has been removed, the last thing left to do is to reset the bootloader state from ***RELOCKED*** to ***LOCKED***. A bunch of commands will do this for you, enter the list of commands below:

Your M8 will now boot into bootloader mode and display ***LOCKED*** status.

Completely Unroot

The last step is to unroot using the SuperSU interface itself. Open the SuperSU app, swipe to the SETTINGS tab. Scroll down and press on Full unroot. When prompted, tap on CONTINUE. The app will remove root from your AT&T HTC One and reboot the device automatically when done.

Congratulations! You’ve been successfully able to restore AT&T HTC One M8 to stock firmware. If you have queries regarding the process, post the comment below and we shall get our best hands on it. Stick with us, put some feedback and wait until we get back with more stuff on the HTC One M8.