Skip to content

Flashing stock ROM ​

MIUI Official Fastboot ROM Flashing Method by @ChrisCatto.

THIS GUIDE APPLIES ONLY ON OFFICIAL MIUI ROMS. NOT IN CUSTOM ROMS.

Requirements: ​

  • A PC/Laptop

  • A USB cable

  • Unlocked bootloader

Getting the fastboot ROM: ​

Get the latest fastboot ROM for your device:

Make sure the ROM you download is a Fastboot ROM (usually .tgz), and not a Recovery ROM.

WARNING

ROM must be extracted in C Drive without any subsequent sub folders.

Installing Mi Flash tool: ​

  1. Download and unzip Mi Flash tool, get the latest version from here.

  2. Run Mi Flash tool.

WARNING

If you get this error then just make a log folder in the unzipped directory of Mi Flash tool.

error

Flashing Process: ​

  1. Reboot phone in fastboot mode by pressing power button and volume down button.

  2. Once phone is in fastboot mode, connect phone to PC / Laptop.

  3. On the bottom right corner of Mi Flash tool, there are 3 options. Each of them means the following:


  • Clean all and lock - This will flash stock ROM, wipe data, and relock the bootloader.

  • Clean all - This will wipe user data and flash stock ROM. This will not relock the bootloader.

  • Save User Data - This will flash stock ROM and keep existing user data. (Only works if the ROM version matches the one already installed on your device).


IMPORTANT FOR PIXELOS USERS

If you are flashing the stock ROM just to get the required firmware baseline before installing PixelOS, select Clean all.

DO NOT select "Clean all and lock", as that will relock your bootloader and force you to wait through the bootloader unlock process again!

  1. On the top left corner, click select, go to the extracted fastboot firmware folder, and click OK.

  2. Click refresh and your device should be detected. If it doesn't try installing drivers for your device on the driver section on top left.

  3. Start flashing by clicking flash.

The flashing process could take around 300-600 seconds. There have been times where it took longer but it's going to be fine as long as the device boots into system. If you choose not to lock the bootloader an error will pop up when flashing is done, just ignore it. If you get a timeout error, install the 20181115 version of Mi Flash tool and repeat the flashing process.

If you are stuck, seek help from the community support groups:

PixelOS Builds maintained by Angaddeep Singh • Not affiliated with pixelos.net