yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] tetakpatak:
Root Browser maybe?

tetakpatalked from Nexus 7 flo
[Galaxy S II General] omyg:
make sure you allowed to run superuser in security settings

I suggest you to backup using tar from terminal, because it will copy file permissions and result will be single archive (zip archive do not store permissions)

open terminal and use keyboard to run following commands

su [enter, android will ask you to allow superuser]
tar czf /efs /storage/sdcard0/efs.tgz
(or "sdcard1" if you use external sd card instead of internal for backup)

after this command you will have one backup archive efs.tgz (.tar.gz) on your internal and external sd card

to recover efs you need to open terminal

su [enter, android will ask you to allow superuser]
cd /
tar xzf /storage/sdcard0/efs.tgz
(or "sdcard1" if you use external sd card instead of internal for backup)
[Galaxy S II General] Nomiga217:
HELP

There is no .nv_data file for me. HELP!!!!!! i had already done the first steps before i relized this. i guess i should just deal with the fact that my phone is broke. anyone wanna give me one, anything.
[Galaxy S II General] ArtisFrancesco.B.:
hi, hemm, i can't follow ur step becouse my phone lost the esp folder yesterday and i can't backup it, so story is my hpone get stuck...i leave it becouse i have work to do, when i go back to it i have this problem zidroid.com/how-to-fix-failed-to-mount-efs-for-galaxy-s3-gt-i9300/ .....but i have a note 2 gt-n7100...so taken by panic i follow the guide and ok my phone back on factory state, yet fix it buut my imei is lost

My thinking is...my imei is on the backphone... is it a possibility to use in some way to get back my service back on?

sorry my english is bad i know hope u understand it =)

tks
[Galaxy S II General] tetakpatak:
Do you have root access and did you ever create a nandroid backup?

tetakpatalked from Nexus 7 flo
[Galaxy S II General] ArtisFrancesco.B.:
i have root access and i never do a backup of the system so i haven't the original efs.... i don't want my phone modified so i never do an nandroid backup... i do it now for repair my device but get all done but not the imei right...
[Galaxy S II General] Megaflop666:
Did you follow the guide, because it does work.

On a side note... backup your device once in a while because whether you flash stuff on your phone or not, having root opens up a can of worms that can obviously lead to problems. ALWAYS DO BACKUPS.
[Galaxy S II General] ArtisFrancesco.B.:
yeah i would like to follow the guide...but i say before i no have the original efs folder.... i no have the .data_something inside so i can't put it at the place of the fake one....... ._. when u follow the wrong guide to format and install a official rom and i cna't backup my efs becouse when my phone freeze my efs folder are yet gone....i can't post image but my phone gone freeze and it get the: fail to mount efs folder:invalid argument.... this was my error and when i try the backup, the efs folder is already empty... but i doesn't know the importance of the folder so i ignore it....becouse in the guide i follow no one mention it....... ._. now that i know, is too late i presume....

i only whant to try to put the imei on my backphone on it again... if is impossible, if is not i will go to the samsung support.....hope to find a fix
[Galaxy S II General] markokrstic:
lost IMEI

Hi guys. I have I9100 work great with CM12 5.0.2. My friend have same I9100 and he tried to flash few times custom roms and he fcked up a phone. Lost network and IMEI. Idk who told him but he and his friend deleted efs folder without backup. Thats mean I cant follow this tutorial cause I dont have original efs folder. problem is also cause we dont know IMEI of phone.

Question is: can I somehow make some fake IMEI to get network and baseband back? If somebody have free time to write me tutorial and what programs/apps and files to download I will be more then thankful.
[Galaxy S II General] jebuchanan:
Did he have a Nandroid?

Restore that.
[Galaxy S II General] ShrekOpher:
Easy fix on Samsung phones. Down Kies on your PC let it set up then do a full "disaster recovery" of your S2. It will unroot and flash the stick ROM on the phone, but it will also fix the missing IMEI issues.
[Galaxy S II General] grundy77:
Really simple... but took me along time

