[TOOL]Backup/Restore EFS (IMEI) for SGNII

tweeny80

Senior Member
Jul 2, 2012
1,175
629
143
For me, following OP instructions worked, end result was EFS file of type 'Disc Image File' 20 MB size

I will guard it with my life. Hearing others explain how a ROM flash wiped theirs makes me nervous...I am about to flash my 1st ever GT7100 ROM wish me luck. My 1st phone was a Nexus S, and EFS corruption wasn't ever discussed in the forums. Is it not an issue with Nexus phones?

Anyways thanks OP
 

babymatteo

Senior Member
Aug 30, 2011
2,863
763
0
SoCal
Hey guys is there any way to restore IMEI from download mode? What happened is that i tried flashing ARHD coming from WanamLite 3.8. Did a full clean wipe install tho..after booting up, i noticed my IMEI wasnt the one i had. So tried restoring my IMEI from my EFS backup using Terminal Emulator. Then after rebooting my phone was stuck in bootloop. And now thats all it is. It just wont boot up. I tried restoring to stock via ODIN and still phone wont boot....Any ideas?
 
Last edited:

EarlZ

Senior Member
Jun 21, 2010
6,284
327
0
Im at the part where it is saying back up EFS image.. its been there for the past 5mins and nothing else is happening...
 

3shmawy

Senior Member
Oct 6, 2012
133
8
0
Cairo
@corvux360

what i did i to flash the rom i want then i did extracted the tar.gz file so you've efs folder extracted so after i've flashed the rom i deleted EFS folder in my phone and i reboot you find no lockscreen and some words in yellow copy EFS backup folder you extracted before to the same location you deleted your device EFS folder then reboot service now should work if not so apply the following commands in terminal emulator line by line and press enter after every line:

su
rm /efs/FactoryApp/keystr
rm /efs/FactoryApp/factorymode
echo -n ON >> /efs/FactoryApp/keystr
echo -n ON >> /efs/FactoryApp/factorymode
chown 1000.1000 /efs/FactoryApp/keystr
chown 1000.1000 /efs/FactoryApp/factorymode
chmod 0744 /efs/FactoryApp/keystr
chmod 0744 /efs/FactoryApp/factorymode
reboot

my reference http://forum.xda-developers.com/showpost.php?p=43491688&postcount=132
 

corvux360

Member
Dec 21, 2010
48
15
0
Toa Baja
@corvux360

what i did i to flash the rom i want then i did extracted the tar.gz file so you've efs folder extracted so after i've flashed the rom i deleted EFS folder in my phone and i reboot you find no lockscreen and some words in yellow copy EFS backup folder you extracted before to the same location you deleted your device EFS folder then reboot service now should work if not so apply the following commands in terminal emulator line by line and press enter after every line:

su
rm /efs/FactoryApp/keystr
rm /efs/FactoryApp/factorymode
echo -n ON >> /efs/FactoryApp/keystr
echo -n ON >> /efs/FactoryApp/factorymode
chown 1000.1000 /efs/FactoryApp/keystr
chown 1000.1000 /efs/FactoryApp/factorymode
chmod 0744 /efs/FactoryApp/keystr
chmod 0744 /efs/FactoryApp/factorymode
reboot

my reference http://forum.xda-developers.com/showpost.php?p=43491688&postcount=132
That work Thanks!:good::good:
 

ValenteL

Senior Member
Aug 25, 2011
2,167
901
0
Espinho
Descompact .tar.gz

To descompact .tar.gz I use this:
On Pc, black screen:
adb shell
gzip -d /storage/sdcard0/efs.tar.gz .. or .../storage/extSdCard/efs.tar.gz
Now I have efs.tar only on device.
If extract this tar I have efs/files. I can copy efs/files to root/efs.
I verify permissions and alright (in my succeeded cases).

On device whit Shell Terminal Emulator work well also.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone