How to Root HTC One M9 on Android 6.0.1 Marshmallow

HTC One M9 is one of the most popular device from HTC and one of the best high-end smartphone in the market. The device recently received Android 6.0.1 Marshmallow update. The new update come with some bug fixes and security improvements. This guide is about how to update your device but about how to gain root access after you update your HTC One M9 to Android 6.0.1. Marshmallow.


Before You Begin

  • This guide is only for the HTC One M9. Don’t try this guide on any other smartphone.
  • Your device should have at least 40% battery.
  • You’ll need a Windows based PC or Laptop.
  • Bootloader of your HTC One M9 device must be unlocked.
  • Download and Install USB Drivers for your Motorola device in your PC or Laptop.
  • Enable USB Debugging in your Moto X Style.


How To Flash Custom Recovery And Root HTC One M9

  • Follow all steps written in the “Before You Begin” section and download all the required files from above.
  • Download and extract the ADB & Fastboot zip files in a empty folder on your PC’s desktop.
  • Move the downloaded TWRP Custom Recovery img file in the same folder where you extracted the ADB & Fastboot files.
  • Connect your HTC One M9 to PC using data cable (Make sure USB Drivers are installed in your PC).
  • Move the downloaded SuperSU zip file in your device’s internal storage.
  • Now, Open py_cmd.exe or MAF32.exe from the ADB & Fastboot folder.
  • Now give the commands in the cmd : adb devices
  • After that, give another command : adb reboot bootloader
  • And now give this command to flash custom recovery : fastboot flash recovery recovery.img
  • Now, Turn off your device and then Press and hold the Power button and Volume down button to boot your device in bootloader mode.
  • Use Volume buttons to scroll to the Recovery option and Power button to select Recovery option
  • Finally you’re in TWRP Recovery mode, Tap on Install and select SuperSU zip file, Swipe to confirm the flashing.
  • Once SuperSU zip file is flashed, boot your device into System.

That’s it!! Congrats, Your HTC One M9 running on Android 6.0.1 Marshmallow is successfully rooted now and TWRP custom recovery is flashed.

About the author

You can follow him on Twitter,
Facebook and Instagram