Installation of stock firmware on Xiaomi: official methods and step-by-step instructions

Why is stock firmware the best choice for Xiaomi?

Xiaomi’s stock firmware is a guarantee of stable smartphone performance, regular security updates and full hardware compatibility. Unlike custom firmware, it is tested by the manufacturer, minimizes the risks of the brick and retains a warranty (if the device is not unlocked). However, even among the official versions of MIUI, there are nuances: global (Global), Chinese (China), European (EEA) and stable/development (Stable/Developer) builds.

Install stock firmware may be necessary in several cases: after a failed experiment with custom software, to fix software failures, before selling a device or when switching from the Chinese version of MIUI to a global one. It is important to understand that the process is different from a conventional update "over the air" - it requires unlocking the bootloader (on most models), using special tools and following instructions accurately. Error at any stage can lead to data loss or device failure.

In this article, we will look at all the current ways to install stock firmware on Xiaomi, Redmi and POCO: through Fastboot, Recovery and Mi Flash Tool, and also analyze the typical errors and their solutions. If you are a beginner, start with the section on preparation, if an experienced user, go straight to the instructions.

πŸ“Š What Xiaomi model do you use?
Redmi Note 10/11/12
POCO X3/X4/X5
Mi 11/12/13
Another Xiaomi model
Not Xiaomi.

Preparation for installation: what to do before the firmware

Before you start installing your firmware, there are a few critical steps to follow: neglecting it can lead to data loss, device lockdown, or even device failure. Start by backing up all your important data: contacts, photos, messages, and apps, and use Mi Cloud, Google Account, or local copying on your PC.

Check the device model and current version of MIUI. You can do this from the Settings β†’ About Phone menu. Write down the exact model name (e.g. Redmi Note 10 Pro or POCO F3) and the firmware version (e.g. MIUI Global 14.0.5 Stable).

  • πŸ“± Create a backup through Settings β†’ Additionally. β†’ Backup and reset or manually copy files to PC.
  • πŸ”‹ Charge the battery to at least 60% – this will prevent a sudden shutdown during firmware.
  • πŸ”— Download drivers for your model from the official Xiaomi website or through the Mi Unlock Tool.
  • πŸ”“ Unlock the bootloader (if it is blocked) – without this installation via Fastboot will not be possible.

Important: On models with a Qualcomm processor (most Xiaomi smartphones), unlocking the bootloader erases all data on the device, including internal memory (photos, videos, apps). On devices with a MediaTek processor (such as some Redmi 9 or POCO M3), unlocking may not be necessary, but this is rare.

Make a data backup|Check the model and version MIUI|Charge your smartphone to 60%+|Install Xiaomi drivers on PC|Download the correct version of the firmware|The loader is unlocked (if necessary)-->

Method 1: Install stock firmware via Fastboot (Mi Flash Tool)

This method is suitable for most Xiaomi devices and is considered the most reliable, since the firmware is installed directly into the phone’s memory via a PC. To work, you will need the Mi Flash Tool (the official tool from Xiaomi) and firmware in.tgz or.zip format for your model.

Instructions:

  1. Download the Mi Flash Tool from Xiaomi’s official website (check out the version – newer models may require the latest version of the tool).
  2. Unpack the firmware in a folder without Cyrillic characters (for example, C:\Xiaomi\proshivka).
  3. Turn off your phone and press Volume Down + Power to enter Fastboot mode (a hare in a hat-eared hat will appear on the screen).
  4. Connect the device to the PC through USB-cable (preferably original).
  5. Launch the Mi Flash Tool, press Select and point the path to the unpacked firmware.
  6. Select firmware mode: Clean all - complete cleaning (recommended when changing the version of MIUI), Clean all and lock - cleaning + lock bootloader (only for experienced!), Save user data - data storage (not always stable).

Flash

Once the firmware is successful, the device will automatically restart. The first run can take up to 15 minutes - don't interrupt the process!

