How to properly install Recovery ROM Xiaomi smartphone: from unlock to firmware

Installation of Recovery ROM On Xiaomi devices, a procedure that may be needed to restore the functionality of the smartphone after a crash, return to stock firmware or prepare for customization. ROM, which is installed through the fast loading mode, Recovery ROM It is stitched through standard or custom recovery, making the process more versatile but also more risky if the wrong actions are taken.

In this article, we will discuss the entire process from start to finish: from preparing the device and unlocking the bootloader to choosing the right version of the firmware and solving typical errors. POCO 2022-2026, but the instructions are applicable to older devices, given their features. If you've never flashed a smartphone before, don't worry: we'll explain each step in as much detail as possible, taking into account the nuances that are often not mentioned in short guides.

What's Recovery? ROM And why do you need it?

Recovery ROM β€” This is Xiaomi's official firmware, packaged in.zip format, which is installed through the recovery menu:

  • πŸ“¦ It comes in the form of an archive that is unpacked directly on the device.
  • πŸ”„ Supports the update "over the air" (OTA) post-installation.
  • πŸ› οΈ Often used to restore the system after a softbrick (software failure).
  • πŸ”“ Requires an unlocked bootloader, but not always – depends on the model and version MIUI.

The main scenarios when you may need to install Recovery ROM:

  • πŸ”„ Return to stock firmware after a failed update or custom firmware.
  • 🐌 Removing Lags and Bugs After Updating MIUI through OTA.
  • πŸ”’ Preparation of the device for sale with a complete resetting of settings.
  • πŸ“± Recovery after unsuccessful unlocking of the loader.

It is important to understand that Recovery ROM It's not a magic pill for all problems, for example, it doesn't help if you have a problem:

  • πŸ’₯ The device has a hardbrick (not even included in the Fastboot mode).
  • πŸ”‹ The hardware is damaged (for example, the memory chip burned).
  • πŸ”’ bootloader is locked and you don’t know the Mi Account linked to the device.
πŸ“Š Why you are installing Recovery ROM Xiaomi?
Recovery after failure
Update to the new version of MIUI
Custom firmware removal
Preparation for sale
Other

Preparation of the device: unlocking the loader

Before installation of Recovery ROM Most Xiaomi devices need to unlock the bootloader, a security requirement that prevents unauthorized changes to the system partition. The exceptions are some older models (until 2017) and devices with global firmware, where unlocking may not be necessary.

The unlocking process includes several stages:

  1. Linking your Mi Account to your device (required! without this, unlocking is impossible).
  2. Getting permission to unlock through the official Mi Unlock Tool app.
  3. Directly unlock through Fastboot mode.

Important: Xiaomi has tightened the unlock rules since 2022, and now requires:

  • πŸ“± The device must be linked to the Mi Account for at least 7 days (up to 30 days for new accounts!).
  • πŸ”— The device should be enabled debugging by USB and account binding is permitted.
  • 🌍 The account must be confirmed by SMS or email (unconfirmed accounts are not appropriate).

If you miss any of these items, the Mi Unlock Tool will give you an error, such as the popular Couldn't unlock 50% or 10008 error, which means that the account's time limit is not met.

What if the Mi Unlock Tool can’t see the device?
Make sure: 1. Xiaomi drivers are installed USB Drivers (download on the official website). 2. The device is connected in Fastboot mode (click Volume Down). + Power with your phone turned off. 3. In Mi Unlock Tool, you are logged in to the same account as on your phone. 4. Disable the antivirus - it can block the tool from working.

Once the bootloader is successfully unlocked, the device will display Unlocked when booting. Now you can start installing Recovery. ROM. Remember:

⚠️ Attention: Unlocking the bootloader resets all data on the device! Back up important files in advance. Also, after unlocking, some security-related features (such as Mi Pay or Widevine) may stop working. L1 viewable HD-content).

Choosing the Right Version of Recovery ROM

Mistakes in firmware selection are one of the main reasons for the β€œbricking” of devices. Xiaomi produces several types of firmware, and it is important to choose the one that suits your model and region.

The main types of firmware Xiaomi:

Type of firmwareDescriptionFor which devicesFeatures
Global StableStable global version MIUIFor the international market (marked "Global")Supports Google Services, Updates Less Often
Global BetaBeta version for testersFor enthusiasts ready for bugsFrequent updates, possible failures
China StableStable Chinese versionFor devices purchased in ChinaWithout Google Services, a Different App Package
EEA (Europe)The European versionFor marked devices "EEA"Observes. GDPR, may differ from a set of applications
India (IN)India versionFor marked devices "IN"Optimized for local market, can contain local services

How to determine which firmware is suitable for your device:

  1. Check the device model in settings: Settings β†’ The phone. β†’ Model (e.g. Redmi Note 12 Pro)+ 5G).
  2. Check the code name of the device (e.g. ruby for Redmi Note 10 Pro) and this can be done via the Device Info app or by the command in the app. ADB: adb shell getprop ro.product.device
  3. Check the current version MIUI and region in Settings β†’ The phone. β†’ Version. MIUI.

