How to Unlock Bootloader on Any Android Phones Using Fastboot

Home Forums Common to All Forum (Generic Topics) Common How-To Guides How to Unlock Bootloader on Any Android Phones Using Fastboot

This topic contains 8 replies, has 6 voices, and was last updated by  Javier Carrillo 1 week, 4 days ago.

  • Author
    Posts
  • #3561

    In order to install a Custom recovery like TWRP or CWM or a custom ROM like: CyanogenMod, Resurrection Remix etc., your Android phone or Tablet’s bootloader needs to be unlocked and here is How to Unlock Bootloader on any Android phone Using Fastboot. Below are the OEMs list categorized in supported and unsupported list. This bootloader unlock guide wiil be effective for Android devices from Supported OEMs list, ONLY.

    Below is the OEM list filtered out for which this Bootloader Unlock guide will work and for which this guide may not work for you:

    SUPPORTED LIST:
    Google
    Oppo
    OnePlus
    Yu
    Zuk
    ZTE
    Le Eco
    Xiaomi (Older Devices)

     

    UN-SUPPORTED LIST:
    Sony
    Samsung
    HTC
    Motorola
    Xiaomi (Newer Devices)

     

    Many of the OEMs missing from supported and un-supported 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 device then simply your bootloader will be unlocked and if it does not work it will simply through an error message.

    DISCLAIMER:
    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 device because you are the only person doing changes to your phone and I cannot be held responsible for the mistakes done by you in anyway.

    Before proceeding further you may consider backup your all data. Here is a Step by step guide to take full backup of your phone data.

    Unlock bootloader on any Android

    Required things to Unlock Bootloader on Android Using Fastboot:

    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.

    ADB and Fastboot Installation:
    ADB Fastboot Installation guide for Windows
    ADB Fastboot Installation guide for Linux and MAC

    How to Unlock bootloader on Any Android Device 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:

    1. Download and install the ADB and Fastboot binaries using the above installer download link for Windows.
    2. Enable USB Debugging under Developer Options. If you don’t know how to do this then here is How to Enable Developer Options and How to Enable USB Debugging under Developer Options.
    3. Open the command console on your PC. To open a command window in the current directory in Windows, press shift + Right Click anywhere on Windows explorer, or some folder. Then on the menu opened, just press the “w” key on the keyboard or select “Open command window here” to open a command window.
    4. Now connect your Android to the PC using a USB cable.
    5. Enter the following command on the command window opened:
      adb reboot bootloader

      to put your Android into bootloader mode where you can flash/install the TWRP recovery.
      If your Android device asks permission such as “Allow USB debugging” then just tap on OK to proceed.

    6. Now when your Android is on the bootloader mode just execute the following command on the console:
      $ fastboot oem unlock

      This 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

    If you know how to enter into bootloader mode on your Android by pressing key combinations then follow the below steps to Unlock Bootloader on your Android:

    1. Enter into fastboot or bootloader mode by pressing your device specific key combinations, open a command console on your PC and then execute the following command on the console:
      $ fastboot oem unlock

      This 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

    Some of the device specific oem unlock commands:

    ZTE:

    $ fastboot -i 0x19d2 oem unlock

    Zuk:

    $ fastboot -i 0x2b4c oem unlock

    Le Eco (LeTv):

    $ fastboot -i 0x2a96 oem unlock

    Congratulation!!! You have now successfully unlocked the Bootloader of you Android and welcome to the developer 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 any Android

  • #3709

    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?

    • #3717

      I guess the ADB & Fasboot Drivers are not installed for your Device on the PC. For any Android Device the USB drivers and the ADB & Fastboot drivers are different.

      Can you tell me which Device you were trying with??? Then I can search the fastboot drivers for you.

  • #8215

    Will i not be able to unlock bootloader if i am using a samsung device???? If not, then how should flash rom??

    • #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.

  • #9564

    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.

    • #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:

      1. 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
      2. 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-3.0.2.0-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.

  • #11191

    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

    C:\adb>adb devices
    List of devices attached
    C:\adb>fastboot oem unlock

    OKAY [ -0.000s]
    finished. total time: -0.000s

    C:\adb>
    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.009s

  • #11219

    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??

  •  

You must be logged in to reply to this topic.