I lost IMEI as well and came across an app that works. Before I found it, I tried everyting, installed terminal emulator, Hex editor, Busy Box, Root Explorer *even paid for pro version*-- to no avail. Problems seemed to get more serious, could not connect to Kies, nor Odin. From my MacBook only Heimdall worked, so made sure I had a kernel that was good (took me hours). But still, corrupted IMEI and no help. Then (drum roll):

Found this fantastic app, the GSII_Repair app. Search it on PlayStore (Helroz is the man) and install it. follow the 3 steps on the "Repair GSII" tab. Bliss!!!
[Galaxy S II General] Dj Darki:
▶ instagram: http://www.instagram.com/djdarki

▶ Youtube: http://www.youtube.com/djdarki

▶ Namasha: http://www.namasha.com/djdarki

▶ weblog: http://djdarki.blogfa.com

▶ aparat: http://www.aparat.com/djdarki

▶ Tamasha: http://www.tamasha.com/djdarki

▶ Twitter : http://www.twitter.com/djdarki
[Galaxy S II General] parengkokoy:
Do we need to flash back to stock rom before doing this?
[Galaxy S II General] saifcool:
yes it worked.....thanx bro

Yes I got my Imei original......really thank a lot bro....I tried many processses but this only worked for me ...my phone Samsung galaxy s sgh i897
[Galaxy S II General] Xperia Player:
Is there any hope for me? These are the only files in my efs folder.
[Galaxy S II General] Thunderlightning:
help me please

i have the same problem, i bought an S4 few days ago it has a lollipop android version i root it and i took a copy of efs file, i installed a cwm touch Philis on and tried to install a custom ROM then my s4 turned off, i replaced the cwm with twrp and carry on with custom ROM installation, then my imei changed to this fake serial which you taled about above i tried to restore my efs file but i don't have nv_data., i just have nv_data.bin and nv_data.bin.md5 with all other efs files, so what i suppose to do ?, someone could help me to fix it ?
[Galaxy S II General] GRRjayyy:
I followed your steps precisely with my s3 and nothing happened at all? Any tips?
[Galaxy S II General] Gabriel Paul:
I am having the same issue, Please help!! :(
[Galaxy S II General] Don stich:
I really think u should do videos 4 this tutorial
[Galaxy S II General] ratgutz:
You realise that the nv_data file/s are the .nv_data.bin and .nv_data.bin.md5 ?
[Galaxy S II General] bowplax:
can you give a back up of ur EFS >>>? using recovery and upload it ???? i think its an easiest way with us
[Galaxy S II General] al5yal.mahmoud:
First of all thanks for your valuable info but let me ask :

I can't find "nv_data.bin", "nv_data.bin.md5" even after I deleted the folder efs and restart my device . kindly advise as I need my note 3 n9005 back to me ASAP
[Galaxy S II General] MikiGry:
[MENTION=7094103]bowplax[/MENTION]

But when u use somemones"s EFS backup , u will have his IMEI. This will case many problems + i dont think your phone will be legal anymore.
[Galaxy S II General] yyh991013:
Does it work with Note 3？I need to let my original IMEI back and.....I can't find a file called .nv_data but nv_data.bin and nv_data.bin.md5 exists.

来自我的 SM-N9200 上的 Tapatalk
[Galaxy S II General] osorioaurelio:
I have a grand neo, can fix too?
[Galaxy S II General] ajasasnaz:
no efs folder

after a lot of flashing rom.o lost my imei.so i decided to follow this post.but i dont seen any efs folder in root explorer.

i have rooted ma phone. my imei is 0.what to do?
[Galaxy S II General] Sun90:
Have u Flashed the 'Original Samsung Firmware' on ur device for know ?
[Galaxy S II General] ajasasnaz:
my mobile is lg l90 d410. i even flashed stock rom ,but didnt works

..thanks for your concern

anyway i hav regained my one imei of phone by a method..so i can work one sim of ma dual sim phone...:laugh::laugh:
[Galaxy S II General] kingofclash09:
sdsd

:p:p:p
[Galaxy S II General] Web_Monster:
Thanks
[Galaxy S II General] cashflow67:
Wow wow wow, there is no need so such long way. He can flash his latest firmware's modem file. There are TWRP and Odin Flashable modem zips and tars in forum.
[Galaxy S II General] AjayKaran145:
I I cant delete the efs folder from root explorer.Please help me

:):):):):)
[Galaxy S II General] aam3r:
the folder will not delete but all the files inside will delete if you use root explorer
[Galaxy S II General] ssamurai:
I think I'm a lil late I have an IMEI problem but in the EFS folder I dont find "nv_data.bin", "nv_data.bin.md5" :confused: so I gotblocked in the step number 4

