The Nexus 5X comes with the latest Android 6.0 Marshmallow version out of the box. Sales have begun and we already have a guide to root the device. So if you have a Nexus 5X code name for the bullhead device, then you can now get root access and modify the system as desired.
Nexus devices like the 5,6,7,9 and the player have already received the OTA updates Marshmallow and we have posted success rooting processes for the same. With the new v2.52 SuperSU Chainfire to build the Android 6.0 firmware Marshmallow can now be anchored on the Nexus 5X.
For a locked bootloader device with stock firmware, it can be a little winded process, but we have simplified for those who can find complex. For a summary, you need to unlock the bootloader of your device to install a custom recovery as well as the TWRP custom boot image using adb and fastboot. Once done, you can switch to flash the file SuperSU using TWRP. Many Android users have reported this procedure to be running without complications on other Nexus devices.
However, there is still an informal process and you can come across a small problem during the process because it involves adb and fastboot orders issued. If you have prior experience in this area, then you may just find simple. Also, you can not receive other updates direct from Google or the manufacturer, as this would require an unmodified system and inventory rebuilding.
To disable encryption, first read the note at the end of this guide. Now, let’s start with the tutorial!
Warning: the guarantee is voided if you root your device. DroidViews us will not be responsible for any damage to your device whatsoever. We will not be responsible if you brick your device. the discretion of the reader is advised.
See also: How To Root Any Android Device Without Voiding The Warranty.
Before Rooting Nexus 5X device
Although this process can not erase all your data, but backup is highly recommended. Once you install a custom recovery like TWRP, make sure you back up your system, data, etc. recovery. It will be useful in case something goes wrong. See this: How to Back Up and Restore Android Device with TWRP.
Download for Rooting Nexus 5X
Download modified Nexus 5X boot image | File: bullhead-mdb08i-boot.zip
You need a custom recovery like TWRP to flash the file SuperSU following the modified boot image. This way you can enjoy root access to your latest firmware. Find download the attachments at the end when you go to the download page.
Download Nexus 5X TWRP Recovery: | File: TWRP-2.8.7.0-bullhead.img (15.9 MB)
Download SuperSU v2.52 | File: BETA-SuperSU-v2.52.zip (3.8 MB)
How To Root Nexus 5X and install TWRP [Unlock Bootloader]
This procedure unlock the bootloader, flashing a modified boot image, install the TWRP recovery and root your Nexus 5X device. unlocked bootloader is required to install a modified boot image and configuration of a custom recovery. However, thanks to a custom recovery, you can flash custom packages, for example, SuperSU file in the root of your Nexus 5X phone. To disable encryption, read the note at the end.
Preconditions
- Unlocked bootloader is required to install a custom recovery like TWRP on your device. We’ll go through the process in the following tutorial.
- Set up ADB and Fastboot on your PC. You can download the Android SDK from here, or get fast ADB and fastboot installer from here.
- Now install Nexus USB drivers on your computer.
- In Developer Options, Enable USB Debugging Mode on your Nexus 5x.
- It is important to access Developer Options and enable Allow oem unlock.
Rooting Installation Instructions
- Make sure you have downloaded the boot image, recovery and appropriate SuperSU zip files. Now transfer them to your computer. SuperSU also place the package file in the internal memory of your device.
- Make sure you setup ADB and fastboot on your computer. Also accept Always allow this computer when you plug the device for the first time to enable USB debugging.
- Now, turn off and unplug it from your PC.
- Start in bootloader or fastboot mode. To do this, press and hold the volume down and power button simultaneously for 5-6 seconds. When you see the bootloader screen, connect your device to the computer via a USB cable. (Choose fasboot if available) You can also make the code when connected to the PC, to boot into the bootloader.
adb reboot bootloader
- Navigate to the location where you placed the image and recovery startup files and extract the files to get the .img file. Rename the startup and recovery file a simple, like m-boot.img and twrp.img respectively just for your convenience.
- While the record with the boot file and recovery is open, hold the Shift key on your keyboard and right-click on a blank space and select “Open command window here” option to launch a command prompt window .
- Now type the following command in the command prompt to see if fastboot working properly. It should provide the serial number of your Nexu 5x device.
fastboot devices
- Now what is important. Make sure your device is unlocked bootloader. If not, then you must first unlock and flash the boot and recovery image to your system. To do this, run the following command. Select Yes on the camera’s screen if prompted.
fastboot oem unlock
- Flash the boot image modified by running the following command, where “m-boot” is the boot image name.
fastboot flash boot boot.img-m - Now flash the custom recovery. Run the following command for this. “Twrp.img” is the name of the recovery file.
Fastboot flash recovery twrp.img
- Custom recovery will now be installed on your device. Now boot your nexus 5x phone into recovery mode. You can do this by turning your device off, then press and hold the volume key down and power simultaneously.
- Once in recovery, you back up or Nandroid backup your current ROM.
Now return to the recovery home screen and tap Install and navigate to the file in SuperSU storage of your device and select it.
Confirm the drag operation on the bottom to install the package SuperSU.
Once installation is complete, restart the system.
Now you have root access on your Nexus 5x device. If the unit does not start or enters bootloop, try a factory reset of the recovery or you can always restore the backup ROM. Check root using an auditor of the implementation of the root that supports Android 6.0 Marshmallow.
Note for disabling encryption: To disable encryption, go through the entire installation when asked to wipe after unlocking the bootloader. Also plan changes when you boot into TWRP recovery for the first time and format data later. Now, just before you flash SuperSU, restart the system first and jump through all the installer to verify the encryption is disabled. If you check the encryption status of your phone (Settings -> Security – Encrypt phone), it will not be encrypted as it will give you the option to encrypt it. This means that it is currently not encrypted. Then reboot back to recovery and SuperSU flash.
See also: Tips and Tricks to Get the Most Out of Your Nexus 5X.
For queries, comments below. If we have helped you, and we love and share on social platforms . If you need help with other equipment, let us know.