how to restore nv_data.bin - Galaxy S II Q&A, Help & Troubleshooting

I have a samsung s2 and I dont have any problemdownloading from Google store,with the imei etc etc but...Reading a post on this forum and having a Samsung s2 simlocked I have edited the nv_data.bin and,the first time I was able to unlock it but,after reflashing taking away the root and,"making something that I dont remembr what" the Samsung s2 was back sim locked.I tryied several time to unlock it again making the same thing but nothing to do,this is the "story"...
Now I'm thinking that maybe there is something wrong with the nv_data.bin ...I have the back filesin fs folder,I try to guess..if i delate the nv_data.bin and nv_data.bin.md5 and i renale the two .bak files I will get the original files?I nevar done any backup so I dont have any way to pic up the "clean" files but...Is that a valid way to resolve my "problem"?
Last question...When the files are renamed .bak dose they "work" or the are renamed for backup and "works" just the
nv_data.bin and the nv_data.bindb5..back?
Thank's to who will be able/want to help me :good: to other user just a ----
Helen

Related

[Q] Vibrant Froyo IMEI issue

I had unlocked and updated to froyo on my Vibrant. After several months it simply stopped working on the telcel network (Mexico). I never was able to root under Froyo.
I later discovered that my IMEI was at a fake IMEI that is posted all over the net from others with the same issue.. I dont know if the provider cut off my phone immediately when the IMEI arbitrarily changed or the IMEI had been bad all along, and they finally started blocking this fake IMEI. Judging from the phone crash that occurred that day, however I think the phone lost its IMEI that same day it stopped working on Telcel
Fortunately I searched old files and my backups are worth gold because somewhere in the process I had saved /efs and /efs/imei in a folder called Galaxy_S_Unlock.
My question is , how do I restore the IMEI and does it matter that I am now on Froyo and the Back ups may be from Eclair?
Thanks I would like to get my Vibrant working again
I'm sure you can use that one.
Update ________
I recovered my vibrant in the following way, as other methods I found did not work after re rooting.
I did the full recovery found at androidspin. They wont let me post the link here
Then rooting was easy on Eclair 2.1, I used one click root method
Since the back up I had had both nv_data.bin and nvdata.bin.unlocked I used es file explorer and copied this nvdata.bin.unlocked from my NAS directly to the efs folder, at the same location as the original nv_data.bin in the phone. I renamed the original file nv_data.old and the newly copied file was renamed to nv_data.bin.
My phone came back as an unlocked Eclair 2.1 with original IMEI, and only because I had those files
compared to other methods that I saw about how to do this this was WAY easier, and since I had trouble with root access on terminal emulator and other programs crashing.
I still however can not download from the market, and was wondering if I need to replace one of these other files too.
Hello,
I have my Vibrant Eclair unlocked, do you recomend me updated it to Froyo with Samsung Kies? or if I upgrade to froyo will to locked the phone?
thanks
markosjal said:
Update ________
I recovered my vibrant in the following way, as other methods I found did not work after re rooting.
I did the full recovery found at androidspin. They wont let me post the link here
Then rooting was easy on Eclair 2.1, I used one click root method
Since the back up I had had both nv_data.bin and nvdata.bin.unlocked I used es file explorer and copied this nvdata.bin.unlocked from my NAS directly to the efs folder, at the same location as the original nv_data.bin in the phone. I renamed the original file nv_data.old and the newly copied file was renamed to nv_data.bin.
My phone came back as an unlocked Eclair 2.1 with original IMEI, and only because I had those files
compared to other methods that I saw about how to do this this was WAY easier, and since I had trouble with root access on terminal emulator and other programs crashing.
I still however can not download from the market, and was wondering if I need to replace one of these other files too.
Click to expand...
Click to collapse
I am not able to recover my IMEI number as per your steps. Can you point me to exactly where did you find the procedure to do this?

Imei lost and no baseband (phone stucked in flight mode/or sim not detected)

