Introduction: Why Update Firmware on Xiaomi
The firmware of a smartphone is its operating system, which determines the performance, security and functionality of the device. Xiaomi devices are based on the proprietary shell MIUI, but many users prefer to switch to alternative versions, from stock global builds to custom firmware like LineageOS or Pixel Experience.
The reasons for updating or changing firmware can vary from wanting to get the latest Android features to getting rid of advertising in MIUI. However, choosing or installing the wrong firmware can lead to a complete loss of warranty, a βbrickβ of the device or problems with hardware (for example, a broken NFC module after AOSP firmware on some models).
Itβs important to understand that the firmware process on different Xiaomi devices (e.g. Redmi Note 12 Pro+ vs POCO F5) can be radically different. What works on one device will lead to an EDL mode error or a logo hover, so the first step is to pinpoint your deviceβs model and encoding (e.g., ingres for Redmi Note 11 Pro 5G).
Official firmware MIUI: types and where to download
Xiaomi produces several types of official firmware, which differ in region, language support and the availability of Google services.
- π Global (MIUI Global is an international version with support for all Google languages and services, suitable for most users.
- π¨π³ China (MIUI China) β Chinese firmware without Google services, but with the most up-to-date updates. GMS.
- πͺπΊ EEA (European Economic Area β similar to Global but conforms to European standards (e.g. data collection restrictions).
- π± Stable vs Beta β stable releases are less common but are thoroughly tested; betas are updated weekly but may contain bugs.
You can download the official firmware from three verified sources:
- Xiaomi's official website is MIUI Downloads, and it's all models, but sometimes updates are delayed.
β οΈ Warning: Never download firmware from torrent trackers or little-known file-sharing sites. There is a high risk of getting a modified build with malware or spyware modules. Official files have a hash sum. MD5, How to determine the compatibility of firmware with your Xiaomi Error when choosing incompatible firmware is one of the main reasons for the "brick" of devices. To avoid problems, check three key parameters: The code name of the model (not to be confused with the marketing name!) For example, the Redmi Note 10 Pro has the code sweet, and the name is not a bad name. POCO X3 Pro - vayu. You can recognize it: In settings: Settings β The phone. β Version. MIUI β Model code. ADB: adb shell getprop ro.product.device. Older devices (until 2019) often have a locked bootloader that will not allow custom firmware to be installed without unlocking through the Mi Unlock Tool.Device Region.The Chinese versions (CN) do not support global firmware without first unlocking the bootloader. Xiaomi Codename Supported firmware Features Redmi Note 11 Pro+ 5G veux Global, EEA, China, AOSP Requires unlocking the bootloader for custom firmware POCO F4 GT ingres Global, China, LineageOS Support for Dynamic Refresh Rate only in official Xiaomi builds 12T Pro diting Global, EEA, Pixel Experience Castom Firmware Can Be Turned Off 2K-high-load display π What kind of firmware do you prefer? MIUI Global Official MIUI China (without Google) LineageOS, Pixel Experience (or other) If you plan to move from China to Global, note: this will result in a complete data reset, IR-Game Turbo or blaster may not work properly on unofficial builds. π‘Save it before the firmware. IMEI You can find it through the code *#06# or in the About Phone settings. β General information. Losing IMEI After a failed firmware, it will be extremely difficult to restore it. Castom firmware: pros, cons and where to look For alternative firmware (for example, LineageOS, Pixel Experience, ArrowOS) offer a "clean" Android without branded bells and whistles Xiaomi: β Lack of advertising and unnecessary system applications (bloatver). β Longer support for updates (e.g. LineageOS 20 for 2018 devices). β The ability to fine-tune the interface (e.g., changing fonts, animations, statusbar) but there are also serious disadvantages: β Lack of support for certain features (e.g. Always-On Display or Ultra Battery Saver). β The risk of loss of warranty and iron problems (e.g., processor overheating due to unoptimized core). β The need for manual installation through TWRP or Fastboot. Custom firmware should be downloaded only from verified sources: π XDA Developers β the largest forum with discussions and links to firmware. π Official site LineageOS - assemblies for supported devices. π Telegram channel Pixel Experience - current versions with instructions. β οΈ Attention: Install custom firmware on devices with a locked bootloader (for example, Redmi) 9A or POCO M3) This will lead to bootloop, which is an endless reboot. Before you run the firmware, be sure to unlock the bootloader through the Mi Unlock Tool (a process that takes up to 720 hours to wait on new devices!). TWRP And why do you need it?TWRP (Team Win Recovery Project is a custom recovery that allows you to install firmware, backup and restore the system. Xiaomi needs a version TWRP, adapted to a specific model (for example, for POCO X3 NFC need twrp-3.7.0_10-0-surya.img). Step-by-step: How to download and install firmware The installation process depends on the type of firmware. Consider two scenarios: upgrade via Recovery (for official and some custom firmware) and via Fastboot (for full firmware reflashing). 1: Installation through Recovery (MIUI some AOSP) Download the firmware in.zip format|Check the battery charge (minimum) 60%)|Make a backup of data (through MIUI backup TWRP)|Rename the firmware file to update.zip (for MIUI)--> Installation steps: Downloaded file update.zip Put it in the root of the internal memory. Turn it off and press the Power. + Volume Up to log in to Recovery Mode. From the recovery menu, select Install update.zip (for MIUI) Apply update or Apply update β Choose from storage (for custom firmware). Wait until the process is completed (usually) 5β15 - and reset. - The way 2: Installation via Fastboot (full firmware) This method is suitable for "brick" devices or when switching from China to Global. ADB/Fastboot and the Mi Flash Tool. Install the Mi Flash Tool.|Download the firmware in.tgz format and unpack|Connect your phone in Fastboot mode (press the Power) + Volume Down)|Disable the antivirus (it can block the drivers)--> Instructions: Unpack the firmware in a folder without Cyrillic characters (for example, C:\MIUI\ingres_global_images_...). Open the Mi Flash Tool, press Select and point the path to the firmware folder. Connect your phone in Fastboot mode. In the Mi Flash Tool, select Clean all or Clean all and lock. + loader-lock). Press Flash and wait until the process is completed (the process may take up to a certain time). 30 minute). β οΈ Note: If the Mi Flash Tool gives an error critical partition flashing is not allowed, then your bootloader is locked. Unlock it through the official tool (requires a Mi Account associated with the device).-5 Even experienced users face problems when updating firmware. Consider the most common errors and ways to solve them: Error This package is for "ingres" devices; this is a "veux". Model mismatch Download firmware for correct code (check through fastboot getvar product) Hang on the logo MI Incomplete firmware or installation failure Repeat firmware through Fastboot with full reset (Clean all) Anti-rollback check fail Attempt to roll back to an older version MIUI Switch only the new version or reset the anti-rollback EDL (Risky!) No network after firmware Incompatible modem or loss IMEI Switch modem and nvram files separately TWRP If the device doesnβt turn on after a failed firmware, try the following steps: Press Power + Volume Up for 20 seconds - sometimes it helps to exit the bootloop. Connect to the PC and check if the device is detected in Fastboot or EDL (9008 mode. If the phone doesn't respond, try flashing through EDL Using the Mi Flash Pro tool (requires an authorized Xiaomi account). π‘If you've lost sound after the firmware, or if the camera or sensors don't work, you've probably installed the build without proprietary drivers. TWRP. How to check firmware for viruses and modifications Fake firmware may contain backdoors, miners or spyware. Before installing be sure to check the file for integrity and security: π Check the hash amount. the official firmware Xiaomi have MD5 or SHA256, Compare them to the hash of the downloaded file through the HashMyFiles utility. π‘οΈ Virus scan. Use VirusTotal or Kaspersky to check your archive. Pay attention to type detection. Android/Trojan or RiskWare. π Content analysis, unpack the archive and check the folder structure, and the official firmware should have files. flash_all.sh, images/ and firmware-update/. The absence of these elements is a sign of forgery. Checking the hash amount with PowerShell: Get-FileHash -Algorithm MD5 -Path "C:\MIUI\proshivka.zip" | Format-List If the hash doesn't match the official one, download the firmware again - it's possible that the file was corrupted when you download it. Also note the size of the archive: firmware for Xiaomi usually weighs from the top of the file. 2 before 4 GB. Files are smaller 1 GBs are likely to be cropped or modified. FAQ: Frequent questions about Xiaomi firmware Can you roll back on the old version MIUI Can you roll back, but only within one anti-rollback index (ARB). If the new firmware is upped ARB, You'll roll back to the bootloop. ARB through fastboot getvar anti. To get around the restriction, you need firmware through EDL Why Google Pay doesn't work after firmware? The problem is that Google SafetyNet doesn't have a certification. Solutions: Seek an official Global or EEA Install Magisk and activate Universal SafetyNet Fix. In manual Pixel Experience builds, check for a file. google_camera_config.xml file /vendor. How to flash Xiaomi without a computer? For devices with unlocked bootloader you can use the method OTA or Local Update: Download the firmware in.zip directly to your phone. Go to Settings β The phone. β Updating the system β Three points. β Select a firmware file. Confirm the installation and wait for the restart. TWRP, You can install it through the Official App TWRP App (root rights required). What if the phone doesn't turn on after the firmware is installed? Follow the algorithm: Try Fastboot (Power) + If the device is determined by a PC, re-run the Mi Flash Tool. If the screen is black, but the phone is warming, it may be a damaged bootloader. EDL (Connect the phone to the PC with the Volume Up button pressed + Volume Down.For Qualcomm devices, you can use the QFil utility for firmware in EDL-If nothing works, go to the service center. EDL Requires an authorized Xiaomi account (for new models). Which firmware to choose for maximum performance? Depends on model and tasks: For games: official MIUI Global with activated Game Turbo. For long-term autonomy: custom firmware based on Android 12/13 with the Kirisk core (for example, for POCO F3). For βcleanβ Android: Pixel Experience or LineageOS (but check for camera support and a better version of the app). NFC for your model). On devices with MediaTek (for example, Redmi Note 11) custom firmware often performs worse than official due to poor driver optimization.