How to Unlock Bootloader of Any Android

Unlock Bootloader of Android with easy method. Using a simple s guide, officially unlock the bootloader of Redmi, Poco f1, Moto, Mi, Realme, Xioami, Zuk, Sony, Samsung, Huawei, Nokia, Honor, Google Nexus, Google Pixel, LG, Vivo, Oppo, OnePlus, etc. Unlock bootloader without PC using adb and fastboot. This guide can fix bootloader unlock allowed no error.

Do you want to root an Android smartphone or tablet? Do you want to install TWRP recovery and flash custom ROMs? If yes, then you are in the right place. In this tutorial, we’ll discuss some easy s on unlocking the bootloader of any Android phone. Before you install TWRP recovery or flash custom ROMs, you will have to unlock the bootloader of your Android.

What is Bootloader?

A bootloader is a code that is executed before any Operating System starts. Every Android phone has a bootloader that instructs the OS kernel to boot normally. Since Android OS is an open-source OS, every manufacturer has its own version of the bootloader.

Why is Bootloader locked?

It is not possible to install TWRP recovery or flash custom ROMs on a locked bootloader. Forced attempts of unlocking bootloader can not an only void warranty but also brick the device. Hence, to make the users stick to their official Android OS, the manufacturers usually lock the bootloader.

Why unlock Bootloader on Android?

If you want to root, a flash custom recovery like CWM/ TWRP or flash custom ROMs, then you need to have your bootloader unlocked. That means unlocking bootloader allows you to gain root access, flash unofficial custom recoveries, third party custom ROMs, take nandroid backup and restore, increase internal memory, remove bloatware and much more.

Phones like Motorola, Sony, LG, HTC, Xiaomi, Huawei uses a unique code through their website for unlocking of bootloader. Samsung phones (Exynos models) which can be rooted have unlocked the bootloader. Whereas the new Snapdragon models of Galaxy S9, S9 Plus, S8, S8 Plus, S7, S7 Edge, Note 8, etc. all have locked bootloaders.

The bootloader of Google Nexus or Pixel devices like Pixel 2 XL, Pixel 2, Pixel XL, Nexus 6, Nexus 6P etc can be easily unlocked using this guide. Also the bootloaders of all OnePlus devices including OnePlus 6, OnePlus 5/5T, OnePlus 3/3T etc. can be unlocked. If you’re not sure whether the bootloader of your device can be unlocked or not, you can still refer to this tutorial. It’s great if it passes. If it fails, no damage will be done.


We will not be responsible for any damage caused to your device by referring to this guide. Also, the unlocking bootloader of your phone voids its warranty.

  • Charge your Android device at least up to 50%.
  • (Important!) Unlocking bootloader will erase everything on your Android. Hence backup your data including contacts, messages, apps, call logs, notes, etc. before moving ahead.

Procedure to Unlock Bootloader on Android:

1: Go to Settings and enable USB debugging mode on your device. Refer:

How to Enable USB Debugging on Android

2: Also Enable OEM unlocking and Advance reboot mode from the Developer options.

Note: Older Android devices may not have these options. So if you don’t find these options anywhere, just skip this.

3: Download and install ADB and fastboot drivers on your Windows PC. Refer:

How to install ADB and fastboot drivers on Windows OS

4: Using standard USB cable, connect your Android device to PC.

Note: Ensure that Mobile USB drivers are installed on your PC. If not, then refer:

Download latest USB Drivers for Android phone.

5: Go to the location where you’ve installed adb and fastboot drivers. (For example: C:\Program Files\Minimal ADB and Fastboot folder). Then by holding shift button of your keyboard, right click on empty space. From the list, choose Open command window here option. This will launch the command window.

6: Then type the following commands one after one in the cmd window, and press enter key:

adb devices

With this command, a message saying ‘List of devices attached’ along with few random numbers will appear. That means it will confirm that your Android device is successfully connected to PC.

Note: If such thing doesn’t happen, then either re-install mobile USB drivers from the link given above or change the USB cable/PC.

7: Type the next command and press enter:

adb reboot bootloader

This will restart your device into fastboot mode.

8: Then type the fastboot command and press enter:

fastboot devices

9: To unlock the bootloader, type either of the command and press enter:

fastboot oem unlock


fastboot flashing unlock

With this command, you’ll see a message on your device asking to Unlock Bootloader.

Note: On your phone screen, use Volume Up and Down keys for navigation and Power key for selection.

10: So using Volume keys navigate to Yes option and press Power key to select it. The actual bootloader unlocking process will begin now. Once the bootloader unlocking process completes, your Android device will automatically restart itself.

Note: If the following screen appears on your phone, then use Volume and Power keys to select the Start option and reboot your phone.

Awesome! The bootloader of your Android device is successfully unlocked.  Now you can root, install a custom recovery, flash custom ROMs, take nandroid backup, and much more.


For any issues related to this guide, kindly contact me through the comments section. I’d be happy to help you guys.

Till then keep smiling and peace out! 😊✌

Also Read: Download TWRP Recovery On All Android Devices

Leave a Comment

Scroll to Top