Nexus 6P is yet to get in the hands of the folks who pre-ordered but root is already achieved on the device. This happens only for a Nexus device.
Google released the Nexus 6P factory image yesterday, following which the folks over at TeamWin released the official TWRP recovery for Nexus 6P earlier today, and now a modified boot image from Chainfire is also available so you could safely root Nexus 6P with SELinux in enforcing.
Chainfire’s modified boot for Nexus 6P won’t set SELinux to permissive mode to get root access. Instead, it’ll patch the SELinux so it allows root while still running in enforcing mode.
The modified boot will also disable forceencrypt and dmverity on your Nexus 6P, so that you can decrypt it, and have a choice on encryption rather than the forced encryption on boot.
You can download Chainfire’s modified boot for Nexus 6P from the link below. Simply flash it via fastboot and then install SuperSU from TWRP.
[icon name=”download” class=”” unprefixed_class=””] Download Nexus 6P Modified Boot
How to Root Nexus 6P with Modified Boot
- Setup ADB and Fastboot on your PC.
- Unlock the bootloader on your Nexus 6P.
- Install TWRP recovery on Nexus 6P.
- Download the modified boot image for Nexus 6P from the download link above and extract/unzip the file to get boot.img file.
- Now boot your Nexus 6P into bootloader mode and flash the boot.img file using the following command:
fastboot flash boot boot.img
- Download and flash the latest SuperSU zip beta (v2.52).
That’s all. Your Nexus 6P should be rooted now with SELinux in enforcing.
Happy Androiding!
via xda
Discussion