阅读全文

How to Root Nexus 5X Nougat 7.0 Update

After installing NRD90M Nougat OTA update on your Nexus 5X, you will lose root access, TWRP recovery, dm-verity and forced encryption disabler. To get root access back, you will need to flash TWRP recovery 2.8.7.0 back to your device because 3.0.2 won’t boot with dm-verity and forced encryption enabled.
Also, even TWRP 2.8.7.0 won’t be fully supported. You won’t be able to install zip files from internal storage as the recovery wouldn’t mount /data folder. But thankfully, you’ll be able to sideload zip files from your PC. And that’s exactly how we will flash the SuperSU zip and get root access.
  1. Download TWRP recovery 2.8.7.0 from the link above and install it on your Nexus 5X via Fastboot.
    └ For help installing TWRP, follow our detailed guide → How to Install TWRP recovery via Fastboot.
    • BE CARE:in above step, DO NOT DO THE STEP 9(fastboot reboot)
    • BECAUSE:对于安卓7.0来说,刷入twrp后,立刻将设备进入选择recovery模式(因为重启twrp可能会失效,这是安卓7的安全机制)
  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 5X:
    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 selectOpen command window here from the context menu.
  6. Connect your Nexus 5X 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 5X running Android Nougat 7.0 NRD90M build, download/install any root checker app from the Play Store.