Knowing the IMEI of a Xiaomi smartphone through a computer can be necessary in a variety of situations, from checking the originality of the device before buying to restoring access to a locked phone. Unlike the standard method through the *#06# set on the keyboard, methods using a PC work even when the screen does not respond to touch, the device is locked with a pattern lock or turned off. In this article, we will analyze all the current methods, from official Mi PC Suite utilities to advanced tools like ADB and Fastboot.
The peculiarity of Xiaomi devices (including sub-brands Redmi, POCO, Black Shark) is that their IMEI can be spelled out not only in the firmware, but also in the modem hardware module. This means that some methods (for example, through Mi Account) will show the current number even if it was reset or damaged after a failed firmware. It is also important to understand that dual-SIM models (for example, Xiaomi 13 Pro or Redmi Note 12) will have two IMEIs β one for each slot.
Before you start checking, make sure that your computer has official Xiaomi drivers installed (you can download it on the official website). USB-cable β preferably original, as cheap cables often do not support data transfer in Fastboot mode.
1. Method: via Mi PC Suite (official utility)
Mi PC Suite is Xiaomiβs proprietary software that allows you to control your smartphone from your computer: sync files, install apps, and view basic information about your device, including IMEI. This method is the simplest and does not require technical knowledge, but only works if the phone is on and unlocked.
To find out about IMEI through Mi PC Suite:
- Download and install Mi PC Suite from the official website (version for Windows).
- Connect your smartphone to your computer via USB, allow access to data (the phone will receive a request).
- Run the Mi PC Suite and wait for the program to identify the device.
- Go to the Device section β Device information.
- In the Basic Information block, find the IMEI 1 and IMEI 2 strings (for dual-SIM models).
If the Mi PC Suite canβt see the phone, try:
- π Reconnect. USB-cable (use the port) USB 2.0 if USB 3.0 is not working).
- π Restart your phone and computer.
- π οΈ Install drivers manually through Device Manager (select Xiaomi Composite) MDB Interface).
β οΈ Note: If the phone is locked with a password, Mi PC Suite will not be able to access the IMEI. In this case, use the methods via Fastboot or Mi Account (described below).
2. Method: via ADB (for unlocked devices)
ADB (Android Debug Bridge) is an Android debugging tool that allows you to execute commands directly through your computer, which is suitable if the phone is debugging on USB (even if the screen is locked but the phone is on). If debugging is disabled, this method will not work.
Instructions for checking IMEI through ADB:
Install [Platform Tools](https://developer.android.com/studio/releases/platform-tools) from Google|
Connect your phone to your PC and allow debugging via USB|
Open the command line (Win+R β cmd) in the folder with ADB|
Enter the adb device command to check the connection
-->
adb shell service call iphonesubinfo 3After completing the command, the answer will appear as a line of the form Result: Parcel(000000000000000000000f 0031 0032 0033 0034 0035 0036 0037 0038 0039 0030 0031 0032 0033 0034). Here 0031 0032... 0034 is an IMEI in hexadecimal format. To convert it into a familiar form, remove all 00 and replace the spaces with a void. For example, 0031 0032 0033 will become 123.
For dual-SIM models, run an additional command:
adb shell service call iphonesubinfo 7β οΈ Note: On some Xiaomi models (e.g, POCO F5 or Redmi K60) iphonesubinfo teams may not work due to restrictions MIUI. In this case, use the alternative command: adb shell getprop gsm.baseband.imei
3. Method: via Fastboot (for switched off phones)
Fastboot is a low-level Android boot mode that allows you to interact with the hardware of your smartphone even when it's off, and this is suitable if the phone is not turned on, locked, or in a brick state. Importantly, it requires an unlocked bootloader to work. If it's locked, the command will return the empty value.
How to find out IMEI via Fastboot:
- Turn off the phone.
- Press the buttons Power + Volume down until the Fastboot logo appears.
- Connect the phone to the computer.
- Open the command line in the folder with Platform Tools and type:
fastboot getvar imeiIf the bootloader is unlocked, you will see an answer of the type:
imei: 123456789012345 987654321098765The first value is IMEI 1, the second is IMEI 2 (for dual-SIM).
What if the Fastboot doesnβt show an IMEI?
| Xiaomi model | Support for Fastboot IMEI | Notes |
|---|---|---|
| Xiaomi 13/13 Pro | β Yes. | An unlocked loader is required |
| Redmi Note 12 Pro+ | β Yes. | Some of the firmware can give unknown variable |
| POCO F4 GT | β Yes. | IMEI is dubbed in fastboot getvar meid |
| Xiaomi Mi 11 Ultra | β οΈ Partially. | MIUI 14+ may not be displayed without root rights |
| Redmi 10A | β Yes. | It even works on a locked bootloader (firmware bug) |
4. Method: via Mi Account (if the phone is linked to the account)
If your Xiaomi is tied to a Mi Account, you can recognize its IMEI through the accountβs web interface, which works even if the phone is lost, stolen or completely defective, the main condition is that the device must be actively linked to the account at the time of verification (if you untie it or reset the settings, the data will disappear).
Instructions:
- Go to the Mi Account website and log in.
- In the menu, select Devices β Devices found.
- Find the right smartphone in the list and click on it.
- In the device information block, IMEI 1 and IMEI 2 will be listed.
If the device is not listed:
- π Check if it has been deleted from your account (for example, after resetting your settings).
- π± Make sure that the phone has enabled Find Device (Settings) β Mi Account β Find Device).
- β³ Wait 24-48 hours β sometimes data is synchronized with a delay.
π‘
If your phone is stolen, you can lock it through Mi Account by specifying IMEI. To do this, select Lock Device in the Find Device section and set a new password. Note that after that, you can only unlock the phone through the Xiaomi service center with proof of ownership.
5. Method: through the engineering menu (for advanced users)
Engineering menu (Engineer Mode) is a hidden section of Xiaomi settings, which contains low-level information about the device modules, including IMEI. It can be accessed through ADB or special codes. The method is suitable for models based on Qualcomm processors (for example, Snapdragon 8 Gen 2 in Xiaomi 13 or Snapdragon 778G in Redmi Note 11 Pro+).
How to open the engineering menu:
- Enable USB debugging (Settings β About Phone β MIUI Version (click 7 times) β Additional β For Developers β USB debugging).
- Connect your phone to your PC and open the command line in the folder with ADB.
- Enter the command:
adb shell am start -n com.android.settings/.DevelopmentSettingsNext:
- On the phone, open Settings β Additional β Engineering menu.
- Go to CDS Information β Radio Information β Phone 1.
- The IMEI bar will have the first number, and the phone 2 will have the second number.
β οΈ Warning: Do not change any settings in the engineering menu unless you are sure of their purpose! Incorrect settings can lead to network loss or modem breakdown. NV Items often lead to nulls IMEI (numeration).
6. Method: through system files (for rooted devices)
If your Xiaomi has root rights installed (like Magisk), you can extract IMEI directly from system files, which is the most reliable method, because it reads data from the hardware module, but requires technical skills, suitable for recovering IMEI after a failed firmware.
Where is IMEI stored in Xiaomi:
- π File. /efs/imei/mp0b_001 β contain IMEI 1.
- π File. /efs/imei/mp0b_002 β contain IMEI 2 (dual-SIM).
- π File. /nvdata/MD/NVRAM/NVD_IMEI/MP0B_001 β alternative location on some models.
To read the files:
- Install Root Explorer or FX File Explorer from Google Play.
- Give the app root access.
- Cross the path. /efs/imei/ and open the files. mp0b_001 and mp0b_002 text-edit.
- The IMEI will be listed in the format AT+EGMR=1.7,"123456789012345."
Through Mi PC Suite|
Through ADB|
Through Fastboot|
Through Mi Account|
Another option-->
Frequent mistakes and their solutions
When checking IMEIs through a computer, users often encounter typical problems, and here are the most common ones and how to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| device unauthorized in ADB | Unconfirmed. RSA-key | Disconnect and connect the cable again, confirm access on the phone screen |
| fastboot: command not found | Platform Tools not installed | Download them from [Google](https://developer.android.com/studio/releases/platform-tools) and add a path to the environment variables |
| IMEI is displayed as 000000000000000000000000 | Reset or damaged after firmware | Restore through an engineering menu or service center |
| Mi PC Suite doesn't see the phone | Outdated drivers or locked screen | Update drivers via Mi Flash Tool or unlock the screen |
If none of these methods worked, it's possible that the problem is that the modem module is damaged by hardware.
- π§ Contact the Xiaomi service center (check if the warranty period has expired).
- π± Try to restore it. IMEI via Qualcomm QPST maui META (experience).
- π If the phone is guaranteed, do not try to restore it. IMEI This will cancel the guarantee itself.
FAQ: Frequent questions
Can I find IMEIs on a computer if the phone is off and not charging?
Why does ADB show IMEI in hexadecimal format instead of conventional?
What if the IMEI in Fastboot is displayed as unknown?
Can I change the IMEI to Xiaomi?
Where else can I find IMEI besides my phone and computer?
π‘
The most versatile method is through Mi Account, as it works even if the phone is lost or faulty. For tech-savvy users, the best option is Fastboot or ADB, as they give access to the raw data of the device.