These are the instructions to root Nexus 6P on Android 6.0 Marshmallow. The same guide will show you how to install a custom recovery on your device, since you must get root access using that recovery.
- You need to first unlock the bootloader on the Google Nexus 6P  before you can go ahead and root Nexus 6P on Android 6.0 Marshmallow.
- The following guide is made for the Google Nexus 6P smartphone, with an emphasis on the ‘P’ at the end. The smartphone we are talking about here launched during October of 2015 and is not the same as the normal Google Nexus 6 devices.
- The guide is made with the latest Android 6.0 Marshmallow in mind. Sadly, this rooting method for 6.0 will likely come to an end when Google patch the current exploit we are using. If you are running Android 7.0 — or whatever number the next Android updates happens to be — you should think about finding an updated guide for that.
BEFORE WE BEGIN
- Download the Huawei USB drivers for the Windows PC since you are using the Huawei Nexus 6P by Google. Download the drivers directly to the computer and not the phone. Now that you have the driver on the computer, it lets your device talk to the programs running on that computer.
- You should backup the data before starting the guide. You can install apps from the Google Play Store to help you backup the data. The Helium app is popular to backup the application data so you don’t lose any apps on your device. You can find additional apps to backup additional data. For example, you’ll find apps to help you backup your contacts. Those who do not want to use apps, can download the data and store it on the computer. Alternatively, you can check out any built-in backup options from your device.
- You are voiding the warranty by getting root access on the Google Nexus 6P using this guide. You’ll need to unroot and remove the custom recovery if you want to send it away for free repairs under warranty. Flashing a stock ROM and recovery on your Nexus should help getting that done.
HOW TO ROOT GOOGLE NEXUS 6P ON ANDROID 6.0 MARSHMALLOW
- Download the updated version of SuperSU to your computer from this link .
- Connect the Google Nexus 6P to the computer.
- Copy and paste the SuperSU file from the desktop to the internal SD card on the smartphone.
- Unplug the Google Nexus 6P from the computer.
- Learn how to install a custom recovery on the Google Nexus 6P  smartphone.
- Now that you have a custom recovery installed, choose the ‘Install’ option from the main recovery menu.
- Choose the ‘flash zip from SD card’ option.
- Browse the SD card for the SuperSU file.
- Swipe to confirm you want to install the SuperSU file.
- The SuperSU will now flash on your Google Nexus 6P.
- Once it’s complete, go back to the main recovery menu and choose the reboot system option.
Since installing a custom recovery was required in getting the root access, you should now have both a custom recovery and root access on the Google Nexus 6P smartphone running Android 6.0 Marshmallow.