yashsingh1/xdaforums huggingface dataset:
[One (M7) General] scotty1223:
id like to do a comparison of model ID,hboot,etc. of the different variants of the one. if someone could do a fastboot getvar all in fastboot,and post the resulting output,id be greatful. make sure to x out your serial number and meid. also list what variant you have(att,developer,unlocked international,etc)

heres mine,international version:

c:\miniadb_m7>[COLOR="Red"]fastboot getvar all[/COLOR]
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.43.0000
(bootloader) version-baseband: 4A.13.3231.20
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.26.707.5
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: FAxxxxxxxxxx
(bootloader) imei: xxxxxxxxxxxxxxx
(bootloader) meid: xxxxxxxxxxxx
(bootloader) product: m7_u
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0711000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4011mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-a45b3cdd003e12b8852f6f0a4c9cc3bd4
getvar:all FAILED (unknown status code)
finished. total time: 0.102s

thanks! :D
[Galaxy Note II Android Development] dr.ketan:
EFS Backup from device (without PC)

Why we need EFS backup ?

EFS folder 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 number will get 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.

Here your backup can only be savior for you

You needs device rooted, Here is guide how to root N7100.

NEW METHOD (Updated 11Feb14)

Install this app and select backup/Restore that's it. (keep USB debugging ON). Also read play store description.

Dr.Ketan EFS Tool N7100

Video guide

[YOUTUBE]K1fajHgYGKM[/YOUTUBE]

OLD METHOD
[Galaxy Note II Android Development] mrlove6:
With all respect for ur great work and effort, but I learned from u last time u helped me...I found the easiest way for the efs story...every phone I use, directly after rooting I install root explorer copy the efs folder to my pc and ext-sdcard...no matter what happened to the phone I just paste the folder back to its place and restart the phonw...and thats it, or u have objection about it? Please let me know
[Galaxy Note II Android Development] dr.ketan:
That's not good idea, when you copy folder with explorer it will messup permission.
[Galaxy Note II Android Development] rashid.fairus:
agree

via《t4p4t41k》
[Galaxy Note II Android Development] tweeny80:
in trouble !

Hi there

I am in New Zealand, recently rooted with your help and installed PhilzCWM. Also on your advice, I backed up my EFS.

My problem: just today I realised I cannot send text, or make phone call. I am on X-Note ROM from 3-4 days ago. I am very sure that after installation, I had normal Mobile connectivity and was surprised to I didn't. Not sure if my EFS became corrupted, or other ROM setting is wrong.

My SERVICE STATE says Out of Service

My Mobile NETWORK STATE says disconnected.

My phone number says UNKNOWN

What's weird is

My IMEI lists a long number, assumed correct

So if my EFS partition is corrupted I assume I wouldn't see any IMEI at all.

