• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help How to restore EFS with ADB ?

nev_bkd

Newbie
Hello,
I`m new to rooting and installing custom ROMs and in the process I lost my IMEI number ( it just shows a generic one now) .
My Galaxy S2 was initally from Orange Romania. It was unlocked for UK and it worked for a loong while. It had gingerbread version. I rooted it and added JB neatrom with a syiah kernel. All seemed alright except I had no service anymore. I tried going back to quite a few stock firmwares for UK T Mobile ( I use Tmobile pay as you go). Some of them sent my phone into bootlooping. The current version I have is this one: http://www.sammobile.com/firmwares/download/29852/I9100XXMS7_I9100OXAMS7_XEO/ and it is sucessfully rooted. Ironass here on the forums helped me a lot with this.

Before adding the JB NeatROM, I used GSII repair and made a backup of the efs. I have a file on my computer:
efs_save.tar from 22 september.
On the phone, just in My files I have these 2: efsdev-mmcblk0p1.img.gz & efsbackup.tar.gz from 23 sept
All these should be related to the good backup.

A few days later, when I had a different ROM and the network problem I did another efs backup , also using GSII repair so in my phone , in the GSII_repair folder there are : efs_save.tar & efs_save.tar.gz from 25 sept but these files are bad I suppose.

I took a look at post #2 here: http://forum.xda-developers.com/galaxy-s2/help/efs-restore-backup-t1377105 but it seems complicated as I never used ADB before.

However, if someone could please guide me through step by step what should I do, it will be very appreciated!!!

I have installed ADB following this guide http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/ and I can see my device when I connect it.
I have 7zip on my PC if I need to explore the .tar

I installed ES file explorer. I found the efs folder. There, I have nv_data.bin and nv_data.bin.md5 files and their date is shown as 2 oct 015. I don`t have in the efs folder the .nv_data.bak & nv_data.bak.md5 in that folder.

What should I do ?
 
Last edited:
I have successfully restored a corrupt EFS folder with an uncorrupted one from the same device - a Samsung Galaxy SIII (GT-I9300) in the past.

On the phone, just in My files I have these 2: efsdev-mmcblk0p1.img.gz & efsbackup.tar.gz from 23 sept
All these should be related to the good backup.

Copy and paste those and store them on a PC desktop. I have forgotten exactly what I did to restore a ".tar.gz" back up of the EFS, but I'll have a look over the weekend and get back to you.
 
I have successfully restored a corrupt EFS folder with an uncorrupted one from the same device - a Samsung Galaxy SIII (GT-I9300) in the past.



Copy and paste those and store them on a PC desktop. I have forgotten exactly what I did to restore a ".tar.gz" back up of the EFS, but I'll have a look over the weekend and get back to you.

Thank you! I will copy them and I am looking forward to your reply!
 
Last edited:
You don't need to use ADB. While I can't find exactly how I restored mine I knew you had a decent .tar.gz back up. EFS Professional should work from here:

http://techbeasts.com/2013/11/29/how-to-restore-and-back-up-efs-data-on-samsung-galaxy-devices/

Thank you! Seems like a great option!
Although I have 1 question: is it a problem the efs was backed up when I had gingerbread version ? Now I have jellybean.

And I might just be nervous and getting paranoid about it but I am not very sure if the efsbackup.tar.gz on my phone is the right file.
The file that I am sure it was from when the phone was working is the one just in my computer efs_save.tar which is shown as a gz type file as well. Would that work instead ?
 
Last edited:
Thank you! Seems like a great option!
Although I have 1 question: is it a problem the efs was backed up when I had gingerbread version ? Now I have jellybean.

I honestly wouldn't know. My guess is that it would be fine, given that the EFS folder is just an an encrypted set of data that refers to your device and your device only. As I say I don't know..

And I might just be nervous and getting paranoid about it but I am not very sure if the efsbackup.tar.gz on my phone is the right file.
The file that I am sure it was from when the phone was working is the one just in my computer efs_save.tar which is shown as a gz type file as well. Would that work instead ?

Go with one your more sure of, EFS folders can be saved and backed up in various tar/gz guises, the software I have the link to should recognise all and any.
 
I honestly wouldn't know. My guess is that it would be fine, given that the EFS folder is just an an encrypted set of data that refers to your device and your device only. As I say I don't know..



Go with one your more sure of, EFS folders can be saved and backed up in various tar/gz guises, the software I have the link to should recognise all and any.

I have downloaded EFS professional and my phone connects well with it. However, in the program, I go to the restore tab but from there I cannot browse on my PC to select the backup file...
 
Bad news....
In the meanwhile I got some other advice

To install BusyBox and then use GSII repair again: copy the 'good' backup file from my PC to the GSII repair folder from the phone and use the restore function of the app, then reboot.
I did that , GSII said the restore was done, I rebooted but still no change :(

I guess that backup is not good enough ?

After more searching I found this: http://forum.xda-developers.com/galaxy-s2/general/guide-recover-imei-9-steps-t1264021
But I do not know the details to restore my phone's firmware to it's original PDA, Phone and CSC as he did.

Update: just noticed that I don`t have a ".nv_data" file in the efs folder.

It seems that I cannot do something about my phone ...
 
Last edited:
This is not good I'm afraid. If you don't have a a complete EFS folder backup in one form or another then you are indeed sunk.

I checked all my efs backups and all of them are missing the .nv_data . Maybe it was an older issue...I don`t know. Doesn`t matter anymore...
Thank you very much for trying though!
 
Back
Top Bottom