i didnt read all the comments toknow if some1 has the same issue :(
[Galaxy S II General] gunnerrrrr:
My efs folder is completely empty after flashing a rom. Does this mean my phone is toast?
[Galaxy S II General] ComfySofa:
Sorry to add to the list of issues OP - ive just started going through the list of things to do.....a couple of questions...

1. "go to your backed up EFS folder on your sdcard, copy the "imei" folder to the EFS folder at the root of your phone"

Do you mean the root of the phone or the root of the efs folder - the reason I ask is that I would be overwriting a file but you don't mention that?

2." copy the " .nv_data " file to your EFS folder at the root of your phone using root explorer"

I only have a ".nv_data.bak" file can I rename that and will that do?
[Galaxy S II General] ComfySofa:
I thought id add to this hoping that someone could offer a little help....

Ive tried for 2 days straight to get it back on there....ill put what ive done in the hope that someone could chip in and suggest if ive missed something...or got something wrong.

1. Tried this document and while a little confusing ive tried a few different ways but no luck. Ive tried this with cm13 on there, cm12 and 11. when I do the chown command (the last command) if comes back with a prompt. But nothing either way.....

2. Tried to edit the bin file and manually put the imei back in - but the hex editor doesn't seem to reference the area that appears in the demos/video's.

3. Tried a few apps off the play store that claim to put the imei back in but none of those work....enter the number, reboot, nothing. But these tend to rely on the exposed framework being installed. Ive also tried that but form what I can see the xposed framework (while installing) when you try to activate the processor architecture is not supported. Unless anyone can tell me otherwise...as if that worked then it would bel easy

4. Tried manually adding the imei in using the AT commands but no luck on that angle as I either just get a prompt back but after a reboot nothing or an error (cant remember the error) but everywhere I looked I got a dead end.

5. Tried the SGSii app which a lot on here have championed but that doesn't work. When I hit the patch button it reboots instantly but no fix there....

As you can see I think ive pretty well exhausted every angle. I believe while I didn't take an initial backup of the efs partition I didn't mess with it either preflash and when I started this tutuorial I recovered a set of file from efs...bak files included but seeing as I cant get them back in or accessible by the os I cant confirm theyre good either. Ive got a note 3 myself and never backed up the efs folder (although I have now!) but not had a problem either and its been flashed loads of times!!

Look forward to some guidance if possible....
[Galaxy S II General] Safwan j muhammed:
I don't have a imei backup..imei showing 0000....please help
[Galaxy S II General] chsaiteja98:
Bro I lost my IMEI after getting a software update in Lenovo Vibe a 7010 a 48 how to restore my IMEI
[Galaxy S II General] Droidriven:
You are in the wrong forum, this thread I'd for the S2 GT I9100.

Find the correct forum for your device.

Also, I see your posts in other threads asking about IMEI, you're asking how to restore IMEI but you posted in another thread I follow saying that you just got your device back from the repair shop and that IMEI is working.

How many devices do you have and why are you posting about IMEI on more than one device? Have you made a habit of killing your IMEI on more than one device?

Or are you being deceptive and looking for a ways to steal IMEI from one device to use on another?

All of your posts about this seem to me that you are possibly working with stolen or blacklisted devices and that you're trying to find how to change IMEI so that the devices can be used. That kind of thing is illegal and you won't get help with that at XDA.
[Galaxy S II General] chsaiteja98:
slow down bro

I just posted about my phone in a forum asking how to back up my imei not any illegal issues right this lost was before I got working imei

okk
[Galaxy S II General] tabishbafanda:
Does any one have backup imei file.....
[Galaxy S II General] chsaiteja98:
of which phone
[Galaxy S II General] yrtyhrth:
where is efs it is not in device my device is rooted and enabled root explorer
[Galaxy S II General] Leachman77:
totally lost

hello

Im trying to recover the imei of a note 2 N7100, im sure the steps are pretty similar being that they are both android.

I followed the step to the letter, but still ended up with the default imei. What I did before (Stupid) while on TWRP boot, I tried to flash a custom ROM to remove the screen that shows the phones details, It didn't wana install, so I decided to wipe the everything, and start afresh... ended up with an expensive media player... any help?
[Galaxy S II General] erany1:
can someone pls explain..?

i can't understand how does the original imei generated again if there isn't any previous back up? how does it creates?

would be very much appreciate an answer!

thumbs up for great work & for sharing.
[Galaxy S II General] Nischal077:
I did as you said but it didn't work. After completing the steps and rebooting I got no SIM card installed notification where previously there was emergency calls only. And I couldn't get the " .nv_data " file of the step 5 as well. Help me please Thanks.
[Galaxy S II General] Costi979:
something can't understand. I have a lenovo tablet , imei 0 .But i have a working network connention and i can send messages from sim card.so.....??

i was able to restore imei using Efs Profesional and Qpst !
[Galaxy S II General] halagore:
Hi..can i using this method to tab 2 7.0 gt-p3100..coz imei turn to 004900...no signal at all
[Galaxy S II General] thepredictor:
Thanks
[Galaxy S II General] floripaoliver:
I try to follow your steps but my problem is already the inside my /efs folder no .nv_data file exist?! I do have the others .bin etc. but the .nv_data (with point in front and no extention) is not visible. Do I need to do something special to see the file maybe?

What can I do without this file?
[Galaxy S II General] DomskiF:
...show hidden files?!
[Galaxy S II General] floripaoliver:
already enabled

already enabled. I have only the .bin and .bin.md5 versions in my efs folder
[Galaxy S II General] v_anwesh:
did not work

I followed everything on metropcs j700t1. it did not work. i am trying get imei no since 2 days lot hopes. may be some one can help me.
[Galaxy S II General] MigoMujahid:
You probably would need Octopus Box device, i suggest giving it to a technician who have that device, because the device is expensive to buy.
[Galaxy S II General] MysteryIII:
Try to downgrade to KitKat, it seems to be less restrictive (sometimes).
[Galaxy S II General] bostanomer:
hi there;

this method is for only on sgs2 or any other devices
[Galaxy S II General] tudor.raneti:
can't find any efs folder anywhere
[Galaxy S II General] ze7zez:
Show command result.

which su

uname -a

ls /efs
[Galaxy S II General] tudor.raneti:
don't know where to type those commands. My superuser was installed by superoneclick for LGOptimus3D
[Galaxy S II General] Droidriven:
Type those commands in terminal emulator or use adb shell.

To use terminal emulator, type the listed commands one at a time, pressing enter after each command.

To use adb shell, open adb and type:

adb shell (press enter)

Then type the commands listed above one at a time, pressing enter after each command.

I think the "which su" was not them asking you which su you had, it might be a command for you to type.

which su (press enter)

uname -a (press enter)

ls /efs (press enter)

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Galaxy S II General] tudor.raneti:
which su (press enter)