Far as I know my SIM is activated (I am on a company plan & coworker's phones are normal)

Just now I restored my stock nandroid and .... same thing! No service. So I doubt it's even a modem problem.

Guys I'm screwed, any tips what settings to check etc??
[Galaxy Note II Android Development] tweeny80:
OK update:

I sucked it up and decided to try restoring the EFS image I had earlier created. Mate, it worked! I have network service now.

Thanks to DrKetan. It was only because I read his advice to backup my EFS...and his advice how to restore. Very helpful bloke.

Thanks.
[Galaxy Note II Android Development] KevandLynds:
I flashed a ROM yesterday and my imei changed luckily I'd copied the full efs folder to my ext_SD so I just copy and pasted it back and that worked for me once I restarted. :)
[Galaxy Note II Android Development] joshphilips:
Dr.Ketan thank you for the lovely Guide . I did a backup as per your instructions. I would like to know about the aroma installer which offers a backup option when installing a Rom.I have a backup of the Same . I note that there are two files which is only 268 kb & 40 kb respectively.My question- Does this backup help & if it helps how do we restore it (backup done during aroma installer)
[Galaxy Note II Android Development] dr.ketan:
Here said method backup complete partition that's why size is big.

There may be option available in aroma, i have never tried aroma.
[Galaxy Note II Android Development] petercuv:
I too had the same problem, I then remembered that I had backed up my efs using this method. Thank You Dr.Ketan
[Galaxy Note II Android Development] universil:
I lost a lovely Galaxy Note 2 to a corrupt EFS before I even knew that such a thing could happen to a flasher of roms.

I probably have the most backed up EFS of all time, since that horrific incident.I never knew about this way , I was just using EFS proffesional, but you best be sure so I have used this method too, and uploaded the backup to Dropbox.

Many thanks dr.ketan, so many peoples saviour.

And any one who is thinking, EFS thing won't happen to me....BEWARE!!!

AND JUST DO IT!!!
[Galaxy Note II Android Development] dr.ketan:
You guys put back life to this thread, probably I forget even about this thread.
[Galaxy Note II Android Development] tweeny80:
I came from a Nexus S phone, and flashed a lot of stuff over the years. But never once did the topic of EFS/IMEI come up. It was simply not an issue discussed in that device's XDA forums. So when I upgraded to the Note and joined these forums, I assumed I knew most of the important stuff.

I read your EFS thread and thought....hmm imagine if I ended up with a bricked phone or unusable in some way....I would be mad at myself and out of $$...so I did the backup. Far out, I am fortunate to have done so. People like you do exist in other forums - very helpful and unselfish with their time and expertise; XDA is based on the spirit of such people. Major props to you!
[Galaxy Note II Android Development] tongueinamow:
cannot open for read: No such file or directory

Hi [MENTION=3931450]dr.ketan[/MENTION]!

i cant remember if i had backed up my efs.

but just in case, i tried this steps.

i got this message after following the backing up procedure in terminal emulator:

cannot open for read: No such file or directory

what should i do?

im using note 2 n7100.

thank you.
[Galaxy Note II Android Development] gnikolakis:
Got the same message.. im presuming you must have wrote it wrong. make sure its exactly the way dr ketan has posted. after 2 tries i was succesfull.
[Galaxy Note II Android Development] rq005:
Is this method better than doing a nandrod back up using the recovery? Thanks!
[Galaxy Note II Android Development] dr.ketan:
Correct there should be something wrong

Both are different things
[Galaxy Note II Android Development] universil:
What you are most likely getting wrong, when no file found or whatever, is,

dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/efs.img bs=4096

THE BIT AFTER mmcb is NOT a ONE its an L ...so l:cyclops:
[Galaxy Note II Android Development] rq005:
Can you be more specific? I recovered once my EFS using TWRP and worked fine... Maybe you can explain what's so different about. Thanks!
[Galaxy Note II Android Development] Cruzfire:
I was putting the S and C from sdcard in small letters and i was getting the same message,now i'm set.
[Galaxy Note II Android Development] tongueinamow:
reboot!

All i did was reboot and then enter in terminal and i got it!

thanks doc!
[Galaxy Note II Android Development] Haddar:
possible to use efs restore for firmware downgrade?

Hello. Could be the above described restore method used to downgrade from XXME6+ and modem ME4 to older modem? I have realized new modem is not so good as good old LK7. Thanks for the answer!

I mean to (for example) flash custom kernel + LK7 modem and then to restore efs id network is gone
[Galaxy Note II Android Development] ValenteL:
I made this whit Root Explorer twice on old Galaxy Tab 7" P1000 and once on new Galaxy Note 10.1 N8000 and worked fine.

On Note 10.1, not only the efs deleted but also the partition 3 efs was deleted. First created the partition and after copy the efs to it.

You can see HERE on Post 4, how I create the efs partition 3. (Is not the same device but is a example how to solve on others).

But I will try this way from Dr.Ketan.

Thanks
[Galaxy Note II Android Development] jasonleeg:
Hi There, thank you for this simple method for backing up EFS. I've tried and unfortunately cant get it to backup using your instructions. I'm running the pacman rom, could this be why its not working for me??

I can back up EFS using root explorer (compress to TAR file) but there are issues restoring. Maybe mobile odin would restore but I'd prefer to use your method (if it can work for me), any suggestions????

Forgot to mention, like others, I have the message cannot open file for read: No such file or directory

Thank you in advance
[Galaxy Note II Android Development] dr.ketan:
Most likely issue will be incorrect format.

If you have doubt about any letters, just copy from code and enlarge on word/other documents on PC. This is case sensitive and few places there are space. Any single letter modification will end with error.

Or

Just copy /paste text from op to terminal emulator.

Just quote my post, copy command, discard quote and paste copied text in terminal emulator
[Galaxy Note II Android Development] dabenaute:
I tried to do it , and it's a succes! Thanks dr.Ketan
[Galaxy Note II Android Development] peppet:
I've the same error. I'm on 4.2.2

Inviato dal mio GT-N7100 con Tapatalk 2
[Galaxy Note II Android Development] Ethan501:
noob question.. just sucessfully backed up my efs.img but i cannot copy it to my extSdCard nor to my PC. what steps should i do to copy it? thanks in advance.
[Galaxy Note II Android Development] dr.ketan:
If you have used command as said in op, by default it will be in extSdCard

Reboot device and simply copy paste
[Galaxy Note II Android Development] jasonleeg:
Hi There, well I copied and pasted into terminal and still have the same problem..'cannot open file for read: No such file or directory'.

Noticed that when I type 'su' in terminal I'm granted superuser permissions but in terminal I dont get 'root@android/: I still have u0_a46@android:/ #

I'm running PacMan Rom 4.2.2

Thank you
[Galaxy Note II Android Development] dr.ketan:
Try this

dd if=/dev/block/mmcblk0p3 of=/sdcard/efs.img bs=4096
[Galaxy Note II Android Development] peppet:
It work! Thank you doc

Inviato dal mio GT-N7100 con Tapatalk 2
[Galaxy Note II Android Development] Ethan501:
i'm currently using extSd2intSd mod so it would go to my intSd. can i use the command intSdCard? thanks.
[Galaxy Note II Android Development] jasonleeg:
Tried and it works, a big thank you. Gonna upload to Wuala
[Galaxy Note II Android Development] dr.ketan:
Don't change command and just check if it works
[Galaxy Note II Android Development] SandeepEmekar:
This method didn't work with me.

I'd lost my IMEI after downgrading to DMC3 version.

I tried everything and even Nandroid Restore too but only replacing the EFS folder resolved the problem. :)

