Android 12 on Xiaomi: How to install without errors and data loss

Upgrading to Android 12 on Xiaomi devices can dramatically change the way your smartphone works: a new Material You design, improved privacy, optimized power consumption and a lot of hidden features. OTA-Updates to manual firmware via fastboot or custom Recovery. In this article, we will discuss all the current ways for Redmi models, POCO and Mi, including those that no longer receive support from the manufacturer.

Itโ€™s important to understand that not all Xiaomi devices officially support Android 12. For example, the Redmi Note 8 Pro (2019) will remain on Android 11, while the POCO F3 or Mi 11 received an update without problems. If your model is on the supported list, you can update through Settings โ†’ About Phone โ†’ System Update. If not, you will have to use informal firmware like LineageOS or Pixel Experience, but this will require unlocking the bootloader and carry risks.

Before you start, answer three questions: 1. Are you ready for a possible loss of warranty? (Unlocking the bootloader will cancel it.) 2. Is there a backup? (Firmware erases internal memory.) 3. Are you able to use ADB/Fastboot or ready to learn?

If at least one question the answer is โ€œnoโ€ โ€“ it is better to wait for the official update or contact the service center.

๐Ÿ“Š What Xiaomi model do you want to upgrade to Android 12?
Redmi Note 10/Pro
POCO X3/X4
Mi 11/11T
Redmi 9/9A
Another model

1. Compatibility Check: Does your Xiaomi support Android 12?

The first step is to make sure your device officially gets (or already gets) an update. Xiaomi publishes lists of supported models on the Mi Community forum, but the information is often scattered there.

Series of devicesSupported modelsAndroid 12 StatusNotes
Mi 11Mi 11, Mi 11 Ultra, Mi 11i, Mi 11 Liteโœ… Officially.Update via OTA or MIUI 13
POCOPOCO F3, POCO X3 Pro, POCO M4 Proโœ… Officially.For POCO X3 NFC, only custom firmware
Redmi Note 10Note 10, Note 10 Pro, Note 10Sโœ… Officially.Note 10 5G was released later than the rest of the
Redmi 9Redmi 9, Redmi 9A, Redmi 9CโŒ No support.Maximum - Android 10/11
Mi 10Mi 10, Mi 10 Pro, Mi 10Tโœ… Officially.The update came in 2022

If your model is not in the table, check it on the Xiaomi Firmware Updater website. Type the name of the device into the search - the system will show the available versions of MIUI and the basic version of Android. For example, for Redmi Note 8, the maximum firmware is MIUI 12.5 based on Android 10, and Android 12 is not provided for it.

โš ๏ธ Warning: Installing Android 12 on an unsupported device via custom firmware can lead to broken sensors (gyroscope, NFC), Camera problems or overheating, such as Redmi Note 7, when LineageOS 19 is firmware is often disabled by Wi-Fi.

2. Device preparation: Backup and unlocking of the bootloader

If your model supports Android 12 officially, you can skip this section and update through Settings. If you don't, you'll have to unlock the bootloader and flash it manually.

  • ๐Ÿ“ฑ Contacts and Messages: Export through Google Contacts or Mi Mover App.
  • ๐Ÿ“ธ Photo and video: Copy on PC or in the cloud (Google Photos, Mi Cloud).
  • ๐ŸŽฎ Applications and Data: Use Settings โ†’ Google โ†’ Backup (Google account required).
  • ๐Ÿ”‘ Passwords and settings: Save screenshots of screens with important settings (e.g., settings for developers).

Now, unlock the bootloader. This is a must-have for manual firmware. Xiaomi lets you unlock the bootloader officially, but the process takes up to 7 days of waiting:

  1. Link your Mi Account to your device: Settings โ†’ Xiaomi account.
  2. Activate Developer Mode: tap the MIUI version 7 times in About Phone.
  3. Turn it on. OEM-unlocking and debugging USB In Settings โ†’ For developers.
  4. Install Mi Unlock Tool on PC and follow the instructions.

โš ๏ธ Warning: Once the bootloader is unlocked, the smartphone will perform a hard reset. All data will be erased, even if you have backed up internal memory. Use an external card or PC to store backups.

