[TUTORIAL] Remounting/restoring/backup the /EFS partition

m1trand1r

Senior Member
Mar 6, 2011
12,403
9,586
113
You don't wanna know.....
Sorry for posting in old thread,

can i do it like here with the samsung galaxy s3? SGH-I9300 (not the LTE version)

second question, i have a backup file like this : efs_01Oct2012-1028.tar.gz

its only 35kb

but inside is the file: efs_01Oct2012-1028.tar and size ~5mb

inside that is the efs folder with the files

unzip the .gz file and flash?

sorry for my english!!

thx for helping!
try restoring from cwm if you have one installed on your S 3....from backup /restore option...

Sent fom my S-II running >>SlimBean build 6 OFFICIAL<< :D powered with >>DorimanX kernel 9.28<<
 

sumonfd

Senior Member
Jul 9, 2013
86
0
0
/EFS partition contains a lot of information about your phone, f.e: wifi/bt mac address and your IMEI (nv_data.bin).

It's highly recommended to backup the whole partition, or at least copy the files from the efs directory.

CORRUPTED OR NOT?

You can check if the efs is mounted or completly damaged with this command:

adb shell
mount

You will see something like this:



Red part means /efs is mounted.

IF YOUR PHONE HAVE CORRECT EFS PARTITION:

1, Root your phone - there are several methods to do this.
2, Install root explorer or Estrongs file explorer and copy /efs dir to your sdcard - this will copy the files.

or

2, Make a backup from the whole partition -this is better if you flash a phone with wrong ops, the only way to restore using this backup.

Backup:
adb shell
su
dd if=/dev/block/stl4 of=/sdcard/efs.rfs

Restore:
Add efs.rfs to an unix compatible tar and flash with odin as efs file:



IF YOUR PHONE /EFS IS CORRUPTED:

Flash the included /efs tar with odin:
This will remount your efs partition and (if you have a backup or fixed nv_data.bin) you just need to overwrite files with a file explorer.

i have my backup of efs. I backup it with clockworkmod from there i found it. But how can i restore it as it is stuck on the boot menu & showing mounting error on efs.
how can i flash my efs folder via odin.
 

lovegambler

Senior Member
Jan 27, 2012
405
118
0
New Delhi
well guys, sorry for bumping an old thread but i'm having the same issue and now my device is stuck in bootloop on every ROM I flash
can't open that EFS folder. So, any idea of recovering this?
have EFS backup in .tar.gz format but not sure if it's corrupt or not and my EFS partition is corrupt for sure as my Baseband, IMEI, IMEI SV is shown "Unknown" when my device was working
 

vitortakeda

Member
Nov 30, 2015
14
0
0
Where do I get Odin with this EFS option enable?
I've searched all over the google and couldn't find it or was unable to find. Any link with it please?
 

Italy69

New member
Dec 10, 2018
2
0
0
EFS missing / corrupted. Can't restart the phone S7 Edge

Dear Szaby59,
I made a mess with my S 7 edge , after I had a custom rom installed, I wanted to go back to the Original Firmware , and I did, but in the process I have lost EFS partition and now I have IMEI : unknown , Baseband : unkown and now i am stuck at the point where I have formatted / wiped all data, then Install successfully with Odin the latest version downloaded with samfirm , but after 5 / 6 seconds that the system is updating with the blue Android little robot it stops and say : failed to mount EFS .
PLEASE ! How can I fix this ? I even have found a Zip file with the EFS with the serial number of my phone, but I don't know how to put it back into the phone.
THANK you a million in advance !
Italy69
 

Italy69

New member
Dec 10, 2018
2
0
0
Half solved

Dear Szaby59,
I made a mess with my S 7 edge , after I had a custom rom installed, I wanted to go back to the Original Firmware , and I did, but in the process I have lost EFS partition and now I have IMEI : unknown , Baseband : unkown and now i am stuck at the point where I have formatted / wiped all data, then Install successfully with Odin the latest version downloaded with samfirm , but after 5 / 6 seconds that the system is updating with the blue Android little robot it stops and say : failed to mount EFS .
PLEASE ! How can I fix this ? I even have found a Zip file with the EFS with the serial number of my phone, but I don't know how to put it back into the phone.
THANK you a million in advance !
Italy69
Hey there,
I could somehow ( dunno how) restart the phone and now is on : Android version 8.0.0 and Samsung experience 9.0.0 , and Baseband is G935FXX............ ; the only missing thisn is the IMEI and it doesn't work on Wi-fi.
Please if you could help I'd be grateful for ever.
Thank you !!
Ciao