How to Restore Xiaomi Serial Number: From Box to Engineering Menu

Why Xiaomiโ€™s serial number could โ€œdisappearโ€ and what it means

The serial number (SN) and IMEI/MEID IDs are unique โ€œpassportsโ€ of your Xiaomi device that tie it to an official warranty, service centers, and even mobile networks. But what if the number is erased from the sticker on the case, disappeared after firmware or never was listed at all (as in some OEM- devices)?

Problems begin when the system requires an SN to activate Mi Account, unlock the bootloader, or access the service.

  • ๐Ÿ”ง Restore access to Mi Cloud when password is lost.
  • ๐Ÿ“ฑ Connect to a mobile network (if IMEI is corrupted)
  • ๐Ÿ”„ Complete the official bootloader unlocking procedure.
  • ๐Ÿ› ๏ธ Get warranty repairs (without a number, the device is considered "gray").

In this article, 5 working ways to restore the serial number, including hidden methods for devices after hard reset or with a damaged sticker. Importantly, methods using the engineering menu (#4636##) only work on devices with the original MIUI firmware at least version 12.

๐Ÿ“Š How did you lose the Xiaomi serial number?
Fleeing off the hull.
Disappeared after the firmware
Buying a B/U without documents
Another case

Method 1: Checking the original packaging and documents

The simplest, but often ignored, method is to search for SNs on physical media, and the manufacturer duplicates the serial number in several places:

LocationNumber formatNotes
The sticker on the boxSN: M2010J19SG or S/N: 1234567890ABCUsually under a barcode or at the end of the package
Guarantee passSerial No: 9876543210ZYXBoth IMEI and SN can be specified.
Check or invoiceDepends on the store.In official Xiaomi stores indicate full data
Battery stickerS/N: AB12CD34EF56Relevant for models with removable battery (Redmi 4A, Redmi Note 5)

โš ๏ธ Warning: If you bought the device handheld, check for a match SN on the box and in the phone settings (Settings โ†’ Phone โ†’ General Information).

  • ๐Ÿ”„ Recovered after maintenance repairs (hull replaced)
  • ๐Ÿšจ Is a fake (especially relevant for Poco and Black Shark)
  • ๐Ÿ“ฆ Sold without original packaging (e.g., as part of Xiaomi's recycling campaign).

๐Ÿ’ก

If the sticker on the case is erased, try to light it with a flashlight at an angle - sometimes the numbers appear in the light.

Method 2: Remove SN through phone settings

If the device is powered on and running, you can find the serial number in the system menu, and the paths depend on the version of MIUI:

For MIUI 12-14:

  1. Open the settings โ†’ About the phone;
  2. Tap 5-7 times on the MIUI version to activate the developer mode.
  3. Return to the main settings and select Additional โ†’ Version Information;
  4. Scroll down to Serial Number (SN) and IMEI.

For MIUI 9-11:

  • Go to Settings โ†’ System and device โ†’ About the phone;
  • The General Information item contains SN, IMEI and MAC- addresses.

โš ๏ธ Warning: On some custom firmware (e.g. LineageOS or Pixel Experience), the serial number may appear as unknown or a set of zeros.

  • ๐Ÿ”ง The firmware was installed in violation (without saving NV-data);
  • ๐Ÿ“ต The device has lost IMEI and cannot connect to the mobile network.
  • ๐Ÿ”„ Requires recovery via EDL- mode (see Method 5).

Find the item "About the phone" |Activate the developer mode (if necessary) | Check the "Version Information" block |Contrast SN with the box-->

Method 3: Using engineering menus and USSD- codes

If the serial number doesnโ€™t show up in the standard settings, it can be extracted through hidden menus, which work on most Xiaomi, Redmi, and Poco devices with original firmware.

Method 1: USSD-code

Enter the following combinations in the Phone application:

  • #4636## โ†’ Phone Information tab (shows IMEI and SN)
  • *#06# - displays IMEI (on some models and SN)
  • ##225## is a calendar and serial number (powered by Redmi Note 8/9).

Method 2: MTK Engineering Menu

For MediaTek processor devices (e.g. Redmi 9A, Poco C31):

  1. Enter ##3644633##
  2. Go to Connectivity โ†’ CDS Information โ†’ Radio Information
  3. Select Phone 1 (or Phone 2 for the second SIM slot)
  4. In the AT+ field, enter EGMR=1,7 (for IMEI) or EGMR=1,9 (for SN).
What to do if the engineering menu is blocked?
On some firmware (e.g., global versions for the EU), access to the engineering menu is limited. In this case, try: 1. Install the MTK Engineering Mode application from Google Play (root rights required). 2 Use the ADB- command: adb shell am start -n com.mediatek.engineermode/.EngineerMode 3. Restore stock firmware via Fastboot (see Method 5).

Method 4: Recover SN with Mi Account and Cloud

If your device was linked to a Mi Account, the serial number can be found in your personal account on Xiaomi's official website, which works even if the phone doesn't turn on.

  1. Go to account.xiaomi.com and log in;
  2. Select the Devices tab (Devices);
  3. Find your smartphone in the list โ€“ next to the model will be listed SN;
  4. If the device is not displayed, check: ๐Ÿ”„ Whether sync with Mi Cloud was enabled; ๐Ÿ“ต Whether you manually deleted the device from your account; ๐Ÿ”ง Whether you changed the firmware after anchoring (this may reset the cloud connection).

โš ๏ธ Warning: If the device was purchased with your hands and the previous owner didnโ€™t untie it from your Mi Account, you wonโ€™t be able to:

  • ๐Ÿ”’ Unlock the bootloader;
  • ๐Ÿ“ฑ Restore IMEI through official services.
  • ๐Ÿ› ๏ธ Get warranty service (a check will be required from SN original owner).

๐Ÿ’ก

Linking the device to the Mi Account is the only way to recover the SN if the phone is not turned on or completely reset.

Method 5: Hardware recovery via EDL- Mode (for advanced)

If the serial number and IMEI are lost due to a failed firmware or damage to the NV-data partition, they can be restored via Emergency Download Mode (EDL) mode.

  • ๐Ÿ–ฅ๏ธ Computer with Qualcomm or MediaTek drivers installed;
  • ๐Ÿ”ง Mi Flash Tool (for Xiaomi) or SP Flash Tool (for MediaTek)
  • ๐Ÿ“„ Firmware file with the original NV-backup (can be extracted from stock firmware for your model).

Step-by-step instructions for Qualcomm devices (Redmi Note 10 Pro, Xiaomi 11T, etc.):

  1. Download the firmware for your model from the Xiaomi Firmware Updater website;
  2. Unpack the archive and find the prog_emmc_firehose.mbn file (for EDL);
  3. Connect your phone to your PC in EDL mode (clip Volume Up + Volume Down + USB- Cable);
  4. In Mi Flash Tool, select Clean All and Lock and specify the path to the firmware.
  5. After the firmware, SN and IMEI will be restored automatically.

โš ๏ธ Warning: Misuse of EDL may:

  • ๐Ÿ”ฅ Turn the device into a hard brick.
  • ๐Ÿšซ Cancellation of warranty (unless official firmware is used);
  • ๐Ÿ“ต Damage the modem module, making it impossible to make calls and mobile internet.
adb pull /dev/block/bootdevice/by-name/persist persist.img

It'll help to restore it. IMEI, if something goes wrong.-->

What do you do if nothing helps?

If all of these methods fail, there are three options:

  1. Contact the Xiaomi service center: ๐Ÿ“„ Provide a check or warranty card (even without SN); ๐Ÿ”ง In some cases, specialists can restore the number on the database; ๐Ÿ’ฐ The cost of the service is from 1000 to 3 000 rubles (depending on the model).
  2. Buy a donor fee: ๐Ÿ”„ Suitable for devices with a damaged eMMC chip; ๐Ÿ“ต Requires rations and repair skills; โš ๏ธ Risk of getting a blacklist IMEI from the operator.
  • ๐ŸŒ Suitable for tablets (Xiaomi Pad 5) or smartphones with Wi-Fi;
  • ๐Ÿ”’ You cannot unlock the bootloader or update the firmware.
  • ๐Ÿ›ก๏ธ Risk of blocking Mi Accounts when reset.

If you decide to sell a device without a serial number, honestly state this in the ad. Buyers in the secondary market often look for such devices for:

  • ๐Ÿ”ง Reflashing to other regions;
  • ๐ŸŽฎ Use as a gaming device (without SIM- card);
  • ๐Ÿ’ป Convert to a media player or smart home device.

FAQ: Frequent questions about restoring Xiaomi serial number

Can I recover the SN if my phone is not turned on?
Yes, but only if: ๐Ÿ“ฆ You have the original sticker box; ๐ŸŒ The device is tied to Mi Account (check on Xiaomi's website); ๐Ÿ”ง You're ready to use EDL- mode (requires soldering skills). If none of these are available, recovery is impossible.
Why did IMEI and SN disappear after the firmware?
This is due to: ๐Ÿ”„ Custom firmware installation without NV-data backup; ๐Ÿ“ต Partition damage modemst1/modemst2 (stores network settings); ๐Ÿ”ง Misuse of tools like the Mi Flash Tool with Clean All option. Solution: Flow the device in EDL- mode with the original NV-backup.
Can I fake a serial number?
Technically yes, but: โš–๏ธ This violates the warranty conditions and can be qualified as fraud; ๐Ÿšซ Xiaomi Service Centers check SN against the database; ๐Ÿ“ต A fake IMEI can be blocked by the operator. The risks outweigh the benefits - it is better to restore the original number.
How to check if the SN is original on my Xiaomi?
Compare the number from: ๐Ÿ“ฆ Box Stickers; ๐Ÿ“ฑ Settings menu (About the phone); ๐ŸŒ Mi Account Personal Account. If any symbol doesn't match, the number is faked or the device has been repaired.
What if the SN on the phone and the box are different?
Probable reasons: ๐Ÿ”„ The body or motherboard was replaced in the service; ๐Ÿ“ฆ The device was sold without the original box; ๐Ÿšจ This is a fake (especially relevant for Poco X3 and Redmi Note). Solution: contact the seller or service center for a history of the device.