Owning a smartphone or smart appliance from Xiaomi often requires accurate device identification, not only for warranty service, but also for authenticating the gadget on the official website. Many users wonder how to find out Xiaomi code, referring to unique identifiers such as IMEI or serial number (SN), which are the digital passport of your device.
There are several proven ways to get this information, and they don't require a lot of technical knowledge. You can find codes right in the interface of the MIUI or HyperOS operating system, use special combinations of numbers or look at physical labeling. It's important to understand the difference between the global version and the Chinese version, because the codes may differ in format. Below we will discuss each method in detail.
Don’t ignore the need to keep this data in a safe place. In the event of a theft or loss of a device, these numbers will help law enforcement or telecom operators block the gadget. In addition, knowing the model code helps avoid problems when buying parts or accessories that may not fit your specific audit.
Use of the Engineering Menu through USSD-team
The fastest and most versatile way to learn the code of a device is to use an engineering menu, which works on most Xiaomi, Redmi and POCO smartphones, regardless of the firmware version. You don't have to install third-party apps or get superuser rights. You just have to open a standard caller.
Enter *#06# on the dial keyboard. Immediately after entering the last character, the information window will automatically appear on the screen. Here you will see the main IMEI 1, the additional IMEI 2 (for dual-symbol models) and the serial number SN. This is the code that service centers most often require.
⚠️ Warning: Do not try to enter other engineering codes (e.g. ##4636##) if you are not sure what you are doing. Changing the settings in the engineering menu can lead to malfunctioning of communication modules or a complete failure of the phone.
If the standard combination doesn’t work or an empty window is displayed, try an alternative for some versions. MIUI: ##64663## This command opens an extended hardware testing menu where the serial number and other technical details can also be found in the Version section. IMEI It is better to use the first method.
💡
Take a screenshot of the codes as soon as they appear. In some versions of the firmware, the IMEI window disappears after a few seconds, and you have to re-enter the command.
Search for identifiers in system settings
If the screen of the phone is broken or the touchscreen is intermittent, it can be difficult to enter combinations, in which case it is more logical to go to the software settings. The path to information may vary slightly depending on the version of the shell, but the general principle remains the same. You need to find the section "About the phone".
Go to the Settings menu → It's about the phone. It shows the basic information: model, Android version, version. MIUI. To see the full data, including IMEI and MAC-address, often need to click several times in a row on the logo version MIUI In newer versions of HyperOS, this data can be hidden inside the "Status" or "General Information" option».
- 📱 Open the Settings app on the main screen.
- ℹ️ Select “About the phone” (usually at the top of the list).
- 🔍 Find a line «IMEI» or click on “All settings” for detail.
- 📝 Copy or record the displayed serial number.
Importantly, in the same section, you will find the device version code, which consists of an alphanumeric set (e.g. 2201123G), which is critical when searching for firmware on forums or ordering cases, and indicates a specific modification of the device for your region.
Physical marking and documentation
When the phone is not turned on or completely locked, the only way to know its codes is to look at physical media. The primary source of data is the original packaging. There is always a barcode sticker on the back or side of the box that shows IMEI, S/N and the model.
If the box is lost, check out the smartphone itself. On older Xiaomi models, information was applied to a non-removable back cover. In modern single-body devices, data can be engraved in fine print on the bottom edge, next to the charging connector, or on the tray for the charger. SIM-Be careful: the engraving on the tray sometimes corresponds only to this tray, and not to the entire device, if it was changed in the service.
| Source of information | Location of data | Credibility |
|---|---|---|
| Phone screen (USSD) | Policy conclusion | High (current state) |
| The factory box | Sticker on the hull | High (original) |
| Tray SIM-map | Engraving on metal | Medium (could have been replaced) |
| Guarantee pass | Seal of the seller/service | High (legal) |
Remember the documents. On a warranty card or check, sellers often enter or enter the serial number of the device when they sell it, it's a legally valid document that confirms that this particular code belonged to you at the time of purchase, and keep the checks digitally so that they don't fade over time.
Authentication check on the official website
Knowing how to find out the Xiaomi code, you can move on to the next step, which is verification. The manufacturer's official website provides a tool to verify the authenticity of the device. This is especially true when buying a smartphone from hand or in unverified stores. IMEI or SN factory-based.
To check, go to mi.com/verify, enter the serial number you found in one of the ways described above, the system will give you the result: model confirmation, activation date (if new) and warranty status. If the site says "Not found", this is an alarm.
⚠️ Attention: There are clone sites that mimic the design of the official Xiaomi portal. Always check the browser address bar. The official domain should end in.com or a regional domain (for example,.ru,.in), but belong to Xiaomi.
What if the codes don't match?
Determination of the regional version by model code
One of the most important aspects for the owner is understanding which version of the firmware is installed and which region the device is intended for. The model code consisting of numbers and letters at the end (eg Global, CN, RU), tells about it more than just the name. Chinese versions (CN) often do not have Google Play preinstalled and may not support some LTE frequencies used in Europe.
To find out the version, again, refer to Settings → About phone. In the line "Model" you will see the code. If at the end is the letter G (for example, M2101K7G) is the global version. The letter I usually indicates the version for India, R for Russia, no letter or C for China. Global versions have an unlocked bootloader in most cases, which is important for enthusiasts.
- 🌍 Global (G): Full language support, Google services, broadband.
- 🇨🇳 China (C/N): Chinese and English only (often), no Google out of the box.
- 🇮🇳 India (I): Camera and radio specific settings for India.
- 🇪🇺 EEA (E: Enhanced compliance version for EU countries GDPR.
Understanding the differences helps avoid problems with notifications and app performance, such as the Chinese version of global firmware (China ROM) may not receive notifications from instant messengers in the background due to the aggressive energy savings characteristic of Chinese operators.
☑️ Check before buying used Xiaomi
Solution: If the codes are not read
Sometimes users are faced with a situation where instead of IMEI numbers, zeros or bars are displayed, which is a serious problem, indicating damage to the NVRAM partition or a modem malfunction, this can happen after a failed flashing, resetting or mechanical impact. Without IMEI, the phone will not be able to register with the valid carrier network.
Recovery of lost code is a complex process that requires specialized software (such as MiFlash Pro or tools for engineers) and, often, an authorized account on Xiaomi servers. You can’t just “write” IMEI yourself — it violates the law in many countries. The only legal way is to contact an authorized service center with a check for purchase.
If the problem is software and it's a menu problem, try a full Wipe All Data reset, back up your contacts and photos, and often it brings back the correct readout.
💡
Saving IMEI and SN codes in cloud storage or on paper outside the home is the best insurance against losing access to the device in the event of a theft or breakdown.