yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Android Development] purbaboy:
Hi Again Guys

After a struggle i could finally installed the adb driver on my PC. im just really glad i could backup the efs.img file

the problem was i have to uninstalled corrupted previously drivers .

Big Thanks to you as-i9000 My Hats off To You Man
[Galaxy Note II Android Development] dr.ketan:
What is EFS, Why it is necessary to backup

Click below to find answer

Backup/Restore EFS data of Samsung GN2, to Fix IMEI and SIM not detecting issues

What the hell is this EFS ?

EFS partition is actually a internal place in our android device such as android phone which contains some important and some basic info related to our device identity like Wi-Fi address, Bluetooth MAC address and the very main IMEI address (nv_data.bin).

Now if this EFS partition accidently corrupted then your phone’s IMEI no. will erased and you can not make voice call further. This kind of damage is often not accepted by the service center of your respected handset’s company.

Why should I backup EFS data ?

As said above if any case you corrupt EFS then EFS backup can be savior for you.

So it is very necessary to make a backup of this EFS partition just now to avoid such type of future troubles.

Now the question is “how to make a backup of EFS partition”.

There are three methods to make a backup of this EFS partition.

1st : OP is best tool to make backup/restore of EFS for Note2 Thanx to as i9100.

2nd EFS folder backup using root explorer

Just copy the whole EFS folder via root explorer to your SD card or anywhere in your PC. But according users criteria this method is not be good in EFS restore.

Using of a backup/Restore tool mentioned in OP will backup your whole EFS partition including read / write permission that makes your phone compatible for this task.

Source : Androidflip.com
[Galaxy Note II Android Development] begz:
bro,,

this tool is, can back-up EFS of N7000?
[Galaxy Note II Android Development] slimc84:
i lost my imei number...using samsung galaxy note 2 (T-Mo US)...is there anyway to get this phone working again?
[Galaxy Note II Android Development] turilo:
this is why im glad i have the n7100 phew,,, sorry m8 hope you get her fixed, that just came out today right?
[Galaxy Note II Android Development] slimc84:
yup....first one in the area to get one and tried rooting it and lost imei...looking around to see if there is a way to repair it but everything so far has been a dead end
[Galaxy Note II Android Development] turilo:
I guess your efs didn't backup also did they? And did it root?

There was an app called ktool in market that backs up and supposedly restore efs, but it doesn't support the note 2 and not sure how well it would work :/
[Galaxy Note II Android Development] slimc84:
i was able to get the efs to push to the phone but the IMEI number didn't repopulate...it rooted but lost IMEI as soon as it did...i think the root process only supports international versions and might have flashed something that my phone didn't like...i tried using kies to restore the phone but it doesn't recognize the serial number so i am screwed there as well
[Galaxy Note II Android Development] turilo:
Damn that's rough :( you try going back to stock maybe?
[Galaxy Note II Android Development] slimc84:
i unrooted using the same tool i used to root but still no signal and it still says modified in the status....so it looks like im going to have to wait for an odin of the stock image and then try and take it back...hopefully it shouldn't be modified anymore after that
[Galaxy Note II Android Development] bodivas:
Go to the efs folder (with rootexplorer) and tell me how much space do you have?

Likely that you have the corrupt partition..
[Galaxy Note II Android Development] ratcom:
worked here :victory: Thanks for providing one of the most important tools anyone can use with a samsung!
[Galaxy Note II Android Development] darkphate:
May i know which version and from where did you download the file ? because i am having the same problems

I used the Samsung USB Driver 1.5.6 from dr.ketan's thread
[Galaxy Note II Android Development] micmaccc:
hi all,

already done backup efs thx to this good apps,

just asking if anyone success in restoring back the img..?

thx all..
[Galaxy Note II Android Development] A.S._id:
A second screen from the first post about what not to say? ;)
[Galaxy Note II Android Development] Richard.p:
Nervous new owner

Hi all,

I've had some experience with flashing ROMs/Rooting/Changing various aspects of the Status bar etc to my Note 1.... however, this all seems a bit daunting.

I have recently bought my Note 2 (via Korea) SHV-E250K (N7105) and very gingerly Rooted, Pushed CWM (via Odin) Backed up Via CMW and Titanium.

I still have all functions Messages/ phone calls and data including LTE (in Australia)

I just tried this and it seemed to work well. I have read many times on XDA about people bricking the phone because the used the wrong ROM/Program to restore.

As this seemed to work well the first time was wondering if it is safe to restore this (efs.img) to my particular model or is it only tested on the N71000 models?
[Galaxy Note II Android Development] Framedtrash:
yes its fine to use
[Galaxy Note II Android Development] turilo:
this tool worked to backup my sgh-i317m note 2 efs thanks for this! just havent tried a restore hopefully will not have to :)
[Galaxy Note II Android Development] :
Hi

Is it necessary to go back to a stock rom before saving the EFS?

Atm I'm using the Omega 4.1.

Thanks a lot!
[Galaxy Note II Android Development] laloutre:
Nope it should work.

It did without stock rom for me.
[Galaxy Note II Android Development] :
OK thanks laloutre ;)
[Galaxy Note II Android Development] markadan:
I didnt see this answered but does going back to stock tom via odin replace fix this efs partition
[Galaxy Note II Android Development] xenocide976:
my IMEI became null/null after flashing a rom

i had a backup of my efs.img on my pc

when restoring my EFS backup, it says "/dev/block/mmcblk0p3: write error: No space left on device"

what should i do?

i'm stuck at samsung boot logo, i can't run on USB Debugging.

I however can boot into CWM, flash roms via CWM or Odin

but it never got pass the samsung boot logo...

is my EFS partition fried??
[Galaxy Note II Android Development] Akula29:
Hello.

Can anyone share a good EFS,I have no a Backup from N7100 and IMEI is Null/Null,need help how to restore the IMEI?

Best regards!
[Galaxy Note II Android Development] A.S._id:
Are you have any files into efs folder?
[Galaxy Note II Android Development] A.S._id:
if you have a n7100, flash rescue recovery rom, after this if imei don't back, restore efs.img...

http://xdaforums.com/showpost.php?p=32273406&postcount=5
[Galaxy Note II Android Development] TEKHD:
Why does the EFS backup using the Windows Tool posted here is 20MB and with TWRP is just 4MB? Is it because it is compressed?
[Galaxy Note II Android Development] akdenizx:
i have used it on my n7100 device and successfully saved NFS.img :)
[Galaxy Note II Android Development] bFORTIFIED:
t889?

Will this cover my butt for t889 tmo variant?
[Galaxy Note II Android Development] dargirisd:
After flashing OMEGA ROM, my IMEI changed and I could not any more connect to any network.

I tried to edit the files in efs folder to revert the IMEI to the original.

That made things worse, as now the phone is in factory mode.

What are my options? (I do not have a backup of efs folder)
[Galaxy Note II Android Development] plasmadragon007:
So I am on Ubunut 12.10 and downloaded the linux version and ran the RUN_ME script in terminal and it closed so fast I couldn't see what output of the terminal was. So I opened up the Backup_efs and copied the commands into the terminal and am getting an error. I am guessing I have to be rooted in order to backup the efs, or is their a way to backup the efs before you root ? This is the output I am getting after the second command I copy into terminal. I am dual booting on an imac if you're wondering why it says imac. Any help is appreciated.

/Desktop/N7100_EFS_backup_restore_LINUX$ tools/./adb shell ls -l /dev/block/platform/dw_mmc/by-name

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

lrwxrwxrwx root root 2012-12-07 08:03 BOOT -> /dev/block/mmcblk0p8