which: permission denied

uname -a

uname: permission denied

ls /efs

/efs: no such file or directory
[Galaxy S II General] ze7zez:
This is unbelievable!

Please upload a screenshot here after the command has been executed "which su".

Also add screenshot from

Settings -> About Device [scroll down to the bottom of the screen]

How to take a screenshot with the Samsung Galaxy S2.
[Galaxy S II General] tudor.raneti:
I am sorry but since then I've flashed v10L kdz I linked to and all the functionality that was broken is now fixed, new imei files, networking back, working airplane mode etc.

Adb shell now returns "error: device "(null)" not found, although I can see p920 in LG PC Suite IV. The drivers I use on the laptop are unchanged. Perhaps those "denied" messages exist because I lost superuser somewhere in the process which I didn't care enough to put back

I remember when I run those commands I was on the bootv21e rom indicated in the unbrick tutorial , and before that was on king's rom (and got bricked in between lashing a baseband zip, then unbricked), before that cyanomod 4.x.x then I don't remember, but I did start trying to flash v4. Somewhere in this line of flashes I lost imei, airplane mode and and never had networking as far as I remember

EDIT: oh wait, I'm stupid, forgot I need to enable debugging mode for adb to work. Running commands again as we speak

which su

returns literarly nothing in text

uname -a

