Follow this guide to install Android Platform Tools.
Click the “Select” button on the top left corner.
Navigate to the folder where you extracted Fastboot ROM that you downloaded in the first step.
Select the folder and make sure it contains images folder and .bat file
Connect your device to the computer.
Click the “Refresh” button
MiFlash tool should recognize your device.
There are options on the bottom right of the MiFlash window, I recommend selecting “clean all” but you can select “save user data” if you have important files on your device’s storage that you want to save them.
Click “Flash” and wait patiently, the tool should reboot your phone automatically. Don’t disconnect your device during this process, doing so may brick your device.
Your device should boot back to MIUI. If you had selected “clean all“, complete the Setup Wizard steps.
Don’t forget to tell us your opinion, by dropping your comment below, Thanks