Samsung Galaxy S2 – Recover International Mobile Equipment Identity

by Shubham Gupta on March 11, 2012 · 9 comments

Recover IMEI numberLost your International Mobile Equipment Identity while the custom ROM firmware update in your Galaxy S2?  Well, it is very common. But the IMEI is very necessary and if you lost it during firmware update and without it, network operators doesnt allow the latching of the network.

IMEI helps uses to recover their stole or misplaced mobile phones and is the only hope to retrieve their phone. Re implanting IMEI is not advised and is not-so-easy.

We can recover the IMEI of Samsung Galaxy S2 Android Phone by following a certain procedure but before that you must have a look at the pre-requites, as keeping them in mind will help to easier the task.

Samsung Galaxy S2

Note: The following task should be applied on Samsung Galaxy S2 in order to get its IMEI.

Pre-requites:

  • Samsung Galaxy S2 must be rooted and it should not be Network Locked Device. ( If not so, than do it)
  • Root Explorer, a file manager app that allows users to access the whole phone, should be installed on the device in order to copy the files from / to EFS Folder which is in your phone.
  • Terminal Emulator, a app that allows you to access your Android device built-in Linux command line shell, should also be installed. You can now follow the procedure to recover IMEI number given below.

Method of Recovering Samsung Galaxy S2 IMEI:

Samsung Galaxy S2

1. Backup the folder named “EFS” by the app “Root Explorer” to your SD card and as well as to your computer so that it doesn’t gets lost.

2. Assuming that you have backed up folder “EFS”, delete the folder from the root of the device using app “Root Explorer”.

3. Go to the root via Root explorer after you have reset you phone. As you can still see EFS folder although you have deleted it, I must tell you that it is the new EFS folder and not the old EFS folder which was auto generated.

4. Open the EFS folder and delete “nv_data.bin” and “nv_data.bin.md5″ file.

5. Now, “IMEI” folder from the folder which you copied in you SD card and by using the Root explorer copy “.nv_data” file at the root of device.

6. Make another copy of “.nv_data” file  in the EFS folder, so that there are 2 “.nv_data” files.

7. Rename one to  “nv_data.bin” and another to  “nv_data.bin.bak” from “.nv_data”.

8. Open command prompt at the ADB tool path or by typing following command to run the terminal:

adb shell ( use this command of you use ADB, if you’re using terminal, skip this line )

su ( ALLOW THE MESSAGE CAME AT YOUR PHONE’s DISPLAY BY SUPERUSER PROGRAM )

chown 1001:radio /efs/nv_data.bin

9. Reset your device, and dial *#06# to check if the original IMEI number has been restored.

{ 9 comments… read them below or add one }

sai krishna March 13, 2012 at 10:28 am

Samsung always rocks !!

Reply

ankit prajapati April 19, 2012 at 12:11 pm

m cant delete as descibed in 4th step.

thank u for usefulll stuff.

Reply

ankit April 20, 2012 at 5:03 am

when i tried to delet efs folder. its give me error that this is system folder, cant deleted

Reply

Shubham Gupta April 20, 2012 at 9:17 am

Hi Ankit, Can you paste here the exact error you are getting. It would be good if you be a little more specific.

Reply

ankit prajapati April 21, 2012 at 7:46 am

thx bro,

whn i open root explorer, it show in title bar,
rootfs(r/o) beside it in box it show MountR/W and whn we click on it,
turns in MountR/O. i think it indicates MountR/W stands for mount read/write and MountR/O stands for read/only
whn it is in mountR/O and i perform to delete efs folder it show : warning: efs cannot be deleted because the file system is read-only and give only option as ok to click

and when i go through MountR/W and try to delete efs it asked me : are you sure you want to delete this folder? and give options as: yes and no.
when i clicked on yes it gives error delete failed.

hope so it was perfect from ma side..

live strong bro.. l\keep it up..

Reply

ankit prajapati April 23, 2012 at 5:13 am

m waiting

Reply

ankit prajapati April 23, 2012 at 7:52 am

To anyone who might be interested, I have fixed the problem.

i hv tried evrything but none is useful as below.
its to simple. no more headache at all

I had to root the phone, and install Busybox. Then I installed an app called GSII_Repair. In the app, theres an option to ‘Mount EFS on RW’. I did this, and after rebooting, it works! Back on the network, and now the IMEI number can be viewed again!

Reply

Lulet Aguilera July 24, 2012 at 7:28 am

can his be applied to my samsung i997 infuse 4g. my IMEI just got garbled :(

Reply

Shubham Gupta July 24, 2012 at 6:44 pm

Yes, It will work for every Samsung Android Phone.

Reply

Leave a Comment

Previous post:

Next post: