How to upgrade Xiaomi to MIUI 12: all ways and life hacks

Upgrading to MIUI 12 isnโ€™t just a change in the firmware version, itโ€™s a dramatic improvement in the interface, performance and functionality of your Xiaomi smartphone. Even if your device doesnโ€™t officially support this version, there are legal ways to get fresh chips, from responsive themes to improved multitasking. But before you jump into the process, itโ€™s worth getting to the nuances โ€” not all models can work correctly with MIUI 12, and improper actions can lead to a loss of warranty or โ€œbrickingโ€ the device.

In this article, we will discuss all current methods of updating: from the standard to the standard. OTA It's a hand-held firmware through Fastboot and custom recavers, and we'll focus on the preparation of the device, which is often ignored, although it's critical for a successful upgrade. Xiaomi/Redmi/POCO s MIUI 12 And the kickback instructions if something goes wrong, and let's start with the simplest one, which is checking the current firmware version and the availability of the update.

1. Verification of the current version of MIUI and compatibility with MIUI 12

Before you try to upgrade, make sure your device officially supports MIUI 12 or at least has unofficial ports.

  1. Open the Settings. โ†’ The phone.
  2. Scroll to MIUI version โ€“ the current firmware is listed here (e.g. MIUI 11.0.8.0 Global).
  3. Remember the code name of the model (for example, raphael for Redmi K20 Pro) โ€“ it is useful for searching custom firmware.

Compare your model with the official list of supported devices, below is the compatibility table for popular Xiaomi smartphones (data is up to 2026):

ModelCode nameSupport for MIUI 12Type of update
Xiaomi Mi 10umiโœ… Yes.Official OTA
Redmi Note 9 Projoyeuseโœ… Yes (Global/EEA)Official + Custom ports
POCO F2 Prolmiโœ… Yes.Official (with the transition to MIUI 13)
Xiaomi Mi 9cepheusโš ๏ธ Partially (only custom firmware)Unofficial ports (e.g., xiaomi.eu)
Redmi 8AoliveliteโŒ No.Maximum - MIUI 11

โš ๏ธ Note: If your model is marked as โ€œPartiallyโ€ or โ€œNoโ€, try to install the MIUI 12 through official channels will lead to an error, in which case you will need to unlock the bootloader and install custom firmware โ€” more about this in section 4.

๐Ÿ“Š What version? MIUI You're using it now?
MIUI 9 or older
MIUI 10
MIUI 11
MIUI 12
MIUI 13/14
I don't know.

2.Preparing the smartphone for the update: 5 mandatory steps

Even if your device supports MIUI 12, improper preparation can cause disruptions, from data loss to complete phone failure.

Battery charge โ‰ฅ 60%|Backup of data (photos, contacts, SMS)|Liberation. โ‰ฅ 3 GB of memory|Disabling antiviruses and VPN|Connect to stable Wi-Fi (not mobile internet)-->

1. Backup. The update can erase user data, especially when you switch from MIUI 10 to MIUI 12. Use built-in backup (Settings โ†’ Additional โ†’ Backup) or third-party tools like Swift Backup (requires root).

  • ๐Ÿ“ฑ Contacts and call log (export to.vcf)
  • ๐Ÿ“ธ Photos and videos (copy to PC or cloud)
  • ๐Ÿ”‘ Passwords from Wi-Fi (Settings) โ†’ Wi-Fi โ†’ Save networks)
  • ๐ŸŽฎ Save games (use Google Play Games or Helium)

2. Memory Free. MIUI 12 requires at least 3GB of free space to install. Remove unnecessary apps, clear the cache (Settings โ†’ Storage โ†’ Clear), and transfer media files to a memory card or PC.

System Integrity Check: If you have previously experimented with root rights or modified system files, the update may result in an error.

  • ๐Ÿ”ง Restore stock Recovery via Fastboot:
  • ๐Ÿ”„ Make reset to factory settings (Settings) โ†’ Additionally. โ†’ Resetting) if there have been major changes.
What happens if you ignore the training?
Without backup, you risk losing all your data when you crash an update, such as when you switch from MIUI 11 to MIUI 12, some users reported a โ€œcleanโ€ system installation without the ability to restore old data, and a lack of memory can cause the phone to freeze during the unpacking phase of the firmware (so-called โ€œbootloopโ€).

Method 1: Update via OTA (the safest method)

If your model officially supports MIUI 12, the easiest way is to upgrade to an over-the-air (OTA) update, which saves all the data and settings, but requires a stable Internet connection.

Instructions:

  1. Connect to Wi-Fi (update via mobile network may be interrupted).
  2. Go to Settings โ†’ About the phone โ†’ System update.
  3. Click Check Updates. If MIUI 12 is available, a notification will appear with the Download button.
  4. After download, click Set and wait for the reboot (it will take 10-20 minutes).

