XiaomiWiki_RU/docs/flashofficial.md
2019-01-20 15:54:12 +01:00

3.3 KiB

Flash official ROMs

Flash Recovery ROMs using MIUI

  1. Download the Recovery ROM you want to flash from here.

  2. Use the device to download the ROM or connect it to your PC, enable MTP mode and transfer the downloaded ZIP to it.

  3. Open the Updater app or go to Settings > About phone > System update and browse for the ZIP by tapping options > Choose update package.

  4. Confirm your selection and install the ROM.

Flash Recovery ROMs using XiaomiADB

  1. Download and unzip XiaomiADB from here.

  2. Download the Recovery ROM you want to flash from here.

  3. Enter MiRecovery by holding power and volume up simultaneously for 5-10 seconds, then select the third option (Connect with MiAssistant / 连接小米助手).

  4. 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.

  5. Type xiaomiadb sideload_miui into the command prompt, then drag and drop the downloaded ZIP on the command prompt window and hit Enter.

  6. Wait until the installation finishes.

  7. 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

  1. Download the latest MiFlash from here and install it if needed.

  2. 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.

  3. Connect the device to your PC and enter fastboot mode by holding Power and Vol- simultaneously until the splash screen comes up.

  4. 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.

  5. 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 your current ROM. (No migration between MIUI branches!)

    clean all and lock to perform a clean install and lock the bootloader.

  6. Click Flash and wait until the flashing sequence finishes.

  7. 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

  1. Download the Xiaomi ADB/Fastboot Tools from here.

  2. 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.

  3. 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.

  4. 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.

  5. On the Fastboot tab, in the Flasher module, select the unzipped ROM folder, choose an installation method and click Flash ROM.

  6. 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.