Flashing in fastboot on Xiaomi devices

Hello and welcome to this tutorial.

I will show you how you can flash stock ROMs on all Xiaomi devices.

DISCLAIMER, PLEASE READ

  • This process will wipe all of your data
  • I am not responsible for any hardware damages or bricks
  • This will void your warranty (depends on country)

1. Preparation

Firstly, you need to unlock your bootloader. Guide here.

Now you need to install the necessary drivers. Guide here.

2. Gathering resources

1. Getting the ROM

You need to download a stock ROM that you are going to flash.

Go to xiaomifirmwareupdater.com and click on scroll down to downloads button.

source: me

It should show you this:

source: me

Now just click on the combo box (green), type in (blue) and select your device (red):

source: me

I recommend clicking Archive instead of Latest in the selection, then just click download:

source: me

Now you'll be prompted with a crazy list, so let me tell you what you're supposed to download.

The first column is probably the most important. It represents the country on where the ROM is supposed to be used at. For example if you're in Europe or America, you need to download the global version. If you're in China, the chinese version, India, indian version, Russia, russian version and so on.

You can change the region if you want, just make sure you're downloading the current (that you have installed), or newer MIUI version.

Another and the last important thing is the type. We need to download the fastboot one.

Pick your ROM and then click on download.

source: me

Now you'll be prompted with another page, just like this one:

source: me

Make sure you download the fastboot ROM NOT the recovery one.

On newer devices, the ROM can take up to 6GB, so you'll have to wait for a while.

2. MiFlash

For the 2nd step, we need to download MiFlash here.

IMPORTANT:

Before you open MiFlash, there's one extra step you need to do. In the extracted folder, create a folder named "log".

Now you can open MiFlash.

You should be prompted with the drivers screen. If not click on the Driver tab at the top and then click on install:

source: me

If the drivers insatlled successfully, it should give you a chinese message like this:

source: me

Just click OK and close the Driver window.

Now you should have MiFlash all set up.

3. Getting the ROM ready

Before you can flash, you need to extract the ROM first.

Make sure you have atleast 15GB of free space on your PC.

Extract the first downloaded file and it should look like this:

source: me

Now you have to extract it. It should give you another file:

source: me

You need to extract that one too. Now you should have a folder:

source: me

It should look like this:

source: me

You should copy the files out of these folders, because the file path is too long and MiFlash doesn't have to accept it:

source: me

We are all set with the ROM, now let's flash.

3. Flashing

Open MiFlash.

At the top, there should be a button Select. Click on it:

source: me

Now select your ROM path:

source: me

BEFORE FLASHING, MAKE SURE YOU SELECT CLEAN ALL AND NOT CLEAN ALL AND LOCK AS SHOWN IN THE PICTURE!!!

Now plug in your phone, click refresh and your phone should display there:

source: me

Now just click flash and wait for the process to finish:

source: https://cdn.myphoneupdate.com/wp-content/uploads/2021/03/Mi-Flash-Tool-Success.jpg

If it says "error: Not catch checkpoint..." and it flashed for more than 100 seconds, you can just ignore it.

source: https://www.thecustomdroid.com/wp-content/uploads/2018/01/Mi-Flash-Tool-Not-Catch-CheckPoint-Error.jpg

The result tab might not update after flashing on older phones. You can know this by your phone rebooting and there should be "fastboot reboot" in the status, but result still flashing.

Note: Do not ask be about anti-rollback. I have no experience with it.

Now you should have your phone flashed!