Great news! You can now root your new Huawei Nexus 6P and turn off encryption & verity checks while keeping SELinux in Enforcing mode thanks to the patched kernel (boot.img) created by Chainfire.
Here’s a step-by-step tutorial on flashing the modified boot.img and SuperSU to obtain full root privileges – and the ability to flash custom ROMs through TWRP.
Kernel Details
- Device: Huawei Nexus 6P
- Codename: Angler
- Android: v6.0.0 Marshmallow
- Required Build: MDB08K
- Status: Stock (Modified)
- Type: Flashable image
- Date: 28.10.2015
- File Name:Â angler-mdb08k-boot.zip
- Size: 9.5 MB
- Developer: Chainfire
Download Kernel: Mirror 1 | Mirror 2
SuperSU v2.52: Official Mirror | Size: 3.8 MB
How to Flash the Kernel + Root
1. Prerequisites
- You should have access to ADB & Fastboot on your computer and the necessary USB drivers should be installed.
- Unlocked bootloader
- TWRP 2.8.7.0 (Download & install here)
- Backup of stock unmodified boot image/kernel
- At least 30% battery
2. Procedure
Step 1: Download the kernel zip from above and extract boot.img from it. Copy this boot.img to the same folder as ADB & Fastboot.
Step 2:Â In that folder open command line (Shift + Right mouse button > ‘Open command window here’)
Step 3: Plug your Nexus 6P into the computer. Make sure USB Debugging has been enabled from developer options.
Step 4: Reboot your phone into the bootloader by executing this command: adb reboot bootloader
Step 5: Once your device reboots into the bootloader, flash the kernel: fastboot flash boot boot.img
Step 6: Now boot your phone: fastboot reboot
You should wipe your data partition through TWRP from Wipe > Advanced Wipe before using the device.
Congratulations – now you have disabled encryption & verity checks. Flash whatever you want!
Step 7: Reboot your phone into TWRP: adb reboot recovery
Step 8:Â Download SuperSU Beta from the aforementioned link and copy it to the adb folder.
Step 9: In TWRP go to Advanced > ADB Sideload and execute this command on the PC: adb sideload BETA-SuperSU-v2.52.zip
That’s all folks!
Like this post? Hit the share buttons below to share this article with your friends on Facebook, Google+ and Twitter.