I been playing with my phone for a few days now trying to get it to work and I haven't had much success although I have been learning a hole bunch and now able to load any rom onto my phone easily and flash kernels and such with ease...
The situation is that I received a phone from a friend SGSII I have never had a rooted phone and it came pre rooted, never knew much about it as it is my first Android phone and now love it
never knowing I had to do these things like "backup EFS directory" and such as I know now... anyhow, a few days ago what has happened is I have a stock rom + CF-Root and my phone all a sudden started telling me there is no IMEI and no SIM card present.. after much research, flashing of roms, kernels, bricking the phone, re flashing and so on and so foth....... xda-developers is a FANTASTICK site full of useful information btw now I'm still at the same point but a lot more knowledgeable, I have learned that the problem lies with my efs folder and have found a .nv_data.bak file that is dated dec 31 of last year, at this point it is my only so called backup and hope that it will restore proper functions of the phone, as per some of the guides and other posts and questions I have learned to do this.. so what I have done was copy using ADB my files to my sdcard folder renamed my nv_data.bin to nv_data.bak and my .nv_data.bak to nv_data.bin
also I have used root explorer to copy the hole efs folder to a location on my external sd card and used HC-kTool to make a backup of my efs folder
now I have been trying to use the command to copy my nv_data.bin file in the sdcard folder to my efs folder and it is not working as it gives me msges of write protected file or file exist canot copy... the commands I have been trying to use are
cp /sdcard/nv_data.bin /efs/nv_data.bin
cp /sdcard/nv_data.bin /efs/
I have tried also
rm command to remove the file but nothing has been working...
one thing I should mention is that I have been connecting withough usb cable as I can't seem to connect with that I keep getting device not found so I been using the wireless adb function
abd connect "ip addressort"
I have tried installing the kies driver for usb and the google sdk drivers and none seem to work, in fact kies doesn't reconize my phone aswell... but Odin seems to function through my USB just fine.... not sure if that matters or not but trying to give as much info as possible
Thank you in advance for the help.... this is a great site with very knowledgeable ppl
permissions have to be reset as the back up does not copy the permissions. Use cwm recovery to reset the permissions.
Thank you very much for you quick response, however I have just tried that, booted into cwm recovery, went to advanced and reset permissions, rebooted my hone and still cannot copy the file
Try using a Root Explorer from the market.Connect via wifi obviously if your phone cant detect sim.Phone needs to be rooted.Give Root Explorer root permission and set to R/W from R/O and copy paste the nv.data files and IMEI to the efs folder in the root of your phone,reboot,boot to recovery and "fix permissions" and boot again.
sorry I guess I should of mentioned that aswell but thank you very much for the suggestion... I have tried to edit the file weather just delet it or overwrite or change permissions with Root Explorer and to no success.. also when I push the mount r/w button in the efs folder... nothing happens and the button stays as mount r/w
I found this.Maybe it will help.
http://forum.xda-developers.com/showthread.php?t=1258734
http://forum.xda-developers.com/showthread.php?t=1261948
http://forum.xda-developers.com/showthread.php?t=1085374
and if you manage to get it back then use this:
http://forum.xda-developers.com/showthread.php?t=1308546
Thank, I havent had time to read through them all but I will try tonight and see if I can come up with a solution... I will post here my findings weather they are good or bad..... but thank you very much for the info
I have read and tried and seen all those post, thankyou for the info the problem is still that I cannot modify my nv_data.bin file in any way... I cannot overwrite to it or anything using rootexplorer or adb or any other program... does anyone know of any other programs or command lines to strip the read only permissions on this file as it seems stuck on this and it's driving me insane lol
Gave up
I gave up and had it done professionally, they couldn't figure it out either and had to replace the phone.... Thank you all for the great help, even tho we didn't get it figured out it was great that help was provided
Thank you XDA-Developers your awesome!!
ive the same issue,got a rooted s2 with cwm all the forums cay copy the efe data but i cant find a way,anyone know how to do it?,i need to eddit it to unlock my phone:ie the simlock.
thanks
thank you for sharing your ideas
Related
hello i need help i´ve been trying to unblock my samsung vibrant but i cant find efs folder or nv_data.bin. what can i do. I don´t have a copy of this files i´m desesperate please help
Do you have root access and root explorer?
on the market look up galaxy S unlock. Not All vibrants had the nv_data file or whatever it is that allowed them to be unlocked in that way If I remember correctly. Galaxy S unlock has a generic unlock method for the Vibrants affected by this. I used it, it seemed to work. dunno, since I haven't tested it on any other SIM cards, but it did backup /efs to the SD card and create the files as it said it would.
Its worth a shot, and comes with a way to revert back if issues occur. Be sure to follow instructions, Don't delete the files it creates on the SD until you test everything out and make sure you have no issues. This way you can revert back using the backup.
same here
I try to get an unlock code using generate unlock window but after I ran it, it show error unable to find file <nv_data.bin>
Do I have to root it first b4 i can unlock it? please help.
thank you
Hello I seem to have the same issue...
I have rooted the phone, I have a file manager to browse my in-phone folders..
I went in the efs folder it says: "the folder is empty or have been banned. not the retrieved information"
I have also been trying to unlock the phone.. (i9000) I have tried all the ways that are on the xda developers and have finally tried to do it the manual way...
But I am stuck at transferring the nv_data.bin file...
Please help out!
Thanks
Im having the same issue. Been looking for an answer for hours and no luck. Im dying to use this phone...
same
i have the same isssue
Hello, The reason that you can not find the folder EFS it is because it is hidden. You can install Android Terminal Emulator from market
And then run it and write the command to see all the folder
ls -l
You will see the EFS folder.
Please let me know if it works for you
samsung advance sin imei ni nv_data.bin
hello my samsung advance imei not displayed and entered the efs folder and I find no data data.bin bak as I can do to put a generic one at least? or if someone is kind enough to pass me those files so I test if it works ... thanks!: Crying:
no nv_data.bin found
Hi there!
My 2.3.3 is rooted,
there is no /efs folder and
nv_data.bin was not found in the system.
what can i do in this case!?
NOTE: I have searched and reviewed the existing threads on items with similar wording. Several on how to recover corrupted files within the backup etc.. Although the questions and issues are similar none describe the issue that I am experiencing.
Samsung Galaxy Note
Rooted on AOSP xXx FJ,(Flappjaxxx) / FJ Mod of ICS UCLF6
Currently on CWM Recovery 5.8.4.3
Situation:
No prior issues experience with nandroid backup, had 2 other backups plus the one I'm referring to (one of AOSP xXx and FJ Modded)
Performed a nandroid backup to try out CM09 from FJ AOSP. All went well... including the CM09 install and apps.
Missed the S-pen functionality and wanted to flip back to FJ Modded ROM.
Attempted to restore the most recent backup... Failed. Booted into CM09 and went to Root Explorer and looked into the backup file. I noticed that the file has a lot of what appears to be random ASCII characters for file names etc... (indicated to me that this file was corrupted).
Since I had other backups, I went to one of the older ones and restored.
Problem: this corrupted backup is taking up about 1.9 GB and I want to delete but it will not allow me. Looked at permissions and it has RW
Question: how the heck do I delete this thing without having to take my SD card out and formatting the sucker?
Thanks in advance
You should be able to plug in your phone to your computer via USB and open folder to view files on the /sdcard. Make sure USB connection is set to "USB Mass Storage" option when connected. Once you opened the folder to view files, you can navigate to the clockworkmod folder, open, and find the backups within that folder and delete that way...
Sent from my MB865 using xda's premium carrier pigeon service
Did you try to delete it in recovery (sorry if there is no such option, never looked for it...) or in root explorer? You could always get a terminal like https://play.google.com/store/apps/details?id=jackpal.androidterm and do like this:
su (if you're rooted)
cd /sdcard/clockworkmod/backup
rm -r 2012-07-12.13.37
Same commands should work in adb as well
Try. Android Commander.
jje
Sent from my GT-I9300 using xda premium
I think that plugging the USB charger into your computer and manually deleting it should do the trick :fingers-crossed:
OK...
Thanks guys for your responses...
- did try connecting to a PC in mass storage mode and tried to delete... did not work
- use Root Explorer to do a delete as well... did not work
- looked to see if there was a delete option in recovery (first thing I looked for) did not find it
I'll try the other options and see where that goes.
JohnnyQ1964 said:
Thanks guys for your responses...
- did try connecting to a PC in mass storage mode and tried to delete... did not work
- use Root Explorer to do a delete as well... did not work
- looked to see if there was a delete option in recovery (first thing I looked for) did not find it
I'll try the other options and see where that goes.
Click to expand...
Click to collapse
If you download clockwork mod (rom manager) you can delete it in the android application in manage and restore backups.
Empty recycle bin on PC sometimes helps when deleted stuff sticks, make sure do this when plugged in ofc
If you're using Windows, run chkdsk ("Scan this drive for errors" in drive's properties) when connected as a mass storage device.
That should help.
If it won't, the guaranteed method is to copy the files you need somewhere else, format the card and put those files back.
to clairfy, you were able to locate the back up files in the folder "clockwork mod-backup" but then it would not delete when you tried?"
Thanks again for all your input.
PC crapped out this past weekend... new hdd installed and re-building with Windows 7 pro-64 (hmmm... maybe I should dual boot to Ubuntu), will need to reinstall some of the linux/android tools.
@frdd... already had terminal installed tried the commands but no luck... it reports back I'm missing files and i get a lot of errors. I guess I'm gonna have to learn Linux/Android
@icomrade... I've got the purchase ver of ROM Manager and haven't fully gone down that rabbit hole but will investigate
@NeverGone\RU... will leave that as a last resort as i've got a 32GB SD card (sucks up time)
@mankows5... yes did find all the directories and files as it should be... just can't delete that 1 backup
Yeah, try Rom manager. Manage and Restore Backups>Select the one you want to delete, then delete it.
To make a long story short, I have a Samsung S3 I9300 (International Version). I installed an AOKP-based ROM through CWM 6, it flashed successfully the second time around (was very laggy first time). Anyhow, I didnt get any mobile signal and found out my baseband, imei and meid were all unknown, After tinkering for hours, reverting to stock ROMS, etc. I accidently managed to format my EFS folder, thinking it would repair the problem since i have a backup. Thus.. now i cant boot up the phone. Stuck at samsung logo. I can get into revovery and download mode. And I HAVE a backup .tar and .img file on my INTERNAL memory (ya i know that sucks ) SO could my phone be repaired anyhow. Could its efs be brought back and restored?
Thanks in advance
Some more details
Stumbling through the forums, i found this thread http://forum.xda-developers.com/showthread.php?t=2087567&highlight=efs+file&page=2
The last post does mention a solution, however, my efs backup is located on the INTERNAL memory. Any idea how i could possibly access and recover and copy that to my pc?
boot into recovery and pull the files with adb
Thanks for the reply Glebun
But could you be more specific with your proposed solution? Im a noob i admit, and i'd really like to get my self out of this situation!
I boot into recovery.. i have cwm recovery 6.0.2.7
Now what is adb? Could you link me to the program and how exactly do i run it? and connect it? note that my phone cant even go past the boot screen
You need to learn to google.
Searching for "pull files with android adb" should get you started
Alright managed to do some googling as you mentioned and got as far as the point of connecting adb successfully to my device.. Just help me in one last step and ill be greatful. I've tried for hours but i cant seem to pull files from my device? I've tried 'adb pull /' 'adb pull /sdcard' 'adb pull /sdcard0' amd many more, but they return with '0 files found 0 skipped'
What to do?
i have atleast 8gb of data in my internal memory
The path is incorrect.
Type "adb shell", then "ls" for the list of all files and folders in the current directory. "cd %foldername%" to move to a folder
Thank you so much
I managed to recover the efs files successfully
I just need to restore them back to my phone without any hassle, and everything will be perfect!
I have 2 files now.
One is "efs.backup.tar.gz"
Second is "efsdev-mmcblk0p3.img.gz"
Suggest me a way to get these back onto my phone
https://www.google.com/search?q=efs.backup.tar.gz
first link. You haven't learned to search
Glebun I would really need some detailed help with this.
The internet and forums seem to be full of ways to backup the efs folder.
However no specific way to restore it back
I followed the first link and the fourth post gave me instructions to type this:
"gzip -d efsdev-mmcblk0p1.img.gz
cat efsdev-mmcblk0p1.img > /dev/block/mmcblk0p1"
I also typed
"gzip -d efsdev-mmcblk0p3.img.gz
cat efsdev-mmcblk0p1.img > /dev/block/mmcblk0p3"
but to no avail.
Then I proceeded to install efs proffesional in order to restore my efs backup but it crashes everytime the device is connected.
Could you please guide me through adb or through an application to help restore my efs back in place?
Sorry for any trouble
put the backup file on the internal storage and make sure you type in the correct path. read the whole instructions
Hi. i cant understand the sticky threads at all. i have read it 1000 times.
Lost the signal after flashed Imperium ROM.
I believe i can recover that by restore a cwm backup i did some time ago ?
BUT i have formated the internal phone and no restore files are located. I have it on PC but
have not been able to copy the backup folder to the phone so that CWM can find it ??
And the stickys makes no sense to me..
Damn it.
Just knew i was going the wrong way in Imperium AROMA installer .. :/
Any help plz ?
I have found a way in the forums to find the files in CWM...
/data/media/clockworkmod/backup..... I put them there and i could find the recovery file.
But i just glanced somewhere that i wont restore them modem . :/
Anyway its restoreing, and i hope it works.
If you made a full nandroid then it will restore your modem, but not your efs folder - which is responsible for most no network issues.
You'll have to read through the stickies, particularly the 'before you root' and 'imei know this stuff' ones. I'm not going to type it all out for you.
Follow the instructions to flash a stock ROM with an EMG4 baseband, which solves many efs issues. If it doesn't then you'll need to pay for a repair, about £20.
just realised its bricked.
i have a copy of efs folder on pc but not sure what to do.
EFS Proffesional cant find a backkup in restore tab, even though i believe i did make one.
In my efs folder are.
bluetooth
drm
factoryapp
emei
wifi
and 7 files.
can i copy and paste something to the phone to make it work ?
Yes , copy those backed up efs folder files to your phone's efs folder and reboot. It should work.
sent from the state where marijuanated muffins are NOT illegal !
I would recommend using ADB as copy doesn't retain the required permissions.
Full step-by-step adb guide for this in my IMEI / EFS thread
rootSU said:
I would recommend using ADB as copy doesn't retain the required permissions.
Full step-by-step adb guide for this in my IMEI / EFS thread
Click to expand...
Click to collapse
I use root explorer to copy paste and it did retain permissions but yeah to be on safer side using bridge is more preferable
sent from the state where marijuanated muffins are NOT illegal !
kangerX said:
I use root explorer to copy paste and it did retain permissions but yeah to be on safer side using bridge is more preferable
sent from the state where marijuanated muffins are NOT illegal !
Click to expand...
Click to collapse
Yes root explorer may be better than other file managers with root permissions to be fair. But most people think root exploring is a simple thing that can eb done by any free app
hi and thank you.
I was not able to copy efs folder to phone, or to say, i managed to copy it via Es file explore to the root efs.
But phone ended up with Factory error, so now i have the screen thing on the phone.
I tried to type the guide from root SU in Terminal with no luck, nothing worked or would be regonized, sadly.
I read somewhere that i stock rom might solve the things, so thats where im going now.
I have removed binary counter to 0, and it says im on stock firmware and recovery.
I have installed stock recovery.
BUT im stuck at finding my STOCK ROM.
Im using THIS guide......
http://forum.xda-developers.com/showthread.php?t=2323847
AP: I9300XXEMG4
CP: Unknown
CSC: I9300NEEEMG2
As far as i can read i shall find I9300NEEEMG2 on this page.....
http://samsung-updates.com/device/?id=GT-I9300
But its not there, there are many I9300XEMG4 ?.
I have tried installing KIES, to find my firmware/model. But it wont find my phone.
Im stuck at those 1000 stock roms.
Help plz.
sup3rbuck said:
I was not able to copy efs folder to phone, or to say, i managed to copy it via Es file explore to the root efs.
But phone ended up with Factory error, so now i have the screen thing on the phone.
Click to expand...
Click to collapse
This is because you did not follow suggestions. ES will not do the trick because it will not retain permissions. ADB was your option, or perhaps root explorer.
I did try this page http://developer.android.com/tools/index.html and downloaded SDK pack.
Its pure madness to me, and i was unable to find something that looked like a file browser.
Root explore i did look at, but it did cost some money. And maybe it wont work !
sup3rbuck said:
I did try this page http://developer.android.com/tools/index.html and downloaded SDK pack.
Its pure madness to me, and i was unable to find something that looked like a file browser.
Root explore i did look at, but it did cost some money. And maybe it wont work !
Click to expand...
Click to collapse
FX Explorer and Root add on is free .
Service centre repair is relatively cheap .
I have paid 5$ a month in some insurance, so last resort is i smash it with a hammer so they wont be able to connect it to a computer.
And get a new one. But i wanna learn this stuff for the future.
I tryed fx explore, and the Factory mode has gone now. But still no network, and eimei says null/null ?
sup3rbuck said:
I have paid 5$ a month in some insurance, so last resort is i smash it with a hammer so they wont be able to connect it to a computer.
Fraud and theft is not allowed on XDA .
Click to expand...
Click to collapse
Sure no problem.
as a Blacksmith, stuff might happens when sheit hits the fan.
Thanks for all you answers.
I have fixed my phone with a stock firmware install. :highfive:
Bought and activated used phone 2 weeks ago. Phone worked fine thru Friday night. Woke up Saturday to find I could not connect to cell network. Call to carrier revealed my IMEI number does not match the number they have. Somehow my phone IMEI changed to 350000000000006. Internet search revealed many others with same problem. The main difference between their situations and mine is the fact that in almost all of their cases their phone was rooted and they flashed many different ROMS to their phones and something obviously went wrong. My phone is NOT rooted and I have not tried to modify anything. Simple as that. Went to bed working, woke up broken.
I have now researched this the last few days and have no clear answer. Is it possible to set my IMEI back to my correct, legal,clean and not blacklisted value? Any help is greatly appreciated.
My guess is without a backup of the original, you can't do anything about it. Best bet is probably return it to the store you got it from and get a refund/exchange.
Edit:
Fastest and safest bet would be refund/exchange.
Little research has shown other people had a similar issue. Check Nox to make sure the phone hasn't been rooted before, if it has, you know what happened. If it hasn't, chances are the phone was flagged as lost/stolen after being sold (if 2nd hand).
As for a fix, I found this:
http://forum.gsmhosting.com/vbb/f898/g925f-imei-350000000000006-a-2044425/
Recover corrupt IMEI (without prior EFS backup folder)
Items needed
Root Explorer
Efs folder (no need to have a backup of this prior to the disappearance of IMEI folder, but it has to be this folder on the phone)
Obviously having a rooted phone
Instructions
1- With the Root Explorer to back efs folder to the SD Card
2- For safety make a second copy of the folder to the PC
3- Once both copies made to proceed to erase the original EFS folder on your phone
4 Restart the phone
5- When you start the phone, it will automatically create a new folder EFS, Root Explorer to delete the files and nv_data.bin.md5 nv_data.bin found inside the new EFS folder.
6 Copy the folder from the SAI IMEI folder we saved on the SD card and stick it on the new EFS folder created in the root directory of your phone
7- Since the SAI folder we saved on the SD card .nv_data file copy, paste into the new folder EFS generated in the root directory and rename it nv_data.bin phone, then recopy again .nv_data file rename it nv_data.bin.bak
8- With Root Explorer /efs/nv_data.bin change the owner
9. Restart the phone
If all went well you should have recovered the IMEI can check if recovered by entering * # 06 # on the phone dialer.
Thanks for the response ProdigyThirteen.
The Knox is clean 0x0. Everything I have found says the original IMEI is clean and not flagged.
I will definitely look into the procedure you provided. It looks promising. I'll take any sign of hope I can get.
Just tried the recommended procedure but no luck. It is possible that I screwed up steps 7 + 8 because they were not clear to me.
Shaggydoo said:
Just tried the recommended procedure but no luck. It is possible that I screwed up steps 7 + 8 because they were not clear to me.
Click to expand...
Click to collapse
Copy the nv_data file from the SD card to the newly generated EFS folder on the phone and name it nv_data.bin. Then make another copy in the same EFS folder and name it nv_data.bin.bak.
Then you need to set the permissions for EFS folder/nv_data.bin file. They need to be set to rw-r-r. However for this procedure you need to be rooted.
Shaggydoo said:
Just tried the recommended procedure but no luck. It is possible that I screwed up steps 7 + 8 because they were not clear to me.
Click to expand...
Click to collapse
Could you tell me did it work?
No, unfortunately it did not work. After following all the steps again, the IMEI still comes up incorrect. The search continues ..........
Shaggydoo said:
No, unfortunately it did not work. After following all the steps again, the IMEI still comes up incorrect. The search continues ..........
Click to expand...
Click to collapse
Have you tried flashing the stock firmware again? Either by smart switch or odin?
Will try again tonight when I get home.
Callumbr1, No dice on the stock flash. I installed Smart Switch and tried to do the reinitialization. It gets along in the process and then fails in the " Device does not have DRK" error. Also have DM-verity error. I tried to find solution briefly but didn't get far. Ran out of time tonight. Will try again tomorrow. Still appreciate your help.
Shaggydoo said:
Callumbr1, No dice on the stock flash. I installed Smart Switch and tried to do the reinitialization. It gets along in the process and then fails in the " Device does not have DRK" error. Also have DM-verity error. I tried to find solution briefly but didn't get far. Ran out of time tonight. Will try again tomorrow. Still appreciate your help.
Click to expand...
Click to collapse
I remember I did have the exact DRK error on my s6 edge one and dm verity fail. The way I fixed it was by flashing stock firmware through Odin. Quote me when you try again and I'll do my best to help mate.
IMEI
If you want to get back your IMEI try Dashboard .
you will find all your devices there, then try to find a way to write your IMEI in your phone (may need root)
Dashboard (https://myaccount.google.com/dashboard?hl=en)