How To Root Nexus 6P and 5X: Step-By-Step Tutorial

root nexus 5x and 6p

Step-By-step guide on how to Root Nexus 6P and 5X

Google’s latest flagship devices Nexus 6P and 5X have certainly got some glazing eyeballs from Android lovers. Nexus series always has the latest hardware along with up-to-date version of Android. In addition, they are always the first to receive Android update.

This gives an edge to developers as well, they can design custom ROMS for other devices from Nexus, before other manufacturer releases update for their devices. Today we will guide with step-by-step tutorial on how to root Nexus 6P and 5X. Make sure you check what does root mean, along with common terms used while rooting; in case it is your first time with Rooting process.

In case, if you have other Android phone apart from Nexus, you can check out our Rooting guide that supports more than 100 different makes and models. These guide doesn’t need you to have a PC or any other fancy stuff. It’s just one click Root tool designed for almost all Android mobiles.

Before moving on to rooting, better prepare yourself with below prerequisites.

  • Make sure the USB cable you are using is compatible as well as of good quality
  • Download and Install Android SDK on your PC
  • Download and Install ADB drivers
  • You will need to download correct rooting files for your device. MAKE SURE YOU DO NOT MAKE ANY MISTAKE WHILE CHOOSING THE FILE, AS ENTIRE PROCESS RELY ON THIS FILE. Check the ‘Build number’ from Settings > About Phone.
  • If you are using a Nexus 5x, check if the build number matches, and download the below two files:

Nexus 5X modified boot image (build number MDB08I)

TWRP recovery v2.8.7.2 for Nexus 5X (any build number)

  • If you are using Nexus 6P, check build number and download files given below:

Nexus 6P modified boot image (build number MDB08K)

TWRP recovery v2.8.7.2 for Nexus 6P (any build number)

  • Download SuperSU, there is no condition on which Nexus model or build you have, below is the same file to be used on any of the Nexus devices.

SuperSU v2.56 (“systemless” version) Move it to your Phone storage after downloading is completed.

Now, lets move ahead with Rooting your Nexus, make sure you have enabled “OEM Unlocking” from Developer’s option. If you aren’t sure how to get the Developer’s option, refer to the guide on how to get developers option on Android.

OEM unlocking

How to Root Nexus 6P and 5X

Step #1: Very first thing you need to do is to get your Nexus in Bootloader mode. To do this, turn off you device completely and wait for few seconds till your mobile is completely switched off. Now press and hold Volume Down along with Power button.

unlock bootloader

Step #2: Now connect your Nexus device to your PC using the cable.

Step #3: On you PC open the folder in which you installed Android SDK, it should be C:\Program Files (x86)\Android\android-sdk\platform-tools\. (Path maybe different if you have installed it on other locations). When you reach Android SDK folder: Press SHIFT and Right Click anywhere in open space, from the menu select ‘Open Command window Here

unlocking bootloader 1Step #4: In the command prompt window, type: fastboot devices. This will result in series of letters and numbers on your screen, proving that everything is going according to plan. If you do not get these letters and numbers, then there is some issue with your device drivers. Make sure you have installed ADB drivers correctly.

Step #5: Now type: fastboot flashing unlock in command prompt. Now you will see a message on your Nexus asking whether you wish to unlock bootloader. Use the volume key to navigate through options and reach ‘YES’, once you have reached the option, press Power button to confirm. Phone will automatically wipe all its data and reboot again in bootloader mode.

unlock bootloader1

Step #6: Leave your device in Bootloader mode and also keep the Command window open, we will soon get back to them.

Step #7: Now move the ‘Boot.img’ and ‘twrp.img’ you downloaded earlier to the Android SDK folder. It’s the same folder from where we opened Command window.

Step #8: First flash the modified Boot.img. Get back to command window and type: fastboot flash boot boot.img

flash boot img

Step #9: Now flash the Recovery file by typing the command as follows: fastboot flash recovery twrp.img

Step #10: Now make TWRP as your permanent recovery. Press Volume down button twice on your Nexus to highlight Recovery Mode in Bootloader and then press the power button to select it.

Step #11: This will boot your device in TWRP recovery, along with an option at bottom asking to make TWRP as your permanent recovery. Just slide the slider at the bottom to confirm the operation.

Step #12: Now you will be taken to TWRP main menu. Tap on ‘Install’ , from the file browser menu select the file you downloaded earlier. Simply, swipe the slider at the bottom to install SuperSU

twrp nexus 1twrp nexus 2twrp nexStep #13: Now tap on ‘Reboot System’ button in TWRP; this will bring a message from recovery that your device is not rooted. Ignore it and tap on ‘Do Not Install’.

twrp nex 1Voila! Your Nexus is finally rooted, to check whether process was successful or not; download Root Checker from Play store and verify it.