Hot topics

How to unlock the Nexus 5X bootloader

androidpit Nexus 5X 7
© nextpit

So you've got yourself a brand spanking new Nexus 5X and you want to play around a little bit more than Google generally wants you to. Good for you. The first thing you'll need to do is unlock the Nexus 5X bootloader so you can dive into the world of root and recovery, custom ROMs and system tweaks. Let's do this.

A word to the wise: unlocking the bootloader opens your phone up to some possibly risky scenarios. If you were to lose your phone, for example, an unlocked bootloader would allow the person who finds your phone to flash a different ROM. As you may have guessed, a locked bootloader limits the boot images you can flash to those digitally signed by the manufacturer. Make sure you're comfortable with the risks before proceeding.

androidpit Nexus 5X 2
Unlocking the bootloader is the gateway to Android freedom. / © ANDROIDPIT

Note: This process wipes your device, so make sure you have backed up everything you need before you start. If you need some help, follow our guide on how to back up Android.

Prerequisites

1. You'll need to buy a USB Type-C to USB Type-A cable for this tutorial because, the Nexus 5X doesn't come with one (unlike the Nexus 6P). So go grab yourself one of those first.

androidpit Nexus 5X 5
A USB Type-A to type-C cable is needed to unlock the Nexus 5X bootloader. / © ANDROIDPIT

2. Make sure you have Google's USB drivers installed on your computer.

3. Now, you need to unlock a few features in Developer options. To set that up, go to Settings > About phone and tap Build number seven times until you see the notification that Developer options has been enabled. When you back up to Settings, you'll see it at the bottom of the list.

4. Go to Developer options > USB Debugging and enable it.

5. Next, flip the switch in Developer options > OEM unlocking.

6. If you don't have ADB Tools installed on your computer, download it now.

AndroidPIT Nexus 5x developer options oem unlocking
In Developer Options, enable USB Debugging and OEM Unlocking. / © ANDROIDPIT

How to unlock the Nexus 5X bootloader

1. Connect your Nexus 5X to your computer with the USB cable.

2. When you see the RSA key pop-up on your Nexus 5X, tap OK to allow USB debugging (your phone needs to be unlocked for this screen to appear).

AndroidPIT Nexus 5x usb debugging rsa key
Allow USB Debugging on your Nexus 5X once connected to your computer. / © ANDROIDPIT

3. Open the ADB Tools folder on your computer, hold Shift and right click your mouse. Select Open command window here.

4. Type in: adb devices

5. You should see some numbers in the terminal window: that's your Nexus 5X serial number. If you don't see the numbers, make sure you have the correct drivers installed and repeat.

AndroidPIT ADB devices Nexus 5x
Typing "ADB devices" in the command prompt will show you your device is recognized. / © ANDROIDPIT

6. Now you need your Nexus 5X in Fastboot mode. You can do this by turning it off, holding Power and Volume down, or in the command prompt, by typing: adb reboot-bootloader

7. In the command window, type: fastboot oem unlock

If the above command doesn't work for you, type: fastboot flashing unlock

8. On your Nexus 5X, when the bootloader unlock screen appears, use the volume buttons to highlight Yes and press Power to confirm. Remember, this step wipes your data, so make sure you've backed up.

Androidpit nexus 5x unlock bootloader
Use the volume buttons to highlight Yes and press Power to confirm. / © ANDROIDPIT

9. Once that is done, type: fastboot reboot

10. Your Nexus 5X will reboot with an unlocked bootloader. Every time you reboot you'll be reminded that your device's bootloader is unlocked. If you want to lock it again, reboot to Fastboot, open a command window on your computer and type: fastboot flashing lock

What's the first thing you're going to do with an unlocked bootloader? Let us know in the comments.

 The best gaming monitors at a glance

  Best gaming monitor up to $400 Best gaming monitor up to $600 Best gaming monitor up to $800 Best gaming monitor up to $1,000 Best gaming monitor for consoles
Model
Image LG Ultragear 27GP850P - product image Asus ROG Strix XG27AQ - product image BenQ MOBIUZ EX3210U - product image Asus ROG Swift PG27AQDM - product image Gigabyte M32U - product image
Offers
Go to comment (2)
Kris Carlon

Kris Carlon
Senior Editor

Kris is a former AndroidPIT Editor who came to the team via a lengthy period spent traveling and relying on technology to keep him in touch with the outside world. He can usually be found juggling three phones at once and poring over G+ posts, Reddit and RSS feeds.

To the author profile
Liked this article? Share now!
Recommended articles
Latest articles
Push notification Next article
2 comments
Write new comment:
All changes will be saved. No drafts are saved when editing
Write new comment:
All changes will be saved. No drafts are saved when editing

  • Ariel Teve 1
    Ariel Teve Dec 16, 2016 Link to comment

    Thank you!!... this article was really helpful.


  • 4
    David A. Lefebvre Nov 24, 2015 Link to comment

    When are you doing an article on how to unlock a galaxy s4 ACTIVE I537. Seems to be the last galaxy phone on earth that can't be rooted. POS!