These are the instructions to use Xiaomi Flash Tool to flash or install Stock Firmware on any Xiaomi Smartphone and Tablets (you can use this method on Windows XP, Windows 7, 8, 8.1, 10, and Windows 11).
Note: This tutorial is only made to flash or install fastboot firmware, not the OTA Firmware. If you want to learn flash OTA Firmware on Xiaomi Devices, then head over to the How to Flash OTA Firmware on Xiaomi Device page.
Congratulations! Now Close the Xiaomi Flash Tool and Disconnect the Device from the Computer.
[*] Caution: Flashing or installing Stock Firmware will delete or wipe the data, including pictures, videos, contacts, messages from your device. Therefore, take a backup of everything before following the above tutorial.
[*] Xiaomi Stock Firmware: If you are looking for Xiaomi Stock Firmware, then head over to the Download Xiaomi Stock Firmware Page.
[*] Download Xiaomi USB Driver: If you are looking for Xiaomi USB Driver, then head over to the Download Xiaomi USB Driver Page.
[*] Credits: Xiaomi Flash Tool is Created by Xiaomi Corporation. So, full credit goes to them for sharing the tool for free.