โš ๏ธ Note: If the update is not available but you are confident in supporting your model, try it:

  • ๐ŸŒ Change the firmware region through Settings โ†’ Additionally. โ†’ Region (e.g. from Russia to Global).
  • ๐Ÿ”„ Restart the phone and repeat the check.
  • ๐Ÿ“ฅ Download the full service package manually from en.miui.com and install it through Select the update file in the menu OTA.

๐Ÿ’ก

OTA-The update is only suitable for officially supported models if the system offers a transition to the MIUI 12, but after installation, the phone is stuck on the logo, which means the firmware is damaged.

Method 2: Manual update via Recovery (for experienced)

If OTA is not available, but you have found an official service pack for your model (a file with the.zip extension), it can be installed via stock recap, which is suitable for devices that theoretically support MIUI 12 but do not receive it by air.

Step-by-step:

  1. Download the correct firmware version for your region (Global/EEA/China) from the Xiaomi Firmware Updater website.
  2. Rename the file to update.zip and place it in the root of internal memory (not in folders!).
  3. Turn off the phone and press Volume Up + Power to enter Recovery Mode.
  4. Select Install update.zip (control โ€“ volume buttons for navigation, power for selection).
  5. After installation, select Reboot.

โš ๏ธ Warning: If after the reboot the phone is stuck on the logo MIUI After 10 minutes, the firmware is not suitable for your model or damaged:

1.Put Volume Down + Power down for 10 seconds for a forced reboot. 2. If the phone doesn't turn on, you'll need firmware through Fastboot (section 5). 3. Don't try to re-install the same firmware - this could exacerbate the problem.

Where to download the correct firmware?

  • ๐Ÿ”— Official source: en.miui.com (select Stable, not Developer!).
  • ๐Ÿ”— Alternative: Xiaomi Firmware Updater (there are archival versions).
  • ๐Ÿ” Check the hash file (MD5) After downloading - this is a guarantee that the firmware is not damaged.

๐Ÿ’ก

If you downloaded firmware for another region (for example, Chinese instead of global), after the update, Google services may disappear. To return them, install the Google Apps package (GApps) through custom recavities.

5. Method 3: Fastboot Firmware (for advanced users)

If the previous methods didn't work, you'll have to use Fastboot to run the firmware, which is suitable for:

  • ๐Ÿ“ฑ Devices that do not receive OTA-update.
  • ๐Ÿ”ง Recovery of the phone after a failed upgrade.
  • ๐Ÿ”“ Installation of custom firmware (for example, xiaomi.eu).

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with Windows/Linux and installed drivers ADB/Fastboot.
  • ๐Ÿ”Œ Cable USB (preferably original).
  • ๐Ÿ“ฆ Firmware in.tgz or.zip format for Fastboot.
  • ๐Ÿ”“ Unlocked bootloader (if you install custom firmware).

Instructions:

  1. Download and unpack the firmware into a folder on your computer (e.g., C:\MIUI12).
  2. Turn off the phone and press Volume Down + Power to log into Fastboot Mode.
  3. Connect the phone to your PC and check the connection with the command: fastboot devices If the device is determined (the serial number will appear), continue.
  4. Run firmware: For Windows (in the firmware folder): flash_all.bat For Linux/Mac: chmod +x flash_all.sh./flash_all.sh

Wait until the phone is finished (the phone will reboot automatically).

โš ๏ธ Note: Fastboot firmware erases all data (including internal memory!).If you need to save files, pre-extract the memory card and make a backup to your PC.

What if Fastboot doesnโ€™t see the device?
1. Check if the drivers are installed ADB (Download from Xiaomi or use the Mi Flash Tool). 2. Try another one. USB-port (preferably) USB 2.0). 3. Disable the driver signature in Windows (reboot to the mode with the signature check disabled). 4. If you use Linux, add a rule for the device: sudo echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="2717", MODE="0666"' | sudo tee /etc/udev/rules.d/51-android.rules

6. Method 4: Install custom firmware (e.g. xiaomi.eu)

If there is no official MIUI 12 for your model, but you are willing to sacrifice the warranty, you can install custom firmware from the community (e.g. xiaomi.eu or LineageOS), which requires unlocking the bootloader and installing a customized Recovery (TWRP).

Advantages of custom firmware:

  • ๐Ÿ†• More recent versions of Android and MIUI, What Xiaomi offers.
  • ๐Ÿ—‘๏ธ Absence of Bloatware (unnecessary preinstalled applications).
  • ๐Ÿ”ง Additional settings and performance tweaks.

Disadvantages:

  • โš ๏ธ Loss of warranty (if the bootloader is unlocked).
  • ๐Ÿ”‹ Possible battery or stability problems.
  • ๐Ÿ“ฑ Some functions (such as Widevine) L1 for Netflix HD) may not work.

Step-by-step:

  1. Unlock the bootloader: Register at en.miui.com/unlock and get permission (may take up to 72 hours). download the Mi Unlock Tool and follow the instructions.

