Note: This post has not been updated in over 2 years and may contain outdated information.

{2020} How to Relock Bootloader via Fastboot on Android

Steps to Relock Bootloader via Fastboot on Any Android Device: Having an unlocked bootloader on an Android device is the best thing that can ever happen to you. If you already are a geek by heart, then you will definitely know of the millions of advantages that come with an unlocked bootloader. Some of them include rooting, flashing ROMs, flashing kernels, and overall mastering your device’s capabilities to its core.

However, very recently, there have been issues with devices with unlocked bootloaders. Since they are not the same way OEMs intended them to be, unlocked bootloaders sometimes cause a lot of security concerns and threats. Fairly recently, Google made Android Pay unavailable to devices with an unlocked bootloader. So, what do you do in such a case?

Well, isn’t the answer too obvious? You relock your bootloader. While there are a couple of ways of doing it, we will be doing it using the traditional fastboot way, which is the quickest and the easiest amongst all the different methods. For this, you will need to setup ADB and Fastboot on your computer, have a device with an unlocked bootloader, and a USB connection.Follow the given steps to safely Relock Bootloader via Fastboot on Android

[symple_box color=”gray” fade_in=”false” float=”center” text_align=”left” width=””]Must Read [icon name=”hand-o-right” class=”” unprefixed_class=””] How To Unlock Bootloader Of Any Android Using Fastboot 

 

How To Relock Bootloader via Fastboot on Android

Relock Bootloader via Fastboot on Android

  1. Make sure you have ADB and Fastboot setup on your computer.
  2. Connect you Android device, and launch the Fastboot CMD window.
  3. Next up, type the following command to reboot your device into the fastboot mode:
    adb reboot bootloader
  4. Once your device reboots into the fastboot mode, type in any one of the following commands. You don’t need to type all of them in. Since different devices use different codes to relock their bootloaders, if one of the codes works for you, stop right there.
    fastboot oem lock
    fastboot flashing lock
    fastboot oem relock
  5. Now, reboot your Android device using the following command :
    fastboot reboot

Good going! Now you can use services like Android Pay since you’ve relocked your bootloader.

Liked this post? Let us know on X (formerly Twitter) - we love your feedback! You can also follow us on Google News, and Telegram for more updates.

Note

Our tech news and guides are based on extensive testing, inputs from prominent tech journalists, community forums, and reputable publications. While we strive for accuracy, some details may become outdated or contain unintended mistakes. We welcome corrections and feedback to improve our content using the google form link here.

Adnan Ahmed
Adnan Ahmed
An avid technology reader, author, and admirer, Adnan has been into all-things technology since age twelve. Since then, thanks to the exposure he has been brought into, Adnan now serves as an author on multiple sites including Rootmygalaxy,net.

Comment (1)

  1. none of the 3 commands work for me. I always get the error
    FAILED (remote: ‘unknown command’)
    fastboot: error: Command failed

    Reply

Leave a Comment