Three access paths
Writing an IMEI needs privileged access. On Xiaomi MediaTek there are three ways to get it, and ART supports all three — you only need one:
| Your phone | Use this path |
|---|---|
| Normal retail phone, bootloader locked | Temp Root |
| Bootloader already unlocked + rooted | Root |
| Running an engineering (Eng) firmware | Eng ROM |
All three lead to the same IMEI write screen. If unsure, start with Temp Root — it's non-permanent and reverses on reboot.
Use your own IMEI only
Only write the IMEI that belongs to the device — from the box, SIM-tray sticker, or invoice. Writing a different number is illegal in most countries.
Path 1 — Temp Root
Temp Root gives ART access just for this session; nothing permanent changes and it's gone after a reboot.
- Connect the phone booted to Android, USB debugging on and authorized.
- Open ART and in the left menu select Root.
- Open the Temp Root tab, pick your Xiaomi model, and click Temp Root — ART grants temporary root for this session.
- Jump to the Xiaomi ADB flow: left menu → Xiaomi → Xiaomi ADB, set the chipset to MediaTek. Continue at Write & verify.
If Temp Root isn't offered
Not every model supports Temp Root. If ART doesn't offer it for your phone, use the Root or Eng ROM path instead.
Path 2 — Root (bootloader unlocked)
If the phone already has an unlocked bootloader and persistent root, ART uses that directly.
- Connect the phone with root active and USB debugging on.
- Open ART → left menu Xiaomi → Xiaomi ADB tab → set chipset to MediaTek.
- Approve the root prompt on the phone if it asks, then continue at Write & verify.
If the phone isn't rooted yet but the bootloader is unlocked, ART's Root tab (left menu) can root supported models automatically — do that first, then come back to Xiaomi ADB.
Path 3 — Eng ROM
An engineering ROM is open by design, so there's no extra unlock step.
- Boot the phone on its Eng ROM with USB debugging on.
- Open ART → left menu Xiaomi → Xiaomi ADB tab → set chipset to MediaTek. ART connects directly. Continue at Write & verify.
Write the IMEI & verify
From here every path is the same — all three land in Xiaomi ADB with chipset set to MediaTek.
- Let ART read the device and confirm it's the right phone.
- Enter your IMEIs — IMEI 1 (and IMEI 2 for dual-SIM) exactly as printed.
- Click Repair / Write IMEI and wait for success — don't disconnect.
- Reboot — a Temp Root session ends here on its own.
- Verify — after ~45 seconds dial
*#06#; insert a SIM and check for signal.
Don't disconnect mid-write
Leave the cable alone until ART reports success. Interrupting an IMEI write can leave the baseband in a bad state.
Download Android Root Tool
The all-in-one flashing, unlock and IMEI-repair tool for Xiaomi, Infinix, Tecno and Motorola.