How To Root HTC One M8


Obiously, the question arises for the HTC One M8 users, that How to root HTC One M8? Here is the some simple steps that would help you to root the latest HTC One M8. Before we get stared, make sure that to make the back up of everything on your phone.
We will first unlock the bootloader, which will erase everything on your device on your HTC One M8, so you’ve been warned!

Steps for rooting device HTC One M8:

Step 1: Go to Settings->Power and make sure “Fast boot” is checked off.

Step 2: Now Power off your HTC One M8 then hold down Volume Down and Power buttons for about 3-4 seconds until you see the bootloader menu on the screen.

Step 3: Press the Power button once and you should be in FASTBOOT mode.

Step 4: Then, Connect a micro-USB cable from your HTC One M8 to your computer.

Step 5: Download and unzip the file, you should get a folder called “fastboot” in your Downloads directory.

Step 6: After that, go to the CWM/TWRP recoveries section of and download the useable perfect CWM or TWRP recovery for your HTC One M8 model.

Step 7: Copy the downloaded recovery image CWM or TWRP (file ending in .img) to the fastboot folder that you had unzipped earlier.

Step 8: If you’re using Mac or Linux, then you can skip this step as well no drivers are needed.  If your’e using for Windows, then open Device Manager (If you don’t know how to open, please Google it!) and checkout that you have “My HTC” or “Android ADB”. you need to install HTC drivers,if you dont have it. download HTC One M8 Drivers and run it and then come back to this step.

Step 9: Open a command prompt or terminal.  For Windows, simply type “cmd” in the search bar.

For Windows:
fastboot oem get_identifier_token
For Mac:
./fastboot-mac oem get_identifier_token
For Linux:
sudo ./fastboot-linux oem get_identifier_token

Step 10: Recently after that, copy the identifier token to your clipboard.

Step 11: Next, go to and choose “Unlock Bootloader” and hit “Get Started”.  You will need to register for the site if this is the first time of yours using the site.
Then choose “HTC One (M8)” and click on “Begin Unlock Bootloader”.

Step 12: Then, agree to the terms and click on “Proceed to Unlock Instructions”.

Step 13: Scroll all the way down and click on “Proceed To Step 5″.

Step 14: Scroll down and then paste your identifier token that you copied earlier. Inside the box where “My Device Identifier Token” is said.

Step 15: You will get a message saying that was successful.  If not, try Step 10 again.

Step 16: Check your e-mail inbox and you should have gotten an e-mail from HTC with an unlock code file.  Download that file and copy it to your fastboot folder.

Step 17: Next type in command prompt/terminal:

For Windows, type:
fastboot flash unlocktoken Unlock_code.bin

For Mac, type:
./fastboot-mac flash unlocktoken Unlock_code.bin

For Linux, type:
sudo ./fastboot-linux flash unlocktoken Unlock_code.bin

Step 18: Now Go to your HTC One M8 screen then use Volume key to choose “Yes” then hit the Power button. Your HTC One M8 should reboot in couple second

Step 19: Once rebooted, sign in to your HTC One M8.

Step 20: Repeat Step 1 once again.

Step 21: Connect your HTC One M8 to your computer and copy over the SuperSU zip file.
Download SuperSU zip file

Step 22: Repeat Step 2 thru 4 and reboot your HTC One M8 into fastboot mode.

Step 23: Next, type:

For Windows:

fastboot flash recovery PutImageFileHere.img

Replace “PutImageFileHere.img” with the image file you downloaded earlier in Step 6 and 7.

Then Type:

fastboot erase cache

For Mac, replace “fastboot” with “./fastboot-mac”.

For Linux, replace “fastboot” with “sudo ./fastboot-linux”.

Step 24: Choose HBOOT and select the Power button on your HTC One M8′s screen.

Step 25: And choose “RECOVERY” and hit the Power button.

Step 26: You are in CWM or TWRP Recovery now.  For CWM Recovery, choose “install from zip” and for TWRP, choose “Install” then find the SuperSU zip file and install it.

Step 27: Once rebooted, you should find SuperSU app in your app drawer. That was the end of rooting.
Congratulations, you’ve successfully rooted your HTC One M8!
You can also verify that you have full root by downloading and running a rooted app such as Titanium Backup app on Play Store.


You may also like...