The technology world has given us a lot of improvements in our lifestyle. One of the digital platforms is the smartphone. We can count the number of people not using smartphones. Among smartphones, Android plays a major role within mobile users as it is more users friendly. If you wish to install any third-party application or custom recovery image, your device requires root access. This article will offer you the complete guide to Root HTC One M8.

Just follow the below steps, you can root your device to add more apps to your device.

Things to Do Before You Root HTC One M8

To avoid any damage to your mobile, check out the battery before rooting. While rooting the device minimum of 70% charge should be present.

  1. To root HTC One M8, enable USB debugging on your device. Go to settings and select “About” to allow the developer to option.
  2. Next, enter into the developer option to enable the USB debugging.
  3. Save all the files on the mobile by performing a complete backup.
  4. Rooting the device will not wipe out all your data and media, but keep all your files in the backup.
  5. Install custom recovery before rooting.

Complete Guide to Root HTC One M8

Before rooting, let’s first unlock the bootloader in HTC One M8 to erase everything in the device.

Steps are given below to perform unlocking and rooting:

  1. Go to settings and find the power option and see whether the Fast Boot is checked Off.
  2. Then hold On to the volume up and down button along with the power button for nearly 3 minutes till you see the bootloader menu on the screen. And then hit the power button once to return to FASTBOOT mode.
  3. Next, connect your HTC One M8 with the computer and download, and unzip the file. Now you will find the fastboot in your download folder.
  4. Then visit the CWM/TWRP recoveries section of to download the exact CWM or TWRP recovery for your HTC One M8 model.
  5. Next, copy and paste the CWM or TWRP image in the fastboot folder in .img format.
  6. Then, open Device Manager in your system, find the My HTC or Android ADB option and click on it. If you don’t see it, then install HTC drivers and then return to this step. This step can be avoided if you are Linux or Mac user.
  7. Then begin the Command Prompt or terminal in your system, then type the following code:
    If you are a Windows user, type: fastboot OEM get_identifier_token
    For Mac users type: ./fastboot-mac OEM get_identifer_token
    For Linux users: Sudo ./fastboot-Linux OEM get_identifier_token
  8. Then copy the identifier token to your clipboard.
  9. Next, visit and then choose Unlock Bootloader option and click on Get started button.
  10. Then, choose “HTC One M8” and then click on the “Begin Unlock Bootloader.” If you are trying this site for the first time, then register on the site.
  11. After that, agree to the terms and conditions, click on the “Proceed to Unlock Instructions” and then scroll down through the page and click on the Proceed to step 5 button.
  12. Then, paste the copied identifier token in the My Device Identifier Token box.

Also See: 10 Ways to Fix PS4 Won’t Turn On Error.

Completing these steps, you will get the email to confirm the unlocking of bootloader.

  1. You will receive the Unlock code file from HTC in your email. Download the file and keep it in the Fastboot folder.
  2. Next, type the following code in the Command Prompt/ Terminal
    fastboot flash unlock token Unlock_code.bin – For Windows
    ./fastboot-mac instant unlock token Unlock_code.bin – For Mac
    sudo ./fastboot-Linux instant unlock token Unlock_code.bin – For Linux
  3. Next, on your HTC One M8 mobile screen, you will see the Unlock Bootloader option, and in that, click on the Yes button using the power button.

Within a couple of seconds, your device will be rebooted. Then sign in to your HTC One M8.

Root HTC One M8
How to Root HTC One M8 Easily – SuperSU
  1. Then again, Go to Settings -> Power and turn Off the Fastboot mode.
  2. Download the SuperSU zip file and copy it to the mobile by connecting it to the computer.
  3. Then reboot the device in fastboot mode.
  4. Next, type the Command Prompt
    fastboot flash recovery PutImageFileHere.img (PutImageFileHere.img this is an image file you downloaded earlier).
  5. Then type fastboot erase cache.
  6. Next, select on HBOOT option on your mobile screen using the Power button
  7. Then choose the recovery button for recovering your old files.
  8. Now you will be directed to CWM or TWRP recovery. Then choose the Install option and search for the SuperSU zip file and install it.
  9. After rebooting, you can find the SuperSU app in your applications.

Yeah, you have finished rooting your HTC One M8!

Also, read about how to Root Samsung Galaxy S6. Click here!

Final Words

Even the steps are numerous, if you wish to root HTC One M8 safely, you’ll have to follow the above steps. The above step also includes recovering the media available on your device. Now, you don’t need to spend extra hours rooting your device without any problems.

Previous articlePost Free Classified Ads In India | List Of Top 10 Websites
Next articleHow To Download Facebook Live Videos In 2023 {4 Ways}
Avatar for Rahul Gupta
He is a Tech Geek, Gadget Expert, SEO Expert, Web Designer, and a Blogger. Having a technology background gives him a unique perspective!