FORUMS
Remove All Ads from XDA

[TOOL] Backup & Restore EFS (IMEI) for Samsung Galaxy Note 2 GT-N7100 / S4 GT-I9500

20 posts
Thanks Meter: 67
 
By lskwl, Junior Member on 29th April 2013, 08:42 AM
Post Reply Email Thread
21st August 2013, 09:20 AM |#31  
HassanM's Avatar
Senior Member
Thanks Meter: 636
 
More
Quote:
Originally Posted by mw86

Now that you have your efs backed up since my tip to use winrar to extract worked, could you leave other users any tips that would help while doing this process.

Sure mate.... :thumbup:

Sent from my GT-I9500 using Tapatalk 4 - Hassan K. Malik
The Following User Says Thank You to HassanM For This Useful Post: [ View ] Gift HassanM Ad-Free
 
 
9th September 2013, 09:35 AM |#32  
zmadaric's Avatar
Member
Flag Cologne
Thanks Meter: 2
 
More
It works with Samsung Galaxy N5100, Galaxy Note 8.0
18th September 2013, 03:30 PM |#33  
rakeshtiw's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 5
 
More
Quote:
Originally Posted by tallus

I'm trying to do a restore using the script, but keep getting the same error message:


Press CTRL+C to cancel

'CHOICE' is not recognized as an internal or external command,
operable program or batch file.

--- Push efs image "efs.img" to phone "/sdcard/efs.img" ---
The system cannot find the path specified.

--- Restore efs image "efs.img" from phone "/sdcard/efs.img" ---
The system cannot find the path specified.

--- TRY KILLING ADB DAEMON / EVENTUALLY SHOWN ERRORS BELOW CAN BE IGNORED
ERROR: The process "adb.exe" not found.

--- RESTORE SCRIPT IS FINISHED

Your EFS partition is restored from "/sdcard/efs.img"

For any feedback or when having problems feel free to contact me at XDA.
Please include also your phone model and Windows version if you have problems.

Website: http://forum.xda-developers.com/show...php?p=41152827
Press any key to continue . . .

This is driving me up the wall at this stage.

I got the same error when I tried to backup efs. I realised my efs_backup file was too deep in sub-sub-sub directory structure in windows using long file name for directories. The problem was solved and successful EFS backup taken once i moved the EFS_Backup folder to "c:\" in my win7 OS. My device is Note2 N7100.
The Following User Says Thank You to rakeshtiw For This Useful Post: [ View ] Gift rakeshtiw Ad-Free
19th September 2013, 06:56 AM |#34  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by rakeshtiw

I got the same error when I tried to backup efs. I realised my efs_backup file was too deep in sub-sub-sub directory structure in windows using long file name for directories. The problem was solved and successful EFS backup taken once i moved the EFS_Backup folder to "c:\" in my win7 OS. My device is Note2 N7100.

Thanks for the reply.

I ended up returning the phone to the Samsung repair centre to have it repaired. They quoted the problem as a "calibration" issue, and didn't charge me so I'm happy with the outcome.
27th September 2013, 03:30 PM |#35  
Member
Flag Haiphong
Thanks Meter: 50
 
More
It works with Samsung Galaxy GT-i9152, Galaxy Mega 5.8
7th October 2013, 07:26 PM |#36  
Senior Member
Flag KLang
Thanks Meter: 191
 
More
Quote:
Originally Posted by oldmanhp

It works with Samsung Galaxy GT-i9152, Galaxy Mega 5.8

it works for me too on Mega 5.8...but the size of efs.img is only 256kb. Is that correct?

for note 2 is about 20MB..

-------------------------------------------------------------------------------------------------------------------------

using emulator on phone:
mount > /sdcard/mount_info.txt <---- read text on internal memory and get info mmcblk0p? for efs

su
dd if=/dev/block/mmcblk0p?? of=/mnt/sdcard/efs.img <----- this will backup efs.img on phone.
20 MB ~ 20.480 kb

Or

On PC
edit script "/dev/block/mmcblk0p3" to "/dev/block/mmcblk0p??" youll get the efs.img for your device on PC.

*/dev/block/mmcblk0p17 for my Mega 5.8 (20 MB ~ 20.480 kb).. hope this is correct.
8th November 2013, 02:54 PM |#37  
Senior Member
Thanks Meter: 138
 
More
How to use this script please answer? ???

