To do this, you have to navigate Settings> Developer Options> Enable USB Debugging. You must have to enable USB debugging.You can do this by navigating to Settings> About Phones> Tap on the MIUI Version 7 times. You must have to enable the Developer option.Unlock Bootloader on your Xiaomi device.Your phone must be at least 50% charged.However, before actually getting into the process, here are some of the requirements you got to meet. You can make use of this method given step-by-step for flashing Your MiUi using the Flash tool.
Given below is a guide on how to install fastboot ROM on Xiaomi devices – How to Flash MIUI Fastboot ROM Using Mi Flash Tool? You have successfully installed MiFlash tool on your Windows PC. When the installation procedure is completed, hit the ‘Close’ button to exit the installer.The installer will now start, and MiFlash Tool will begin installing on your Windows PC.Now when you are asked to confirm the installation, just hit the ‘Next button once again to confirm.
Firstly Download MiFlash Tool zip file or MSI Installer version on your Windows PC.When you are installing the tool, you will see packages that come with the tool, including ADB Tool, Drivers, and Mi Tool. The Xiaomi Flash Tool is available for you with an installer feature that elaborates that you will have to install it first on the computer for using it further. This means that you will not have to install drivers manually to work with the tool.
There come inbuilt Xiaomi Mi USB Drivers including Google ADB Tools and Drivers, Microsoft MTP and RNDIS Driver, Qualcomm USB Serial Driver. Flash All except Storage functions as the default method of flashing the fast boot files on Xiaomi Devices. There are three available flashing options for you: Flash All, Flash All except Storage, and Flash All except Data and Storage.