lrwxrwxrwx root root 2012-12-07 08:03 BOTA0 -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 2012-12-07 08:03 BOTA1 -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 2012-12-07 08:03 CACHE -> /dev/block/mmcblk0p12

lrwxrwxrwx root root 2012-12-07 08:03 EFS -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 2012-12-07 08:03 HIDDEN -> /dev/block/mmcblk0p14

lrwxrwxrwx root root 2012-12-07 08:03 OTA -> /dev/block/mmcblk0p15

lrwxrwxrwx root root 2012-12-07 08:03 PARAM -> /dev/block/mmcblk0p7

lrwxrwxrwx root root 2012-12-07 08:03 RADIO -> /dev/block/mmcblk0p10

lrwxrwxrwx root root 2012-12-07 08:03 RECOVERY -> /dev/block/mmcblk0p9

lrwxrwxrwx root root 2012-12-07 08:03 SYSTEM -> /dev/block/mmcblk0p13

lrwxrwxrwx root root 2012-12-07 08:03 TOMBSTONES -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 2012-12-07 08:03 USERDATA -> /dev/block/mmcblk0p16

lrwxrwxrwx root root 2012-12-07 08:03 m9kefs1 -> /dev/block/mmcblk0p4

lrwxrwxrwx root root 2012-12-07 08:03 m9kefs2 -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 2012-12-07 08:03 m9kefs3 -> /dev/block/mmcblk0p6

zach@zach-iMac:~/Desktop/N7100_EFS_backup_restore_LINUX$ tools/adb shell su -c "dd if=/dev/block/mmcblk0p3 of=/sdcard/efs.img bs=4096"

/system/bin/sh: su: not found
[Galaxy Note II Android Development] nikkpap:
look this way please and fill the gaps with your name...

@eCHO OFF

title ..:: Backup Restore EFS image by A.S._id v 1.0 ::..

cls

:index

mode 60,20

color A

echo Make a Selection From The Menu?

echo.

echo 1. Backup EFS image

echo 2. Restore EFS image

echo 9. About

echo 0. Exit

echo.

set /p choice= Selection:

cls

if '%choice%' == '1' GOTO choice1

if '%choice%' == '2' GOTO choice2

if '%choice%' == '9' GOTO choice9

if '%choice%' == '0' GOTO choice0

cls

msg * That selection does not exist please try again!

goto index

:choice1

echo off

echo Backup EFS

pause

echo --- STARTING ----

echo --- WAITING FOR DEVICE

adb\adb wait-for-device

echo --- Backup efs image ---

adb\adb shell su -c "dd if=/dev/block/stl3 of=/sdcard/efs.img bs=4096"

adb\adb pull /sdcard/efs.img

pause

cls

echo.

echo **************************************************

echo ** **

echo ** Backup EFS image was created Succefully **

echo ** From Your System ;) **

echo ** By A.S._id (R)2012 **

echo **************************************************

echo.

PING -n 2 0.0.0.0>nul

echo This Window Will Close in 3 Sec...

echo.

PING -n 2 0.0.0.0>nul

echo This Window Will Close in 2 Sec...

echo.

PING -n 2 0.0.0.0>nul

echo This Window Will Close in 1 Sec...

PING -n 2 0.0.0.0>nul

cls

goto index

:choice2

echo off

echo Restore EFS

pause

echo --- STARTING ----

echo --- WAITING FOR DEVICE

adb\adb wait-for-device

echo --- Restore efs image ---

adb\adb push efs.img /sdcard/efs.img

adb\adb shell su -c "dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096"

pause

cls

echo.

echo **************************************************

echo ** **

echo ** Restore EFS image was Succefully **

echo ** From Your System ;) **

echo ** By A.S._id (R)2012 **

echo **************************************************

echo.

PING -n 2 0.0.0.0>nul

echo This Window Will Close in 3 Sec...

echo.

PING -n 2 0.0.0.0>nul

echo This Window Will Close in 2 Sec...

echo.

PING -n 2 0.0.0.0>nul

echo This Window Will Close in 1 Sec...

PING -n 2 0.0.0.0>nul

cls

goto index

:choice9

echo **************************************************

echo ** **

echo ** ..:: Backup Restore EFS image by A.S._id v 1.0 ::. **

echo ** **

echo ** nikkpap@gmail.com **

echo ** **

echo ** (R)2012 ;) **

echo **************************************************

echo.

PING -n 2 0.0.0.0>nul

PING -n 2 0.0.0.0>nul

PING -n 2 0.0.0.0>nul

PING -n 2 0.0.0.0>nul

cls

goto index

:choice0

msg * You Selected to Exit Thanks For Using!

exit

this is my opinion for the menu .... if you like it use it....
[Galaxy Note II Android Development] oriki:
Hi all..

I'm using Win XP.

When I try to run the backup,

this is what I get.

I have already installed the samsung drivers.

Any ideas how to solve this?

Thank you

Backup EFS

Press any key to continue . . .

--- STARTING ----

--- WAITING FOR DEVICE

The system cannot find the path specified.

--- Backup efs image ---

The system cannot find the path specified.

The system cannot find the path specified.

Press any key to continue . . .
[Galaxy Note II Android Development] primusmagestri:
Hi,

Somehow i'm not able to restore a backup, in nv.log it writes something about detecting crack and restoring backup. So it simply doesn't accept what was there in the first place.
[Galaxy Note II Android Development] st8800:
Try upgrading to latest LJ5 rom from sam mobile. Worked for me.
[Galaxy Note II Android Development] Martux76:
Holy sh**. This thread just saved my live! Good that I had a backup when I started fiddling. Yesterday I completely lost my signal and data connection after flashing Omega ROM. No idea why, nothing unusual happened. Thanks anyway! :)
[Galaxy Note II Android Development] n-j-f:
Hi guys - help, please.

Just got my N7100. Rooted with Auto CF root. Tring to backup EFS under Windows but get this - see attachment (I'm not sure how to show it in the post).

What am I doing wrong?

EDIT: OK, tried again and this time noticed that SuperSU was asking me to grant permission on the phone. I hadn't thought o look at the phone screen before. Maybe add that in the instructions?
[Galaxy Note II Android Development] repsey:
after u use this tool did the network provider work perfect ?
[Galaxy Note II Android Development] terra_droid:
I didn't see that message. Tried to reinstall the drivers and skip Windows update but the Backup stops at WAITING FOR DEVICE.
[Galaxy Note II Android Development] evilbarcode:
Does this work the same way as this http://xdaforums.com/showthread.php?t=1946915

Cheers,

Evil.
[Galaxy Note II Android Development] DaveBG:
Is there apk version for internal backup to the SD card instead?
[Galaxy Note II Android Development] tbo-art:
I get this error on OS X Mountain Lion.

============================================================
Samsung N7100 EFS Backup/Restore
============================================================
Connect your device into PC in debug mode, and choose option

1 - Backup EFS
2 - Restore EFS
3 - Exit
Enter option: 1
/Users/Tbo-art/Downloads/N7100_EFS_backup_restore_MACOS/RUN_ME: line 24: ./tools/Backup_efs: No such file or directory

What should I do?
[Galaxy Note II Android Development] laloutre:
How did you launch it ? My guess is you clicked on the RUN_ME script or ran it from another directory

Could you try

- opening a terminal and typing the following commands

cd /Users/Tbo-art/Downloads/N7100_EFS_backup_restore_MACOS/

./RUN_ME
[Galaxy Note II Android Development] tbo-art:
I already tried that. I get the same error. Will try too download again this afternoon.
[Galaxy Note II Android Development] laloutre:
Perhaps a problem with Owner or authorization for the files.

sudo chmod - R 777 *

From the directory
[Galaxy Note II Android Development] blu3angel:
You have to root your phone (if not rooted) and install Terminal Emulator from Google Play.

Open terminal emulator and type as ;

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

You now should not see the that message anymore. Its because of an EFS corruption.
[Galaxy Note II Android Development] tbo-art:
It didn't work. Is there another way too back-up my EFS?
[Galaxy Note II Android Development] laloutre:
Is there a subdirectory named tools with the 2 Backup_efs and Restore_efs scripts in it and the adb binary

How did you uncompress the package?

For your information I remember having compressed it with Keka
[Galaxy Note II Android Development] tbo-art:
All the files are in the tools directory. And I uncompressed it with the build in zip program.
[Galaxy Note II Android Development] laloutre:
All the files?

RUN_ME should be 1 level higher.

I do not see anything else unfortunately...
[Galaxy Note II Android Development] tbo-art:
RUN_ME is 1 level higher. All the other files are in the tools directory.

Thanks for trying at least. ;)
[Galaxy Note II Android Development] laloutre:
Too bad it did not work for you.

