How to Root HTC One M8!

Download this video for viewing in HD on your smartphone or computer.
Click Here to Download High-Quality HD video to your Smartphone or Computer.
For those of you who want to root your HTC One M8, the steps are nearly identical to the original HTC One M7 root method except different CWM/TWRP recovery file is used.  I will be using Windows computer in this tutorial but I have provided the code you need for Mac and Linux, also you can refer to HTC One M7 Mac video and HTC One M7 Linux video.
For rooting Verizon HTC One M8, please see How to Root Verizon HTC One M7/M8 instead!
If you want to root the latest HTC One M8, here’s how to do it.  Before we begin, make sure to MAKE A BACKUP of EVERYTHING on your phone.  We will first unlock the bootloader, which will ERASE EVERYTHING on your HTC One M8, you’ve been warned!
Step 1. Go to Settings->Power and make sure “Fast boot” is checked OFF.

Step 2. Power off your HTC One M8 then hold down Volume Down and Power buttons for about 3 seconds until you see the bootloader menu like shown below:
howto-root-htcone-m8-2
Step 3. Hit the Power button once and you should now be in FASTBOOT mode.
howto-root-htcone-m8-3
Step 4. Connect a micro-USB cable from your HTC One M8 to your computer.
howto-root-htcone-m8-4
Step 5. Download fastboot.zip and unzip the file, you should get a folder called “fastboot” in your Downloads directory.
Download fastboot.zip
howto-root-htcone-m8-5
Step 6. Next, go to the CWM/TWRP recoveries section of HTCOneRoot.com and download the appropriate CWM or TWRP recovery for your HTC One M8 model.
howto-root-htcone-m8-6
howto-root-htcone-m8-7
Step 7. Copy the downloaded CWM or TWRP recovery image (file ending in .img) to the fastboot folder you unzipped earlier.
howto-root-htcone-m8-8
Step 8. If using Mac or Linux, you can skip this step as no drivers are needed.  If using Windows, open Device Manager (If you don’t know how to open Device Manager, please Google it!) and check that you have “My HTC” or “Android ADB”.  If you don’t, you need to install HTC drivers, download HTC One M8 Drivers and run it then come back to this step.
howto-root-htcone-m8-9
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
howto-root-htcone-m8-10
Step 10. Copy the identifier token to your clipboard.  If you don’t know how to do this, see my video tutorial.
howto-root-htcone-m8-11
howto-root-htcone-m8-12
Step 11. Next, go to HTCDev.com and choose “Unlock Bootloader” and hit “Get Started”.  You will need to register for the site first if this is the first time using the site.
Then choose “HTC One (M8)” and click on “Begin Unlock Bootloader”.
howto-root-htcone-m8-13
Step 12. Agree to the terms and click on “Proceed to Unlock Instructions”.
howto-root-htcone-m8-14
Step 13. Scroll all the way down and click on “Proceed To Step 5″.
howto-root-htcone-m8-15
Step 14. Scroll down and paste your identifier token you copied earlier in the box where is says, “My Device Identifier Token”.
howto-root-htcone-m8-16
Step 15. You should get a message like below if it was successful.  If not, try Step 10 again and watch my video tutorial that shows you how to copy it exactly.
howto-root-htcone-m8-17
Step 16. Check your e-mail inbox and you should have gotten an e-mail from HTC with an unlock code file.  Download this file and copy it to your fastboot folder.
howto-root-htcone-m8-18
howto-root-htcone-m8-19
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
howto-root-htcone-m8-20
Step 18. 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 seconds.
howto-root-htcone-m8-21
Step 19. Once rebooted, sign in to your HTC One M8.
howto-root-htcone-m8-22
Step 20. Repeat Step 1,go to Settings->Power and make sure “Fast boot” is checked OFF.
howto-root-htcone-m8-23
Step 21. Connect your HTC One M8 to your computer and copy over the SuperSU zip file.
Download SuperSU zip file
howto-root-htcone-m8-24
Step 22. Repeat Step 2 thru 4 and reboot your HTC One M8 into fastboot mode.
howto-root-htcone-m8-25
Step 23. Next, type:
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”.
howto-root-htcone-m8-26
Step 24. Choose HBOOT and select Power button on your HTC One M8′s screen.
howto-root-htcone-m8-27
Step 25. Choose “RECOVERY” and hit the Power button.
howto-root-htcone-m8-28
Step 26. You should now be in CWM or TWRP Recovery.  For CWM Recovery, choose “install from zip” and for TWRP, choose “Install” then find the SuperSU zip file and install it.
howto-root-htcone-m8-29
howto-root-htcone-m8-30
howto-root-htcone-m8-31
Step 27. Once rebooted, you should find SuperSU app in your app drawer.  Congratulations, you’ve successfully rooted your HTC One M8!
howto-root-htcone-m8-32
You can verify you have full root by downloading and running a rooted app such as Titanium Backup app on Play Store.
howto-root-htcone-m8-33
Credits:
Thanks to ChainFire for awesome SuperSU and TWRP Team for awesome TWRP recoveries.

0 Response to "How to Root HTC One M8!"

Post a Comment