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 the bootloader, install TWRP and root Nexus 5X.
Rooting may void your phone’s warranty. TheCustomDroid 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.
- Download the platform tools package for ADB and fastboot. Extarct the zip so you have the platform-tools folder containing all the necessary binary files.
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.
- Copy the TWRP image (twrp-3.1.1-0-bullhead.img) to the platform-tools folder.
- Now navigate to the platform-tools folder. 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.1.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 root package (SuperSU-v2.82-201705271822.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 SuperSU-v2.82-201705271822.zip package.
- Swipe the ‘Swipe to confirm Flash’ button on the bottom, to start the flashing process.
- When it’s 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.
[appbox com.jrummyapps.rootchecker googleplay ]
You have been successful to root Nexus 5X running Marshmallow 6.0. The process was pretty simple and doesn’t require any kind of expertize 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