The HTC One M8 is definitely the most beautiful Android phone with premium finish, featuring awesome hardware and the latest version of Sense UI. It has been just about a month since the device was released but it has gained significant popularity in this very short span of time.
As is usually happens, popular Android devices manage to capture the fancy of our developers. No wonder, the HTC One M8 has become a darling of the Android development community. The device got a working S-OFF method via Firewater soon after its launch. It can be easily rooted and custom recoveries are also available there for a while too. There are a plethora of custom ROMs, hacks and mods for the device to play with.
If you own the Verizon variant of the HTC One M8 and have rooted your phone and installed TWRP on it, it’s very likely that you intend to try root apps, mods and custom ROMs on it. Indeed, the fascination of Android lies in such activities but such activities might put your device under risky situations. In certain situations, you might have to restore Verizon HTC One M8 to stock ROM to bring the device back to normal state.
It’s very easy to find a firmware for a device from some Android manufacturers like Google, Samsung, LG and Motorola. But when it comes to HTC firmwares, you’ll not find any repository or a specific tool that can flash the firmware to your HTC One M8. To install stock ROM on your Verizon One M8, you’ll have to download the ROM zip file compiled as RUU (ROM Update Utility) and flash it using a string of ADB and Fastboot commands.
The RUU installation procedure is considered risky and though it has been tested successfully, we do not hold any responsibility. The device is yours and so are the risks involved!
- Make sure your Verizon HTC One M8 is S-OFF’d. If you have not done this yet, you can easily S-OFF your VZW M8 using Firewater method (it has been discontinued).
- Install HTC Sync or HTC USB Drivers on your computer: Download here
- Enable USB Debugging on your phone from Settings> Developer options. If you do not find Developer option under device settings, read the instructions given here.
- Download and setup Android SDK on your computer so that you have a working ADB and Fastboot. If you new to such things, you can refer to our guides on the topic: Guide 1, Guide 2
- Download the stock RUU file in Zip for the Verizon HTC One M8: 0P6BIMG.zip (stock pre-rooted KitKat 1.55.605.2)
- Go to Settings> Power and turn off Fastboot option.
Restore Verizon HTC One M8 to Stock
So you think you have made all the preparations mentioned above? Great! Now here are the instructions to restore Verizon HTC One M8 back to stock ROM.
- Download the RUU file and copy it the Android/sdk/platform-tools folder where ADB and Fastboot files are located. The location of this directory depends on where you have installed the Android SDK.
- Connect your Verizon HTC One M8 to computer via USB.
- Move the mouse pointer to an empty space in the platform-tools folder and then press Shift key+Right click on the mouse. Select Open command window here option to launch cmd prompt.
- Just to make sure that you have set up ADB properly and your computer can communicate with your phone, type the following command in the cmd window and press Enter key:
- If you see the serial number of your device on the cmd, all’s fine. If you get some error message, you need to check your USB drivers and ADB setup again.
- Now reboot your HTC One M8 into Bootloader mode. You can do it using Volume Down+Power keys manually, or by issuing the following command:
adb reboot bootloader
- When you get on the bootloader screen, scroll to FASTBOOT option and select it using the Power button. To test Fastboot, type the following command in the cmd:
- Since we are using a RUU file to install the stock ROM, boot the device into RUU mode. To do this, simply type this command:
fastboot oem rebootRUU
- When your phone is in RUU mode, you’ll see the HTC logo on the screen.
- Okay, it’s time now to install the RUU file. Just type the command given below. Please note that the red text in the command line is the name of the RUU file. If you have an RUU file with a different name, you’ll have to replace the red text with the name of the file you have.
fastboot flash zip 0P6BIMG.zip
- Now you’ll see a green progress bar at the bottom of the phone’s screen showing installation status.
- Now throw your eyes on the output message on the cmd window. If you see any message asking you to reboot or flush, issue the following command and start again from Step 7.
- When you get success/finished message on the cmd, you can reboot your device by typing the following command:
- Wait till your HTC One M8 boots up.
If you find the Method 1 too complicated for you, we got a much easier way of installing the stock ROM back to your Verizon HTC One M8. The following method is also suitable for those who do not have access to a computer. However, the is one step when you might need a computer.
- The method requires an external SD card. If you already have it format it to FAT32. This is actually the default mode of formatting memory drives on Windows.
- Now copy the RUU file (0P6BIMG.zip) to the memory card.
- Reboot your HTC One M8 into the Bootloader mode by pressing and holding the Volume Down and Power buttons for 2-3 seconds.
- Your device will automatically detect the RUU file and you’ll see installation prompts on your phone’s screen.
- Just follow the onscreen instruction and the RUU will be installed to your device within a few minutes.
Congrats, you have successfully restored your Verizon HTC One M8 to pre-rooted stock ROM with stock recovery! Do not forget to share you experience with the RUU installation procedures described above. Cheers!
Credits: dottat @ xda