Xiaomi Mi Flash Tool will only work on the Xiaomi Devices which is running on Qualcomm Chipset.
Use Xiaomi MI Flash Tool :-
Step 1: Download and extract the Xiaomi Mi Flash Tool on your computer. After extracting the Xiaomi Mi Flash Tool, you will be able to see the following files.
Step 2: Now, Open the Setup File to install Xiaomi Mi Flash Tool on your computer.
Step 3: Download and extract the Xiaomi Stock Firmware (fastboot files) on your computer. After extracting the Xiaomi Firmware, you will be able to see the similar files.
Step 4: Now, you need to install the Xiaomi USB Driver on your Computer.
Step 5: Turn Off your Xiaomi Device.
Step 6: Now, You need to boot your Xiaomi Device into the Download Mode (fastboot mode). To boot into the download mode: Press and Hold Power + Volume Down button for 6-8 seconds.
Step 7: Once you have booted into the Download Mode, you will be able to see the following screen on your device:
Step 8: Now, Connect your Xiaomi Device to the Computer using the USB cable.
Step 9: Now, Open Xiaomi Mi Flash Tool from Start Menu.
Step 10: Now, Click on the Select Button and locate the Firmware Folder.
Step 11: Now, Click on Flash Button to begin the Flashing Process.
Step 12: Once flashing process is completed, you will be able to see the Success Message in Xiaomi Flash Tool.