Thank God! :D
[Galaxy Note II Android Development] dr.ketan:
Just few hour back i have updated op.

I have also lost imei while downgrade to mc3 and i have used method described in op and worked without any error.

You must have efs.img on ext sd card which should you have backup earlier on older version. (backup made on latest rom me6/mf2)won't work on older rom.
[Galaxy Note II Android Development] Cruzfire:
Oh this is so sick,this is the only method that work for me,but only to come back on me6.I discover your method just after flashing me6.Copy/paste with re,nandroid,andromizer copys of old efs fail to give back my imei on old base.I want to get my imei on an old base to back up with this method.
[Galaxy Note II Android Development] dr.ketan:
No, you can't restore imei on older rom with backup which made after flashing me6/mf2. This is not limitations of this method but it won't work with any other method too. Bcoz efs gets modified with latest kernel and older rom can't read it. If you rollback to older rom, you have to stick to latest modem.
[Galaxy Note II Android Development] SandeepEmekar:
I thought the same.

So I'd copy-pasted the older version of EFS from my desktop.

Now my Mobile Data gets connected but when I dial any number it says "Not registered on Network".

I'm going to replace my phone(Board) anyhow from the service center. :mad:
[Galaxy Note II Android Development] Cruzfire:
After 6 hours of adventure trying to restore my thousands of old backups,none of them with this method,i quit.I managed to get my imei back only with this method and only on me6.God bless you sir,wish i found this thread earlier.
[Galaxy Note II Android Development] claude96:
Worked like a charm, great guide, thanks a ton.
[Galaxy Note II Android Development] ZeSTiQue:
This is work for me. Thank you for sharing. :good:
[Galaxy Note II Android Development] SandeepEmekar:
After restoring EFS folder, BSNL service provider blocked my SIM card due to suspicious IMEI. :(

My phone is Okay :)

I'd to Micro-cut another SIM card to know that. :D
[Galaxy Note II Android Development] dr.ketan:
Not restoring backup but it should be blocked when you lost IMEI and got generic.
[Galaxy Note II Android Development] hooliganx:
if I made a efs backup trough TWRP... don't work? omly for this method? or can I trust in TWRP efs backup?

NT2*X-Note.v3.1.DME1*Perseus.36*TWRP*XDLK7*ExtSd32Gb
[Galaxy Note II Android Development] rapatu2010:
Thanks Doc. The method took me out of a pickle. I flashed a ROM with the dreaded ME6. Lost my IMEI but had given heed to the advice to backup efs. Now I appear appear to be stuck using ME1/ME4 modem. However, I do have my efs and service back! Please guys take the warning seriously
[Galaxy Note II Android Development] Cruzfire:
Why is the efs.img file so important,im looking at my working efs and it do not contain any efs.img.What is the efs file in this tar. file on my backup?can i copy paste this mini efs file to r3store on older builds?
[Galaxy Note II Android Development] Cruzfire:
This,in the efs.tar.gs there is a mini efs file who contain 18 mini files.
[Galaxy Note II Android Development] dr.ketan:
That tar file is also efs backup which you make took with other tool (philz recovery have this option)

