Download necessary files to prepare for flashing MIUI ROM
Download ROM-flashing tools
1. Unzip the original pack GOT and put it into a root directory of a certain disk backup (the path and SBF name cannot include Chinese)
2. Unzip RSD Lite 4.6 on the computer and install it.
3. Unzip Milestone driver on the computer and install it.
4. Put update.zip and OpenRecovery folders obtained from the decompression of OpenRecovery into the root directory of your SD card in your phone. Please do not delete or rename them.