How to know which firmware to put on Xiaomi: the complete guide

Owning a Xiaomi device is often the beginning of an exciting journey into the world of customization and fine-tuning. However, sooner or later, the owner faces a fundamental question: how to accurately determine the current software and what version of firmware should be installed to properly operate the gadget. Mistake in choosing a region or type of build can lead to the failure of banking applications, failures in communication modules or even complete failure of the device.

Complicating matters, the market is saturated with devices originally designed for the domestic Chinese market, which have been refashioned by vendors for global versions. Understanding the difference between the CN, Global, and EEA versions is critical for any user planning to interfere with the software part of a smartphone. In this article, we will discuss in detail all available methods for identifying software and algorithms for choosing the right file for recovery or update.

⚠️ Warning: Installing firmware designed for another region (e.g. Global on a Chinese smartphone) without unlocking the bootloader and flashing it through Fastboot can result in a cyclical reboot of the device known as bootloop.

Basic check through the system menu

The easiest and most affordable way to get your device's software firsthand is through the standard settings menu, which shows you basic data to help you understand which version of the MIUI or HyperOS operating system you're dealing with. Go to Settings β†’ About the phone, and at the top of the screen you'll see the software version logo, and below that is the specific build number.

But just looking at the numbers is not enough. The key element here is the lettermark at the end of the version number. It's these two or three letters that indicate the region the software is intended for. For example, MI stands for the international global version, RU stands for the adapted version for Russia and CIS countries, and EU is the popular European build from the Xiaomi.eu community. If you end up with CN, you have a pure Chinese version that may not support the languages or frequencies you need.

  • πŸ“± MI β€” Global Version (International Version), supports many languages and Google services out of the box.
  • πŸ‡·πŸ‡Ί RU β€” Russia (Russian version), often based on the global, but has pre-installed local services.
  • πŸ‡ͺπŸ‡Ί EU β€” Europe (European version) may have restrictions on the number of languages and frequencies supported.
  • πŸ‡¨πŸ‡³ CN β€” China (Chinese version), no Google Play default and specific network settings.

It is important to note that visual interfaces of different versions can be very similar if the system chooses the same language. So you can not rely only on the appearance of the menu. Always check the letter code in the build number, as this is the only reliable marker of firmware origin in normal operation.

πŸ“Š What version? MIUI/HyperOS you have installed?
Global (Global)
Chinese (CN)
European (EEA)
I don't know/I doubt it.

Identification through engineering menu and code

If the standard menu doesn't give you the full picture or you want to access more technical information, you can use the engineering menu. This is a hidden part of the system, designed for testing equipment, but it also contains data about the software configuration. To log in, you need to open the Phone application and type in a special code # # # #64663#. In some cases, the code may differ or be blocked by the carrier.

Once you log into the test menu (CIT), you can find information about the modem version and base stations, which indirectly indicates the region. However, a more accurate method is to use the command line through a connection to the computer if the device is debugging over USB. the command adb shell getprop ro.boot.hwc allows you to find out the hardware code of the region, and adb shell getprop ro.build.description will give a full description of the build, including hidden parameters not visible in the normal interface.

⚠️ Warning: Do not change the parameters in the engineering menu without knowing exactly what they are intended.Resetting the screen or sensor calibration may require factory equipment to recover.

Using ADB (Android Debug Bridge) gives an undeniable advantage: you see real-world properties of the system that can not be faked with a simple replacement theme or launcher. This is especially true when buying a used device where a seller could install fake global firmware on top of a Chinese one. If the adb shell getprop command issues mentions to chinatelecom or cmcc in the logs, and the menu is β€œGlobal”, this is a clear sign of an overflashed β€œChinese”.

List of useful ADB commands to check
adb shell getprop | grep "ro.bootloader" - version of the loader adb shell getprop | grep "ro.build.version" - version of Android and MIUI adb shell pm list packages - list of installed packages (helps to find Chinese software)

Analysis of markings on the box and sticker

Physical media often contain more truthful data than the software shell. There's always a barcode sticker on the back of the original box with a detailed specification. Notice a line labeled as a Model or Model that contains a letter code that uniquely identifies the device. For example, the M2101K7BNY model will differ from the M2101K7BG with the last letter that indicates the region.

The European and global versions are characterized by the designation 4G or 5G with support for FDD-LTE bands, widely used in Europe and Russia. Chinese versions are often focused on TDD-LTE standards, which may not work stable or at all in your region, even if the phone is formally unlocked.

