Deleted IMEI on Mi4c and looking to restore

Dosk3n

Member
Jan 25, 2016
5
0
0
So I had a custom rom on my phone and it went in to a boot loop and after messing about I wiped the wrong partition and now have no IMEI on the phone. Worse still cant find the back up of the phone so unable to restore. Its ok as I have a second Mi4c with sMiUI on and working flawlessly but I would like to recover the non working one. I still have the IMEI, SN etc on the box but need a way to get it back on to the phone.

The phone is not bricked, I have sMiUI back on and can flash back to MIUI if needed but the phone works just no IMEI so unable to connect to the network.

So after a lot of googling and translating Russian and Chinese posts it seems my best option is QPST however I cant seem to find a diag driver for this phone. So QPST isnt recognising my phone.

I dial *#*#717717#*#* to enter diag mode, run device manager and see my phone showing that there is issues as no driver for this mode. I tried the Mi2 diag driver in the hope it would be compatible but it doesnt seem to be.

So now Im at a wall that I cant seem to get over and was wondering if there was anything else I am missing. A fresh pair of eyes is needed as I have flipped through so many browser tabs. Maybe I have missed the correct driver or another route is needed.

Any help is appreciated.

D.
 
Last edited:

Kéno40

Senior Member
Nov 1, 2010
2,287
572
183
Maybe you can find it here :
http://www.technokick.com/2015/05/find-imei-number-of-a-lost-android-phone/
But putting it back on your phone is an other thing...

---------- Post added at 11:26 AM ---------- Previous post was at 11:19 AM ----------

For putting a french IMEI, I saw this :
with terminal emulator try :
echo ‘AT+EGMR=1,7,”IMEI_1″‘ >/dev/pttycmd1
echo ‘AT+EGMR=1,10,”IMEI_2″‘ >/dev/pttycmd1

If you have a $
It did something
On the tutorial I saw, reinitialisating should recreate an IMEI.
It's weired but it's something I saw there :
http://www.android-mt.com/tutoriel/hackzone-changez-numero-imei-16379

No guarantee it will works...
 

Dosk3n

Member
Jan 25, 2016
5
0
0
Cool ill check out those links now.

I wiped with TWRP as formatted and cleared the entire phone. Im in Beijing and theres a Xiaomi store I may end up taking it to if I dont get any further and see what they can do.
 

Dosk3n

Member
Jan 25, 2016
5
0
0
As stated in the quote you posted I formatted the phone. I wiped first when I first flashed the rom and the phone worked fine. I changed the phones band in the phone settings and it went in to a boot loop and wiping wouldnt fix, flashing wouldnt fix so I first formatted it again didnt fix so I then MiFlashed and it was working but with no IMEI. Although it could have been changing the band that corrupted the IMEI now thinking of it I assumed it was the format that removed the partition with IMEI. Regardless though the phone now has no IMEI. I have another Mi4c working fine with SMIUI so its in no rush to fix this broken one and since it doesnt look like its possible publicly Ill have to get in contact with Xiaomi at some point.
 

qtotter

Senior Member
Mar 13, 2006
698
66
48
Tokyo
As stated in the quote you posted I formatted the phone. I wiped first when I first flashed the rom
I don't understand you saying "I formatted the phone." Meaning you wiped dalvik cache, system, data, internal storage and cache? None of those partitions have anything to do with IMEI. You might have flashed a mal ROM with MiFlash??
 

Bunyk

New member
Jan 1, 2016
2
0
0
I don't understand you saying "I formatted the phone." Meaning you wiped dalvik cache, system, data, internal storage and cache? None of those partitions have anything to do with IMEI. You might have flashed a mal ROM with MiFlash??
He deleted the modem. it happend to me to,i mannage to write it back searching internet but still no sim signal..
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone