Every Xiaomi smartphone β whether itβs the flagship Mi 13 Ultra or the budget Redmi Note 12 β has a unique IMEI (International Mobile Equipment Identity) identifier, a 15-digit code that not only confirms the originality of the device, but is tied to the SIM card, the operatorβs network, and in some cases warranty service. Knowledge of your IMEI may be needed when locking your phone after a theft, checking for authenticity before buying or restoring access to your Mi Account.
In this article, we will discuss 5 proven ways to find out IMEI Xiaomi β from standard (through settings or USSD-code) to hidden (engineering menu and ADB). Particular attention will be paid to the nuances for devices with two SIM cards (Dual) SIM) and cases where IMEI It's not displayed or reset after you've firmwareed. If your phone doesn't identify the network or it gives you an error. IMEI", At the end of the article you will find the instructions for recovery.
1. Fastest way to do this: USSD-code *#06#
This is a universal method that works on all Xiaomi smartphones β from the old Redmi 4X to the latest Xiaomi 14 Pro. Just enter the combination on the keyboard, and IMEI will appear automatically.
How to do this:
- π± Open the phone application (calling).
- π’ Enter the code *#06#.
- π A window with one or two will appear on the screen. IMEI (If the phone supports 2 SIM-map).
- π Write down or take a photo of the code β it will be needed to verify the originality.
β οΈ Note: If a message appears after entering the code, βNo connection establishedβ or an empty window, this may mean that IMEI reset (for example, after a failed firmware) or the communication module is damaged. IMEI.
2. Verify IMEI through Android settings
If for some reason USSD-The code did not work (for example, the communication module is disabled on the phone), IMEI You can find it in the settings menu. MIUI β 10 to 14.
Instructions:
- Open the settings (cog icon).
- Go to About Phone (or Device in New Versions).
- Select all characteristics (or general information).
- Scroll down to the IMEI block, where one or two codes will be specified (for Dual SIM).
π Note for Xiaomi with eSIM: If your phone supports a virtual SIM card (like Xiaomi 13 Lite), this section may show up EID (Embedded Identity Documents instead of or together with IMEI. It's okay β EID It is used to activate eSIM from the operator.
Try it. USSD-code *#06#
Reboot the phone
Check for SIM card availability in the slot
Update firmware MIUI last-minute-->
3. IMEI on the box and under the battery: where else to look
The manufacturer duplicates the IMEI in multiple places, which helps to recover the code if the phone doesn't turn on or define the network.
- π¦ On the box: Normally IMEI indicated on a barcode sticker (near the serial number) S/N). On new Xiaomi models, the sticker can be under protective film.
- π Under the battery: On older models (e.g. Redmi) 3S or Mi A1) IMEI It's duplicated on a sticker under the removable lid!
- π In the warranty card: If you have saved the documents, IMEI It can be written in a service list or check.
β οΈ Attention: If IMEI The box and the phone are not the same, it is a sign that:
- π Refurbished after repair (mother module replaced).
- π¨ Phone is fake (especially relevant for purchases in the secondary market).
- π± The device is stitched with an unofficial firmware, and IMEI was dropped.
What if the IMEI on the box and the phone are different?
4. Engineering menu: a hidden way for power users
Xiaomi smartphones have a hidden engineering menu (MTK Engineer Mode or Qualcomm Diag) where you can find advanced information about the communication module, including IMEI. This method is useful if standard methods do not work, but requires caution - wrong actions can disrupt the network.
Instructions for Qualcomm processors (most modern Xiaomi):
- Open the Phone app.
- Enter the code: ##4636###.
- In the menu, select Phone Information.
- Scroll down β IMEI will be listed under IMEI or IMEI SV.
For Mediatek processors (old Redmi models):
- Enter the code: ##36446337## (or #3644633## on some firmware).
- Go to Connectivity β CDS Information β Radio Information.
- Select Phone 1 (or Phone 2 for the second SIM card).
- IMEI will be in the string AT+EGMR = 1.7 (for the first SIM) or AT+EGMR = 1.10 (for the second).
π οΈ Warning: Do not change any settings in the engineering menu unless you understand their purpose! this can lead to network loss or lockdown IMEI.
π‘
If the engineering menu doesnβt open, try installing the MTK Engineering Mode app (for Mediatek) or QTI Diag (for Qualcomm) from Google Play.
5. IMEI verification via ADB (for advanced users)
If the phone doesnβt turn on or hangs on the MIUI logo but connects to your computer in Fastboot or ADB mode, the IMEI can be recognized via the command line.This method requires installing Android SDK Platform Tools and basic knowledge of working with ADB.
Step-by-step:
- Download and unpack Googleβs Platform Tools.
- Connect your phone to your PC in USB Debugging mode (in the developer settings).
- Open the command line (cmd) in the folder with the platform-tools.
- Enter the command: adb shell service call iphonesubinfo 3 For the second SIM card use: adb shell service call iphonesubinfo 7
- The IMEI will be in the response format Result: Parcel (000000000000000000000f 0035 0031 0032 0033 0034 0035 0036 0037 0038 0039 0030 0031 0032 0033), where the digits after 0035 are the IMEI (in this example: 35121234567890123).
π§ Alternative method (if the first one does not work):
adb shell getprop gsm.baseband.imei
adb shell getprop gsm.baseband.imei2Important: If the command returns an empty value or "null", this means that the IMEI is reset or the communication module is faulty, in which case recovery is required through a service center or specialized software (for example, Maui META for Mediatek or QCN Rebuilder for Qualcomm).
6 What to do if the IMEI is missing or not readable
If you see a zero IMEI (000000000000000000000000), an empty field, or an invalid IMEI error, the problem may be caused by:
- β‘ Unsuccessful firmware (especially if you used Fastboot or custom recovery).
- π§ Damage to the module NVRAM (stored IMEI).
- π₯ Hardware failure (for example, after falling or getting moisture).
π οΈ Decisions:
- Recovery via backup: If you have an NVRAM backup (made before reset), it can be restored via the SP Flash Tool (for Mediatek) or QFil (for Qualcomm).
- Manual IMEI: On some models (e.g. Redmi Note 8 Pro), IMEI can be rewritten via an engineering menu or software like Maui META.
- If IMEI resets after the official MIUI update, contact the authorized Xiaomi service center β they will restore the code to the serial number.
β οΈ Attention: Self-modification IMEI This can result in the device being blocked by the operator or law enforcement authorities. Use this method only to restore the original device. IMEI!
π‘
If the IMEI is reset after firmware, never enter random numbers! this can result in a permanent locking of the communication module.Always use the original IMEI from the box or stickers under the battery.
Comparison of IMEI Verification Methods on Xiaomi
| Method | Speed. | It works without a network. | Suitable for Dual SIM | Difficulty | When it doesn't work |
|---|---|---|---|---|---|
| USSD-code *#06# | β‘ Instantly. | β No (needs a SIM card) | β Yes. | β Very simple. | If the communications module is offline |
| Phone settings | β‘ Quickly. | β Yes. | β Yes. | β Just | If the IMEI is dropped |
| Box/sticker | β³ 1-2 minute | β Yes. | β Yes, if 2. IMEI) | β Just | If the box is lost |
| Engineering menu | β³ 2-3 minute | β Yes. | β Yes. | ββ Middle-Average | If the menu is blocked |
| ADB | β³ 5-10 minute | β Yes. | β Yes. | βββ Hardly. | If debugging over USB is disabled |