Tips & Tutorials

Unlock Bootloader on Nexus 5X with Android 6.0 Marshmallow

LG Nexus 5X has the same easy bootloader unlock process as all the other Nexus devices. All you need to do is, configure ADB, push in few commands and you’re done. Bootloader serves as a path between third-party system level software and the smartphone. Once you get it unlocked, you will have the ability to flash in packages of your liking, be it an official Google update or your favorite flavor of custom ROM. One of the many advantages to a Nexus phone is, it is design to serve as a test mule for all software implementations so you are intended to unlock the bootloader. To find more details and a step by step guide please read below on how to unlock bootloader on your LG Nexus 5X. Do keep in mind that you are required to back up your data before implementing the steps as the unlock process will automatically trigger a data wipe. You can now unlock bootloader of Nexus 5X as per our complete guide below.

As you continue reading below, we will guide you on how to unlock Nexus 5X bootloader for doing a lot of things with your phone. You may ask, why do we even need to unlock it in the first place? Well, unlocking allows you to install a custom recovery, flash custom ROMs, install latest Android updates with a factory image and do other nasty stuff with your phone — most of all, you will be able to root Nexus 5X on Android 6.0 and enjoy the various root apps. Just to be clear, unlocking bootloader will wipe ALL your data from the phone. So make sure you backup everything or unlock bootloader on a new device with nothing to lose.

LG-5X-Front-Back

 

Disclaimer: All the tools, mods or ROMs mentioned below belong to their respective owners/developers. We (TeamAndroid.com) or the developers are not to be held responsible if you damage or brick your device. We don’t have you on gun point to try out this tutorial 😉

There are tons of useful articles and how-to guides on Team Android for the LG Nexus 5X, but we think you might be interested in the following posts:

If you plan on rooting this phone or are still confused for why to root Nexus 5X, read: Benefits of Rooting Your Android Device.

LG Nexus 5X USB Drivers

You will need to connect your Android phone with the computer. For that, please make sure you have installed the USB drivers for LG Nexus 5X properly. If not, you can download the latest official drivers from our Android USB Drivers section here:

Download LG Nexus 5X USB drivers!

Backup and Other Important Tips

Done with the USB drivers? Perfect. The tutorial is on the next page, but first, please take a look at the following tips and important points you need to take care of. These are important, as we don’t want anyone losing their personal data or apps:

Always backup your important data that you might need after you install a new custom ROM, an official software update or anything else. Make a backup for just in case, you never know when anything might go wrong. See below for some tips on how to backup data:

If you already have a custom recovery (ClockworkMod, TWRP etc.) installed on your phone, we strongly recommend a backup using that as it creates a complete image of your existing phone / phone set up.

A few more optional tips that you should remember:

1. Having problems connecting your Android phone to the computer? You need to enable USB debugging mode. See here: How to Enable USB Debugging — for Gingerbread, Ice Cream Sandwich, Jelly Bean, KitKat and Marshmallow.

2. Make sure your Android device is charged up to 80-85% battery level. This might help you: How to Check Battery Percentage. Why? Because, if your phone goes off suddenly while installing a custom ROM, flashing an official firmware update or installing mods etc. — your phone might get bricked or go dead permanently. No one wants that, right?

4. Most of the tutorials and how-to guides on Team Android are for factory unlocked Android phones and phones. We recommend not to try our guides if your phone is locked to a carrier, unless we have specified the carrier name or device model.

5. [IMPORTANT] Copy all the backup files from your SD card to your computer as internal memory will be wiped clean while unlocking the bootloader.

If you find the above tips useful and they were helpful to you, please consider giving us a +1 or LIKE to thank us!

If you are a developer and would want to unlock the bootloader, we recommend doing that before you set up the Google Play Store, install apps or anything because the security feature in Android clears out everything from your phone when unlocking bootloader of the phone.

Now, let’s proceed with the tutorial below to unlock Nexus 5X bootloader.

How to Unlock Nexus 5X Bootloader

We have put together a detailed step-by-step instructions guide on how to unlock bootloader on Nexus 5X. If you are used to unlocking bootloaders on any previous Nexus devices, then this should not be any different for you.

Please read every line carefully and make sure you read the tutorial once before actually performing it on your Android device.

To Remember:

  • This unlocking bootloader tutorial is only for LG Nexus 5X. Please don’t try this on any other variants of the phone.
  • This tutorial has been performed on Windows, but anyone familiar with Fastboot on Mac or Linux can perform this as well with the same commands.
  • Make sure you backup all your data in your phone before proceeding as it will erase all data.
  • You will void your warranty by unlocking the bootloader.

Requirements:

  • Nexus 5X
  • USB cable
  • Android SDK with drivers (How to set up? Tutorial link given below)

NOTE: A new checkbox has been added in the Developer options in Settings that you have to enable before proceeding below with unlocking your bootloader. First, enable Developer options. Then check the box that says “Enable OEM unlock”. That’s it. Now you can proceed below to the Step 1.

Step 1 – Download Android SDK / Fastboot and install all the USB drivers. How to set up? Read detailed instructions here: How to Set Up ADB / Fastboot with Android SDK.

Step 2 – Enable USB Debugging mode on your Nexus 5X.

Step 3 – If you already have Android SDK, then you can just download Fastboot and extract it in android-sdk-windows\platform-tools directory. Create directory if not already there.

Step 4 – Make sure you have backup your data as it will be erased. Then switch OFF your Nexus 5X phone.

Step 5 – Now enter into the Bootloader / Fastboot Mode on Nexus 5X. How? Press Volume Up + Volume Down + Power keys for a few seconds till you see some text and the START on the screen. This is the Bootloader Mode which allows Fastboot to communicate with your phone.

Step 6 – Navigate to android-sdk-windows\platform-tools directory and open Command Prompt (Shift + Right-click > Open Command Prompt).

Step 7 – Type in the following command and press Enter.

fastboot oem unlock

Step 8 – Now follow the on-screen instructions on your phone to confirm the bootloader unlocking and erase all the data, then proceed.

Step 9 – In the end, your Nexus 5X will now reboot itself. Or you can always reboot your phone with the following command if not rebooted automatically.

fastboot reboot

That’s it! Your Nexus 5X bootloader is now unlocked! You can now install a custom recovery, a custom ROM or any system tweak you like. Just be careful with what you do! 😉

About the author

Taimur Akmal

Devoted writer, enjoys developing code. Appreciates excellent food, exceptional coffee and great company. He is also into sublime design and nicely built cars.

7 Comments

  • Doesn’t seem to work. I get “OEM unlock is not allowed)
    *edit. You have to set “allow OEM unlock” in developers options in settings first.

      • Same issue but, the device i am trying to unlock needs a specific email to boot so I cant get to the developer options to turn on OEM unlock. How do I bypass this?

      • Ive learned this is due to the Factory Reset Protection. Is there an updated way around this? I have been scouring google trying to find an answer but all I seem to get are outdated posts from the May update with tricks that have been fixed by Google.

  • FYI – the command appears to have been updated to “fastboot flashing unlock” rather than “fastboot oem unlock”

  • So the device i am trying to unlock needs a specific email to boot so I cant get to the developer options to turn on OEM unlock. How do I bypass this?

Leave a Comment