Set TWRP:

fastboot flash recovery twrp.img


fastboot boot twrp.img

Sweep through the custom firmware:

  • Download xiaomi.eu or other firmware (for example, from SourceForge).
  • Transfer the file to your phone and install it via TWRP โ†’ Install.
  • Make sure to make Wipe โ†’ Format Data (otherwise the system will not boot!).

โš ๏ธ Attention: Castom firmware often contains bugs. Check forum reviews before installing (e.g., forum reviews, XDA Also note that some banking applications (e.g. Sberbank Online) may block work on unofficial firmware.

7 Solve problems after upgrading to MIUI 12

Even if the update is successful, you may encounter bugs, and here are the most common problems and solutions.

Problem.Possible causeDecision
The phone will not turn on after the updateA damaged firmware or incompatible versionSwitch through Fastboot (Section 5)
Constant reboots (bootloop)Conflict with modified system filesReset your settings via Recovery or reflash
No network or mobile internetResetting IMEI settings or modem moduleRestore IMEI via Engineer Mode or flash the modem separately
Fast battery dischargeOptimizing MIUI 12 for the new Android coreCalibrate the battery (discharge to 0% and charge to 100% without interruption)
Google services are not workingInstalled Chinese version of MIUISwitch GApps through TWRP or change region

If after the update the phone began to slow down:

  • ๐Ÿงน Clear the cache in Recovery (Wipe) โ†’ Wipe Cache).
  • ๐Ÿ”„ Turn off animations in Settings โ†’ Additionally. โ†’ For developers (enable developer mode by clicking 7 times on the Version) MIUI).
  • ๐Ÿ“ต Remove unnecessary apps through Settings โ†’ Annexes.

โš ๏ธ Note: If photos or contacts are missing after the update, but there is no backup, try to restore data using programs like DiskDigger or Recuva. The chances are higher if you did not write new files on top of the deleted ones.

8.Return from MIUI 12 to the previous version

If you don't like the new firmware or cause critical bugs, you can go back to MIUI 11 or earlier, but there are nuances to this process.

Method 1: Fastboot (recommended)

  1. Download the full firmware package of the desired version (for example, MIUI 11) from the official website.
  2. Unpack it and launch it. flash_all.bat (sectionally 5).
  3. If an anti-rollback error occurs, your model has rollback protection, in which case only firmware through EDL Mode (requires an authorized Xiaomi account) will help.

Method 2: TWRP (if installed)

  1. Download the archive with firmware (.zip) for your model.
  2. Download to TWRP and select Install.
  3. Before installing, make Wipe โ†’ Format Data (otherwise, failures are possible).

โš ๏ธ Warning: A rollback to an earlier version may block the phone due to the anti-rollback mechanism. Before the procedure, check if your model supports downgrade, on forums like 4PDA.

๐Ÿ’ก

A rollback to the previous version of MIUI often results in data loss. If you plan to return to the old firmware, back up in advance - it will be impossible to recover data after a downgrade.

FAQ: Frequent questions about Xiaomi upgrade to MIUI 12

โ“ Can I upgrade the Redmi Note 8 Pro to MIUI 12?
Redmi Note 8 Pro (codename begonia) officially received MIUI 12, but only in some regions (eg Global and EEA).If the update does not come by air, download the firmware manually from the official website and install through Recovery (section 4).
โ“ Why did the root disappear after the update?
Update through OTA Or Recovery resets root rights. To get them back: Unlock the bootloader (if it's locked). TWRP patch boot.img manually. โš ๏ธ Nana MIUI 12 Some versions of Magisk may not work โ€“ use the current version (25.0+).
โ“ How to upgrade Xiaomi if you donโ€™t have enough memory?
If your phone has less than 3GB of free space: Connect your phone to your PC and manually delete large files (such as the game cache in your Android/obb folder). Use ADB to install the update without downloading to your phone: adb sideload update.zip If nothing helps, reset to factory settings (Settings โ†’ Reset).
โ“ Can we determine MIUI 12 on Xiaomi Mi A2 (Android One)?
Xiaomi Mi A2 It runs on Android One, so it works. MIUI 12 is not officially ported to it, but there are some unofficial firmware on the base. MIUI For this model (e.g. from Xiaomi.eu), they will require: Unlock the bootloader. TWRP. Swipe custom firmware (instructions in section 6). โš ๏ธ Note that on the Mi A2 post-installation MIUI The camera or fingerprint sensor may not work.
โ“ How to check if the original firmware MIUI 12?
To make sure the firmware is not modified: Check the hash (MD5) of the downloaded file - it must match the one listed on the site. After installation, go to Settings โ†’ About phone and compare the official version (for example, MIUI 12.0.1.0 Global). Use the MIUI Version Checker app from Google Play. If the firmware is custom (for example, xiaomi.eu), this will be indicated in the version information.