ACC Logo
FASTBOOTUnlock/LockDestructive

fastboot flashing lock

Re-lock bootloader and restore verified boot

Destructive Operation WarningCRITICAL: Re-locking with modified partitions (custom ROM, Magisk root, TWRP) WILL HARD-BRICK the device! Also wipes all userdata.
What It Does

Re-locks the bootloader and re-enables Android Verified Boot (AVB). Requires 100% stock firmware; factory resets the device.

Command Syntax
Terminal
$fastboot flashing lock
Usage Examples
$fastboot flashing lock
OFFICIAL COMPANION GUIDE

Looking for OEM-Specific Unlock Instructions?

Bootloader unlocking often requires vendor-specific steps (Xiaomi Mi Unlock account binding, OnePlus tokens, Motorola keys). Check the step-by-step master guide by @mkr-infinity:

Open Unlock Guide
Prerequisites & Requirements
  • All partitions must contain 100% unmodified stock signed firmware
Related Commands
Found an error or missing flag for fastboot flashing lock?

Submit a correction or request additional examples on GitHub.

Having issue? Contact @mkr_infinity

Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.

Contact @mkr_infinity