Ensure the firmware you are trying to flash matches your device region (e.g., don't flash a China ROM on a Global device unless the bootloader is fully unlocked).
If you believe your bootloader is already unlocked but you still see the error, try these steps: flashing lock flag is locked please unlock it first full
In the MiFlash tool, look at the bottom right corner. Ensure you have "clean all" selected rather than "clean all and lock," which can sometimes cause conflicts during the initial handshake. Important Warning Ensure the firmware you are trying to flash
Use the USB cable that came with your phone. flashing lock flag is locked please unlock it first full
Xiaomi usually requires a waiting period of 168 hours (7 days) before they allow the unlock.