How to Root the HTC One M8

  • MORE

HTC One M8

By rooting (aka gaining admin rights to) your HTC One M8, you can install a custom ROM, run rooted apps, undervolt or overclock the processor and even remove all the bloatware your carrier put on the phone. A developer over on the XDA developer forums called Hasoon2000 has created a great toolkit for automating the process. Just change a few settings on the phone, install the drivers, click a few times in the toolkit and  you'll open the door to an entirely new world of custom modifications, tweaks, and ROMs becomes.

Here's how to root the HTC One M8:

Note: This method only works on Windows so you need a Windows computer to complete this procedure. 

1. Go to Settings > Battery Manager > Turn OFF Fastboot on your phone.

1

2. Download the latest version of the developer's toolkit and save it to your Windows desktop.

2

3. Download and install WinRar so you can extract the .rar file from the developer.

3

 

 

MORE: 5 Ways to Speed Up Your Android Phone in Under 5 Minutes

4. Right-click the toolkit .rar file you downloaded earlier and select extract.

4 

5. Double-click the One M8 .exe file inside the newly created folder (and give it permission to open if it's blocked by Windows).

5

6. Highlight Download HTC Drivers and click Go.

6

 

7. Install the drivers once they download.

7

 

8. Highlight Register at HTCDev and click Go.

8

 

9. Register on HTCDev (make sure to use a real email as we'll need something sent to it later) and confirm your account.

9

10. Go to Settings > About > Software Information > More > Keep tapping on Build Number until it says you are a developer.

10

11. Go to Settings > Developer Options > Turn USB Debugging On.

11

 

12. Plug your device in via USB.

12

 

13. Check "Always allow" and tap OK.

13

14. Highlight Get Token ID and click Go.

14

15. Close the first command prompt when your device shows Fastboot mode.

15

16. Copy everything from and including <<<< Identifier Token Start >>>> to <<<<< Identifier Token End >>>>> and save it somewhere on your computer.

16

17. Highlight Submit Token ID and click Go.

17

18. Log in to the HTC Dev site when it appears and then go to HTCDev.com and click on Unlock Bootloader.

18

19. Choose your device from the drop down and click Begin Unlock Bootloader.

19

20. Skip all of the steps and just click Next until you get to the part where it asks you to input the Token ID.

20

21. Paste the Token ID we copied earlier into the text box and click Continue.

22

22. Save the Unlock_Code.bin file you receive by email to your desktop.

22-2

23. Highlight Unlock Bootloader and click Go.

22

24. Choose the Unlock_Code.bin file when prompted and click OK.

24

25. Use the volume buttons to highlight yes and the power button to select it when prompted by your device.

25

26. Reenable USB Debugging by going to Settings > About > Software Information > More > Keep tapping on Build Number until it says you are a developer.

10

27. Go to Settings > Developer Options > Turn USB Debugging On.

11

28. Highlight the recovery for your device and click Go.

28

29. Close the first command prompt when your device shows Fastboot mode.

15

30. Close the second command prompt when it says finished.

30

31. Use the volume buttons to highlight Reboot and push the power button to select it.

31

32. Highlight Perm Root under Extras and click Go.

32

33. Close the first command prompt after it shows something was transferred.

33

34. Tap on Install in recovery mode and tap the SuperSU.zip file.

34

35. Swipe to install it.

35

36. Tap Reboot > System.

36

37. You should see SuperSU in your app drawer if everything worked out. Enjoy!

37

 

 

David Cogen's site, TheUnlockr.com, is a popular site for rooting, jailbreaking, hacking, modding, and other how to's to show you how to unlock your device's true potential. If you want to see what you can do with your HTC One M8 now that it's rooted, head to the ROM repository to flash a custom ROM and open up a new world of possibilities.

Add a comment
10 comments
  • Jnnik Says:

    My friend recommend root tool to me ,she have successfully rooted android phone,like AnyRooter,i want to try ,wish luck,

  • Onlyou Says:

    I have been looking for the easy way to root htc device , as you say,this software can block any ads on my android phone, and improve the battery life ,it's very good ,i want to try,thanks,

  • Alex Says:

    i got too step 34 "Install in recovery mode" but i don't see that coming up on my phone.
    what do I do?

  • Akira Says:

    1.I had follow this website step let HTC M8 Root
    2.But HTC Offical have new release upgrade for G4 patch program
    3.Can not upgrade part 2.
    It always show the Team Win Recovery Projoct 2.7.0.2 Program ...
    4.How to upgrade and keep Root ?

  • tagvor Says:

    Really straight forward and worked great. Thank you

  • marco Says:

    where i can find htc drivers for win7?

  • Erick Says:

    I got to step 30 and the command prompt says failed data transfer unknown error cant go any further

  • GrahamG Says:

    Really straightforward step-thru of the M8 rooting process. Followed instructions to the letter and within 20 mins (which included a coffee break!) I'd rooted my brand new HTC One M8. Job done. A big thank you for putting this together.

  • Mickyarams Says:

    Nice straight forward walkthrough, Evrything worked. Thanks!

  • yuppicide Says:

    I've had a few phones over the years, but have never actually rooted one. I did read up on it and I wonder why is it that most root tutorials I read are missing steps or incomplete? This one is no different. A few of the steps were different or not mentioned, but I did manage to figure things out on my own, so still a big thanks from me. My phone is rooted and those pesky Sprint apps are gone!! Bye bye Facebook app I do not use!

    There's a few things I needed to figure out on my own, but an example one one of the steps says "31. Use the volume buttons to highlight Reboot and push the power button to select it." and then the next step says "32. Highlight Perm Root under Extras and click Go.".. this does not work.. reboot reboots your phone into Android and then you cannot transfer the file over. I figured out that I needed to use the Power / Vol - button and go back to Fastboot USB I believe.. or maybe at that step it was Recovery. Eitherway I figured it out.

Back to top