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:

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.

  1. To begin with the unlocking procedure, you will first need to enable OEM unlocking in Settings > Developer options.
  2. Power off your Nexus 5X. Press and hold the volume down and power button until you see the bootloader screen.
  3. Now that your phone has entered bootloader mode, you can connect it to the PC via the USB Type-C cable.
  4. 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.
  5. A new command-line window shall now open and you can enter the following command to start the unlocking process:
    fastboot flashing unlock
  6. 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.
  7. Now, just keep everything where it is, and flash the TWRP recovery:
    fastboot flash recovery twrp-3.0.1-0-bullhead.img
  8. That would be it. You can now reboot the phone:
    fastboot reboot


STEP 2: Root Nexus 5X

  1. Connect your Nexus 5X to the PC via USB Type-C cable and transfer to the internal storage.
  2. Disconnect the device and power it off completely.
  3. 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.
  4. Your Nexus 5X will now enter TWRP recovery.
  5. Tap on Install. Browse and select the package.
  6. Swipe the ‘Swipe to confirm Flash’ button on the bottom, to start the flashing process.
  7. 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.

Root Check
Developer: JRummy Apps Inc.
Price: Free

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

Previous articleImprove Multitasking on Android with Swiftly Switch App
Next articleInstall Android Marshmallow on Xperia Z using CM13
Dhananjay (DJ) is an Android devotee and a Tech Blogger by profession. He is a keen undergraduate, seeking and working hard on his ambitions to achieve something distinctive in his life. He prefers interacting with his readers in the most reproaching manner possible and his desires here are not just to reach out the tech figures, but also attract those those non-interested minds to our Android universe. He proudly owns Nexus 6P, Nexus 5, OnePlus One and a Nexus 4.