What if the Mi Flash Tool can’t see the device?
1. Check if Qualcomm drivers are installed HS-USB QDLoader 9008 (for Snapdragon devices). 2. Try another one USB-cable or port (better) USB 2.0 on the back of your PC). 3. Disable the antivirus – it can block drivers. 4. Reinstall the Mi Flash Tool with administrator rights. 5. If the device is defined as Unknown Device, install the driver manually through Device Manager (download it from the Xiaomi website or forum). 4PDA).

⚠️ Note: If you choose Clean all and lock mode, the bootloader will be locked and you will have to wait 7-30 days to re-unblock (depending on Xiaomi policy), this mode is only necessary if you want to return the device to a factory state before selling.

Method 2: Installation via Recovery (without PC)

This is easier than Fastboot, but it's not for all situations, and it allows you to install the firmware directly from your memory card or internal storage, without connecting to your computer.

  • πŸ”„ You already have an official version. MIUI (casteless).
  • πŸ“ The firmware in.zip format is designed to be installed via Recovery (usually these are files marked recovery in the title).
  • πŸ”“ bootloader unlocked (unless the firmware is signed by Xiaomi for your model).

Step-by-step:

  1. Download the firmware for Recovery from the official Xiaomi website (Download β†’ Select device β†’ Recovery ROM).
  2. Rename the file to update.zip Put it in the root of your internal memory or SD-map.
  3. Turn off the phone and press Volume Up + Power to enter Recovery.
  4. Select the language (usually English or Chinese), then go to Install update.zip to System.
  5. Confirm the installation and wait until the device is completed (do not turn off!).
  6. After the reboot, perform a data reset (Wipe Data) if the firmware was from another regional version.
SituationIs Recovery a good fit?Recommendation
Update within one MIUI version (e.g. 14.0.3 β†’ 14.0.5)βœ… Yes.It can be installed without data resetting.
Change of regional version (for example, China β†’ Global)⚠️ Partially.Resetting of data (Wipe Data) after installation is required.
Device with locked loader❌ No.Use only official ones. OTA-update.
Recovery after failure (bootloop)βœ… Yes.Choose Clean All in Recovery.

⚠️ Note: If you install firmware through Recovery on a device with a locked bootloader, there is a high risk of getting a "Couldn't verify package" error.

Method 3: Official OTA-Update (the safest method)

If your goal is simply to update MIUI Until the latest official version without risks, the best way to do this is to wait. OTA-This method does not require unlocking the bootloader, does not erase data and is guaranteed to be compatible with your device:

  • πŸ“‘ You have an official firmware installed (not a caste).
  • 🌍 The regional firmware version coincides with the update (e.g. Global). β†’ Global).
  • πŸ”„ The update is available for your model (checked in Settings). β†’ The phone. β†’ Updating the system).

How to speed up the acquisition OTA-update:

  1. Go to Settings β†’ About the phone β†’ System update.
  2. Click on the three dots in the upper right corner and select Download latest package manually.
  3. If an update is available, download it and install it.
  4. If there is no update, try resetting your network settings or waiting a few days.

To force the updates to check, you can use the ADB command:

adb shell am start -n com.android.updater/.UpdaterActivity

πŸ’‘

If OTA-The update doesn’t come long, try connecting to the VPN servers in India or Singapore – sometimes this helps to unlock the update for your region.

Unlocking the loader: step-by-step instructions

