If your Android phone shows “No SIM,” “Emergency calls only,” or a null IMEI in Settings, the device’s IMEI (International Mobile Equipment Identity) number has been lost or corrupted. You can often restore it by rewriting the correct IMEI using engineering-mode tools or by restoring a backup, but the exact method depends on your phone’s chipset and Android version—and in many regions, altering the IMEI is illegal.
What the IMEI Is and Why It Matters
The IMEI is a unique 15-digit code assigned to every GSM, UMTS, and LTE phone. It identifies your device on cellular networks, allowing carriers to authenticate it, route calls, and block stolen phones. It is stored in a dedicated partition of the phone’s flash memory (often called the “modemst1” and “modemst2” partitions on Qualcomm devices, or the “EFS” folder on Samsung phones). When that partition gets corrupted—after a failed firmware flash, a bad root, or a hardware fault—the phone can’t read the IMEI, so it reports a null value and refuses to connect to the network.
Common Causes of IMEI Corruption
- Failed OTA or manual firmware update – An interrupted update can leave the modem partition half-written.
- Incorrect flashing of a ROM or modem file – Flashing a file meant for a different model or region can overwrite the IMEI.
- Rooting or unlocking the bootloader – Some methods wipe or modify the EFS partition.
- Hardware damage – A damaged chip or motherboard can make the IMEI unreadable.
- Malware or a bad app – Rare, but some malicious apps attempt to modify system partitions.
How to Check Your IMEI Status
First, confirm the problem. Dial *#06# on the phone’s keypad. If the IMEI appears, the issue is elsewhere (SIM card, carrier, or network settings). If it shows “null,” “0,” or nothing, the IMEI is lost or corrupted. You can also check under Settings → About phone → Status → IMEI information. On some devices, you’ll see “IMEI SV” (software version) as well—that’s normal and not a problem.
How to Fix IMEI: Step-by-Step Methods
The fix depends on your phone’s chipset. The two most common are Qualcomm and MediaTek. Below are general steps—always research your exact model before trying.
Method 1: Restore from a Backup (Safest)
If you previously backed up your EFS or modemst partitions (using TWRP or a tool like QPST), you can restore them. This is the only method that restores the original, legally assigned IMEI.
- Boot your phone into recovery mode (usually Volume Up + Power).
- In TWRP, go to Restore and select your EFS backup.
- Reboot and check
*#06#.
If you don’t have a backup, skip to the next method.
Method 2: Rewrite IMEI on Qualcomm Devices
Qualcomm phones (most Samsung, Xiaomi, OnePlus, and older LG models) use the QPST tool with a “NV” (non-volatile) item editor.
- Install QPST and the correct USB drivers for your phone.
- Enable USB debugging and connect the phone in “Diag” mode (dial
*#0808#on Samsung, or use the hidden menu on others). - Open QPST Configuration, find your port, and launch the “Software Download” or “NV Editor.”
- Read the NV items, locate item 550 (IMEI) and 551 (IMEI SV), and enter your original IMEI.
- Write the changes and reboot.
This requires the original IMEI from the phone’s box or the sticker under the battery. If you don’t have it, you cannot proceed legally or accurately.
Method 3: Rewrite IMEI on MediaTek Devices
MediaTek phones (many budget models) use the Maui META tool or the “SN Writer” tool.
- Download the correct “Maui META” tool for your chipset (e.g., MT6739, MT6765).
- Connect the phone in “BROM” mode (usually Volume Up + plugging in USB) and install the VCOM driver.
- In Maui META, select “IMEI Download,” enter the IMEI, and click “Download.”
- Reboot and verify.
Legal and Safety Considerations
In many countries, including the US, UK, and EU, altering an IMEI is illegal—even if the phone is yours. It can be used to evade carrier blocks or hide a stolen device, so authorities treat it as a crime. Rewriting the IMEI to anything other than the factory-assigned number can result in fines or jail time. Also, a wrong write can permanently brick your phone’s modem, making it unable to connect to any network. Only proceed if you have the original IMEI and you are doing so to restore your own property.
Alternatives to Fixing IMEI Yourself
- Contact the manufacturer – If the phone is under warranty, a repair center can restore the IMEI properly.
- Use a professional repair service – They have the right tools and the original IMEI database.
- Claim insurance – If you have insurance, a corrupted IMEI may be covered as a hardware malfunction.
- Replace the motherboard – On some phones, the IMEI is stored on the motherboard; replacing it with a new one (with a new IMEI) is legal but costly.
Frequently Asked Questions
Can I fix a null IMEI without a computer?
No. The IMEI is stored in a protected partition that cannot be edited from the Android interface. You need a PC with chipset-specific tools and drivers.
Will a factory reset fix a corrupted IMEI?
No. A factory reset only wipes user data, not the modem partition where the IMEI lives. If the partition is corrupted, a reset won’t help.
Is it safe to download IMEI repair tools?
Many tools come from unofficial sources and may contain malware. Only download from well-known XDA-Developers threads or the chipset manufacturer’s official support pages. Always scan files with antivirus.
What if I don’t know the original IMEI?
Check the phone’s original box, the sticker under the battery (if removable), or the purchase receipt. If you can’t find it, contact your carrier—they may have it on record. Without the original, you cannot legally restore it.
Why does my phone show a different IMEI after flashing a custom ROM?
Some custom ROMs or modem files are designed for a different variant and may write a generic IMEI. This is a common cause of corruption. Always flash the modem files specifically for your model and region.
Can a corrupted IMEI be fixed by updating the baseband?
Sometimes, flashing the correct baseband (modem firmware) can restore the IMEI if the corruption was caused by a mismatched modem file. It’s worth trying before more invasive methods.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Unfortunately App Has Stopped: Step-by-Step
- Restart a Frozen Samsung Galaxy A12
- HomePod Stereo Pair with AirPlay 2 from iPhone
- Fix 0x8e5e0247 Error on Windows
- Pixel & Pixel XL No Sound: Solved?
- How to Edit Playlists on iPhone