HTC One (M8)



HTC One (M8)
Rooting Instructions

  • Modifying / replacing your phone's software may void the phone's warranty and may render phone to 'brick' status - meaning your phone will not be worth much more than a brick. 
  • Rooting a phone is entirely at your own risk. No one affiliated with ROMWarez is responsible for your decision to root your phone.
  • Unlocking the bootloader on most phones will automatically wipe all data.
  • Always backup your current Apps/Data/SMS Messages before performing any type of rooting procedure. Find these backup apps on Google Play. 
  • Many hours have been spent compiling and creating this unique Android application. If you feel that SuperRoot-DIY has helped you, please consider a donation.

Unlocking the Bootloader


  • Download and install the phone's USB drivers (HTC Sync) to computer.  
  • Download Recovery zip file into RootFiles folder created in earlier step. Rename recovery image to recovery.img.  
  • Download Superuser zip file and put in RootFiles folder/directory. Rename file to 'Superuser.zip'.
  • Enable USB debugging: Menu --> Settings -->Applications -->Development
  • Disable HTC Fastboot: Settings --> Power --> Fastboot or Settings --> Applications --> Fastboot
  • Ensure phone is placed in 'Charge Only' mode.
  • Connect the phone to the computer through USB.
  • From the RootFiles folder/directory created earlier on your desktop, double click on the 'Open-Command-Prompt' file and type adb devices to ensure your phone and computer drivers are installed correctly.
  • At a command prompt type: adb push superuser.zip /sdcard/ 
  • Part of the process to unlock bootloader for HTC phones is to obtain an unlock token. To get this unlock token, go to www.HTCDev.com/bootloader. Once you have registered an account with HTC, proceed to next step.
  • From the command prompt, type the following to boot the device into fastboot mode: adb reboot bootloader
  • If a pink **locked** is at the top of the HBOOT screen, then phone is compatible with the HTCDev bootloader unlock token process (Image below).
  • Obtain serial number of phone. At a command prompt type: fastboot devices The serial number of phone will be required by HTC for unlock token. 
  • At a command prompt, type: fastboot oem get_identifier_token and press the enter key. Below is an example of what will be displayed.
   

  • Copy and paste the block of highlighted text by Right Clicking in the command window --> Mark. Then select block of text in same manner as below figure. Once text is highlighted, Right Click to copy text into clipboard. 
  • Go to HTCDev.com/bootloader site to paste this text into the 'My Device Identifier Token' field and then submit token. You will then receive an email within a few minutes with a BIN file attached. 
  • Save BIN file into the RootFiles folder created in earlier step.
  • At command prompt, type: fastboot flash unlocktoken Unlock_code.bin
  • After pressing 'Enter' on previous step, a disclaimer will be displayed. Use the volume buttons on phone to move up or down to accept the disclaimer by pressing phone's power button.  

    Installing Recovery Using Fastboot

    You can use fastboot to install your recovery image to the device.
  • Ensure continued connectivity of device. Type: adb devices
  • Although checking the MD5 is optional, it is recommended. To check MD5 encryption of recovery image, type md5sums recovery-image-name.img . Ensure the resulting MD5 matches the one that is listed for the image that was downloaded. If no MD5 is listed, you can proceed, however, if flashing recovery fails, re-download the recovery image and redo this step.
  • After flashing recovery, type: adb reboot bootloader . You can also reboot into bootloader by powering off phone and then turn it on again by pressing Power Button + Volume Down key at the same time. Upon entry into the Bootloader menu, select FASTBOOT.
  • Again, check for connectivity by typing: fastboot devices . A serial number of the phone will be returned. 
  • Flash the recovery by typing: fastboot flash recovery recovery.img .
  • Reboot to recovery by using volume keys to navigate to the 'Recovery' menu item and press the Power button to select.
  • Once in Recovery Mode, wipe cache and Dalvik Cache.
  • Press 'Install' button in the Recovery Main Menu screen and navigate to the Superuser zip file downloaded in earlier step and use the 'Swipe to Flash' button to flash the Superuser zip file.
  • When flashing of Superuser zip file is completed, press the 'Reboot System' button.
  • Once phone has rebooted start the 'RootChecker' application installed in earlier step to confirm phone is rooted. 
  • You are rooted!

    Note: It is recommended to keep phone in 'S-ON' as it protects phone from bricking. ROMWarez.com recommends all CyanogenMod ROMs if you decide to flash a custom ROM in lieu of staying on a rooted stock ROM.

    Note: This phone can also be rooted by Windroid. 
    Booting into Download Mode:  Volume Down + Power
If you decide you would rather have an expert root your phone or you want to install a custom ROM like CyanogenMod, feel free to click on the 'Schedule' button below to schedule a remote session with ROMWarez.com.