How to Root Nexus 6P on Nougat 7.0 NRD90M OTA and Disable Forced Encryption & dm-verity check

0
149
How to Root Nexus 6P on Nougat 7.0 NRD90M OTA and Disable Forced Encryption & dm-verity check
How to Root Nexus 6P on Nougat 7.0 NRD90M OTA and Disable Forced Encryption & dm-verity check

Android 7.0 Nougat is now officially available for the Nexus 6P and 5X. The update is currently being served as an OTA only, but factory images should arrive very soon. But the way has arrived to Root Nexus 6P easily.

Both Nexus 5X and Nexus 6P are getting Nougat update with build number NRD90M. And thankfully, rooting NRD90M is still the same as it was on the developer preview releases of Android N.

However, getting TWRP to work will be tricky once you install the Nougat OTA. It’s not because of Android Nougat update, but the dm-verity check and forced encryption on Nexus 6P that blocks TWRP 3.0.2-0 from booting on your device.

Thankfully though, we still have TWRP recovery version 2.8.7.0 for the Nexus 6P, using which you can sideload the SuperSU zip and get root access on Android Nougat 7.0 NRD90M update.

How to Root Nexus 6P on Nougat 7.0 NRD90M Update

Download SuperSU v2.76

Download TWRP Recovery 2.8.7.0

  1. Download TWRP recovery 2.8.7.0 from the link above and install it on your Nexus 6P via Fastboot.
    └ For help installing TWRP, follow our detailed guide → How to Install TWRP recovery via Fastboot.
  2. Download and save the SuperSU zip file from the download link above to your PC in a separate folder.
  3. Setup ADB and Fastboot on your PC.
  4. Enable USB debugging on your Nexus 6P:
    1. Go to your phone’s settings » About phone » and tap “Build number” Seven times. This will enable Developer options on your phone.
    2. Now go to Settings » Developer options » and tick the USB debugging check box.
  5. Now open the folder where you downloaded the SuperSU .zip file and then open a command window inside the folder. To do that, do a Shift + Right click on any empty white space inside the folder and select Open command window here from the context menu.
  6. Connect your Nexus 6P to the PC and issue the following command in the command window:
    adb reboot recovery
  7. Once your phone boots into TWRP recovery, do the following:
    1. Select Advanced from TWRP recovery main menu.
    2. Select ADB Sideload from advanced options.
    3. Check the Wipe Dalvik Cache and Wipe Cache check boxes.
    4. Finally Swipe to Start Sideload from the bottom bar.
  8. Now issue the following command in the command window to flash SuperSU zip:
    adb sideload UPDATE-SuperSU-v2.76-20160630161323.zip
  9. Once SuperSU zip is flashed successfully, you’ll get Reboot system option, select it.
  10. Before rebooting, if TWRP asks you to install SuperSU, make sure youselect “Do NOT install SuperSU”.

That’s all. To verify root access on your Nexus 6P running Android Nougat 7.0 NRD90M build, download/install any root checker app from the Play Store.

How to Disable Forced Encryption and dm-verity Check on Nougat

Once your Nexus 6P is rooted following the steps above, you can take a Titanium Backup of your Apps with data and transfer it to the PC (or cloud) so that you can format your device to disable forced encryption.

Note: All your device data will be wiped. Backup all important files on your device before proceeding with the steps below.

  1. Boot your Nexus 6P into recovery mode.
  2. Select Wipe from TWRP main menu.
  3. Select Format Data, then type yes and hit the Go button on keyboard.
    └ This will disable forced encryption on your Nexus 6P running Nougat.
  4. Reboot into recovery to access /data folder from TWRP. Select Reboot from TWRP main menu » then select Recovery option to reboot recovery.
  5. Since formatting data will also remove root access. You need to flash SuperSU zip again to get root access. Do this by either following the adb sideload method discussed above OR by simply transferring the SuperSU zip to the device’s storage and use TWRP’s install menu to flash the zip file.
  6. Reboot phone.

Install TWRP 3.0.2-1 on Rooted Nexus 6P running Nougat 7.0

Once you’ve disabled forced encryption on your Nexus 6P, you can install the latest version of TWRP recovery — 3.0.2-1. Grab the TWRP recovery 3.0.2-1 build for Nexus 6P from the download button below and then follow the link to install TWRP recovery via Fastboot.

Download TWRP Recovery 3.0.2-1 for Nexus 6P

How to Install TWRP Recovery via Fastboot