Linux localhost 2.6.35.7 #1 SMP PREEMPT Mon Oct 3 14:11:52 KST 2011 armv71 GNU/L

ls /efs

/efs: no such files or directory

I must say the last bit about /efs makes no sens to me because I got my IMEI now therefore I should have /efs somewhere
[Galaxy S II General] ze7zez:
Dude! Here is the section of the Samsung Galaxy S2, not the LG P920. :confused:

p.s.

LG P920 does not have a /efs directory.
[Galaxy S II General] tudor.raneti:
I still don't know what's this about, thought it was about my missing efs dir question, which is android and imei related, not mobile hardware related

EDIT: I see, no efs folder for LG. At least I'm not the only confused person about this (I googled).
[Galaxy S II General] doctor-who:
You guys all have fake IMEI I have not even that in my IMEI says unknown
[Galaxy S II General] pt917:
Is this method is valid for Snapdragon mobile?
[Galaxy S II General] JJEgan:
Samsung
[Galaxy S II General] pt917:
no i have leeco max2 with consist with Snapdragon X820 with msm 8996 chip
[Galaxy S II General] MysteryIII:
You should also look here, if you have some problems with this solution.

As a side hint: if you are on Android newer than 4.4 but have the possibility to downgrade to it, it makes stuff much easier because there are less restrictions and more ways that work.

I needed to restore IMEI on my S5 twice and already bought one used phone with lost IMEI as a replacement as my phone had some Hardware issues. But honestly, it's far to easy to brick EFS partition on Samsung phones (I only flashed custom ROMs or Mods that work but somehow messed up in one of 100 times) and not easy to repair it.

After you finally regained your IMEI: Make a fully working EFS Backup, it's too important and very easy to restore.
[Galaxy S II General] mYmY0530:
Thank you so much, you have been a real help. I can confirm that everything is working 100%
[Galaxy S II General] Cilekcigs:
My efs folder is completly empty so im out of luck ?
[Galaxy S II General] Captain_cookie_200:
today i accidently messed with my NVDATA FOLDER. then my network died. after 10 firmware flashes it didnt fix it. then i found this. the device i am using is galaxy A325F. i was really scared. but i took backups and then went for it! i deleted the contents inside /efs folder not the folder itself since it was not letting me. after that i did a reset from the recovery (stock) on the reboot i thought i had to continue with the steps but no. it fixed itself. i am so full of joy. tysm.
[Galaxy S II General] Khateeb2110:
Hey there! I know it's too old thread but I'm suffering from this problem. I tried to repair my IMEI with miracle box v2.58 and after that I lost my IMEI and baseband is unknown.

