The Team Win Recovery Project developers have released a new version of their TWRP for the Nexus 6P. The new build decryptsย the userdata right from the recovery.ย Google by default encrypts it’s Android software as a privacy measure. With initial builds, TWRP recoveriesย were unable to achieve decryption for the latest Nexus devices like 6P. However, with the tireless efforts from the developers, it is now possible.
As the support for decryption is enabled, TWRP will prompt you for a password if theย device requires itย on reboot. On the other hand, the recoveryย will automatically decrypt yourย device using the “default_password”, just like the normal operation ofย Android, without prompting.
This is a greatย news for all the Android flashers and modders who want to enjoy the stock firmware at it’s best with aย custom recoveryย intact. Hereย is a tutorial that will help you flashย the latest TWRP 2.8.7.2ย recovery onto your system.
We have also listed the latest SuperSU v2.56 package which is OTA friendly. Meaning, you can root your Nexus device and still receive the official OTA updates from Google. However, it is in experimental stageย andย you should be cautious about it. We recommend that you visit the developer page from download section before you proceed.
Thisย tutorial is meant for the those who have an unmodified system. If you already have TWRP installed and have root access, then install the TWRP with flashify or from within the recoveryย itself.
Warning: Warranty may be void if you root or install TWRP on your device. We at DroidViewsย wonโt be liableย for any damage to your device whatsoever. We wonโt be held responsible if you brick your device. Readerโs discretion is advised.
Backup Apps and Data
While this process may not wipe any of your data, a backup is highly recommended. However, unlocking bootloader will remove apps and data. Once you install a custom recovery like TWRP, make sure you backup your system, data, etc.ย fromย the recovery. It will be helpful in case anything goes wrong.
Downloads
Here is a modified boot image that will help you install TWRP and gain root access without any complications. Listed is the latest TWRP build.
- Modified boot imageย โ Downloadย | File: angler-mdb08k-boot.zip (9.48 MB)
- TWRP recovery โ Downloadย | File:ย twrp-2.8.7.2-angler.img (16.4ย MB)
- SuperSU v2.52 โย Downloadย | (File:ย BETA-SuperSU-v2.52.zip)
How to Install TWRP 2.8.7.2 on Nexus 6P
This procedure will unlock the bootloader, flash a modified boot image, install TWRP recovery and then root your device. Unlocked bootloader is required to install a modifiedย boot image and setup a custom recovery. However, through custom recovery, you can flash custom packages for instance,ย the SuperSU file to root your device. If you have already unlocked your bootloader, then skip it.
Prerequisites
- Unlocked bootloader is required to install a custom recovery like TWRP on your device. We will go through the process in the following tutorial.
- Set up ADB and Fastboot on your computer. You can download the full Android SDK from here,ย or get the quick ADB and fastboot installer fromย here.ย For Mac or Linux OS, click here.
- Installย Nexus USB Drivers on your computer.
- Open Settings> Developer options and enable USB Debugging on your device.
- Go to Developer options and enable Allowย oem unlock. This is important.
Installation Instructions
- Make sure you have downloaded the boot image, recoveryย and suitable SuperSU zip files. Now transfer them to your PC. Also place the SuperSU package file into your deviceโs internal storage.
- Make sureย you have setup ADB and fastboot on your PC.ย Alsoย acceptย Always allow from this computer when you plug in the device for first time to enable USB Debugging.
- Now power off your device and unplug it from your PC.
- Boot into the bootloader or fastboot mode. To do so, press and hold volume down and the power button simultaneously for 5-6 seconds. When youย see the bootloader screen, connectย your device to the PC using a USB cable.(Choose fastboot if option is available) You can also issue the following code, while connected to the PC, to boot into the bootloader.
adb reboot bootloader
- Navigate to the location where you have placed the boot image and recoveryย files and extract them to get files with .img file. Rename the boot and recovery file to a simple one, like m-boot.img and twrp.img respectively just for your convenience.
- While the folder with boot andย recoveryย file is open, hold shift key on your keyboard and right-click on an empty space and select โOpen command window hereโ option to launch a command prompt window.
- Now typeย the following in the command prompt to check ifย fastbootย is working correctly. It should provide the serial number of your device.
fastboot devices
- Now this is important. Make sure your device has unlocked bootloader. If not, then you first need to unlock it and then flash the boot and recovery image to your system. To do this issue the following command. Choose yes on the device screen if prompted.
fastboot oem unlock
- Flash the modified boot image by issuing the following command where โm-bootโ is the name of the boot image.
fastboot flash boot m-boot.img
- Now flash the customย recovery. Issue the following command for that. โtwrp.imgโย being the name of the recovery file.
fastboot flash recovery twrp.img
- Customย recovery will now be installed on yourย device.ย Now boot your phone into recovery mode. You can do this by turning your device off and then press and hold volume down and power keys at the same time. Or simply issue the following command while the device is still plugged in:
adb reboot recovery
- Once into the recovery, you can backup or nandroid backup yourย current ROM.
- Now return to the recoveryย home screen and tap Install and navigate to the SuperSU file in your deviceโs storage and select it.
- Confirm the swipe operation at the bottom to install the SuperSU package.
- Once the installation is complete, reboot to system.
Now you will have the latest TWRP and root access on your Nexus device. If the device doesnโt boot or gets into bootloop, you can always restore the ROM from the backup. Verify root using aย root checker app that supports Android 6.0 Marshmallow.
Revert Back to Stock:
How to Install Latest Factory Image on Nexus 6P
For queries, comment down below. If we have helped you, then like and share us on social platforms. If you need help with other devices, let us know.
“fastboot oem unlock” doesn’t work for the Nexus 6P, it is now “fastboot flashing unlock”.