[Android Software/Hacking General [Developers Only]] suriya83:
Tutorial: Restore your original IMEI

Wrong IMEI seems to lead to a lot of different strange problems while using the phone. So if your IMEI changed after flashing an other ROM it might be better to restore the original one.

All Credits to c.martinez.lozano

Attention!!! this process is delicated!!! I have no responsability for any damages to your phone!​

Dowload this File: and Unpack it to "C:\IMEI"

Go into C:\IMEI and execute setup. This will install PSAS

Execute MadEdit (answer NO), in MadEdit click File-->Open and choose NVList.nvr and we see a lot of numbers

Scroll down until on the left grey side you see "000020C0" and on the same line in the white part you see the numbers ".. .. .. .. 1A 23 45 67 89 AB CD EF...." this is the BAD IMEI

Now open notepad (on your pc) and write down your correct IMEI (found under your battery) putting in front "A" and separing every 2 characters (E.g. if your IMEI is "324867523906130" write "A3 24 86 75 23 90 61 30") and now invert every coupe of letters (in this case you would have "3A 42 68 57 32 09 16 03") *NOTE: thanks to jhonburton for better example

In MadEdit instead of the BAD IMEI "1A 23 45 67 89 AB CD EF" write (replace it) the number you got (in this case "3A 42 68 57 32 09 16 03")

Save the file and close MadEdit

Disconnect from your PC and turn off your phone and restart it into Recovery mode (Camera+Vol. up+Power). Reconnect it to your PC and if necessary install the drivers

Run PSAS (you installed it before) and choose Hardware Forensics-->Use Mobile Ports

Right to Serial Com Port select COM? - Smartphone 2009 Wireless USB Moden. The ? stands for a number. So very important!!! remember for Example if ?=3, remember COM3

Go to the tab Codes (QC) and click on Send SPC

Go to the tab Dialog Port (QC) and on the second drop down menu left to the button Lets go select Restore NVItems (Binary) and then press Lets go

Select the NVList.nrv (we have changed before) and click Open

IMPORTANT Once the process is complete, closed PSAS

Download and install QPST

Launch QPST Configuration

Click on the tab Ports and select Add New Port... and there you write the COM? port you had to remember before (in my example write "COM3") and click OK

In the tab Active Phones now you should see your phone. If not something went wrong.

Click on Start Clients-->SERVICE PROGRAMMING

A window with our phone will pop up. We select OK

Select Load from file and choose the 00000000_sp.qcn inside the folder c:\IMEI and click Open

Click Write to Phone and wait until your phone restarts, with your new IMEI.

Check your IMEI again by dialing *#06# now it should be correct

If your IMEI is still wrong, check accurately if you did everything right (correct number in NRV file etc etc...) if nothing helps procede with following steps:

Turn on the phone in download mode ( Hang up + Vol. Up + Power) and flash Apanda 1.6.2 again

Repeat all the steps of the Tutorial to restore your IMEI

If this didn't help install Apanda 1.6.1 always with the phone in download mode

Repeat all the steps of the Tutorial to restore your IMEI

If you still have problems, try to find another PC with WindowsXP SP3 32bit where you can try again.

Sooner or later you will be able to get you IMEI right (i think so)