Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

The question is simple "How to fix "Invalid IMEI " after Factory reset?"
After factory reset my phone starts showing "Invalid IMEI" on both SIM slots and I can't call or to being called.

The phone is A738 with Android 2.2.1 and CPU chip is Media Tek MTK6516 416MH

Hope that information is enough.

** UPDATE **

This is the phone

share|improve this question
    
What phone? Much more important than the CPU in my opinion. –  Matthew Read Apr 24 '11 at 13:26
    
The phone is A738 here is the link chinabuye.com/… –  T1000 Apr 24 '11 at 19:53
    
Have you installed CoPilot on this phone? –  admintech Apr 28 '11 at 9:58
    
Yes, before the reset I have installed CoPilot –  T1000 Apr 28 '11 at 13:54

2 Answers 2

up vote 3 down vote accepted

I found a good solution:

DO IT AT YOUR OWN RISK

  1. Need to root the phone - I use z4root
  2. Install Root.Explorer (in the archive)
  3. Using Root Explorer you must replace (maybe you will need to press "Mount R/W" on top right corner of the program screen) .modem.img from the archive to this location of the phone /etc/firmware/.modem.img (do not delete the old file !!! replace it!)
  4. Set permissions for the .modem.img file to rw-r--r--
  5. Restart the phone and maybe will be OK, but if it is not go to next step
  6. IMEI information is stored in /data/nvram/md/NVRAM/NVD_IMEI/MP0B_001. Maybe changing of your original IMEI is not good idea because it is against the law but if you don't have copy of that file BEFORE the factory reset you can use temporary IMEI file located in the arhive.

The archive with files needed

share|improve this answer
    
the archive link is inactive please provide another. thanks –  user4936 May 7 '11 at 20:12
    
I re-upload it, must be ok now. –  T1000 May 7 '11 at 22:04
    
Since the archive was on MegaUpload it's gone now. Does anyone has a copy or can anyone upload it to some other file sharing service ? –  Cees Meijer Jan 17 '13 at 9:54
    
comment by Mircea D.: You can also create your own brand new IMEI file if you have the code at the back of your phone, with the IMEI generator. See this guide for more details. // @MirceaD You might wish to place that as an answer, including an excerpt of the linked guide. –  Izzy May 23 '13 at 11:36
    
I have formated the nvram accidentally with a tool. My IMEI also resets now. To keep my IMEI why do I need to replace the modem.img (4.89MB) and to what to replace? also is that is replaced, why need /data/nvram/md/NVRAM/NVD_IMEI/ files? There I have MP0B_001 120 byte ST6TA001 412 byte ST6TB001 412 byte and not only MP0B_001. My chipset is MT6589T, phone THL: W8S –  matheszabi Oct 17 '13 at 0:10

Before proceeding, check your country's law regarding tampering IMEI. It might be illegal. However, the answer is meant to restore the IMEI back to original. The answer can work on Mediatek devices mt65{89,75,77,92,82}. Simply, its applicable on many Mediatek devices.

In my situation, T1000's answer didn't work for my device Micromax A110q Canvas 2 Plus. I used this video (backup) on YouTube which first format and then flashes your device.

If you have a an MTK-Phone that has an invalid IMEI after performing a factory reset from nandroid, your NV-RAM is corrupted and you CAN NOT fix this with any of the MANY IMEI repair tools on the web. YOU NEED TO FORMAT YOUR NV-RAM and flash a stock image! DON'T WASTE YOUR TIME WITH IMEI TOOLS!

After that you can just restore your original NANDROID backup and be on your way again! (Source)

Remember to take a backup of everything you think is important for you.


Method #1

