IMEI corruption is one of the most common post-flash disasters — no SIM detected, Invalid IMEI in *#06#, or IMEI 000000000000000. This guide covers the safe workflow for reading, backing up, and restoring IMEI on MediaTek, Qualcomm, and Unisoc devices.

⚖ Legal notice: Writing an IMEI that is not yours is illegal in most countries. Use these methods only to restore your original IMEI from the sticker under the battery or the retail box.

? Read the Full Guide →

Where IMEI is stored

  • MediaTek: nvram + nvdata + protect1/protect2
  • Qualcomm: modemst1 + modemst2 (EFS mirror pair) + fsg
  • Unisoc (Spreadtrum): runtimenv1 + runtimenv2 + fixnv1 + fixnv2
  • Vivo (MTK): Same as MTK but RPMB-signed

Methods covered

  • MTK Flash Mode (DA, non-Vivo)
  • MTK Engineering Mode (over ADB)
  • Qualcomm Diag IMEI Write
  • Vivo RPMB method (thread-safe, no UI freeze)

Difficulty: Advanced • Reading time: 20 min