Mi Account linked to device

Developer mode is on

OEM-unlocking activated

Installed ADB/Fastboot drivers on PC

Backup on external media made-->

Method 1: Officially Update via OTA or MIUI Updater

The safest method is to upgrade through built-in tools, which is suitable if your device officially supports Android 12 and gets an update.

  1. Connect to a stable Wi-Fi network (update weighs 1.5-3 GB).
  2. Go to Settings โ†’ About the phone โ†’ System update.
  3. Click Check Updates. If you can upgrade to MIUI 13 (or newer) based on Android 12, download it.
  4. After downloading, click Reboot and install.

If the update doesnโ€™t come, try an alternative method through MIUI Updater:

  • ๐Ÿ”„ Download the app MIUI Updater from Google Play.
  • ๐Ÿ” Select your model and region (e.g. Redmi Note 10 Pro โ€“ Global).
  • ๐Ÿ“ฅ Download the latest stable firmware with Android 12 tag.
  • ๐Ÿ› ๏ธ Install through Settings โ†’ Updating the system โ†’ Select a firmware file.

Critical detail: if your device is custom firmware (for example, Xiaomi.EU), the official OTA-The update may cause the bricks to break, in which case you go back to the stock first. MIUI fastboot.

๐Ÿ’ก

An official update is the only way to keep warranty and avoid sensor issues.If OTA isn't available, check the firmware region: sometimes the update comes later for Global than for China or EEA.

Method 2: Manual firmware via Fastboot (for experienced)

If OTA It's not available, but your model supports Android 12, and you can flash the official firmware manually through fastboot, USB-Cable and basic command line knowledge. Here's a step-by-step instruction:

  1. Download the official firmware for your model from the Xiaomi Firmware Updater website. Look for files with the.tgz or.zip extension and fastboot tag.
  2. Unpack the archive in a folder on the disk C:\ (for example, C:\miui_fastboot).
  3. Connect your phone to your PC in fastboot mode: turn off the device, then press Volume Down + Power.
  4. Open the command prompt in the firmware folder (press Shift + PCM โ†’ Open the PowerShell window here) and execute:
fastboot devices

(Your device serial number should be displayed. If not, install ADB/Fastboot drivers.)

fastboot flash all

(This team will stitch through all sections. The process will take 5-15 minutes.)

Once complete, the phone will automatically restart. The first launch can take up to 10 minutes - don't interrupt the process!

โš ๏ธ Note: If an anti-rollback error appears during firmware, it means you are trying to install an older firmware version than the one already worth. EDL-Mode (requires an authorized Xiaomi account).

What if fastboot doesnโ€™t see the device?
1. Check it out. USB-Cable โ€“ Use the original from Xiaomi. 2. Install drivers manually via Android SDK. 3. Try another one. USB-port (preferably) USB 2.0). 4. Disable driver signatures in Windows: type in bcdedit command line /set nointegritychecks on and restart the PC.

5. Method 3: Castom firmware (LineageOS, Pixel Experience, Xiaomi.EU)

If there's no official update, there's a custom firmware option.

  • ๐Ÿ“ฑ LineageOS 19: Pure Android 12 without shell MIUI. It supports most Xiaomi devices, but may not work IR Blaster or NFC.
  • ๐ŸŽจ Pixel Experience: Firmware with Google Pixel design and features. well optimized but sometimes glitched camera.
  • ๐ŸŒ Xiaomi.EU: Modified MIUI It's more stable than others, but it requires weekly updates.

The process of installing custom firmware:

  1. Unlock the bootloader (see Section 2).
  2. Install custom TWRP or OrangeFox recavators via fastboot:
fastboot flash recovery twrp.img


fastboot boot twrp.img

  1. In TWRP, make a full backup (partitions Boot, System, Data).
  2. Sweep through firmware and GApps (if you need Google services).
  3. Clear the cache (Wipe) โ†’ Dalvik/ART Cache).
  4. Reboot.

Example of commands for LineageOS firmware:

adb sideload lineage-19.1-20260510-nightly-alioth-signed.zip


adb sideload MindTheGapps-12.1.0-arm64-20220605_112439.zip

