Unlock Bootloader | Using Fastboot on Any Android

Here’s how you can unlock bootloader via fastboot on any Android device. Once you unlock bootloader, you can then flash SuperSU or Magisk to acquire root. Unlocking bootloader helps you install custom ROMs, apply themes, flash various MODs, etc. In this guide, we will help you unlock Bootloader of Android devices via Fastboot.

Unlocking Bootloader on Android devices is one of the easiest things to do if you have the proper tools and a good guide. But the problem with unlocking bootloader on Android device is that not all OEMs and carriers make it easy to unlock the bootloader. A few manufacturers, for some of their devices, make it mandatory to request a code from them to unlock bootloader. Without the unlock code, you would never be able to unlock bootloader.


Unlock Bootloader on Android

There are many advantages when you unlock bootloader on your Android device. An Android device with unlocked bootloader gives you are a lot more control over your device than ever. Unlocked bootloader enables a user to root their Android device by flashing a root package such as SuperSU Zip or Magisk Zip. Unlocked bootloader also opens the gates to install custom ROMs on your Android device. This comes in handy especially when you own an older device which is way past the manufacturer’s update cycle. The custom ROMs helps you in always keeping your device updated with the latest version of Android.

There was a time when unlocking the bootloader on an Android device used to be very tough. You would need some sort of a key to even begin the process of bootloader unlock. That’s right. I still remember trying to unlock the bootloader of my Sony Xperia. You had to visit a website and follow a bunch of special instructions on that website to be able to get the bootloader unlock code.

But fortunately, these days, many manufacturers support direct bootloader unlock. So, what exactly do we mean by ‘direct’? Well, in the direct method, you would not need any special code from your manufacturer to unlock the bootloader on your Android device. You could simply execute a couple of lines of command by connecting your device to a computer and then you should be good to go!

In this guide, we will concentrate on the device that allows to easily unlock bootloader without the need for any type of code from the manufacturers.

You can simply execute some fastboot commands (we will come to that in a bit) and your device bootloader will be unlocked.

Heads up: Unlocking bootloader on your Android device will completely wipe your device. All your data will be lost. Please do make a complete backup of your device before proceeding. Here’s a guide on how to backup your device: Guide to Backup Your Android Device Without Root.

Steps to Unlock Bootloader via Fastboot

  1. Make sure you have made a complete backup of your Android device before proceeding with the next steps. This procedure will completely wipe all the data on your device.
  2. You need the latest version of ADB and Fastboot installed on your PC. Download and Install ADB and Fastboot on your PC.
  3. In order to unlock bootloader on your Android, you first need to prep your device by changing a couple of option on it.
    1. Go to Settings > About Phone > Tap on ‘Build number‘ for 5 or 6 times.
    2. Go back to Settings > Developer options > Tap on Enable OEM Unlocking. Tap ‘OK‘.
    3. Next, tap on ‘Enable USB Debugging‘ > Tap ‘OK‘.

      If you need more detailed help with this, you can visit this link: Enable USB debugging and OEM Unlock on your Android device.

  4. Go to the folder where ABD and Fastboot are installed on your device.
  5. Open a command prompt from inside the folder.
    └ Hold down shift and right clock on the empty space inside the folder. Select ‘Open command window here’ or ‘Open PowerShell window here’. Either of them will work just fine.unlock-bootloader-Open-Command-Window
  6. Once the command window opens up, connect your Android device to your PC via USB Cable.
  7. In the command prompt, copy paste and execute the below command:
    adb devices
  8. If this is the first time connecting your device to PC, you might get a prompt on your phone which asks ‘Allow USB Debugging?’. Tap on the checkbox which says ‘Always allow from this computer‘ and tap OK.Allow-USB-Debugging
  9. Now execute the below command in the command prompt/power shell window to reboot your device into bootloader mode:
    adb reboot bootloader
  10. Once your device is in bootloader mode, execute the following command in command prompt/power shell window:
    fastboot oem unlock

    If you are using a Google Nexus or Google Pixel device, use the below command:

    fastboot flashing unlock
  11. [Not applicable to all devices] You might get confirmation screen on your device. If you do, use the volume buttons to select Yes and press the Power button to confirm the selection.
  12. Once the bootloader unlock process completes, your device will again reboot into bootloader mode. Execute the following command to reboot your device:
    fastboot reboot
  13. Now your device will reboot into Android OS.

Note that the first boot after unlocking the bootloader will always take longer than usual; it is absolutely normal and we request you to please be patient. During this process, you might see that your data is being formatted and your device may even reboot a couple of times.

Upon successful boot, you might be taken to the device setup process, as all the data on your device is completely wiped clean. Go ahead and set up your device. This is the easiest way to unlock the bootloader via Fastboot on Android devices.

3 thoughts on “Unlock Bootloader | Using Fastboot on Any Android”

  1. My Xiaomi Redmi 5A ( RIVA ) was error at the command “fastboot oem unlock”. I already have inserted the command to the CMD ( Command Prompt ) and then an error message popping up, and it says, “( remote: token verification failed, reboot the device )” and then my device rebooted for like 1 second and back again to Fastboot mode. Can you help me fix this error?
    PS : My device was fail too when i use Xiaomi Unlock.

  2. If “fastboot oem unlock” doesn’t work (I had same problem on nexus 6p)try “fastboot flashing unlock “


Leave a Comment