Sent from my GT-N7100 using XDA Premium 4 mobile app
12th November 2013, 01:15 AM |#38  
ekunagba's Avatar
Senior Member
Thanks Meter: 46
 
More
Thumbs up
Quote:
Originally Posted by lskwl

This is a simple script, to backup and restore the EFS / IMEI partition of the N7100 and other Samsung phones under Windows OS.

It is tested by me on a Galaxy Note 2 / GT-N7100 under Windows 8, but reported by users to work also for other phones, see details below.

Please let me know, if its also working on N7105, S3 or other Samsungs

See the attachment file and let me know, if it is useful to you.

Requirements before running the scripts:

  • Developer Options -> USB Debugging must be enabled
  • Phone must be rooted and root access given for ADB Shell access
  • Phone Drivers must be installed correctly on your OS
  • Connect the phone by USB and run one of the scripts

Reported Devices by users which are working:
  • Galaxy Note 2 GT-N7100
  • Galaxy S4 GT-I9500 (reported by "iznee", thanks)

CHANGELOG - SCRIPTS LAST UPDATED 2013-05-11
  • v3 - Updated text output of the scripts
  • v2 - Updated ADB binary files

Hit the THANKS button if you like it!

Why my scripts?

I was inspired by batch scripts of xda user "as i9000".

But his "Windows" scripts did not satisfy me, because there where file not found issues, and in my opinion missing checks, that made me build up my own scripts from scratch...

Great, backed up successfully. It first gave an error message but succeeded on second trial!
31st January 2014, 04:03 PM |#39  
Senior Member
Flag Orlando
Thanks Meter: 42
 
More
I know this might be construed as Grave Digging but I wanted to say that this is one hell of an awesome tool!
11th February 2014, 03:56 PM |#40  
Member
Thanks Meter: 0
 
More
EFS Backup !
Hi, I have been trying to backup and I get this answer below : Also I never get any notification from SU to grant permision. What I am doing wrong ?

BACKUP of EFS for Samsung Galaxy Note 2 - GT-N7100

Press any key to continue . . .

'RESTORE' is not recognized as an internal or external command,
operable program or batch file.

--- START ADB DAEMON AND WAIT FOR DEVICE
The system cannot find the path specified.

--- Backup efs image to phone sdcard ---
The system cannot find the path specified.

--- Pulling backup "efs.img" from phone to computer ---
The system cannot find the path specified.

--- TRY KILLING ADB DAEMON / EVENTUALLY SHOWN ERRORS BELOW CAN BE IGNORED
ERROR: The process "adb.exe" not found.


--- ERROR OCCURED

The backup of your EFS partition could not be created.

Please contact me by xda developers and post this output with an explanation
of what you exactly did. Include also your phone model and Windows version.

Website: http://forum.xda-developers.com/show...php?p=41152827

Press any key to continue . . .
20th February 2014, 11:52 AM |#41  
Junior Member
Thanks Meter: 3
 
More
Thumbs up
hi master.. want to ask..

i was trying backup my GT-N7100 (note 2) using my Lenovo Laptop with Win7 64bit OS and find an error.. the messase is :
Code:
BACKUP of EFS for Samsung Galaxy Note 2 - GT-N7100

Press any key to continue . . .


--- START ADB DAEMON AND WAIT FOR DEVICE
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

--- Backup efs image to phone sdcard ---
- exec '/system/bin/sh' failed: Permission denied (13) -

--- Pulling backup "efs.img" from phone to computer ---
remote object '/sdcard/efs.img' does not exist

--- TRY KILLING ADB DAEMON / EVENTUALLY SHOWN ERRORS BELOW CAN BE IGNORED
SUCCESS: The process "adb.exe" with PID 10500 has been terminated.


--- ERROR OCCURED

The backup of your EFS partition could not be created.

Please contact me by xda developers and post this output with an explanation
of what you exactly did. Include also your phone model and Windows version.

Website: http://forum.xda-developers.com/showthread.php?p=41152827

Press any key to continue . . .

can you help me determine whats wrong with this..??


FYI :
* my phone is ROOTED
* default SuperSU is GRANT
* both of i run the efs_backup.bat as administrator or not will find this error


thanks for the help...
Post Reply Subscribe to Thread

Tags
efs imei backup recovery restore windows script, galaxy s4 gt-i9500, gt-n7100 galaxy note 2

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes