On this page about a MiFlash Tool Download With instruction(all version)...
Xiaomi Flash Tool allows you to flash the stock firmware (ROM) on your Xiaomi Smartphone. It helps you to flash the firmware on Xiaomi devices running on Qualcomm or Mediatek Chipset.
You can use any of the following version of Xiaomi Flash Tool to flash the firmware. We recommend you to use the latest version of the tool for Maximum Compatibility and Stability.
Installing a Fastboot ROM flashes all the device partitions with new ones, thus bringing back your device to the factory state. But in order to do that, you will need a dedicated tool provided by the manufacturer itself. In this post, you can easily download Mi Flash Tool and install it on your PC. Apart from downloading, we have also provided detailed steps on how to install Fastboot ROM on Xiaomi/Redmi device using this tool.
All Features MiFlash Tool:-
Xiaomi MiFlash Tool comes as Installer, which means you have to install it first on your computer in order to use it. While Installing the Tool, you will see the packages that come with the tool including the ADB Tool, Drivers and Mi Tool.
Xiaomi MiFlash Tool comes with In-Built USB Drivers including Google ADB Tool and Drivers, Microsoft MTP and RNDIS Driver, Qualcomm USB Serial Driver. Which means you dont have to install drivers manually to work with the tool.
Multiple Flashing Options:
There are 3 flashing Options available including Flash All, Flash All except Storage and Flash All except data and Storage. Flash All except Storage is the default method of flashing the fastboot files on Xiaomi Devices.