Introduction

Unlocking the Bootloader allows you to install custom firmware on your Android phone and gives you full access privileges to make modifications to the phone. Such modifications could involve changing some of the pre-loaded software or could even include replacing the entire operating system.

Some bootloaders are not locked at all, some can be unlocked using a standard fastboot command, others need an unlock code from the manufacturer. There are also phones that do not include an unlocking method at all and can only be unlocked through a software exploit. These locked down devices will typically stem from a carrier deal.

In this guide I´ll only be covering the unlocking of bootloaders with the standard fastboot command.

Warnings

  • Unlocking the bootloader will reset your phone, so make sure you have all your data backed up!
  • This might void your warranty with some manufacturers.
  • An unlocked bootloader will trip the Play Integrity API (formerly SafetyNet Attestation API) which can cause some services like GPay to stop working.
  • This will make your device vulnerable against hackers with physical access to your device, so don´t do this to a device you intend to carry state/company secrets on.

Additional information

  1. KAHYI5jMmWjWUwQY
    KAHYI5jMmWjWUwQY
    qPOPSWMFSDr12ycl
    CKfbT2kwvb346wEx
    • First, we need to find the Build Number.

    • Usually you can find it under About Phone > Build Number or System > About Phone > Build Number, but since it varies from device to device using the search function is usually the easiest way.

  2. dZljVNRjUgSx2yp5
    dZljVNRjUgSx2yp5
    A6DaFEGyI6mNYl1S
    • Now you just need to tap the Build number repeatedly, until you get a confirmation message saying "You are now a developer!". I already enabled developer options on my device, so I don´t need to do it again.

    • You might be prompted to enter your lock screen password, if you have one set up.

  3. CYfMStLfhU3LGT6b
    • In the developer options, find the OEM unlocking option and enable it.

    • You might be prompted to enter your lock screen password, if you have one set up.

  4. FNKXMHl1sYMiMMVY
    • In the developer options, find the USB debugging option and enable it.

  5. D2AwKGELHrj6G1Hl
    D2AwKGELHrj6G1Hl
    XFw5tLJNg6YaNnZG
    • Plug your phone into your computer via the USB-C to USB-A Cable.

    • Pull down the notification shade and select Charging this device via USB.

    • Select the option File transfer/Android Auto.

    • On some older devices this option might be called MTP instead.

  6. JSs6S3EdtJORw3SK
    JSs6S3EdtJORw3SK
    vk2adCqunMswSINu
    • Open the terminal application on your computer with the SDK Platform Tools installed and enter adb devices

    • This should trigger a popup on your device. Make sure to have the checkmark ticked and click Accept.

    • I´m using MS PowerShell. That´s why I need to open my terminal window in the platform-tools-folder and enter .\ as a prefix to my commands. In Linux you do not need to do this.

    • You can run the command again to check if it worked. It should now say device instead of unauthorized.

  7. aNayoXwsQqmBED6i
    • Enter the command adb reboot bootloader

    • Wait a couple seconds until your device rebooted into the bootloader, then enter the command fastboot flashing unlock

    • Some devices might use the command fastboot oem unlock instead.

    • You should now see a prompt similar to the one shown in the picture. Use the volume rocker to choose the Unlock the bootloader-option and confirm by pressing the power button.

Conclusion

To relock your bootloader just run the command fastboot flashing lock

Only lock your bootloader while running stock firmware, or else your device will be bricked!

Sebastian Dorr

Member since: 19/08/18

3548 Reputation

5 comments

You have shared a very useful post i really like it keep going on, thanks for sharing such an informative content about Samsung Bootloader Unlock with us. I like to visit this helpful blog again for further updates on this beneficial post.☺️

File Rehab -

I'm using a Nokia G60 I was offered.

When I try "fastboot oem unlock" I get:

FAILED (remote: 'Failed to unlock, decrypt failed!')

Please update the guide for such cases.

Thank you

Bruno -

As far as I know, Nokia phones need an unlock code from the manufacturer. I don't have much experience with this, so I suggest you ask/search around on forums like xda developers or reddit. It might even help to directly ask the Nokia support for help. Depending on who you end up with they might even help you out.

Sebastian Dorr -

did it work with any realme device?

ëĺäžäžÿ -

Realme requires you to run an app beforehand, but the rest of the process should be pretty similar.

Sebastian Dorr -