โš ๏ธ Note: On some devices (for example, Redmi Note 9 Pro) custom firmware on Android 12 breaks the Widevine L1, Netflix and other services only show videos in the 480p. No solution - it's a hardware feature.

๐Ÿ’ก

Before installing custom firmware, check reviews on the XDA Developers forum. Look for topics marked "[ROM][UNOFFICIAL][alioth]" (where "alioth" is the code name of your device).

6 Solve problems after installing Android 12

Even after a successful firmware, bugs can occur, and here are the most common ways to fix them:

Problem.Possible causeDecision
The phone does not turn on after the firmwareIncompatible firmware or interrupted processSweat through fastboot stock MIUI or re-install
The mobile network is not workingNo IMEI or modem moduleRestore your IMEI via Maui META or run the modem separately
Fast battery dischargeBackground processes or unoptimized coreCalibrate the battery or run another core (e.g. FrancoKernel)
Navigation gestures do not workConflict with the custom recaveriReset the settings to Settings โ†’ System โ†’ Gestures
Apps fly outIncompatibility with Android 12Update apps or enable Force 4x MSAA in For Developers

If after upgrading to Android 12, the sound in the speaker disappeared, try:

  1. Clear the cache in Settings โ†’ Applications โ†’ Application Management โ†’ Media.
  2. Check the Dolby Atmos settings (if any).
  3. Swipe the patch for sound (search on XDA for the device model).

Critical bug: Some devices (POCO X3 NFC, Redmi Note 8 Pro) after upgrading to Android 12, the IR Blaster stops working (controller) This is due to the lack of drivers in new versions of the kernel. There is no solution - only a rollback on Android 11.

7. rollback to the previous version of Android: when it is necessary

Sometimes Android 12 is worse than the previous version. For example, on the Redmi Note 9S, users complain about interface lags and overheating. In this case, you can go back to Android 11 or MIUI 12.5.

  1. Download the official Android 11 firmware for your model with Xiaomi Firmware Updater.
  2. Unpack the archive and go through fastboot:
fastboot flash all_except_storage

(This team will save your data, but itโ€™s better to do a backup.)

If you need to clean the device completely:

fastboot flash all

For devices with a locked boot loader, rollback is possible only through EDL-Mode (requires an authorized account Xiaomi and box Qualcomm). it is difficult to do it yourself - it is better to contact the service.

โš ๏ธ Note: Reverse to an older version MIUI If you see an anti-rollback check fail, the device will turn into a brick. EDL or replacement of motherboard.

FAQ: Frequent questions about Android 12 on Xiaomi

Can I install Android 12 on the Redmi Note 8 Pro?
Officially, no. The Redmi Note 8 Pro will remain on Android 10 (MIUI 12.5). Unofficially, you can flash LineageOS 19, but there will be problems with the camera (the main module is not working on 64 MP) and IR Blaster.
Why does the battery run out after upgrading to Android 12?
The new version's background processes are to blame. Try: Turn off Adaptive Brightness in settings. Limit application background activity in Settings โ†’ Battery. Switch a kernel with better optimization (like Kernelflinger for POCO F3). If it doesn't work, roll back to Android 11.
How to find out the code name of your Xiaomi for firmware?
There are several ways: Type in the dialer ##4636## and look at the phone information. Install the CPU-Z app and check the Model field in the Device tab. Look at the device box or in Settings โ†’ About phone โ†’ Model (e.g., the M2007J20CG is POCO F2 Pro codenamed lmi).
Can I upgrade to Android 12 without losing data?
Only if you are officially updated through OTA. When using a handheld firmware (fastboot or TWRP) The data is erased. Except for the fastboot flash firmware. all_except_storage, But it doesn't work on all devices and can cause bugs.
What to do if 5G does not work after Android 12 firmware?
The problem is typical for the Redmi Note 10 5G and POCO M3 Pro 5G. Solutions: Sweat separately through fastboot flash modem modem.img. Check the settings. APN In Settings โ†’ SIM-If it doesn't work, go back to the Android stock firmware. 11. On some devices 5G It will never work because of the lack of drivers in custom firmware.