Basically efs folder size is small but when you use method mentioned in op or any other method which backup full efs partition (efs.img) then size will be 20mb about.

So keep both, you may need if one doesn't work.
[Galaxy Note II Android Development] semantsen:
Thanks doctorsab,

Since I bought sgs3 last year and started flashing I knew about warnigs about efs backup and did not listen to them. Now when this happened to me 3-4 days back I realized the importance and using your method I atleast have efs from me6. It is now safe on extcard as well as drop box.

Thanks again

+1
[Galaxy Note II Android Development] ValenteL:
If I have a efs.tar.gz on int sdcard I can unpack it like this:

Whit "Shell Terminal Emulator":

gzip -d /storage/sdcard0/efs.tar.gz

and now I have a efs.tar

Or whit Root Explorer:

Long touch on efs.tar.gz, on next window touch on Extract.

and I have the efs folder on ...sdcard/SpeedSoftware/Extracted
[Galaxy Note II Android Development] Cruzfire:
My story was that i had old and new backup's and i wasn't able to restore old so i could get on old base. [MENTION=2438295]claude96[/MENTION] give the idea that we could restore any efs.img old or new with dr.ketan method.This is gold baby.

[MENTION=225731]Claude[/MENTION]96

Steps :

1- Must have an old image backup of your IMEI on the root of your sd card ( efs.img )

2- go to recovery, make a factory reset ( wipe every thing )

3- do a nand_restore of an older backup ( any older rom version )

4- don't reboot, restore your efs.img backup over.

5- reboot, go to menu/settings/info/status and check your IMEI , if it's there !, you're good, but if not , it's 490....00 , no problems, follow next step.

6- download attached app, go here : http://xdaforums.com/show....php?t=2269318, go to restore step, follow it to the letter, reboot, and hopefully you are good to go.

7- to make sure, do step 5 again, hope this helps.

8- give [MENTION=3931450]dr.ketan[/MENTION] a thanks hit button ( just a thought )
[Galaxy Note II Android Development] albsat:
Thanks for this guide. For the lazy ones, is there any app that does the same thing from the mobile?
[Galaxy Note II Android Development] wyndcryst25:
Heheheh...

The cost of being lazy will be the phone, not just an ordinary phone but a powerful and costly one.

GalaxSim Unlock App is what your lookin' bro. Available in playstore and free, only efs backup.

Anyway, thank you dr.ketan for this guide! I will be asking for some more help soon. As of now I'm kind waiting for the package.

Salamat Doc again!

Sent from my GT-N7100 using Xparent BlueTapatalk 2
[Galaxy Note II Android Development] ValenteL:
Sorry, deleted.
[Galaxy Note II Android Development] ruk212:
Hi I'm already rooted and running dual note Rom ' I've just made an effs backup and uploaded it to my Dropbox am I Ok or should I have done this before flashing a Rom' :confused:
[Galaxy Note II Android Development] topbasework:
dr ketan

how about command restore..??
[Galaxy Note II Android Development] dr.ketan:
If you are asking for command you have used to backup according you quoted, it should

dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096
[Galaxy Note II Android Development] retrorom:
I couldn't see this answered here, so here is my situation:

I did an EFS backup in philz touch recovery before I updated to latest XXDME6 Omega Rom. Should I still do a backup with the method described in this thread now that I am already on DME6?

Thank you all for any suggestions

Highly appreciated
[Galaxy Note II Android Development] dr.ketan:
Yeah take efs backup on newer rom too.

When you need to restore, use according your rom (older /newer)
[Galaxy Note II Android Development] retrorom:
Ok, thank you Dr Ketan. Just one more question, is this method the same as the one in Philz recovery? or does this backup something else more than with recovery efs backup?

