Android, being an open source platform, attracts a lot of custom development activities that usually lead to awesome results and sometimes to nightmarish situations. If you are an adventurous Android user who is fond of trying root apps, rooting, flashing custom recoveries, kernels, mods and custom ROMs, you might be caught into a situation where restoring your phone to stock firmware might be your last haven.

Just a few days ago, we did a detailed guide on restoring the stock ROM on the Verizon HTC One M8. The Sprint variant of the One M8 has managed to prompt custom development round it. As a result, you can find a plethora of custom ROMs and mods for the device. At any point of time, if you feel the need to go back to stock, you can easily do it using our tutorial. Today, we’ll see how we can restore Sprint HTC One M8 to stock ROM with RUU (ROM Update Utility).

Warning!

Before to proceed with the steps to return the Sprint HTC One M8 back to stock, please be warned that the involving in such activities is considered risky. Though the procedure described below has been tested successfully for more than once, we do not endorse any responsibility for any kind of damage done to your phone. Do things at your own responsibility and with utmost care possible.

Getting Prepared

  • If you want to follow Method 2 from below, S-OFF is required on your Sprint HTC One M8. If you have not done it yet, do it now using Firewater method.
  • For Method 1, you need S-ON and locked bootloader.
  • Enable USB Debugging on your HTC One M8. For instruction to do so, read this guide.
  • On your device, Go to Settings> Power and turn off Fastboot.
  • Download and install the latest HTC USB drivers on your computer.
  • Setup ADB and Fastboot on your computer. See this guide.

Sprint_HTC_One_M8_non-HK_4.25.651.14_RUU

Sprint_HTC_One_M8_Harman_Kardon_4.25.654.14_RUU

Restore Sprint HTC One M8 to Stock

Method 1:

  1. Download the RUU file from above and extract the zip on your computer.
  2. Now boot your HTC One M8 into the Bootloader Mode. You can do this by turning off your phone and pressing and holding the Power+Volume Down buttons together for a few seconds till you see the Bootloader screen. Alternatively, you can use ADB command to get into Bootloader Mode. Just connect your phone to computer via USB cable, launch a command prompt and type the following command and hit Enter key:
    adb reboot bootloader
  3. Having entered the bootloader screen highlight the FASTBOOT option using Volume down key and select it by pressing the Power button.
  4. Navigate to the platform-tools folder in the Android SDK directory. The location of this folder depends on where you extracted the SDK files while setting it up.
  5. Now set your phone’s CID to 11111111. To do this connect the device to computer and launch cmd window from within platform-tools folder. Press the Shift+Right click on mouse and select Open command window here option. In the cmd window, type the following line:
    fastboot oem writecid 11111111
  6. To relock the bootloader, type the following command:
    fastboot oem lock
  7. Having, re-locked the bootloader setting up the CID as mentioned above, open the extracted RUU folder and run ARUWizard.exe as administrator.Restore-Sprint-HTC-One-M8-to-Stock
  8. Doing this will launch the HTC Android Phone ROM Update Utility. Just click the Update button on RUU to proceed with the installation.

Note: If you see the following warning screen during the setup, just tap the Finish option.

sprint-htc-one-m8-ruu

Method 2:

  1. Download and rename the firmware file to firmware.zip and copy it to the platform-tools folder where ADB and Fastboot files already exist.
  2. Reboot your device into Bootloader mode using this command:
    adb reboot bootloader
  3. Now highlight FASTBOOT and select it with Power key to get into Fastboot mode.
  4. Type the following command to boot your phone into RUU mode:
    fastboot oem rebootRUU
  5. When you see the black screen, type following line and press the Enter key:
    fastboot flash zip firmware.zip
  6. When the installation is done, type this:
    fastboot reboot

Done!

Method 3:

If you find the Method 1 or 2 a bit complicated you can use this method.

  1. Get a microSD card and a card reader and format it to FAT32 on your computer.
  2. Rename the RUU file to 0P6BIMG.zip and copy it to the memory card.
  3. Insert the memory card into your phone.
  4. Reboot your HTC One M8 into the Bootloader mode. Highlight the HBOOT option and press the Power key to select it.
  5. Your device will automatically detect the RUU file and you’ll see installation prompts on your phone’s screen.

Using any of the methods given above, you can easily restore your Sprint HTC One M8 to stock ROM with stock recovery. Cheers!