Code at the end of the modelRegion of destinationCharacteristics
G (Global)The world marketFull language support, Google services, broad LTE-ranges
CN / AChinaTwo. SIM (often one hybrid, no Google, narrow LTE-ranges
RURussia/CISAdapted software, support for local operators, warranty in the region
I (India)IndiaSpecific frequencies, often missing some global ranges

If the box is lost, information can be found on the factory sticker under the back cover (if it is removable) or on the tray for the box. SIM-The tray often has a region of the device in it, for example, a Global or International sign confirming the origin of the gadget, or the absence of such inscriptions or the presence of characters on the tray indicates the Chinese origin of the device.

β˜‘οΈ Check box and model

Done: 0 / 1

Use of specialized software for PC

For the most detailed information, including release date, bootloader status and exact version of partitions, it is best to use computer utilities.Mi Flash Tool or Xiaomi ADB/Fastboot Tools let you connect to your smartphone and read all the technical parameters. When you connect in Fastboot mode, the utility will show the type of bootloader: Locked (locked) or Unlocked (unlocked).

This is critical. If you plan to install custom firmware or even an official global firmware on a Chinese machine, the bootloader must be unlocked. Locked status means that the device will only accept the firmware whose digital signature matches the region it was originally set to, and trying to sew another region with the bootloader locked will result in status error 7 or similar.

Also, programs like Mi Device Info (available in the Play Market) can show hidden hardware data, which can determine which display is on a smartphone (which is true for models with different arrays), and match this with a firmware database, which helps to understand whether components have been replaced, which sometimes happens in refurbished devices.

⚠️ Note: When connecting via Fastboot, make sure that the battery is at least 60%. interruption of the data read or firmware process due to battery discharge can damage the bootloader partitions.

Differences between Recovery and Fastboot Firmware

Once you have determined which firmware you need, you start choosing the file format to install. There are two main types of firmware: Recovery and Fastboot. Understanding the difference between them is necessary to avoid getting confused with files and installation methods. Recovery firmware has the.zip extension and is designed to be updated through the recovery menu of the smartphone itself or through the MIUI bootloader program.

Fastboot firmware has a.tgz extension and contains complete images of all partitions of the system, and it is used to completely flash the device through the computer in Fastboot mode. Recovery can only be updated within a single region (e.g., from Global 12.5 to Global 13.0). CN Global) is only possible via Fastboot and only with the bootloader unlocked.

  • πŸ“¦ Recovery (.zip) – for scheduled updates, data retention (usually), without changing the region.
  • πŸ’» Fastboot (.tgz) – for complete reinstallation, region change, crash recovery, requires PC.
  • πŸ”„ OTA β€” Automatic β€œover-the-air” updates are the safest but slowest method.

The method depends on your goals. If the phone is working properly and you just need to upgrade your Android or MIUI version, you just need to recover the file. If the device is β€œburied”, infected with viruses at the system level, or you want to move from the Chinese version to the global version, then Fastboot firmware is the only sure way.

πŸ’‘

Recovery firmware updates the system on top of the current one, keeping the partition structure, while Fastboot firmware completely overwrites all partitions of the device, including the bootloader and modem.

Where to safely download firmware

The final but critical step is to find and download the right file. The official and most reliable source is miui.com or the built-in updater in the smartphone itself. However, to manually search for specific versions, it is better to use proven archives such as XiaomiFirmwareUpdater or Xiaomi.eu (for European builds), these resources aggregate official files and check their checksums.

When downloading, always pay attention to the checksum (MD5 or SHA-1) if provided by the builder. Once the file is uploaded to a computer or phone, it is recommended to check its integrity, which will protect you from downloading a corrupted file, which can interrupt the installation process by 99% and leave the device inoperable.

Avoid downloading firmware from questionable forums, file sharing sites without checking, or telegram feeds with unverified content. Modified firmware can contain malicious code, hidden mining, or backdoors to steal data. If you don’t have code auditing skills, use only stock (official) builds or time-tested custom ROMs from known developers.

πŸ’‘

Use Hash Check or online services to compare MD5-The amount of the downloaded file with the amount indicated on the source site.

What to do if the phone does not turn on after the firmware?
If the device is stuck on the logo or goes into an endless reboot, try resetting to the factory settings (Wipe Data) through the Recovery menu. If this does not help, you will need to flash through the Fastboot with a complete data cleanup. In the worst case, if even Fastboot doesn’t help, you may need to use it. EDL-Registration and authorized Mi-Flash account.
Can the Chinese version be upgraded to the global version without unlocking?
No, it's impossible. Locked Bootloader checks the digital signature of the region. Trying to install Global Recovery ROM on a CN device with the bootloader locked will result in the error "Can't verify update." Official unlocking through the Mi Unlock site is required.
What is the difference between MIUI and HyperOS?
HyperOS is an evolutionary development of MIUI, based on a lighter core and improved integration with the Xiaomi smart home ecosystem. For the user, the process of updating and determining the version remains similar, but the requirements for free memory can be higher.