Thank you ;)
[Galaxy Note II Android Development] dr.ketan:
This method (op) will backup full efs partition. Philz recovery also doing same but it having extra format . tar (I don't have idea that have any extra advantages)
[Galaxy Note II Android Development] retrorom:
Actually it does both tar ang img backups in a hidden folder.
[Galaxy Note II Android Development] ValenteL:
Whit this Your way, Dr.Ketan, I created efs.img on:

- Note 10.1 N8000, also partition 3.

- S3 Mini i8190, partition 11.

- Mega 6.3" i9205, partition 10.

Created well, I hope that one day the Restore will work well also.

Valente
[Galaxy Note II Android Development] dr.ketan:
As far as note2 concerned, I have tested and working. Regarding other device if partition table no is correct then there shouldn't be issue, though you can confirm files by extracting img, it will show imei, bluetooth wifi etc files.
[Galaxy Note II Android Development] jioan62:
really top dr.ketan

Congratulations, it works extremely well. thank you .:good::good::good:
[Galaxy Note II Android Development] ValenteL:
Thank You.

Confirmed before, the partitions are correct. Anyway I will extract the efs.img's.
[Galaxy Note II Android Development] SAJdroid:
Thank you for your Guide ! :)
[Galaxy Note II Android Development] robin786:
A million thanks for this guide!

I had an episode in the wee hour this morning. Thank God I somehow backed up the EFS with your method few days ago. It was a life saviour!

Thanks again Dr.Ketan for this guide!
[Galaxy Note II Android Development] moraize:
Guys.

My scenario is the follwoing :

I Was on old omega v16, everything fine. I installed Probam 4.2.2( new modem), some bugs, decided to go to omega , but installed new v17 version( new modem), When I installed omega v17, I did EFS backup with omega aroma Installer.

After that, I Got unknown Imei. At this point I didn´t Know the issues about DME6 and older modens, Imei, etc.

TRyed to go back to Probam, No imei

Went back to omega v16, no Imei.

Went back to Omega, started researching .

Now it´s working, I deleted efs folder and replaced with the one found inside the tar.gz backup file made by omega installer.

it works. BUT, if I restart the fone I get Crazy IMEI 0049...

SO I have to do all the delete/copy efs folder again.

So I really think , the copy process dont do it as it should be.

My question is, wich metod shuld I use to restore the backup ( tar.gz file with only 36kb) made by Omega installer ?

I´m convinced that it will be the only way to ger rid of restarting and loosing Imei...

Any Help would be great.

Thanks...
[Galaxy Note II Android Development] dr.ketan:
Copy folder is not good idea, it mess up permission

Do you have nandroid?

If not try flashing latest modem
[Galaxy Note II Android Development] mpis:
I tried this method and efs.img file is 612 MB large.

Why? You write about 20 MB.

I'm on a Samsung Galaxy ACE2 with android 4.1.2.
[Galaxy Note II Android Development] gbohm:
wrong partition. i think the ace 3 has a different partition shema. look for every partition and which partition is efs and alter the script to your needs
[Galaxy Note II Android Development] dr.ketan:
Different device may have different block partition, don't do this on other device OR replace correct partition number if you knowing it.
[Galaxy Note II Android Development] ValenteL:
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.
[Galaxy Note II Android Development] dr.ketan:
No, It won't.

This can be tried instead

Alternately make EFS backup (of corrupted) with Philz recovery

now you can replace correct backup .tar.gz (philz recovery have same format)

after replacing newer corrupt backup file with older correct file, Restore with Philz recovery.

Edit : just checked, it have different format, so shouldn't work.
[Galaxy Note II Android Development] ValenteL:
Agree, not work.

Deleted this line on post.

Thanks
[Galaxy Note II Android Development] viniciusrsouza:
Guys, is there any way of converting the tar.gz file created by Omega installation in a img file?

I'm at the same situation where I only have a small tar.gz file containing the whole content of EFS folder.

Edit: When I extract this file using Root Explorer I get a 5,02 MB EFS folder.
[Galaxy Note II Android Development] ValenteL:
But... Convert for what? After install Omega make like in OP by Dr.Ketan and You have a efs.img.

Saudações de Portugal

Valente
[Galaxy Note II Android Development] jrenascimento:
Good afternoon!

Well I solved the problem by copying the efs folder that was backed up to the root folder. I know you can not be allowed via root explorer to delete the old efs folder, but what I did was delete the content within the old efs folder . After that I copied the new efs folder to, then root explorer merged the contents of the new folder with the contents of the old folder, as the old folder was empty, the new files were into it.
[Galaxy Note II Android Development] hooliganx:
ahn? :confused:

:D

NT2*Moon.v9.DMF2*Perseus.36.3*TWRP*DMF1*ExtSd32Gb
[Galaxy Note II Android Development] ValenteL:
Bom dia!

I made once like this on a NOTE 10.1 N8000 and solved my case also.

Valente