Ok,now let me do it simple....I had the same bledy prob with my sgs2.
As I searched the net,it was almost impossible to fix that prob...
I was advised to bring my phone to the service center.
Anyway, don't worry as there is a way to fix it.But, i'm not giving you guys any link here because i'm currently posting this from my phone and it's not easy.
First,get the Android root explorer from the market.Then find the folder called " efs " in your root.Open it and find for the file " nv_ data.bin " and " nv_data.bin.md5 " now look at the date below it.and if i'm not mistaken, that's the date you ruined your devise.Ok,now look at the date of the file with the same name above but with and extension of " .bak " ...the .bak file must have an earlier date compared to the original one(if the date is not in an earlier state,i don't think it's possible to fix your phone).
This files are basically the backup of your IMEI...
Next, fine any apps to recover your efs folder...ive pasted the link below
http://forum.xda-developers.com/showthread.php?t=1138873
Once u got the folder,go in and delete the " nv_data.bin.md5 " " nv_data.bin "
Now rename both the bak file with the name above...
Thatd it...now restore the efs back to your phone...and,done...you've done it..
If that method doesnt work, you need to format your efs before restoring the modified files...
I'm really really sorry I can't give you the links...i really had it fixed easily with the method I used...
I spent almost a month to figure out the way to fix this ****...So just decided to share it with you guys...Sharing is caring...
Hi,
I am using a Nexus S. The phone had a short circuit on the board. I got that fixed.. but post that I am facing the same problem. The IMEI and the baseband version have been wiped out!
I did try your approach. i.e I renamed that .bak to .bin and deleted the .bin. Then rebooted the cellphone.. Things remain the same. Am i missing some step here?
Could u please clarify the following lines from ur post:-
"Thatd it...now restore the efs back to your phone...and,done...you've done it..
If that method doesnt work, you need to format your efs before restoring the modified files...
"
1 - What do u mean by restoring the efc back to my phone?
2 - What do u mean by formatting your efs before restoring the modified files.
Please help me out!
Then why have you posted in the SGS2 forum ? Try again here.
surjain said:
Hi,
I am using a Nexus S.
Click to expand...
Click to collapse

[Q] nv_data.bin lost - no backup

Hello as title says i dont have backup of efs folder. nv_data.bin which is present on my system is totally empty(looked with hex editor), i dont have .nv_data.bin nor have nv_data.bin.bak files so i`m in very big problem and i`m aksing anyone who is willing to give me nv_data.bin from sgs3 so later i would use it to edit nv_data.bin and put my imei. I know its forbiden to change imei and i`m not doing that just trying to bring my imei back which have been lost while flashing custom rom.
Hellou my friend, are you tryin to search the forum for similar problem, and solution maybe?
i can't help you unluckly... iwe never had samsung device sorry...
ernadko said:
Hello as title says i dont have backup of efs folder. nv_data.bin which is present on my system is totally empty(looked with hex editor), i dont have .nv_data.bin nor have nv_data.bin.bak files so i`m in very big problem and i`m aksing anyone who is willing to give me nv_data.bin from sgs3 so later i would use it to edit nv_data.bin and put my imei. I know its forbiden to change imei and i`m not doing that just trying to bring my imei back which have been lost while flashing custom rom.
Click to expand...
Click to collapse
You cannot do that who on earth would give you information that would in theory allow you to clone their phone .
jje
JJEgan said:
You cannot do that who on earth would give you information that would in theory allow you to clone their phone .
jje
Click to expand...
Click to collapse
I understand, if anyone have nv_data.bin with universal imei in it, that also would do job.
It won't. What do you mean by "universal IMEI"?
Changing your IMEI is illegal
Glebun said:
It won't. What do you mean by "universal IMEI"?
Changing your IMEI is illegal
Click to expand...
Click to collapse
I know, i dont want to change imei, just to recover mine. Its fake imei generated sometimes when something is wrong in efs, imei look like: 004999010640000. And i`m telling once again i`m just trying to hex edit working nv_data.bin, mine is just full of 00000000 nothing inside.
The file is device-specific, it's not as easy as changing a couple of bytes in the HEX editor.
Send it to service
Ofc its device speicific, and its not couple of bytes, there is already imei nv generator on xda, and instead of sending to some service which just use random boxes and writing on my device their nv_data.bin with my imei and serial number i would like to try if i can do it.
Alright, good luck with that

