[Q] Corrupted nv_data.bin - Galaxy S I9000 Q&A, Help & Troubleshooting

I corrupted my nv_data...
Flashing efsbackup didnt help...
A friend friend from the same country as me uploaded his nvdata, but i dont know how to apply it, ADB says device not found, debugging is on, and im using Win 7 x64 SP1.

If you have a complete backup of your /efs folder, a good way to restore it is: With root explorer, go into backuped /efs and multiselect and copy every file. Go to actual /efs folder and paste files in. Reboot, and things should be good now.

fps249 said:
If you have a complete backup of your /efs folder, a good way to restore it is: With root explorer, go into backuped /efs and multiselect and copy every file. Go to actual /efs folder and paste files in. Reboot, and things should be good now.
Click to expand...
Click to collapse
I have only nvdata.
And root explorer says no permission, although i enabled System RW.

8ax said:
I have only nvdata.
And root explorer says no permission, although i enabled System RW.
Click to expand...
Click to collapse
try long clicking the file, select permisions, make a note of whats ticked, then select them all, press ok, make sure the root "/" is mounted as R/W and try again. If sucessful change the permisions back to what they were... Hope that helps

Related

Can't get R/W permission on system folder...?

I am in need of read/write access to my system folder. I am simply trying to copy some ringtones and add a boot animation.
I have SGS tools and ran the r/w script, which allowed me to VIEW the folder with Droid Explorer, however I am unable to actually copy TO the system folder or its subfolders.
Any ideas on what I'm doing wrong?
EDIT - I've also tried to push the files to the phone via ADB, but I get an error telling me "Failed: Operation Not Permitted".
EDIT x2 - I've also got Root Explorer installed on the phone and it showed R/W access, but again, I can't get any files pushed to the phone.
Did you allow sgs tools to get a root permission?
Sent from my SGH-I897 using XDA App
Did you try fixing permissions through cwm recovery?
try root explorer. and double check superuser permissions
goob1284 said:
Did you allow sgs tools to get a root permission?
Sent from my SGH-I897 using XDA App
Click to expand...
Click to collapse
Yup.
Did you try fixing permissions through cwm recovery?
Click to expand...
Click to collapse
I noticed a section for both "mount /system" and also permissions... Both: DONE.
try root explorer. and double check superuser permissions
Click to expand...
Click to collapse
Done & Done...
I've still got no access to R/W in any of the system folders/subs. Any ideas?
I am having the same problem with root explorer..
I have fixed permissions in CWM
It had worked once but now it wont mount r/rw in system folder. Press the icon and it does nothing.
Superuser permission in SGS tools, Root exploer all show active
Any ideas?
Anyone else have any ideas? I'm totally puzzled at this point.
I have sort of fixed the problem..
I go into SGS tools and run the batch file to give r/rw permissions, then I can mount r/rw in system folder, but I loose this each time I reboot and I think when I connect USB..
but it works for the purpose I needed!
I think I've found a work around (or maybe the way it was SUPPOSED to work)...
I rebooted the phone in recovery. Then, selected "mount /system". Then I went to Advanced and "Fix Permissions" (don't know if I had do, just did).
THEN - I was able to FINALLY push the files to the correct folders! I tried it using ADB commands and also with Droid Explorer - Both worked great.
I don't know if the phone was always supposed to be in recovery to do it, but it worked!

quickky question

was wondering..needed a quick answer and havnt gotten one on the serepindipity q/a and it probably is a general question re: most roms
can i install serendipity while unlocked on tmobile? or will it mess up the unlock
thanks
EDIT got the answer ty
chef2 said:
was wondering..needed a quick answer and havnt gotten one on the serepindipity q/a and it probably is a general question re: most roms
can i install serendipity while unlocked on tmobile? or will it mess up the unlock
thanks
EDIT got the answer ty
Click to expand...
Click to collapse
I have an unlocked captivate and have flashed several roms and it remains unlocked. I always take out the sim card when I flash. But also, I would make a backup of you efs folder because those files ar what determine it's unlocked status. Use Root Explorer to make a copy of the efs folder and save it to disk so you never lose it.
where is the efs folder, he is not rooted and was using the serendipity package installer to root me. can it be copied with a non root explorer?
chef2 said:
where is the efs folder, he is not rooted and was using the serendipity package installer to root me. can it be copied with a non root explorer?
Click to expand...
Click to collapse
It's worth rooting to get the efs folder first (search SuperOneClick to root), then get something like Root Explorer form the market (Root explorer is about $4 i think, Astro works similar to Root explorer but is free).
Then, in the main directory of the phone you will find the folder named efs.
jack man said:
It's worth rooting to get the efs folder first (search SuperOneClick to root), then get something like Root Explorer form the market (Root explorer is about $4 i think, Astro works similar to Root explorer but is free).
Then, in the main directory of the phone you will find the folder named efs.
Click to expand...
Click to collapse
If you root it, you can also use ADB from the Android SDK to pull the /efs folder to a safe location using these commands:
adb root
adb pull /efs
(this will put the /efs folder in the same folder as the adb program on your computer)
If that doesn't work, you can do this:
adb reboot recovery
adb root
adb shell
mkdir /mnt/sdcard/efsbak
cp /efs /mnt/sdcard/efsbak
Then just hook your phone up and copy the "efsbak" folder on your Internal SD card to a safe place.

:( EFS folder empty = 12mb of 12 used! How to restore unzipped backup?

Hi all..
So Im pretty new at flashing androids, been using ubuntu for years and am quite familiar with the terminal as well as computers in general. I made the silly mistake of not doing a complete backup of my phone with CWM before flashing with CyanogenMod 9 and now my EFS folder is "empty" but still with Zero free space... giving the "usual" errors":
1) Corrupt or incorrect ( FAKE) IMEI number. (International Mobile Equipment Identity)
2) No Network and Signal ( calls, sms and mobile Internet not working)
3) No base Band or Unknown Baseband
4) Sim card lock missing
as described in the [A.I.O. Helpline] My Android Solutions.
CWM seems to have created a copy/paste backup of my EFS folder (not .zip and not .img, just a folder) on sdcard/efs/backup but the EFS folder is read only and root manager cant paste into it. I've read that deleting the EFS folder should recreate it, I tried in terminal with
Code:
rm -r /efs/*
and got the reply:
Code:
rm failed for /efs/lost+found, Directory not empty
How do I go about restoring the EFS folder?
Finally figured out how to copy/paste into the read only EFS folder! I have searched probably about a million threads, all say to "just copy paste" into the efs folder... but never how to do it when its locked because of read only permissions.
I think im one step closer.. but still not quite there yet.
The way to get write permissions is simply to open terminal and get root access and unmount the efs directory using:
Code:
umount /efs
After that, I could open the efs directory in Root explorer and mount it as R/W. Automatically, I get some default files there created by the system which I can delete and then I could copy/paste my backup into the efs directory. Bang, mobile network running, but baseband version is still unknown. Also, my IMEI number is the generic one, not my unique one
The problem now, is that on reboot my EFS directory goes blank again... anyone know how to continue from here?
Snarlster said:
The problem now, is that on reboot my EFS directory goes blank again... anyone know how to continue from here?
Click to expand...
Click to collapse
Solution:- Reason is you had Jumped from GB to JB (should be on ICS before JB), so now you need to
1) Download Root Explorer from Play Store and use it to
2) Search you internal SD card for sdcard/backup/efs
3) Copy nv_data.bin, nv_data.bin.md5 and nv.log paste them into /efs in your Phone memory
4) Reboot to get back your original IMEI
If it gets lost after reboot
Remedies for those who have a efs backup
If you Have a Backup and you want to restore it, this is one method Here or you can use the restore function in the app that you used to back it up
If restoring the efs folder or you have a nv_data.bin backup but if you write nv_data.bin or .nv_data.bak it's being deleted on every boot, than follow this [GUIDE] how to get IMEI to stick across reboots to make it stick.
BUT try this method first
Copy Paste EFS folder with root explorer, after paste , power down phone and reboot into recovery and wipe cache before rebooting....this worked for some
xsenman said:
Solution:- Reason is you had Jumped from GB to JB (should be on ICS before JB), so now you need to
1) Download Root Explorer from Play Store and use it to
2) Search you internal SD card for sdcard/backup/efs
3) Copy nv_data.bin, nv_data.bin.md5 and nv.log paste them into /efs in your Phone memory
4) Reboot to get back your original IMEI
If it gets lost after reboot
Remedies for those who have a efs backup
If you Have a Backup and you want to restore it, this is one method Here or you can use the restore function in the app that you used to back it up
If restoring the efs folder or you have a nv_data.bin backup but if you write nv_data.bin or .nv_data.bak it's being deleted on every boot, than follow this [GUIDE] how to get IMEI to stick across reboots to make it stick.
BUT try this method first
Copy Paste EFS folder with root explorer, after paste , power down phone and reboot into recovery and wipe cache before rebooting....this worked for some
Click to expand...
Click to collapse
Thank you, I had read each thread linking from those threads but it was good for me to do it again!
Flashing the EFS folder with Heimdall gave me the same results as copy/paste, setting the ownership/permissions made no difference in both cases, always empty on reboot.
FINALLY, these are the steps I took to get my phone "working".
1: Odin re-installed the stock I9000JVJV9_OJVJV9_JXJV6.tar file found on sammobile.com as well as the Pit file found on 4shared
2: This gave me an error on bootup... something about "failed to mount dbdata", this was solved with Odin as well by selecting only PDA and using the dbdata.rfs.tar found on hotfile.com.
After this, my phone booted up with the generic imei, a very welcomed change to the previous no imei thats been bothering me! Also, my baseband is showing, the EFS directory is full of files and google play is working... and fortunately, my carrier doesnt seem to care about the generic imei
I'm still going to get my imei back, but first things first! Its time to do some backing up!
Current plan is:
1: Install ClockworkMod
2: BACKUP
3: replace nv_data.bin with the backed up one.
4: reboot / see if my IMEI number is back.
5: BACKUP
6: install CyanogenMod
I hope this helpes someone down the road.. dont be shy on letting me know if my hours of pain helped you!
And... one more thing, my phone is Samsung Galaxy S GT-I9000
Thanks again for pointing me to the right direction
did you only used the PDA included on the I9000JVJV9_OJVJV9_JXJV6.tar file? and how did you use teh dbdata.rfs.tar? thanks.
efs Folder Contents
Hi Guys,
I am hoping you can help me with a problem.
I have a brand new GalaxyS2 i9100, which is on ICS 4.0.4 IMM76XWLPW - XXLQ6 Baseband version, Kernel 3.0.15-1056084 [email protected]#3(SMP PREEMPT Wed Aug 22 2:55:24 KST 2012). The phone is not rooted, but what I did was make a copy of my efs folder to my PC, obviously incorrectly, using My Phone Explorer.
I thought it was just a matter of uploading the folder to my PC and it could be used in an emergency, I thought it would just copy the folder.
What I have discovered, is that all the contents of the efs folder are now on my PC and the efs folder in my phone is empty!!!!
I am now unable to get the files, back into my phones storage.
When I enter *#06# into my phone, the IMEI number shows up and is correct.
I also have a copy of the original efs folder, on my External SD Card.
I have not changed anything else on the phone, other than removing the efs folder contents to my PC. Is there a way, to get all the contents back into my phones efs folder without having to "Root," using say....Emulator or something?
Would a "Hard Reset" on this unrooted stock phone, restore the efs folder to factory settings??
Thank You.
dixielee said:
Hi Guys,
I am hoping you can help me with a problem.
I have a brand new GalaxyS2 i9100, which is on ICS 4.0.4 IMM76XWLPW - XXLQ6 Baseband version, Kernel 3.0.15-1056084 [email protected]#3(SMP PREEMPT Wed Aug 22 2:55:24 KST 2012). The phone is not rooted, but what I did was make a copy of my efs folder to my PC, obviously incorrectly, using My Phone Explorer.
I thought it was just a matter of uploading the folder to my PC and it could be used in an emergency, I thought it would just copy the folder.
What I have discovered, is that all the contents of the efs folder are now on my PC and the efs folder in my phone is empty!!!!
I am now unable to get the files, back into my phones storage.
When I enter *#06# into my phone, the IMEI number shows up and is correct.
I also have a copy of the original efs folder, on my External SD Card.
I have not changed anything else on the phone, other than removing the efs folder contents to my PC. Is there a way, to get all the contents back into my phones efs folder without having to "Root," using say....Emulator or something?
Would a "Hard Reset" on this unrooted stock phone, restore the efs folder to factory settings??
Thank You.
Click to expand...
Click to collapse
I would be careful with that, if you have your efs folder on your sd card, I think it would be better to copy/paste them with root explorer back before reboot... though this is just a guess. In any case, since you have the folder on your PC, then at least you have the backup you need if you get into serious trouble.
If it did reset, please tell us about it in case someone else needs this info later
efs file restore
Thank you so much. After days of not having calling and texting functions available from a corrupted efs folder, who would have thought that a simple copy and paste of the backed up efs to the system would help greatly?
Hey, this worked for me, but I still can't connect to some carriers.

[Q] where is /data/preload folder on my phone?

Hey fellas,
I need to copy a file into folder /data/preload/ .
I cannot find this folder using the root explorer. Where is it?
I know it exists (or should exist) since system gives me an error message while applying OTA updates saying that a file is missing in that folder.
I have got the file now and want to put it back.
my phone:
HTC One M7,
rooted
stock recovery
s-on
bootloader unlocked/tampered
geek654 said:
Hey fellas,
I need to copy a file into folder /data/preload/ .
I cannot find this folder using the root explorer. Where is it?
I know it exists (or should exist) since system gives me an error message while applying OTA updates saying that a file is missing in that folder.
I have got the file now and want to put it back.
my phone:
HTC One M7,
rooted
stock recovery
s-on
bootloader unlocked/tampered
Click to expand...
Click to collapse
Does anyone know?
Thanks
Could it be in the system partition?
How can I access system partition?
In TWRP recovery I see an option named "mount" when I select it only the "data" in ticked.
Should I tick "system" as well, and it will mount the system partition? If so, then i can probably use the file browser of TWRP, find the data/preload folder and copy the missing file back in place. right?
download root browser, there is a free edition from play store as soon as you open it you will see the data folder on the list, its not in system, that's a separate folder.
you will need to copy the preload folder and its contents to that folder and change the permissions of the folder and contents.
you need to be rooted to use it.
Seanie280672 said:
download root browser, there is a free edition from play store as soon as you open it you will see the data folder on the list, its not in system, that's a separate folder.
you will need to copy the preload folder and its contents to that folder and change the permissions of the folder and contents.
you need to be rooted to use it.
Click to expand...
Click to collapse
Thanks Seanie.
So by default that folder does not exist? That's why I couldn't find it then!
I created the folder via root browser. What should be the permission for folder/apk file ?
now the preload folder permissions are rwsrwsrwt and apk file permissions are rw-rw----
does it make sense or should I change permission of filder and file both to 777 or 666 ?
geek654 said:
Thanks Seanie.
So by default that folder does not exist? That's why I couldn't find it then!
I created the folder via root browser. What should be the permission for folder/apk file ?
now the preload folder permissions are rwsrwsrwt and apk file permissions are rw-rw----
does it make sense or should I change permission of filder and file both to 777 or 666 ?
Click to expand...
Click to collapse
It does initially exist, but if you've been flashing custom rom's and recoveries, then when you clear data it gets deleted, set permissions to rw-r-r- for the apk's etc and rwxr-xr-x for the folder

Transferring data, etc. to replacement phone

So i had to get my N6 replaced becasue the top speaker was all wacked out, so i got the new one and hope someone can help me (i know there will be ) first i'm trying to copy the titanium backup files, i keep getting an error on certain files saying "cannot copy, device has stopped responding or has been disconnected" when clearly neither of those things have happened. I am on stock rooted & unencrypted. I tried searching but found no answer to this..
Just created an update.zip but when i look on the computer, i cannot see the file..
how are you trying to copy the backup files?
I usually copy it to an online storage (dropbox/box etc). Make sure you download and restore it to your new phone before wiping/returning your old phone.
I'll try dropbox, what i did was had it create an update.zip which contains apps+data so i could flash it in recovery on the new phone. I can see the file with root explorer on the sdcard, but when i plug it in to the computer i don't see the file..
I'm trying to drag the tibu folder to dropbox and it won't do anything...
ryanallaire said:
I'll try dropbox, what i did was had it create an update.zip which contains apps+data so i could flash it in recovery on the new phone. I can see the file with root explorer on the sdcard, but when i plug it in to the computer i don't see the file..
Click to expand...
Click to collapse
Are read/write permissions set on the file/directory?
Try moving it to your phones "Downloads" directory and see if it shows on your computer? Enable "view hidden file types".
rwxrwx-- the only part not checked is where it says others..
Edit: I tried checking the boxes next to others and it said permissions could not be changed..
blyndfyre said:
Are read/write permissions set on the file/directory?
Try moving it to your phones "Downloads" directory and see if it shows on your computer? Enable "view hidden file types".
Click to expand...
Click to collapse
I moved it to downloads, backups, with view hidden file types and still nada...
Ok i have it syncing to dropbox now, i 've never used dropbox to sync data so i did some reading and found out how. What i couldn't find was after it syncs to dropbox, do i restore apps+data to the replacement phone?

Categories

Resources