My question is can we use TWRP recovery to backup and delete EFS folder?

And it's gonna work on OP8 or not?
[Galaxy S II General] solarj:
I do not have .nv_data.bin file, while I have two files called .nv_core.bak and .nv_core.bak.md5. The first file also contains the hashes that used to generate IMEI number, but I'm not sure if I remove the nv_data.bin, a new one will be generated from .nv_core.bak

# ls -la

ls -la

drwxrwx--x 7 radio system 4096 Jan 28 00:46 .

drwxr-xr-x 20 root root 0 Jan 28 12:12 ..

drwxrwxr-x 5 root root 4096 Jan 1 2000 .files

-rwx------ 1 radio radio 1048576 Dec 31 2010 .nv_core.bak

-rwx------ 1 radio radio 32 Dec 31 2010 .nv_core.bak.md5

-rw-rw-rw- 1 radio radio 1 Dec 31 2010 .nv_state

drwxrwxr-x 2 radio system 4096 Jan 26 21:26 bluetooth

-rw-rw-rw- 1 system system 6 Jan 1 2000 calibration_data

-rw-r--r-- 1 system system 9 Jan 28 00:46 cryptprop_applied_result

-rw-r--r-- 1 root root 1 Jan 1 2000 cryptprop_essiv

-rw-r--r-- 1 root root 5 Jan 28 12:12 cryptprop_onetimeboot

-rw-r--r-- 1 system system 17 Jan 28 00:46 cryptprop_persist.sys.timezone

-rw-r--r-- 1 root root 1 Jan 1 2011 cryptprop_rebootMode

-rw-r--r-- 1 root root 3 Jan 28 12:12 cryptprop_securewipedata

drwx------ 3 system system 4096 Jan 28 00:46 dmp

-rw-rw-rw- 1 system system 256 Oct 26 14:20 edk_p

drwxrwxr-x 2 radio radio 4096 Sep 27 05:52 imei

-rw-rw-rw- 1 radio radio 1249 Dec 31 2010 nv.log

-rwxr-xr-x 1 radio radio 2097152 Jan 28 12:57 nv_data.bin

-rwx------ 1 radio radio 32 Jan 28 12:57 nv_data.bin.md5

-rwxrwxr-- 1 radio radio 880 Dec 31 2010 redata.bin

-rw-rw-rw- 1 radio radio 1 Jan 26 21:26 upgaddr

drwxrwxr-x 2 radio system 4096 Jan 26 21:26 wifi

I noticed, my nv_data.bin file backed up from different time, they all differ in content, so I suppose it is updated everytime the telephone reboots
[Galaxy S II General] georgezim:
I dont underdtand why all these steps, am not delet'g any efs folder, I have HC-kTool all I need to know is how do I root my GT-19100??? It says I need super user permissions, I flashed it with Adroid 2.3.5 & now it has the proper S logo on tart up, happy becoz it used to be k cell, polish firmware, its still like iPod touch, no imie, no baseband???? If I root it using Odin again will it have root if I use some firmware from Xda forums or what is the easy way?? I need to fix this, sell it, buy a Ps Vita wifi model, so is that the easy way. Should I use HC-k Tool after root with root explorer and Rom manager????????
[Galaxy S II General] solarj:
I tried both superoneclick and cf-root, both works, I prefer doing it from PC, not CWM, don't know why, maybe because I am a PC fan :o

http://xdaforums.com/showthread.php?t=1103399
[Galaxy S II General] Masoud Nine:
but i can't delete these files because the folder "efs" is read-only. what should i do?!

EDIT: i found out the solution. thx a lot!
[Galaxy S II General] bududroid:
If sometimes my imei got lost like you but in other case I had backup my imei before... Have I only copy the backed imei before? ...btw nice thread :)