Guides / Bootloader Guides / Lock the bootloader

Lock the bootloader

By Mehraann · From NewbiesTeam, for the GT 20 Pro

Re-locking the bootloader restores the factory locked state on a clean stock XOS firmware installation. Download the stock flashable firmware ZIP from Flashable firmware in the ROMs tab.

Warning

Lock the bootloader only on a fully compatible stock ROM. Do not lock the bootloader on modified firmware, custom ROMs, GSIs, rooted systems, or devices with modified partitions. Failure to follow these requirements may result in a bootloop, soft brick, hard brick, or an unbootable device. Proceed at your own risk.

1. Steps

  1. Flash the provided flashable ZIP (Flashable firmware).
  2. Boot the device into Android once.
  3. Reboot into Fastboot/Bootloader mode.
  4. Connect the device to your PC.
  5. Open Command Prompt or Terminal and execute:
  6. A confirmation screen will appear on the device.
  7. Use Volume Up to select Lock the Bootloader.
  8. Press the Power button to confirm.
  9. After the bootloader is locked, hold the Power button to reboot the device.
fastboot flashing lock

2. Warning

  • Lock the bootloader only on a fully compatible stock ROM.
  • Do not lock the bootloader on modified firmware, custom ROMs, GSIs, rooted systems, or devices with modified partitions.
  • Failure to follow these requirements may result in a bootloop, soft brick, hard brick, or an unbootable device.
  • Proceed at your own risk.
← Back to Guides