Rooting is highly essential for anyone who wants to associate their Android phone with custom features. But then, rooting your Android has its own pre requirements. On Nexus devices, these requirements are pretty specific.
We have recently seen the two latest Nexus flagships by Google – Nexus 5X and Nexus 6P. We have already covered an article to Unlock bootloader, Install TWRP and Root Nexus 6P, and today turns out to be the day for the Nexus 5X. The first thing would be to unlock the phone’s bootloader, and then install TWRP recovery. Thereafter, we will make use of TWRP to flash Chainfire SuperSU root package.
The LG-built Google Nexus 5X was built to concrete the old foundation laid down by the Nexus 5. The phone has improvised overall in terms of hardware, design, and software, with Android Marshmallow 6.0 out-of-the-box. Without discussing any further, we will move on to unlock bootloader, install TWRP and root Nexus 5X.
Rooting may void your phone’s warranty. DroidOrigin shall not be held responsible for any damage to your Nexus 5X. If however, you come across any such issue, we will help you resolve it.
- Backup your 5X completely, including your internal storage, SMS, contacts, calendars, etc.
- Make sure your phone is charged to at least 60% battery level.
- Enable USB debugging on your Nexus 5X. If you don’t know how, you can follow the instructions here.
- Install Android SDK on your PC for ADB and fastboot access.
SuperSU Beta: BETA-SuperSU-v2.71-20160331103524.zip
TWRP recovery image for Nexus 5X: twrp-3.0.1-0-bullhead.img
STEP 1: Unlock Bootloader & Install TWRP
The major part of rooting the Google Nexus 5X would be covered in this step. Download all the files listed above in the Downloads section of this article.
- To begin with the unlocking procedure, you will first need to enable OEM unlocking in Settings > Developer options.
- Power off your Nexus 5X. Press and hold the volume down and power button until you see the bootloader screen.
- Now that your phone has entered bootloader mode, you can connect it to the PC via the USB Type-C cable.
- Open the folder where TWRP image file has been downloaded. On a space inside the folder, press SHIFT key and right-click, and then select Open command window here from the pop-up menu that appears.
NOTE: Unlocking the bootloader will wipe off everything including internal storage. Make sure you have a backup of everything before you begin.
- A new command-line window shall now open and you can enter the following command to start the unlocking process:
fastboot flashing unlock
- A warning prompt will be displayed on the phone’s screen. Now using the volume keys highlight Yes, and select it by pressing the power button.
- Now, just keep everything where it is, and flash the TWRP recovery:
fastboot flash recovery twrp-3.0.1-0-bullhead.img
- That would be it. You can now reboot the phone:
STEP 2: Root Nexus 5X
- Connect your Nexus 5X to the PC via USB Type-C cable and transfer BETA-SuperSU-v2.71-20160331103524.zip to the internal storage.
- Disconnect the device and power it off completely.
- The next step would be to boot into TWRP recovery mode. So, press the volume down and power keys altogether until you the see the bootloader screen. Now, use the volume buttons to highlight Recovery mode and press the power key to select it.
- Your Nexus 5X will now enter TWRP recovery.
- Tap on Install. Browse and select the BETA-SuperSU-v2.71-20160331103524.zip package.
- Swipe the ‘Swipe to confirm Flash’ button on the bottom, to start the flashing process.
- When its done, tap on Reboot system.
Make sure to select Do Not Install if TWRP offers SuperSU installation.
Confirm the root process by downloading and running the Root Check app.
You have been successful to root Nexus 5X running Marshmallow 6.0. The process was pretty simple and doesn’t require any kind of expertise in Android. How has rooting benefited you and your Nexus 5X? Let us know via the comments.
Also, read – How to flash Factory Images on Nexus devices