How to unlock bootloader (Android)

How to unlock bootloader (Android)

Why do I need to unlock my phone's bootloader? 

Unlocking the bootloader is an essential step in the process of modifying system partitions such as flashing TWRP recovery. Locked bootloader basically prevents users from loading or flashing any custom firmware into their devices. 
Most of the phones with locked bootloaders can be officially unlocked by following a guide on the OEM's website.
This usually consists of submitting your phone's Device ID and IMEI and getting a device-specific unlock code which is then used in a fastboot command in order to authorize the unlocking process.  

In this article, we will focus on the general process of unlocking bootloaders of phones with no specific steps or guide on how to do so provided by the manufacturer. 

Keep in mind that u nlocking the device's bootloader may void your warranty.

Some devices after their bootloader is unlocked do wipe their data, so please, just in case, copy your data somewhere safe.

Steps
  1. Install ADB and Fastboot on your PC
    (we recommend using Minimal ADB and Fastboot as it is lightweight, comes in a simple installation package and does the job perfectly)
  2. Enable developer options by navigating to Settings - About phone and clicking on "Build number" seven times.
  3. Go to developer options and enable the "OEM unlock" option as well as "USB debugging"
  4. Connect the phone to your PC and open a command-line window as an administrator from the folder where you have your ADB and Fastboot installed. 

  5. Type "adb devices" into the command line to see if your device is recognized by ADB
  6. Type "adb reboot bootloader" into the command line and wait until your device reboots into Fastboot mode 
  7. Once your phone reboots into fastboot mode, type the "fastboot OEM unlock" command and press Enter
  8. Confirm the action on your phone's screen (if prompted)
  9. After the process has finished, you can type "fastboot reboot" to boot your phone back into Android or proceed straight to flashing a custom recovery. 
Flashing custom images onto Samsung phones is done by Odin which means you only need to enable the "OEM unlock" option and proceed straight to the flashing process.
Find out more in our article on how to flash TWRP on Samsung devices

    • Related Articles

    • How to root an Android phone?

      Why root an Android phone? There are countless ways in which you can use root access on your Android smartphone, but in this article we will focus on those used in conjunction with MOBILedit Forensic Express.  Our software uses root access to obtain ...
    • Connecting an Android phone

      To achieve a successful phone connection, there are a few important steps that must be taken for this or any other tool. This is only required for the first time, then you can enjoy the functionality of all our products. An Android phone can be ...
    • How to boot into recovery (Android)

      Why do I need to boot into recovery?  Recovery is a tool used to perform factory reset and install system updates by default.  However, there are many custom recoveries (CWM, TWRP, etc.) made especially to flash custom ROMs (unofficial builds of ...
    • Android recovery data acquisition

      Every Android phone has a "recovery“ partition which is by default used for performing factory resets using an OEM’s preloaded tools. However, this partition can be modified in order to replace the default tools by third-party recovery tools such as ...
    • Use TWRP to bypass Android lockscreen

      TWRP custom recovery makes it quite easy to remove any kind of lock (except for fingerprint) from your Android device.  You'll find a step-by-step guide below: Reboot your phone into TWRP and click the "Advanced" button In the advanced options, click ...