[Q] Bak filles | .nv_data.bak and his md5 files where do you get them?

Hi There!
I'm new here, so sorry in advance if I do something wrong.
I've a i9100 SII, but the imei and baseband are unknown. I've found a tutorial to get them back (forum.gsmhosting. com/vbb/f777/samsung-i9100-galaxy-sii-no-imei-unknown-baseband-solution-1490783/) and I followed the steps.
But at "6. Go to Repair GSII tab, follow the steps." I get a problem. at the last step in the tab, it says "delete nv_data.bin and repair it with bak files" when I let the app do this, it say "You don't have .nv_data.bak and his md5 files, canceled".
I think if have to get those files from anywhere?
Or what must I do?
In the downloaded archivement files was this:
flash:
I9100XEKDB.rar
└ CODE_I9100XEKDB_CL161513_REV02_user_low_ship.tar.m d5
GT-I9100 modem Release Note_KDH.xlsx
GT-I9100_PDA_ReleaseNote_I9100XEKDB.xls
GT-I9100_Release_Note_OXE.xls
GT-I9100-MULTI-CSC-OXEKD9.tar.md5
Important.htm
KERNEL_I9100XEKDB_CL161513_REV02_user_low_ship.tar .md5
MODEM_I9100XXKDH_REV_02_CL995882.tar.md5
Odin3 v1.85.exe
Odin3.ini
Tsar3000 Free Toolbar
u1_02_20110310_emmc_EXT4.pit
root:
XWKDD_insecure.tar
└zImage
Maybe the answer is in there? Hope someon can help me, because I am quite a noob with this stuff :silly:
TheBigBen said:
Hi There!
I'm new here, so sorry in advance if I do something wrong.
I've a i9100 SII, but the imei and baseband are unknown. I've found a tutorial to get them back (forum.gsmhosting. com/vbb/f777/samsung-i9100-galaxy-sii-no-imei-unknown-baseband-solution-1490783/) and I followed the steps.
But at "6. Go to Repair GSII tab, follow the steps." I get a problem. at the last step in the tab, it says "delete nv_data.bin and repair it with bak files" when I let the app do this, it say "You don't have .nv_data.bak and his md5 files, canceled".
I think if have to get those files from anywhere?
Or what must I do?
In the downloaded archivement files was this:
flash:
I9100XEKDB.rar
└ CODE_I9100XEKDB_CL161513_REV02_user_low_ship.tar.m d5
GT-I9100 modem Release Note_KDH.xlsx
GT-I9100_PDA_ReleaseNote_I9100XEKDB.xls
GT-I9100_Release_Note_OXE.xls
GT-I9100-MULTI-CSC-OXEKD9.tar.md5
Important.htm
KERNEL_I9100XEKDB_CL161513_REV02_user_low_ship.tar .md5
MODEM_I9100XXKDH_REV_02_CL995882.tar.md5
Odin3 v1.85.exe
Odin3.ini
Tsar3000 Free Toolbar
u1_02_20110310_emmc_EXT4.pit
root:
XWKDD_insecure.tar
└zImage
Maybe the answer is in there? Hope someon can help me, because I am quite a noob with this stuff :silly:
Click to expand...
Click to collapse
well the files u have downloaded isof the stock firmware , insecure kernel to root and odin for flashing stock rom and the pit file for repartitioning ..
the nvdata file is found in the root of ur phone and the imei no is stored in that basically if u say u have lost it then perhaps u wont b able to get ur imei back.. u shud always backup ur efs folder ...
do u haave a backup of efs done earlier ?
is ur phone in warranty>?
Unless it's the 'temporary/intermittent IMEI disappearing' thing that seems to be happening a lot lately, if you don't have an EFS backup you're unlikely to be able to fix this yourself easily without the right equipment/the knowledge to use it. Better off paying someone who does/has the experience to do it, will be cheaper than paying an authorised repairer to fix it, put it that way.
neerajganga said:
well the files u have downloaded isof the stock firmware , insecure kernel to root and odin for flashing stock rom and the pit file for repartitioning ..
the nvdata file is found in the root of ur phone and the imei no is stored in that basically if u say u have lost it then perhaps u wont b able to get ur imei back.. u shud always backup ur efs folder ...
do u haave a backup of efs done earlier ?
is ur phone in warranty>?
Click to expand...
Click to collapse
If have no back up from my efs as var I know...
I brought the phone on a site like ebay, but then the dutch version of that. So it has no warranty.
MistahBungle said:
Unless it's the 'temporary/intermittent IMEI disappearing' thing that seems to be happening a lot lately, if you don't have an EFS backup you're unlikely to be able to fix this yourself easily without the right equipment/the knowledge to use it. Better off paying someone who does/has the experience to do it, will be cheaper than paying an authorised repairer to fix it, put it that way.
Click to expand...
Click to collapse
Is it not possible to copy a file from a other i9100, and just change the imei number?
Other ways I will send the phone to a repaircenter...
TheBigBen said:
Is it not possible to copy a file from a other i9100, and just change the imei number?
Other ways I will send the phone to a repaircenter...
Click to expand...
Click to collapse
well i doubt if the service center repairs imei.. and changing of imei is illegal ..
Yes, changing a device's IMEI is illegal in most countries. If you take it to a service centre, they'll 're-write' the IMEI to the phone, if you ask around local mobile shops (who aren't authorised Samsung repairers), you may be pleasantly surprised to find out they can also fix your phone (and probably much cheaper than an authorised repairer).
The other way you could do it (and this would be a ridiculous way to fix an issue like this given the other options) would be to replace the motherboard with one from a 'donor' phone (a phone with a smashed screen that's otherwise OK, for example), you'd then end up with the IMEI from that phone.
Sooooo, you can either take your chance with a service centre (might want to unroot your phone/remove all traces of same first) & act like you have no idea what happened, and they might just fix it under warranty (assuming the warranty is still good), tho obviously IMEI's tend to only disappear when people 'mess' with their phones like you have, so they'd be within their rights to make you pay for repair. Or you could do the local mobile shop/non-authorised repairer thing as I mentioned above.
How to restore Imei
If found some efs filles in "sdcard0" (I think its the internal storrage?)
The folder "EFSProBackup" with has inside: "EFS_2013422_21555.img", "GT-I9100_2013422_22418.tar.gz" and a (empty) folder named "temp".
Also there are two other files with EFS in there name just in the "sdcard0" folder: "efsbackup.tar.gz" and "efsdev-mmcblk0p1.img.gz"
It looks that more folders contains EFS backups, such as the folders: "GalaxSimUnlock", "GSII_repair", "speedsoftware" and "sgstools".
Are this the back-up where I am looking for? How to restore the folders?
There is a multitude of threads on this subject here. Search.
It looks like he already has EFS backups!! Why not find a way to restore any one of them?
"To err is human, to forgive is divine"
Sent from my SGS II
TheBigBen said:
If found some efs filles in "sdcard0" (I think its the internal storrage?)
The folder "EFSProBackup" with has inside: "EFS_2013422_21555.img", "GT-I9100_2013422_22418.tar.gz" and a (empty) folder named "temp".
Also there are two other files with EFS in there name just in the "sdcard0" folder: "efsbackup.tar.gz" and "efsdev-mmcblk0p1.img.gz"
It looks that more folders contains EFS backups, such as the folders: "GalaxSimUnlock", "GSII_repair", "speedsoftware" and "sgstools".
Are this the back-up where I am looking for? How to restore the folders?
Click to expand...
Click to collapse
well that looks like a efs backup..
use ktool from market to restore ur efs backup
ktool:https://play.google.com/store/apps/details?id=net.hellcat.droiddev.ktool&hl=en
neerajganga said:
well that looks like a efs backup..
use ktool from market to restore ur efs backup
ktool:https:// play. google .com /store/apps/details?id=net.hellcat.droiddev.ktool&hl=en
Click to expand...
Click to collapse
ktool looks in the map sdcard, and on my phone the storrage is on sdcard0. How can I fix that?
Can I just change the name? Or can you create a new folder?
TheBigBen said:
ktool looks in the map sdcard, and on my phone the storrage is on sdcard0. How can I fix that?
Can I just change the name? Or can you create a new folder?
Click to expand...
Click to collapse
try copying it there

[Q] Efs problem

Hi all
I want to explain my problem, and first thing i tell you that i'm an italian guy so excuse me for my bad english..
So.
What's happend.
I have my Galaxy S3 (i9300) by 2 weeks and i like flash roms. The efs folder problem is not new to me 'cause i got this problem few weeks ago with a note 2 but all gone good thanks to a Backup of this folder.
This time is not going so well like last. The first thing i've done before flashing the 4.2.2 update was back up the efs folder.
I haven't back up with a program but i just copied it on my pc using root browser. Obviusly i checked if the files was good in the inside of the folder.
All ok, last night i flashed the update and obviusly (My fortune :') ) my efs was corrupted.
I simply copied my backed up efs folder on my pc on the storage and then replaced with the original "recreated by system" efs (imei 0049..)
This last time worked with my note 2. But with sgs3 seems the opposite.
I tried everything, just copying, replacing only nv_data.bin, trying to find the imei on hex editor..everything.
But i observed that when i copy the "right efs backed up" replacing the " recreated by system efs".. when i reboot i find another time a "recreated by system efs".. i know that 'cause when i copy and replace the efs the files on the inside shows the data (h/m/s) that is not the same as when i reboot..
So i ask to you, is there another solution?
I searched on the web few hours and all of the solutions explained on the web doesn't work for me..
So i ask to you:
1- Why my backed up efs folder is every time replaced by "system recreated efs"?
2- Is there a method for find the IMEI on the nv_data.bin so i can see if the back up i done is good and not corrupted?
3- Maybe doing a flashable zip of /efs folder will solve this?
4-Is there a method to write on nv_data.bin my IMEI?
Thanks to all, you are my unique chance to save my phone.
makavelitheboss said:
Hi all
I want to explain my problem, and first thing i tell you that i'm an italian guy so excuse me for my bad english..
So.
What's happend.
I have my Galaxy S3 (i9300) by 2 weeks and i like flash roms. The efs folder problem is not new to me 'cause i got this problem few weeks ago with a note 2 but all gone good thanks to a Backup of this folder.
This time is not going so well like last. The first thing i've done before flashing the 4.2.2 update was back up the efs folder.
I haven't back up with a program but i just copied it on my pc using root browser. Obviusly i checked if the files was good in the inside of the folder.
All ok, last night i flashed the update and obviusly (My fortune :') ) my efs was corrupted.
I simply copied my backed up efs folder on my pc on the storage and then replaced with the original "recreated by system" efs (imei 0049..)
This last time worked with my note 2. But with sgs3 seems the opposite.
I tried everything, just copying, replacing only nv_data.bin, trying to find the imei on hex editor..everything.
But i observed that when i copy the "right efs backed up" replacing the " recreated by system efs".. when i reboot i find another time a "recreated by system efs".. i know that 'cause when i copy and replace the efs the files on the inside shows the data (h/m/s) that is not the same as when i reboot..
So i ask to you, is there another solution?
I searched on the web few hours and all of the solutions explained on the web doesn't work for me..
So i ask to you:
1- Why my backed up efs folder is every time replaced by "system recreated efs"?
2- Is there a method for find the IMEI on the nv_data.bin so i can see if the back up i done is good and not corrupted?
3- Maybe doing a flashable zip of /efs folder will solve this?
4-Is there a method to write on nv_data.bin my IMEI?
Thanks to all, you are my unique chance to save my phone.
Click to expand...
Click to collapse
go through the link under my signature. this thread will be closed soon.
sriram231092 said:
go through the link under my signature. this thread will be closed soon.
Click to expand...
Click to collapse
I watched your thread and maybe my problem is that i have an efsv2 but my firmware is EMC2 (march 2013 rev2) so it can't read efsv2 folders.
I'm downloading an EMG4 firmware.
I will tell you if it works.
If it works i have to do you a favor!
Mod Edit
Please use the threads in the stickies
Thread closed
malybru
Forum Moderator

Categories

Resources