Procedure:

  1. Download a scatter-based ROM (Stock ROM preferred) for your device. Google for such with details like device model name, chipset, etc. You can also look at this collection listed at Androidxda.
  2. Download ADB drivers for your device, install them and verify that your device is getting detected. You can Google for them like Step 1.
  3. Extract files from downloaded ROM and look for Scatter File.
  4. Download latest SP-Flash Tool and follow the usage guide either from the aforementioned video (using old version of the tool) or from here.
  5. Extract this tool, look for Flash_tool.exe and execute it by Right-click -> Run as Administrator.
  6. Once the interface comes up, click Scatter-Loading button and locate the Scatter file there.
  7. If you have custom recovery installed and don't want to replace it, then uncheck it and check the rest of the listed options (partitions). It is better to uncheck the recovery in case, the tool doesn't succeed.
  8. Click the Format option. Under Auto Format Flash check Format whole flash except bootloader and uncheck rest (0:57/1:57). Make sure Validation is checked.
  9. Hit Format/OK and then connect your phone through USB cable into PC, remove and plug the battery but don't turn it on manually. You may have to press Vol. Up or Vol. Down button to let the PC detect your phone.
  10. The tool will format the partitions and will show a green ring as success.
  11. Press the Download button and re-insert the battery again.
  12. A green ring will be shown if its flashed well.
  13. Close the tool, unplug the phone, start and boot into the Android. Check the IMEI now.

(Source YouTube video and Androidxda guide.)


Method #2

It could be possible that you might not be able to see IMEI still, but we've come far away from Invalid IMEI issue. If the issue persist, a different issue with IMEI I assume, then consider the solution on YouTube here (backup). You can also look at this (backup) solution which is published by the same uploader.

This solution requires Maui Meta 3G, Scatter based Stock ROM, CDC Drivers. Google them to download the latest version. You may look the this and this video, or this guide for the procedure. Unfortunately, I couldn't find a synopsis for Maui Meta 3G.

Procedure:

  1. First enable USB Debugging in your phone. To do this go to Settings -> Developer options and enable USB Debugging in it. In case you don’t find developer options in your settings just go to Settings -> About phone. There you can see build number. Tap it 7-8 times and you can get Developer options now.

  2. Now install Maui META 3G tool then open it after installation.

  3. Click Options -> Connect smart phone into META mode.
  4. Then click Reconnect.
  5. Now turn off the device and connect it to pc using USB data cable.
  6. The device will boot up and stay in boot logo (META mode) and won’t go past it (don’t panic it is normal).
  7. As soon as PC detects the mobile it will start searching for drivers.
  8. If it fails to install any driver, mainly CDC driver you have to manually install it (this driver is mandatory and without it Maui tool will not detect your device). Hop down to the next point to know how to install CDC drivers. For Windows 7 and above make sure you have disabled Digital signature Verification. You can Google out how to disable digital signature verification.
  9. Go to Control panel -> Device manager, locate CDC… (The CDC… option will be displayed until the device is connected in META mode, it will disappear after you disconnect it). Locate CDC in device manger list and right click on it. Now choose update driver software -> Browse my computer driver software -> then browse Android_Gadget_CDC_driver.inf through browse option -> Click next to install driver -> Choose install it anyway -> done.
  10. After successfully installing the drivers the Maui tool will detect your device.
  11. Close the pop-up info window then choose IMEI download from the drop down menu right below the menu bar of the Maui Tool.
  12. Main app.
  13. After clicking IMEI download it will popup a window like below.
  14. vlcsnap-2014-11-21-00h20m20s28.
  15. Click Change NVRAM database file and load your device stock ROM database file. (This file will be available in your device SP Tool flashable stock ROM. Don’t use any other device database file and use only your device file).
  16. After loading NVRAM database file successfully now enter your IMEI(SIM_1) and hit Download to flash. Repeat the same process for SIM_2.
  17. Now you have flashed the IMEI successfully on your phone and you can close the tool.
  18. Unplug the device from PC, remove the battery and insert it back again.
  19. Now turn on the device and DONE…!! Now you will have your lost IMEI back permanently. [More Info : Here (backup) on YouTube]

(Source)


About SP Flash Tool

Smart Phone Flash Tool (SP Flash Tool) allows you to Flash any Stock Rom or any Custom on the Android Smartphone.


Note: I've provided backup for every YouTube video if the original cannot be reached somehow. Method 1 is tested by me. Method 2 is tested from the video only. Procedure for Method #2 is mentioned for the purpose of quoting and answering.

share|improve this answer

protected by Community May 9 '11 at 13:10

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.