3.3 KiB
Flash official ROMs
Flash Recovery ROMs using MIUI
-
Download the Recovery ROM you want to flash from here.
-
Use the device to download the ROM or connect it to your PC, enable MTP mode and transfer the downloaded ZIP to it.
-
Open the Updater app or go to Settings > About phone > System update and browse for the ZIP by tapping options > Choose update package.
-
Confirm your selection and install the ROM.
Flash Recovery ROMs using XiaomiADB
-
Download and unzip XiaomiADB from here.
-
Download the Recovery ROM you want to flash from here.
-
Enter MiRecovery by holding power and volume up simultaneously for 5-10 seconds, then select the third option (Connect with MiAssistant / 连接小米助手).
-
Connect the device to your PC and open a command prompt in the unzipped folder by typing
cmd
into the address bar and hitting enter. -
Type
xiaomiadb sideload_miui
into the command prompt, then drag and drop the downloaded ZIP on the command prompt window and hit Enter. -
Wait until the installation finishes.
-
Disconnect the device and wait for it to boot in.
The first boot may take up to 15 minutes.
Flash Fastboot ROMs using MiFlash
Requirements: unlocked bootloader
-
Download the latest MiFlash from here and install it if needed.
-
Download the Fastboot ROM you want to flash from here and unzip it.
Note: You might get a single .tar file after unzipping which has to be unzipped again in order to get the necessary files.
-
Connect the device to your PC and enter fastboot mode by holding Power and Vol- simultaneously until the splash screen comes up.
-
Launch MiFlash and browse for the unzipped folder by clicking the Select button. Make sure the file path has no spaces in it, otherwise MiFlash won't see it.
-
Click Refresh in MiFlash and select a flashing option at the bottom of the window.
clean all
to perform a clean install without locking the bootloader.save user data
to update. (No migration between China/Global or Stable/Developer!)clean all and lock
to perform a clean install and lock the bootloader. -
Click Flash and wait until the flashing sequence finishes.
-
Disconnect the device and wait for it to boot in.
The first boot may take up to 15 minutes.
Flash Fastboot ROMs using the Xiaomi ADB/Fastboot Tools
Requirements: unlocked bootloader
-
Download the Xiaomi ADB/Fastboot Tools from here.
-
Connect the device to your computer and load it in Fastboot mode. The device info should appear in the application.
For details, see the instructions on GitHub.
-
On the Fastboot tab, in the ROM Downloader module, input the device's codename, select the branch you'd like to download and click Download ROM.
-
After the ROM's been downloaded, unzip it.
Note: You might get a single .tar file after unzipping which has to be unzipped again in order to get the necessary files.
-
On the Fastboot tab, in the Flasher module, select the unzipped ROM folder, choose an installation method and click Flash ROM.
-
Wait until the flashing sequence finishes, then disconnect the device and wait for it to boot in.
The first boot may take up to 15 minutes.