Download firmware is recommended only from official sources:

  • 🌍 Official website MIUI (Choose the Recovery section ROM).
  • πŸ“± Download page MIUI (filter by model).
  • πŸ”— Xiaomi Firmware Updater (unofficial but reliable source with firmware archive).

⚠️ Warning: Never download firmware from questionable forums or torrent trackers! Modified versions with malware or spyware are often distributed under the guise of official firmware, especially for popular models such as the Redmi Note 11 or the Redmi Note. POCO X5 Pro.

After downloading the firmware, be sure to check its integrity. The archive should weigh between 2 and 4 GB (depending on the model). If the file weighs much less (e.g. 500 MB), it is likely to be incomplete firmware or a fake.

πŸ’‘

Before you run your firmware, disable all antiviruses on your computer – they can delete firmware files, mistaking them as a threat due to modified system libraries.

Installation of Recovery ROM: step-by-step

Now, to the installation process itself, you have to unlock the bootloader, download the right firmware, and the device is at least 50% charged (preferably 100%).

There are two main ways to install Recovery. ROM:

  1. Standard Recovery (suitable for updating the current version) MIUI).
  2. Through custom recovery (TWRP) (Suitable for downgrading or installing modified firmware).

Let's look at both options.

Method 1: Installation through standard recovery

This method is the safest and recommended for most users, and it is suitable if you upgrade to a new version. MIUI Or restore the current firmware.

Download the correct version of Recovery ROM|Copy the firmware file into the root of internal memory|Charge the device to at least 50%|Disable password/pattern lock protection (at the time of firmware)|Connect the device to charging (in case of long installation)-->

Installation steps:

  1. Copy the firmware file (for example, miui_BLOCKOTA_RUBY_GLOBAL_V14.0.2.0.TKUMIXM_1234567890_12.0.zip) The root of the device's internal memory. The file name must remain unchanged!
  2. Turn off the device.
  3. Press the button combination to enter recovery: For most models: Volume up + Power. For some older devices: Volume up. + Loudness down + Nutrition.

Select the language (usually English and Chinese) from the recovery menu.

Install update.zip to System One

Select the firmware file and confirm the installation.

Wait until the process is completed (it can take 5-15 minutes).

Reboot to System

If it's successful, the device will boot with a new firmware, and it can take up to 10 minutes to launch in the first place, which is normal.

Method 2: Installation through custom recovery (TWRP)

This method is more flexible and allows you to install not only official firmware, but also custom. TWRP (Team Win Recovery Project and is suitable for experienced users.

Advantages of TWRP:

  • πŸ”„ Possibility of installing firmware with downgrad (downgrading version) MIUI).
  • πŸ“‚ Backup and Partition Recovery (NANDroid Backup).
  • πŸ”§ Installation of modifications (for example, Magisk for root rights).

How to install Recovery ROM through TWRP:

  1. Download and install. TWRP For your model (instructions are available on the forum) XDA Developers).
  2. Copy the firmware into internal memory or SD-map.
  3. Boot in. TWRP (Usually the same combination as for standard recovery).
  4. Press Install and select the firmware file.
  5. Important: Make a Wipe before installing β†’ Format Data (if you install firmware of another version or after custom). Without this, you can freeze and errors!
  6. Confirm the installation with a swipe and wait for completion.
  7. After installation, press Reboot System.

If after the reboot the device stuck on the logo MI, try:

  • πŸ”„ Repeat installation by pre-executing Wipe Dalvik/Cache.
  • πŸ“₯ Install a different firmware version (the version you choose may not be compatible with your device).
  • πŸ”§ Check it out via Fastboot (if you can). TWRP failed).

πŸ’‘

If you are installing a firmware through TWRP If you see an error called "Error 7", it means that the firmware is not designed for your model or version. MIUI. Check the code name of the device and download the correct version!

Solving Typical Errors in Installation

Even if you follow the instructions accurately, you can get errors, and let's look at the most common ones and how to solve them.

Mistake.Reason.Decision
Can't verify updateDamaged firmware file or model mismatchDownload the firmware again, check the code name of the device
Error 7 (in TWRP)The firmware is not designed for your model.Check the code name and download the correct version.
The device hung on the MI logoFirmware incompatibility or incomplete installationRepeat installation with full Wipe or run through Fastboot
This package is for "ruby" devices; this is a "sweet".Firmware for another modelClarify the code name of your device and download the correct firmware
E3004: Can't install this packageThe firmware is older than the current version of MIUIAllow downgrad in TWRP or run through the Fastboot

If the device stopped turning on after a failed firmware, try the following steps:

  1. Boot in Fastboot (click Volume Down + Power).
  2. Connect the device to your PC and check if it is determined by the command: fastboot devices
  3. If the device is identified, try flashing Fastboot ROM via Mi Flash Tool.
  4. If the device is not detected, perhaps a hardbrick has occurred - in this case, only a service center or a resolding of the memory chip (for experienced users) will help.

