Go to Settings > About Phone > Tap MIUI Version 7 times.
esptool.py --port COM3 erase_flash
Look at your display panel for a small key or lock icon bridging two buttons. Press and hold those two buttons simultaneously for . 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 Go to Settings > About Phone > Tap MIUI Version 7 times
This is one of the most common errors encountered by users of Xiaomi, Redmi, POCO, and some other Android devices. It essentially means your device’s , preventing you from making changes to the system partition. flashing lock flag is locked please unlock it first full