My last idea is you to try to uncompress the package with Keka Wich I use.

Good luck
[Galaxy Note II Android Development] tbo-art:
Will try that tomorrow. Hope it works. Thanks anyway.
[Galaxy Note II Android Development] riz157:
Would this work with N7105 version also? thanks

Also if anyone has successfully restored using this method for N7105?
[Galaxy Note II Android Development] max621:
Can this efs backup tool works on 10.1 Note N8000 ?

Sent from my GT-N7100
[Galaxy Note II Android Development] vazovskiiii:
not worked for me :(

here is the screenshot
[Galaxy Note II Android Development] Delta 32:
Sv: [TOOL]Backup/Restore EFS (IMEI) for SGNII

Have you installed the Samsung drivers? Either install Kies from the Samsung website or download the stripped drivers here on Xda.

Sendt fra min GT-N7100 med Tapatalk2
[Galaxy Note II Android Development] grimloktt:
I wonder, too. Thnx!
[Galaxy Note II Android Development] theory_87:
Can anyone help?
[Galaxy Note II Android Development] bongbongcong:
Is it compatible with Note 2 T-Mobile T889

Hi, :confused: excuse me. is it works / compatible with Note 2 T-Mobile T889:confused:?? Thanks very much
[Galaxy Note II Android Development] max621:
Yes it worked.... the tool successfully backup the efs image of Note 10.1 N8000

Sent from my GT-N7100

---------- Post added at 04:53 AM ---------- Previous post was at 04:41 AM ----------

Yes it works

Sent from my GT-N7100
[Galaxy Note II Android Development] pat19:
hi guys. im kinda new with samsung. will this work for unrooted note 2? as i am planning to backup efs first before rooting it.
[Galaxy Note II Android Development] timberwolf60:
It only worked with rooted phone stated in the op.

Send via i9100 using XDA premium,

ROM: Stock XWLSD

Kernel: Phil XWLSD V4.87 fixed

superSU 1.25
[Galaxy Note II Android Development] ysrini:
Does this method work with Note 2 LTE [N7105] ?
[Galaxy Note II Android Development] max621:
Root ur device and try it... I am 99% sure that it will work...
[Galaxy Note II Android Development] prolexus:
Worked nicely. Thanks for the great help.
[Galaxy Note II Android Development] hamzab:
Hi,

I'm trying to backup my EFS on both Windows and Mac using your programmes however it isn't working.

Both say no such path.

I'm able to use the phone successfully in Kies to transfer Music etc so I think the PC can see the phone.

Please help.
[Galaxy Note II Android Development] Silverbolt:
IMEI Successfully Restored but Serial is odd Characters

Hello,

Thank you for your fantastic tool.

I was luckily able to restore my IMEI to its original but now I have a really strange issue with the phone's serial number.

The serial number constantly changes and is no longer a sequence of numbers but a series of characters that change each time I enter into the device Status window. At the moment it shows 1a klA.

Any ideas?
[Galaxy Note II Android Development] nyvang101:
Please do a EFS backup. i know from experience how bad it can turn out if you dont.

i by mistake deleted the Efs part. had no way of recovering it. had to flash a new rom then use triangle away then return the phone for repair. what they did to fix it was Change the Main board on the phone wich basicly means everything inside the phone have been replaced. so PLEASE do a EFS backup so it wont happen to you it sucks to wait 3 weeks for repair. especialy when they give you a Nokia Lumia 800 to use mainwhile. Atleast i got my phone repaired and back.

---------- Post added at 01:01 PM ---------- Previous post was at 12:59 PM ----------

you need root do back it up
[Galaxy Note II Android Development] porcino:
The tools are not needed really...

The EFS partition is a block device /dev/block/mmcblk0p3 containing ext4 filesystem and mounted "rw". Just use a terminal emulator or an external console to run a couple of Linux commands which save the whole partition or the individual files to any memory either on the device or external...

A particular interest in this partition represents the file nv_data.bin, in which the byte at the address 181469 is responsible for network lock. The value 0x00 makes it possible to use the phone on a different network. After editing this file one needs to delete nv_data.bin.md5 file; it will be rebuilt on reboot (the feature of good ROMs). If this doesn't work, then restore the files and seek the solution. This is the same as with the older phones, see

http://xdaforums.com/showthread.php?t=1369474

I have not tried this yet due to travelling...
[Galaxy Note II Android Development] JoJo2211:
OP: So for this to work I need to actually have PREVIOUSLY backed up my EFS folder correct? I bought a phone from ebay with a NO baseband/ NO IMEI... and obviously no EFS backup. Can I use this method to get my phone to work again?
[Galaxy Note II Android Development] ValenteL:
My EFS problem

We have here my problem I had on Note 10.1 N8000. May be this help some people to solve there efs problems:

http://xdaforums.com/showthread.php?t=2204960

I have efs backups but the Rom never started and not possible to restore it.

My backups are in folder format made by manual mode and format .tar.gz made by Roms at installing.

If the Rom not start, there is a way to flash the efs by Odin/pc? Or inject it by adb shell whit device only whit Custom Recovery working?

Thank You
[Galaxy Note II Android Development] porcino:
sorry, didn't read the question well...
[Galaxy Note II Android Development] James62370:
Getting the following error while attempting a backup on my T-Mobile Note 2 (SGH-T889):

Backup EFS

Press any key to continue . . .

--- STARTING ----

--- WAITING FOR DEVICE

The system cannot find the path specified.

--- Backup efs image ---

The system cannot find the path specified.

The system cannot find the path specified.

Press any key to continue . . .

If I go into a command prompt and run each command locally it works. Any other way to resolve this path issue?

Thanks in advance.
[Galaxy Note II Android Development] pearse:
Has anyone had this restore voice calls but not data?
[Galaxy Note II Android Development] Cruzfire:
How do you know that your efs folder is missing if the rom don't even start???

Edit:read the tablet thread.
[Galaxy Note II Android Development] Menvaihelv...:
EDIT: Nevermind, got it to work!
[Galaxy Note II Android Development] vagsvag:
Nice, thanks

n7100 international
[Galaxy Note II Android Development] A0_o:
please,,, from where can i get the original EFS.img for N7100
[Galaxy Note II Android Development] tbo-art:
There isn't a original img because every device has a unique imei number wich is stored in the efs folder
[Galaxy Note II Android Development] lskwl:
Hi James,

I had the same issues and made my own scripts. Maybe its helpful to you:

[TOOL] Backup & Restore EFS (IMEI) for Samsung Galaxy Note 2 GT-N7100
[Galaxy Note II Android Development] Nevoozer:
in the end of the process all i got is and efs.img file 20MB size, is that ok? or did i miss something?

thanks.
[Galaxy Note II Android Development] Nevoozer:
anyone?