Flashing your Redmi/Mi smartphone with Xiaomi official firmware (MIUI) will help you fix certain software issues on the phone. It also helps you to get rid of root and all modifications made to your phone system software.
To upgrade, update or fix minor software problems on your phone, flashing via stock Mi recovery is recommended. But for a completely clean and fresh installation of all system files, the fastboot method is the way to go. To flash via fastboot though, your Xiaomi smartphone’s bootloader has to be unlocked first.
How to flash Xiaomi firmware via Stock Recovery
- After downloading the stock recovery firmware, copy it to the /sdcard/downloaded_rom folder on your phone.
- Launch Settings on your phone.
- After that, select “About phone.”
- Click System Update, then click the three dots icon at the top-right corner of your phone screen.
- Select choose update package
- From the file manager screen, choose the ROM zip file that you’ve already downloaded and copied to downloaded_rom folder

- Once you have downloaded the ROM file, your device will start upgrading.
- Your device should automatically boot to the new version when the update is completed.
- Done
How to flash Xiaomi firmware via Fastboot
Before flashing your Xiaomi phone via fastboot, the device’s bootloader must already be unlocked. If you have not done this, click here to learn how. Also note that all data on the phone will be lost. To prevent this, explore data backup options here.
- Download Xiaomi MiFlash tool and extract its contents to an empty folder
- After that, extract the contents of the Xiaomi firmware you have already downloaded. If the downloaded firmware file extension is ‘.gz’, rename it to ‘.tgz’. Then copy the firmware folder path to the clipboard-

- Turn off the phone and wait a few seconds for the phone to completely shutdown.
- Now press Volume down and Power button at the same time to boot Fastboot mode.
- Once in fastboot mode, connect the device to Computer via USB cable

- Launch MiFlash.exe tool and click refresh to make sure your phone connects correctly to the computer
- Paste the firmware folder path in the box after the “select” button in the MiFlash tool.

- Once you have confirmed that everything is in order and you have followed the steps carefully, click the flash button. Ensure that clean all is selected before you flash.
- Wait patiently and do not disconnect your phone from the Computer until the flashing progress bar turns green and indicate a success message as shown below

- That’s it! You have successfully flashed your Xiaomi smartphone.
If you have any comments or need help with anything mentioned on this page, feel free to ask in the comments section down below.
31 Comments
I am trying the local update:
However, when i Click System update then click the three dots icon at the top-right corner of your phone screen, i do not see a \’chose update package\’ option.
Please help
you have to tap on the what ever miui icon or logo several times to unlock additional features. just like you tap on android version a couple of times to unlock developer mode.
Worked for me. Thankssssssss
😉
You have to hit Mi symbol multi times
my redmi note 7, i tried to unlock the bootloader with testpoint now it only vibrate and show light but it wont display anything
Follow instructions on this page to try reviving the phone.
thanks a lot
Link is broken
The link has been fixed now!
I have a serious problem with flashing the rom in my device. when I flash the firmware in my device, the flashing process is endless and the status is $pause. It takes a long time with the result still flashing and a penguin picture replaced the droid in the fastboot. Please help.
Sometimes, it may not indicate that the flashing process completed successfully. So, once the green bar loads to end, you can disconnect the phone after a few seconds- that is, if it doesn\’t automatically boot up on completion.
Also, what phone exactly are you trying to flash? Model..
Tenho redmi 4a , coloca na função fastboot porem o comutador não reconhece, não aparece conectado portas(COM e LPT), ja instalei vários drives e nada, poderia me ajudar ?
Tenho redmi 4a , coloca na função fastboot porem o computador não reconhece, não aparece conectado portas(COM e LPT), ja instalei vários drives e nada, poderia me ajudar ?
I have redmi 4a, put in the fastboot function but the computer does not recognize, there are no connected ports (COM and LPT), I have already installed several drives and nothing, could you help me?
Uninstall all previous drivers, then download and install PdaNet+. Follow the wizard to complete installation, and then try connecting again.
I forget my MI6 account user name password and registered correct mobile number also .Still my MI6 mob locked .I tried to unlock my mob through all used user name password also past used mobile number also. But I cant able to unlock .Any possibilities to unlock my mob. Without unlock ,how we can update firmware.
The easiest ways to fix the issue (bypass/remove mi account) on your Mi6 device would be to downgrade the firmware version. See this video for assistance with downgrading the firmware – https://www.youtube.com/watch?v=1WJELXmBIWc. Or by flashing custom ROM (if the phone is rooted and custom recovery installed).
This can\’t work for a hard bricked device, do you have any update or info that works?
You might have to resort to flashing in EDL mode
Thank you.
I tried to install Indonesian rom on a global F2 Pro.
strangleIy I got the error :
error:Not catch checkpoint ($fastboot flash is not done
Even though, when the phone reboot after installation failure,
The Indonesian rom loaded. works good for now ( and I have build-in call recording !)
Yes, you might see such error if you\’re flashing ROM of different region or when you select \’flash all and relock bootloader\’ option in MiFlash. You might find this thread on XDA useful
can install eu rom to china rom via local update?
can i install eu rom via local update to china rom?
I want my android pie for mi A3.. I hate this android 11
Once you upgrade to Android 11, you can\’t downgrade. If you try it, you will end up with a dead phone. However, you can get Android 9 (Pie) on your phone by flashing custom ROM.
I deleted my phone\’s rom, how can I restore it?
After downloading the phone fastboot firmware, follow the fastboot flashing instructions on this page. What phone is that by the way?
How can i flash the rom if I am in EDL?
Here\’s a guide on flashing via EDL mode https://c.mi.com/thread-1479882-1-0.html
Hi downloaded the firmware for INDIA but the IMGAES folder is missing. can you please upload the missing files or can you guide me how to get the images files.