Root One M8 Marshmallow Update

Here’s how you can root the latest Marshmallow update on HTC One M8. You are going to flash a modified boot image first for this via TWRP, and then flashing the SuperSU would do the job.

If you install SuperSU directly, this will brick your device. So, be sure to install the modified boot image (custom kernel) first, and only then flash SuperSU using TWRP recovery.

Downloads

  • Modified boot image — Link | File: m8-mmgpe-su-boot.zip
  • TWRP recovery — Link | File: twrp-2.8.7.0-m8.img
  • SuperSU 2.56 root package — Link

Here is what we’re gonna do with the above.

We are going to install the modified boot image first, then boot into TWRP recovery, and will then use the TWRP to flash all new SuperSU 2.56 package to acquire root access.

Supported devices

  • HTC One M8, Google Play edition (GPe)
  • Don’t try this one normal HTC One M8 or those at US carriers like T-Mobile, Sprint, Verizon, AT&T, US Cellular, etc.
  • Don’t try on any other device whatsoever!

Warning

Warranty may be void of your device if you follow the procedures given on this page. You only are responsible for your device. We won’t be liable if any damage occurs to your device and/or its components.

Backup!

Backup important files stored on your device before proceeding with the steps below, so that in case something goes wrong you’ll have backup of all your important files.

How to Root One M8 Marshmallow Update

Step 1. Make sure you have updated your One M8 Gpe to Marshmallow.

Step 2. Download the three files required for Marshmallow root using this method. So, download the modified boot file (in .zip format), then TWRP file, and then the SuperSU 2.56 file. Keep them in a new folder called root6m8 so that things remain neat.

Step 3. In root6m8 folder, rename the TWRP recovery file to twrp.img — this makes it easy to enter commands when installing the boot and TWRP recovery below in this guide.

Step 4. Install ADB and Fastboot drivers on your Windows PC.

Step 5. Connect the device to PC, and transfer the modified boot image and SuperSU file to your One M8 GPe. Remember the location of the files. Then disconnect the device from PC.

Step 6. Boot your device into bootloader mode. For this,

  1. Power off the device. Then wait for 4-5 seconds after screen goes off.
  2. Press and hold Volume down + Power button together to enter bootloader mode.
  3. Now, choose fastboot and select that option using power button.
  4. Connect your M8 to PC and it should read FASTBOOT USB on your M8 now.

Step 7. Now, open command window in the root6m8 folder, in which you have the modified boot and TWRP files. For this:

  1. Open that root6m8 folder and then left click on empty white space in the folder.
  2. Now, while holding shift key, right click on empty white space to get a pop-up as shown below.
  3. Now choose Open command window here option from that.

open command windows here
You will see a command window open up, with location directed to root6m8 folder.

Step 8. Test whether fastboot is working alright. In the command window by running the following command.

fastboot devices

→ Upon this, you should get a serial no. with fastboot written after it. If you don’t get fastboot written on cmd window, then it means you need to reinstall adb and fastboot drivers, or change restart PC, or use original USB cable.

Step 9. Make sure your One M8 GPe is bootloader unlocked. Skip this step if your device is already unlocked (check the Lock status at bottom of the screen in bootloader mode).

If your device is not bootloader locked, then do this to unlock bootloader of it. This WILL DELETE everything on the device. Device will restart after this,

  1. Run the following command first.
    fastboot oem unlock
  2. Now, look at device’s screen, and press Volume up button to choose Yes. (Upon doing this, your device’s all apps and data will be deleted.)

→ Because unlocking the bootloader will delete everything on device, you will need to transfer the SuperSU file again (step 4).

Step 10. Boot into TWRP recovery image now. Use the following command for that.

fastboot boot twrp.img

(You have to use the recovery image’s filename in the above command, which in our case is twrp.img, from step 2.)

Note that we are only booting into TWRP for one-time use, not actually installing it. If you want to install TWRP permanently, then use the following two commands. First one will install TWRP recovery, and then second one will boot into TWRP. Second command is just for ease, and can be skipped if you wanna boot into TWRP on your own.

fastboot flash recovery twrp.img
fastboot boot twrp.img

That’s it. Either way, you should be in TWRP recovery now.

Step 11. Now’s the time to root Marshmallow update on your One M8 GPe. Install modified boot image now.

In TWRP, tap on Install, and then select the boot image’s file. Next, do the swipe action at bottom of the screen to flash the boot image.

Step 12. Install SuperSU now. Tap on back button, then on Install, and then select the SuperSU 2.56 file. Next, do the swipe action at bottom of the screen to flash the SuperSU file.

Step 13. When done, tap on Reboot System button to restart the device.

That’s it. Your One M8 GPe on Marshmallow update is now rooted.

Need help?

Let us know via comment section below if you need any help with modified boot image root trick for your One M8 GPe.

Posted by
Kapil Malani

A die-hard Liverpool FC fan, Kapil is a big fan of Batman, Android and street Cricket. In that order, probably. Email: [email protected]

4 Comments

  1. How to root ‘ normal ‘ HTC One M8 Marshmallow ? Thank you

    1. You have to unlock bootloader of your device first, then install TWRP recovery, and then use TWRP toflahs SuperSU 2.52 to root. Search our site for help.

  2. Does higher SuperSu is also OK ?

  3. Got my M8 rooted by your advice perfectly. Thank you!

Comments are closed.