How to restore your HTC One M8 back to stock? Flashing stock firmware on an Android device is a good idea when you want to send your phone to the service shop. If you have rooted it, the warranty is avoided but if you restore it back to stock, the warranty is again available because the phone gets unrooted.

This round is time for the HTC One M8 to get back to stock. The process is somewhat complicated but if you carefully follow the rules everything will go fine. If you don’t follow the guide currently you might break your phone and even brick it, which will turn your M8 into a paperweight.

UNROOT-Restore-Stock-Firmware-HTC-One-M8

Here are a few notes to take before following the guide below:

1) You should have the latest TWRP Recovery installed on your device.

2) You should be S-OFF in order for the process to work. It will also work if the device is S-ON but it will not reset the tamper flags.

3) The guide will work with all the following CIDs:

HTC__101 & 102
HTC__203
HTC__E11
HTC__405
HTC__Y13
HTC__304
HTC__A07
HTC__032
HTC__J15
HTC__016
HTC__M27
HTC__K18
HTC__A48
HTC__002

Guide

1. Download the odexed packageĀ here and flash it through TWRP Recovery and don’t accept the request to root it.

2. Download SuperSU here and again, flash it through Recovery Mode. Then, follow this guide here to reset the tamper flag and this guide here to reset the unlocked flag.

3. Because you reseted the tamper flag, you won’t need SuperSU anymore. To remove it, download this file here and again, flash it through Recovery. This will completely remove SuperSU from the device.

4. The last thing to do is to flash the stock firmware (link). To flash it, boot your phone into fastboot and rename the firmware file to “firmware”. Then type the following code:

fastboot oem rebootRUU

Once your device has rebooted, type the following code:

fastboot flash zip firmware.zip

and after that type:

fastboot reboot

That is it. Now your HTC One M8 is back to stock, unrooted and with official stock firmware. (Thread)

SHARE
Previous articleHow To Enable Lock Screen Gestures on Android (Launch Apps From The Lock Screen)
Next article#Galaxy11 Match Has Begun And The Earth Is Loosing Badly (Summary Of The Match)
  • Vassell2k

    Will this work for cid hg3_001?

  • Dipesh Cobain Pandey

    the files are deleted can you suggest me the updated version of the article.. and please help me find the cid of my phone