Most Xiaomi devices come with a locked bootloader, which protects them from unauthorized changes. However, to install stock firmware through Fastboot or custom software, the bootloader must be unlocked. The process takes 7 to 30 days (depending on Xiaomi's policy) and requires linking the Mi Account to the device.

Instructions for unlocking:

  1. Link your Mi Account to your device: Go to Settings β†’ Xiaomi Account. Sign in (if not, sign up). Activate Settings β†’ Additional β†’ Developers β†’ Mi Unlock Status and Link the device.

Download the Mi Unlock Tool

en.miui.com/unlock

Launch the tool.

Mi

Fastboot

Unlock

Reset the device

Once unlocked, the boot screen will display a warning "This device is unlocked." This is normal and does not affect the performance of the smartphone.

⚠️ Note: New Xiaomi models (released after 2022) may have a 72-hour wait rule after the account is tied, meaning that even after the Mi Account is attached, unlocking will only be available in 3 days.

πŸ’‘

Unlocking the bootloader erases all data on the device. Always back up before you start the process!

Typical errors in the installation of firmware and their solutions

Even with the right instructions, errors can occur, and here are some of the most common problems and ways to fix them.

Mistake.Reason.Decision
Couldn't verify package (in Recovery)The firmware is not signed for your model or the bootloader is blocked.Unlock the bootloader or download the correct version of the firmware.
This package is for "xxx" devices; this is a "yyy"Inconsistency of the device model and firmware.Check the exact model name in Fastboot with the fastboot getvar product team.
Flash is not done (in Mi Flash Tool)Problems with drivers or USB-connection.Try another cable/port, reinstall drivers, and run the Mi Flash Tool on behalf of the administrator.
The device hung on the logo Xiaomi (bootloop)Incorrectly selected firmware version or interrupted installation process.Repeat the firmware through Fastboot with a complete clean (Clean all).
Anti-rollback check failTrying to install an older version of the firmware than the current one.Update to the latest version via Fastboot or contact the service.

If none of these methods worked, try:

  • πŸ”„ Reset your settings via Recovery (Wipe Data).
  • πŸ“₯ Download firmware from another source (for example, from the forum) 4PDA Xiaomi Firmware Updater).
  • πŸ’» Use another PC (sometimes the problem is with drivers or antiviruses).
What if there is no network after the firmware?
1. Check if you have installed the correct regional firmware version (e.g. Global instead of China). 2. Go to Settings β†’ SIM-maps and mobile networks and set up APN manually (options can be taken from the operator). 3. If the problem persists, please re-sweeten the device with a complete clean (Clean all). 4. On some models (for example, Redmi Note 9 Pro) after changing the regional version, you need to flash modem separately (files can be found on the site). 4PDA).

FAQ: Frequent questions about Xiaomi firmware

Can I install a stock firmware without unlocking the bootloader?
Yes, but only through Recovery or OTA-Update: Unlocking is mandatory for installation via Fastboot, and some regional firmware (e.g. China) β†’ Global may require unlocking even for Recovery.
How do I know which firmware is suitable for my model?
The exact name of the model can be found: In the Settings menu β†’ The phone. β†’ Model. On the device box or under the battery (if removable) In Fastboot mode, the command fastboot getvar product. After that, download the firmware only from the official Xiaomi website (section). MIUI Downloads) or verified sources (e.g. Xiaomi Firmware Updater).
What to do if the phone does not turn on after the firmware?
Check first: Is the battery charged (plug in for 30 minutes) is the phone stuck on the logo (wait 10-15 minutes), try Fastboot (Loudness down + Power) or Recovery (Loud up + Power). If the device doesn't respond: Repeat the firmware through the Fastboot with full cleaning. Try flashing the anti-rollback version of the firmware (if the error is due to rollback).
How to bring Chinese firmware back to the global model?
Technically, it's possible, but it's not recommended, because: Google Services and Play Market may stop working. Some features (like NFC or 5G) may not work properly. Xiaomi may lock the device for violating regional regulations. If you still want to try: Unlock the bootloader. Download Chinese firmware for your model (like Mi 11 China). Install it through Fastboot with full cleaning.
How long does it take to get through Fastboot?
Time depends on the model and firmware size: 5-10 minutes for most devices (Redmi Note 10, POCO X3), 10-15 minutes for flagships (Xiaomi 12, Mi 11 Ultra), up to 20 minutes if the firmware weighs more than 3 GB (for example, for Xiaomi 13 Pro). If the process lasts longer than 30 minutes, interrupt it, check the connection and try again.