The new Android device comes with a locked bootloader; You can’t flash recoveries like TWRP or other .img files until you unlock. But after unlocking the Android bootloader, you will be able to flash any recovery, modified image file, and even you can root the device. In this guide, we will share how to Unlock Android bootloader via Fastboot Command.
Unlocking the bootloader is an easy thing any Android user can do with this guide, but not all Android phones support directly unlocking via fastboot. Many Android vendors like Huawei, LG, HTC, Motorola, and Sony donโt support direct unlock; you have to request the unlock code via their official website, and then you can unlock it. But you can still unlock Google, OnePlus, and many Android devices by the fastboot OEM unlock command. On this page, follow the steps to learn how to unlock the Android bootloader via the Fastboot Command.
Note: Unlocking the bootloader will completely reset your device. So first backup apps, Contacts, and Messages before starting the process.
Benefits ofย Unlocking Bootloader:-
After unlocking the Android bootloader, you will be able to install TWRP Recovery, root, install a custom ROM, and customize the device.
Also, you can unbrick the device by the flash boot.img, system.img, recovery.img, userdata.img. You can flash the full factory image on Google Nexus and Pixel devices after unlocking the bootloader.
Guide To Unlock Android Bootloader Via Fastboot Command
1. First,ย Enable USB Debugging Mode and OEM Unlockย on your Devices and install anย Android Driverย on your pc.
2.ย Download and set up the Latest Minimal ADB and Fastboot Tools.ย You can install the complete package, or download the Latestย Minimal ADB and Fastboot toolย and unzip it.
3. Connect your Android Device to the pc and open the CMD window on the “platform-tools” folder by holding Shift + Mouse Right Button โ Open Command Window Here.
4. Now boot your Android device into bootloader mode by using the following command, or you can do it manually by Volume Up or Down + Power Key.
adb reboot bootloader
5. Now check device is connected or not via this command.
fastboot device
If showing “waiting for any device” then re-install the driver, Or install it manually via the device manager.
6. Once your device is connected, paste the following commandย to Unlock Android bootloader via Fastboot Command.
fastboot oem unlock
Note:- Some devices need to confirm the unlocking. Press the Volume Up button to confirm the unlock and press the Power button to select it.
7. Onceย the device is unlocked, then the following command.
fastboot unlock-info or fastboot oem device-info
8. You can reboot the device anytime by following this command
fastboot reboot
The first boot needs a few minutes because the device will go through the factory reset. So wait until the normal boot.
Note: For Linux users, use the code: “sudo fastboot OEM unlock” and mac user “./fastboot OEM unlock“
Comment below if you were getting any errors. We can help you.






fastboot oem unlock
…
FAILED (remote failure)
finished. total time: 0.026s
same
FAILED (remote: unknow cmd.)
finished. total time:0.016s