Instructions to install TWRP for Nexus 5X phone


After the Nexus 6P, Nexus 5X was able Install TWRP Recovery version and allows decrypting the phone from recovery mode. This is great news for tinkering 5X owners. Due to security, Google puts encrypted by default. Therefore, for those who want the ability to simply turn it on and off and still want a custom recovery, can proceed with this guide.

Members of Team Win Recovery Project (TWRP) have managed to build a new version of their TWRP recovery for Nexus 5X in a short time. This is a great contribution to the Android community. The new build with version number will help decrypt the user data from the recall. If you have already installed TWRP build, TWRP will prompt you for a password if the device requires a reboot. Otherwise, TWRP will automatically decrypt devices using the default password, just like normal Android operations, without prompting.

Now that both phones have decryption support, those interested and ready to install this TWRP build can proceed without any risk. However, it is meant for non-customized devices aka used stock firmware. If you already have TWRP installed and have root access, then install TWRP with flashify or update it from within TWRP itself.

Xiandroid also listed packages SuperSU v2.56 The latest allows you to root your Nexus device and still receive official OTA updates from Google. However, the project is in beta and you should be cautious about it. We recommend visiting developer page. Links are provided in the download section.

Alert: Warranty may be void if you root or install TWRP on your device. We will not be responsible for any damage to your device. We will not be responsible if your device becomes “brick“. It is at the discretion of the reader to be notified.

Backup data and applications

While this process may not erase any of your data, a backup is highly recommended. However, unlock bootloader will remove apps and data. Once install custom recovery like TWRP, make sure you back up your system, data, etc. from recovery. It will be very useful in case something goes wrong or you want to roll back.


Here is a modified boot image that will help you install TWRP and gain root access without any complications and the latest TWRP build version.

Nexus 5X files

  • Modified boot image — Download | File:
  • TWRP recovery — Download | File: twrp-
  • SuperSU v2.52 – Download | (File:

OTA friendly

This is a new boot image and SuperSU allows OTA updates from Google. This is experimental and we advise you to visit the developer page and make a wise decision if you have doubts about it, then proceed with the above root and SuperSU.

  • Modified boot image — Download | File:
  • SuperSU v2.56 – Download | (File:

Perform TWRP Installation for Nexus 5X

This guide will unlock the bootloader, flash a modified boot image, install TWRP recovery and then root the phone. Unlocking Bootloader is required to install a modified boot image and set up a custom recovery. However, through custom recovery you can flash custom packages, for example, SuperSU packages to root the phone. If you have unlocked your bootloader, then skip it.


  • Unlocking the booloader is required to install a custom recovery like TWRP on your device. We will cover this part in the tutorial below.
  • Set up ADB and Fastboot on your computer. You can download minimal ADB and fastboot tool from now (unzip it) or get quick ADB and install fastboot from now.
  • Setting Nexus USB driver on your computer.
  • Open section Settings -> continue to the “Developer options” and activate USB Debugging on your device.
  • Go to the “Developer options” and activate OEM Unlock (“Allow oem unlock“).

Instructions for installing TWRP for Nexus 5X

  1. Make sure you have downloaded the recovery boot image and the appropriate SuperSU zip files. Now transfer them to your computer. Also put the SuperSU file packages into your device’s internal storage.
  2. Make sure you have set up ADB and fastboot on your PC. Also accept “Always allow from this computer” (Always allow from this computer) when you plug in the device for the first time to activateUSB Debugging.
  3. Now power off the phone and disconnect the USB.
  4. Boot into bootloader or fastboot mode. To do so, press and hold the volume down key and power button simultaneously for 5-6 seconds and when the phone vibrates, press the volume down button several times. The Nexus logo will disappear and you will get a black screen. Also, to boot into flashmode/fastboot mode, you will need to turn off the device. Hold down the volume up or volume down button and then connect your device while holding down the volume key.

    adb reboot bootloader

  5. Navigate to the location where you have placed the boot image and recovery files and extract them to get files in .img format. Renaming the boot and recovery files is as simple as “m-boot.img” and “twrp.img” corresponding.
  6. Navigate to the location where you have placed the recovered files. Rename the recovery file to recovery.img. At the directory containing the file recovery recovery.img, you hold the shift key on your keyboard and right click on an empty area and select “Open command window here” to open a cmd window.
  7. Now type the following at the command prompt to check if fastboot is working correctly. It will provide the serial number of your device.

    fastboot devices

  8. Now this is important. Make sure your device has unlocked bootloader. If not, then you need to first unlock and then flash your boot and system recovery image. You enter the following command to unlock on the CMD screen.

    fastboot oem unlock

  9. Flash the modified boot image by entering the following commands. “m-boot” is the name of the boot image.
    fastboot flash boot m-boot.img
  10. Now flash the custom recovery. Run the following command for that. “twrp.img” is the name of the recovered file.

    fastboot flash recovery twrp.img

  11. The custom recovery will be installed on your device. Now boot your phone into recovery mode. You can do this by turning the phone off again and then pressing and holding the volume down and power keys at the same time or simply using the following command while the phone is still connected to USB.

    adb reboot recovery

  12. When entering the recovery, you can backup or backup your current nandroid ROM.
  13. Now return to the recovery screen, tap on “install” (install) and navigate to the SuperSU file in your device’s storage and select it.
  14. Confirm the swipe at the bottom to install the SuperSU package.
  15. After the installation is complete, reboot the system.

You should now have TWRP and root access on your Nexus device. If the device does not boot or enters a bootloop, proceed to factory reset from a custom recovery or you can restore from a ROM backup.

see more


We will be happy to hear your thoughts

Leave a reply

App New
Reset Password