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

mahatma

Senior Member
Jan 2, 2005
81
3
0
Is that possible to do for Samsung Galaxy S2? in odin i use ti does not give me option to flash EFS? and odin 4 does not recognise my phone?
 

Fakirr1

Senior Member
Aug 30, 2010
137
64
0
Tárnok
i dont have imei at all!!! and sim card is not recognized,and no signal,phone unknown ....what am i supposed to do?

I had the same problem before.
I don't know, what was the solution, but I did the followings:

reflash with JPF(with bootloader).Not helped :)
tried lots of custom ROMs.--Not helped :)
opened my phone( I am electro technician at ALPINE Hungary, so I've tools and knoledge for it) and cleaned the inside (SIM and sd card bay)--Not helped :)

I did a clean install( go to cwm rec, did a format for system and cache, wiped the dalvik , fixed the permissions . After it was made, I pulled out the battery.Did not used the power button! for turn off....).
Flashed Kiryllos v7.0.
Till that, my phone is working fine...


Maybe it is help you.
I don't know, why it is happend.The other ting: I'm not use overlocked kernels,'couse my phone was fine az 1,2-1366Ghz, but as time goes by, my phone was freezed first at 1366, after that at 975, and last time it was freezed even at 800(fugu 2.4 beta3 oc800) too.... I can not set any goverment/profile with setcpu, 'couse of the freezes.
Tried the G3 kernels too, with the same result...

So after your phone is OK, use sgs tool, or other program to back up your EFS part... it is important :)



Sorry for bad english..
 
  • Like
Reactions: droidTR

msmohsin

Member
Jan 30, 2012
13
1
0
Mumbai
phone : unknown galaxy sl i9003

hello all,

I seriously need a favour to resolve my fone issue. Currently using galaxy i9003 and there is no network displaying on the phone. The imei number is displaying as unknown as well as the baseband version in the setting shows unknown. Ive tried alot of steps like updating my fone with stock firmware, rooting, installing busybox,changing binaries of nv_data.bin thru hex editor but still no joy. Please do update what shall be a solution to this. :(
 

AntrhaX3G

Member
Oct 19, 2009
9
1
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 try to flash the EFS but can't run STUCK in setup connection how i can fix that please


 
Last edited:

AntrhaX3G

Member
Oct 19, 2009
9
1
0
Solved flash the i9003 with that I9003XXKPE after y repair the EFS with Z3X BOX, as i have a problem with de ODIN 4.252 does not START flash STUCK with de EFS File in Windows XP SP· and Windows 7
 

wan_andy69

New member
Sep 10, 2009
4
0
0
Kuala Lumpur
Hi all.. i have i9003..the imei shows 00499901064000 which i know its a fake IMEI. I've tried several method..google it and most of the information i found is that i fix nv_data in /efs folder. The best part is i do not have any back up for this folder, and if i checked in my phone's root folder there is no /efs folder. where can i get this folder n fix my phone beside samsung center??

What i have tried..
flash a lot of rom including stock GB rom - didnt work.. :(
change CSC *#272*IMEI# - didnt work.. :(
using terminal emulator 'AT+EMGR=1,7,"359990xxxxxxxx"'>/dev/pttycmd1 - didnt work.. :(

can anyone upload i9003 /efs folder so that maybe i can work on that nv_data file.??
 

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,061
2,892
113
I had efs corrupted and was not seen in mount command output....
after flashing your tar, its getting mounted...
thanks very much.
Now IMEI os all 0...do you have any solution on this?
 

bsuhas

Inactive Recognized Developer
Dec 22, 2011
1,061
2,892
113
Thanks :)

Thansk So much OP. You saved my phone.
With your efs.rfs and qpst tool, i was able to restore my /efs partition as well as IMEI number.....
thanks again.
 
Jan 15, 2012
21
1
0
Hyderabad
(nv_data.bin) not backed up before flashing.

I flashed my sg3 with kyrillos 9.6 without making a backup of (nv_data.bin).
What options do I have now?
Have I done irreversible damage?
Pls help, I'm a noob at this!
Thanks, guys in advance.
 
Jan 15, 2012
21
1
0
Hyderabad
Press *#06# on your dialer app and if a number comes up your phone is fine. If it says 0000.. then your IMEI is corrupt

Sent from my GT-I5800
Thanks I checked, and on pressing *#06# the shows IMEI number. But why does the phone information window not show any IMEI, when that was the place where you could see it in stock froyo? Is it something to do with kyrillos 9.6?
 

wyndcryst25

Senior Member
Nov 6, 2012
119
68
0
Kalibo
Because you need adb.
If you do on phone (Terminal emualtor) adb shell not needed, just su and the other commands.
Clarification, is performing a nanadroid backup using CWM Recovery saves also your IMEI or EFS folder? :confused:
I notice that every time i perform CWM recovery backup, in my external sd card there is a folder EFS_BACKUP and files inside it are also updated. :eek:
 

wdani

Member
May 3, 2011
20
1
0
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!