How to Root Nexus 6P

Status: Available. Thanks to custom kernel becoming available, one that is of permissive SE Linux policy and disables forced encryption, we not have root access on Nexus 6P. Yay! Just follow our guide below for Nexus 6P root, which is pretty easy to get, and once reason why you bought yourself a Nexus device.

On Android 6.0, you need a custom kernel set to permissive type to be able to enjoy root access. Which is why simply flashing the SuperSU root package from TWRP recovery won’t root Nexus 6P.

Luckily, we now have a custom boot kernel for Nexus 6P available, meaning root access on Nexus 6P is a go. This is more good news for Nexus 6P users after factory images were released earlier.

Thanks goes to Chainfire to this, who like for the other Nexus devices earlier, including the Nexus 5X, shared the custom kernel for Nexus 6P too.

All you need to achieve the Nexus 6P root now is available. Just follow our guide to grab root now.

Supported devices

  • Huawei Nexus 6P, codename angler
  • Don’t try this one any other device!

Important: Check your device’s codename on free Android app called Droid Info. If you see the codename mentioned above in the app, then use this recovery, otherwise not. BTW, you can check device’s codename on its packaging box too.

Downloads

  • Modified boot image — Link | File: angler-mdb08k-boot.zip (9.48 MB)
  • TWRP recovery — Link | File: twrp-2.8.7.0-angler.img (15.9MB)
  • SuperSU root package — Link | File: BETA-SuperSU-v2.52.zip (3.8 MB)

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

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

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.

Nexus 6P Root Video Tutorial

Here is a video tutorial right below that shows how you can root your Nexus 6P using Chainfire’s root method, and it uses the guide below exactly.

It’s good if you watch the video and proceed with the guide. Especially if you are new to rooting and flashing stuff using fastboot commands and TWRP.

MRA58K Marshmallow Root for Nexus 5, Nexus 6, Nexus 7 and Nexus 9 [Chainfire method]

How to Root Nexus 6P

Required:

  1. Also make sure that your Nexus 6P runs build MDB08K, as the above boot image is based on that. If not, then get the MDB08K build from our page on Nexus 6P factory images, and install it using the guide given there.
  2. Make sure you have unlocked bootloader of Nexus 6P. This will delete data, and until you have done this, you cannot root your device.

Step 1. Download the three files required for Nexus 6P root using this method.

Which means, just to be clear, download the modified boot image file (in .zip format), TWRP file, and then the SuperSU file.

Step 2. Create a new folder called nexus6proot, and transfer the three downloaded files into that folder.

Step 3. In nexus6proot folder, extract the zip file to get boot.img file from it. 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.

So, you now have boot.img and twrp.img in the folder called nexus6proot, right? Cool.

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

Step 5. Connect the device to PC, and transfer the SuperSU file to your Nexus 6P. Remember the location of the file. 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. You will see FASTBOOT written at top.

This screen should be displaying the bootloader status as Unlocked, at the bottom of the screen. If it says Locked, then you need to unlock bootloader fo your Nexus 6P first, and for that see the link right above step 1 above.

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

  1. Open that nexus6proot 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 nexus6proot folder.

Step 8. Test whether fastboot is working alright. Connect the device to PC first, and then in the command window, run 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. Flash modified boot image now. Use the following command for that.

fastboot flash boot boot.img

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

Step 10. Boot into TWRP recovery now to be able to flash SuperSU on next steps. Use the following command for that.

fastboot boot twrp.img

→ Once you are in TWRP, allow it to mount system as read/write.

We are using the boot command above, which doesn’t installs TWRP recovery actually, but allows us to boot into it using the TWRP image on PC. This way stock recovery is retained upon root, which is required for installing OTA updates.

If you want install TWRP permanently, then use the following command

fastboot flash recovery 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.)

Step 11. When done, simply reboot to Recovery mode now. (SKIP this step if you used the boot command above, as you are already in TWRP.)

For this, disconnect the device. Now, use Volume up/down button to bring up RECOVERY menu, and then use Power button to select it.

You will boot into recovery mode now, and will see TWRP recovery.

→ Once you are in TWRP, allow it to mount system as read/write. Go to Mount menu, and make sure system is selected.

Step 12. If you are unable to use Install menu on TWRP, then you need to format data of your Nexus 6P. For this, tap on Wipe, and then tap on Format Data. Then type yes to format data, which will remove encryption on your device.

Step 13. Now’s the time to root your Nexus 6P. Install SuperSU now.

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

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

That’s it. Your Nexus 6P is now rooted wit Chainfire’s root trick.

Need help?

Let us know via comments section below if you need any help rooting Nexus 6P, or are stuck somewhere.

Via Chainfire

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: kapil@theandroidsoul.com