- May 10, 2016 at 2:06 PM #3561
You need to unlock bootloader on an Android phone in order to install a Custom recovery like TWRP or a custom ROM like: LineageOS, CyanogenMod, Resurrection Remix etc.
This post guides on how to Unlock Bootloader on any Android phone Using Fastboot. Below are the OEMs list categorized in supported and unsupported list. This bootloader unlock will be effective for Android phone from Supported OEMs list, ONLY.
You might be wondering what is supported and unsupported list of this unlock bootloader guide? Well, this post guides you to unlock bootloader using the fastboot, which is a very simple procedure. But there are OEMs like Motorola, HTC, Sony, Xiaomi, etc. have a bit longer process of bootloader unlock.
For those OEMs I have separate bootloader unlock procedure written individually in separate posts. For your convenience I have added those individual links to OEMs in unsupported list.
Many of the OEMs missing from the list at this moment. I will keep on adding them as I will explore which one is really supported by this guide and which one is not. There is no harm in trying this in any case. If this guide works on your phone then simply your bootloader will be unlocked and if it does not work it will simply through an error message.Go to the respective links found at the end of this post to unlock bootloader for Android phone of un-supported OEMs:DISCLAIMER:
First thing first, unlocking the bootloader on your Android may VOID your warranty and may delete all your data. You are solely responsible for anything that happens to your Phone; because you are the only person making changes to your phone and I cannot be held responsible for the mistakes done by you in anyway.
Required resources to Unlock Bootloader on Android phone
– ADB and Fastboot one click installer for Windows.
– OEM USB drivers and Google USB Drivers
– Enough battery backup. (More than 60% of battery charge will be good enough)
– A PC with USB driver (mentioned above) installed for your Android.
How to Unlock bootloader on Android Phone using Fastboot?
If you don’t know the key combination on your Android to enter into bootloader mode or if you are a newbie to Android Customization then this process is strongly recommended to Unlock Bootloader on your Android:
- Download and
install the ADB and Fastbootbinaries using the above installer download link for Windows or Linux or MAC.
Enable USB Debuggingunder Developer Options.
- Now connect your Android to the PC using a USB cable.
- On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type the following command to restart your phone into fastboot mode or bootloader mode:
adb reboot bootloader– You can also enter into fastboot or bootloader mode by pressing some specific key combinations.
– If your Android Phone asks permission such as ‘Allow USB debugging‘ then just tap on OK to proceed
- Now when your Android is on the bootloader mode just execute one of the following command (or try both) on the console:
fastboot oem unlock
fastboot flashing unlockThis will Unlock the bootloader and delete all user data present on the phone. Here is a Step by step guide to take full backup of your phone data
Few OEM specific Bootloader Unlock commands
fastboot -i 0x19d2 oem unlock
fastboot -i 0x2b4c oem unlock
- Le Eco:
$ fastboot -i 0x2a96 oem unlock
You should have now an unlock Bootloader of you Android if this is the guide for your device and you have followed it step by step.
Welcome to the developers world where you are yet to experience many more things on Android customization. The very NEXT STEP you may want is to install TWRP recovery on your Android or want to ROOT it.
Here goes some more guide for you:
– How to install TWRP on Android
Below is a table of guides for OEM specific Bootloader unlock process
OEM name Bootloader unlock guide link HTC HTC Bootloader Unlock Huawei / Honor Huawei/Honor Bootloader Unlock LG LG Bootloader Unlock Mediatek Mediatek Bootloader Unlock Motorola Motorola Bootloader Unlock Samsung Samsung Bootloader Unlock Xiaomi (2016 and later) Xiaomi Bootloader Unlock Yandex Yandex Bootloader Unlock
As of now there are still many OEMs missing from the list such as Xiaomi, Sony etc. I will make sure to add them as soon as possible. IF you face any problem in unlocking bootloader of your Android phone, leave a comment.
? Google Camera APK | LineageOSMay 15, 2016 at 7:16 PM #3709zam-manMember
Am getting a problem, when i enter the command fastboot oem unlock then my pc command box shows waiting for device, meanwhile device is already connected to pc via USB
how to resolve this?May 16, 2016 at 12:44 AM #3717October 5, 2016 at 9:54 PM #8215areen sahuMember
Will i not be able to unlock bootloader if i am using a samsung device???? If not, then how should flash rom??October 6, 2016 at 11:41 PM #8235
If you are using a Samsung phone then I think you can still flash an ODIN flashable ROM. But many ROMs are made such that they can be flashed using a custom recovery. Well, to flash a custom recovery you need to unlock the bootloader.
OK, can you enable developer options and then enable OEM unlock (if you have an option) from Developer options menu and then connect your phone to the PC and see if it is detected.
? Google Camera APK | LineageOSNovember 24, 2016 at 7:17 PM #9564Wayne JohnsonMember
Trying to install TWRP on a Lenovo P1a42. I am stuck at step 1 of unlocking the bootloader.
1. I downloaded and installed the ADB & Fastboot installer and the OEM/Google usb drivers. When I try to use the command “adb …..” , it fails and says “adb not recognized as an internal or external command or operable program”. I can see the abd folder with 5 files under my C:\ drive.
2. Cannot locate the correct TWRP file.
Any help will be appreciated.December 15, 2016 at 11:58 AM #10147
Hi Wayne, basically “adb not recognized as an internal or external command or operable program” meaning the command prompt is unable to find the path to adb.exe.
There are two ways how you can solve this:
- Traverse (of course in the command prompt only) into the adb and fastboot directory where you have downloaded and extracted and then run the adb command, it will work
- Put the adb and fastboot directory into windows’ PATH variable.
To locate the TWRP file you need to traverse the directory in command prompt where you have downloaded the TWRP file.
Let’s say the TWRP file named twrp-188.8.131.52-xxx.img is downloaded default into the Downloads directory in windows. Now open the Downloads directory and press shift + right click and then select Open commad window here. Now you will have a command window opened where you have the TWRP file. But the problem here is, the adb and fastboot might not be there directly in the Downloads directory and may be present in some other directory and you will again see the following: “adb not recognized as an internal or external command or operable program”
So, my suggestion is to copy the TWRP file to adb and fastboot directory and open the command prompt window inside the adb and fastboot directory and then your problem will be solved.
I hope my writing is clean enough to make you understand the whole scenario. If you still unable to fix this then let me know I will help you out.
? Google Camera APK | LineageOSJanuary 7, 2017 at 8:44 PM #11191JcTatisMember
my phone use to appear before i installed bluestack i use to do cmd commands to install the new or old miui official roms. after a time my phone didn’t appear in the list appear empty. when my phone was turn on it appear on the attached list, when i rebooted it to fastboot it show empty. i did what the guide told
C:\adb>adb reboot bootloader
List of devices attached
C:\adb>fastboot oem unlock
OKAY [ -0.000s]
finished. total time: -0.000s
after this the phone rebooted into TWRP (my current recovery) and after that the phone rebooted again in system. apparently it work. in the miui forum i asked about if mi3 come with bootloader block i think a admin told me that it didn’t so.. now it booted normally i guess it success?
C:\adb>fastboot oem device-info
(bootloader) Device tampered: true
(bootloader) Device unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.009s]
finished. total time: 0.009sJanuary 9, 2017 at 9:27 AM #11219Javier CarrilloMember
Hi! I´m stuck after the cmd window, “waiting device” :(
Ihace Zuk Z1 Cyanogen OS, and I want to change to ZUI 2 can you help me please??January 21, 2017 at 4:54 PM #11676Augustine LinexMember
Hello? I followed the steps to unlock bootloader on Wileyfox Swift,but surprisingly,I managed to unlock it yet I didn’t lose any data in my phone. Is that possible?
When I try to repeat the process,cmd tells me Device already unlocked. But going ahead to install TWRP has become hard for me. I adb and fastboot installed,USB drivers for wileyfox,and required twrp .img file. So,I was wondering,which cmd do I use,I have the original windows one,and the adb and fastboot one.
- Download and
- You must be logged in to reply to this topic.