⚠️ Note: If the device does not turn on after firmware, and when connected to the PC it makes a connection / disconnection sound (cyclically), this is a sign of partition damage. EFS Or Modem. In this case, you will need firmware through EDL-Download emergency mode, which requires an authorized Xiaomi account or special equipment.

What to do after installing Recovery ROM

After successful firmware installation, several important steps must be taken to ensure that the device is stable.

The first thing to do is:

  • πŸ”„ Wait for the system to boot up fully (the first start can take up to 10-15 minutes).
  • πŸ“± Go through the initial setup, but don’t restore data from the backup right away – check the stability of the work first.
  • πŸ”‹ Charge the device to 100% and let it run for 1-2 hours to make sure there is no overheating or sudden reboot.

It is further recommended that:

  1. Update all apps via Google Play or Mi App Store.
  2. Check the performance of the main functions: πŸ“Ά Mobile and Internet (2G/3G/4G/5G). πŸ“Ά Wi-Fi and Bluetooth. πŸ“· Cameras (main and front). πŸ”Š Speakers and microphone. πŸ”‹ Charging (check if the device is not warmed when charging).

Perform a reset settings

Settings β†’ Additional β†’ Recovery and Reset β†’ Resetting settings

If you have installed firmware to prepare the device for sale, follow the following steps:

  • πŸ”’ Unplug your Mi Account account in Settings β†’ Xiaomi account β†’ Get out.
  • 🧹 Perform a complete reset of settings.
  • πŸ”„ Make sure the device boots and asks you to configure it as new (this will confirm that all data has been deleted).

If you notice the following problems after firmware, here’s how to solve them:

Problem.Possible causeDecision
Mobile phone service is down.Disparity between modem or firmware region versionInstall firmware for your region or flash the modem separately
The device is very warm.Background optimization processes after firmwareLet the device work 1-2 days, if it does not pass – check for viruses
Google Pay or Netflix does not work HDUnlocked bootloader resets Widevine certificates L1Reflash the device with a locked bootloader or resign to the limitations
The battery goes down fast.Background optimization after firmware or incorrect settingsCalibrate the battery (discharge to 0%, charge to 100% without interruption)

Frequently Asked Questions (FAQ)

Can I install Recovery ROM without unlocking the bootloader?
On most modern Xiaomi devices (2018 and later) install Recovery ROM It's impossible to unlock the bootloader without unlocking the bootloader: πŸ“± Global firmware devices where unlocking is not required to upgrade through standard recovery. πŸ”„ Update through OTA (If the current firmware is official and not modified, if the bootloader is locked and you're trying to install the firmware through TWRP or unofficial recovery, the device simply won’t allow it to do so and will give you an error.
How do I know which firmware is installed on my Xiaomi?
Check the current version MIUI and firmware in the Settings menu β†’ It'll say, "The version." MIUI (for example, MIUI Global 14.0.5) Android version (e.g. Android 13) Device code name (e.g. ruby for Redmi Note 10 Pro). ADB: adb shell getprop ro.miui.ui.version.name This will show the exact version MIUI.
Can I go back to an older version? MIUI recover ROM?
Yes, but with reservations: πŸ”„ Through standard recovery, rollback is possible only within one branch. MIUI (For example, from 14.0.5 to 14.0.2). πŸ”™ For a retracement to another branch (for example, with MIUI 14 on MIUI 13) will be required TWRP and full Wipe (Data Loss!). ⚠️ On some devices, rollbacks can lead to a bootloader lock (especially if you are rolling back to an older version than the one you originally had).Be sure to check before rolling back if your model supports downgrade, on the forums XDA or 4PDA.
Why is Google Pay or Banking Apps not working after firmware?
This is because unlocking the bootloader resets Widevine and SafetyNet security certificates. Banking apps and services like Google Pay require the device to meet security standards: πŸ”’ Install Magisk and Universal SafetyNet Fix modules + MagiskHide Props Config. πŸ”„ Switch the device with the locked boot loader (Widevine will return) L1, But it'll require re-unlocking). πŸ“± Use alternative payment methods (e.g. Samsung Pay on devices with a mobile phone) NFC). Please note that some banks (e.g. Sberbank) may block access to the application even if the application is successfully passed by SafetyNet.
How to return the official firmware after custom?
To return to stock firmware after custom (like LineageOS or Pixel Experience), follow the following steps: Download the official Recovery ROM or Fastboot ROM If you have custom recovery installed (TWRP), Fastboot: Fastboot Flash Recovery recovery.img Fastboot Reboot Recovery Install Recovery ROM through standard recovery (as described above). If the device does not boot, flash Fastboot ROM With the Mi Flash Tool (select clean all option). After returning to stock firmware, it is recommended to block the bootloader back (unless you plan to experiment with firmware further).