[SOLVED] Mounting /efs to pc - Galaxy S I9000 Q&A, Help & Troubleshooting

Hi.
I've made a terrible mistake on the /efs partition. I have nandroid backups, but none of them contains the /efs partition I think(if it contains, that would be the best way to fix it, pls tell me).
So, I'd like to mount my /efs to PC, and try to recover the manuelly deleted nv_data.jpc file, which could be my saviour.
Is it possible? If it is, please help me out telling me how.

Solved, but not by mounting it. I managed to recver the nv_data.bin from the corrupted .bak of it.

Related

[Q] Best way to backup /sdcard?

Nandroid backup works for all the NAND partitions on the Bionic, dumping them to /sdcard-ext where they can be safely archived offline.
I'm looking for a way to perform a backup of the Bionic' internal sdcard (/sdcard). When the phone is fully booted, I can use tar, cpio, cp -Rp and so forth, but aren't some of the folders "live"? Is there a way to add something to the Nandroid backup script which executes a tar command for /sdcard?
Thanks!
Unless I'm missing something here; Can't you just plug it into your computer and copy the contents of your sd card?

HELP!!! Link2Sd not working after recovery

I had a lot of CWM backups on my phone.
so I thought Ill do one nandroid backup of my current phone and then recover each of the previous nandroid backups to see what they actually are.
Then when I recovered my latest backub (done two hours ago) Link to SD doesnt seem to work. Before I was doing this whole CWM backup check everything was fine.
All the settings are as they should be too. only the apps linked are not theyre anymore. The apps only moved to SD are still available.
When I open Link2Sd and choose FAT partition (cause thats what my 2nd partition is) it says:
"Mount script error. Mount scipt cannot be created.
mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: Device or resource busy."
Can someone pls help me. I really need my phone to be properly working again when I go to work tomorrow.
You can see more details about my phone in the signature, if thats of any help.
Flash other Rom and Wipe all
Robbang said:
I had a lot of CWM backups on my phone.
so I thought Ill do one nandroid backup of my current phone and then recover each of the previous nandroid backups to see what they actually are.
Then when I recovered my latest backub (done two hours ago) Link to SD doesnt seem to work. Before I was doing this whole CWM backup check everything was fine.
All the settings are as they should be too. only the apps linked are not theyre anymore. The apps only moved to SD are still available.
When I open Link2Sd and choose FAT partition (cause thats what my 2nd partition is) it says:
"Mount script error. Mount scipt cannot be created.
mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: Device or resource busy."
Can someone pls help me. I really need my phone to be properly working again when I go to work tomorrow.
You can see more details about my phone in the signature, if thats of any help.
Click to expand...
Click to collapse
FAT32 won't work.
You need an ext partition
Sent from my GT-S5830 using XDA App
I guess u do this on stock? Stock cant backup ext-sd....
regards,
•ƒγяύs ργяσ™• eBuddy XMS pin: A24D43B9
[menulis dari xda app yg cilabi pakop]
MegaGalan said:
Flash other Rom and Wipe all
Click to expand...
Click to collapse
I flashed another rom, it still didnt work. now im back on my cyanogenmod frozen ace team. it still shows the same error when im trying to use link2sd
thanks for the reply
pyronia said:
I guess u do this on stock? Stock cant backup ext-sd....
thx, no i used it on the infinity rom. is theyre a chance of me bringing back my aps and files on my ext???
or should i just create new partitions and loose it all. this would really suck...
Click to expand...
Click to collapse
Your second partition has to be EXT. Try using a terminal with the following command:
Code:
tune2fs -l /dev/block/mmcblk0p1
It should tell you bad magic number as it doesn't understand FAT32
Code:
tune2fs -l /dev/block/mmcblk0p2
Should work as mmcblk0p2 is the second mountpoint for the EXT partition used by A2SD, S2E and Link2SD.
Your nandroid backups are on your FAT32 partition -- back that up to your computer (copy all files or make a disk image). Then repartition the SD card using CWM, turn off phone, now copy your files back to the new FAT32 (which will now be partition 1). Now reinstall SD card, boot in CWM and restore
iandol said:
Your second partition has to be EXT. Try using a terminal with the following command:
Code:
tune2fs -l /dev/block/mmcblk0p1
It should tell you bad magic number as it doesn't understand FAT32
Code:
tune2fs -l /dev/block/mmcblk0p2
Should work as mmcblk0p2 is the second mountpoint for the EXT partition used by A2SD, S2E and Link2SD.
Your nandroid backups are on your FAT32 partition -- back that up to your computer (copy all files or make a disk image). Then repartition the SD card using CWM, turn off phone, now copy your files back to the new FAT32 (which will now be partition 1). Now reinstall SD card, boot in CWM and restore
Click to expand...
Click to collapse
Thx man.I will try this a soon I got time.
Sent from my GT-S5830 using XDA App
Robbang said:
I had a lot of CWM backups on my phone.
so I thought Ill do one nandroid backup of my current phone and then recover each of the previous nandroid backups to see what they actually are.
Then when I recovered my latest backub (done two hours ago) Link to SD doesnt seem to work. Before I was doing this whole CWM backup check everything was fine.
All the settings are as they should be too. only the apps linked are not theyre anymore. The apps only moved to SD are still available.
When I open Link2Sd and choose FAT partition (cause thats what my 2nd partition is) it says:
"Mount script error. Mount scipt cannot be created.
mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: Device or resource busy."
Can someone pls help me. I really need my phone to be properly working again when I go to work tomorrow.
You can see more details about my phone in the signature, if thats of any help.
Click to expand...
Click to collapse
I've had the same problem. I noticed that CMW restore has formatted the sd-ext in ext4, and stock kernel does not support EXT4.
Solutions:
_ flash CF-root
or
_ take your sd, put it in a pc with an adapter, backup sd-ext, format it in ext2, restore the content
link2sd not installed
why link2sd cant installed in my phone after reboot?:crying:
tmz83 said:
I've had the same problem. I noticed that CMW restore has formatted the sd-ext in ext4, and stock kernel does not support EXT4.
Solutions:
_ flash CF-root
or
_ take your sd, put it in a pc with an adapter, backup sd-ext, format it in ext2, restore the content
Click to expand...
Click to collapse
Is this real ?
1) Why CWM restore formats sd-ext? Why is it not limited to work on internal memory? -> If this is true should be a good thing to remove always SD when using CWm... oh... no... this is not possible... If I remove it how can a restore be done from an sd ?
2) Reformatting sd-ext to original ext2 (compatible with stock ROMs) and restoring content (copu\paste) is s working solution to fix this problemi? Anybody can confirm this ?
thank...
I had the same problem, link2sd could not recognize the partition after a nandroid backup.
I'm using a HTC Explorer and made a backup on the stock rom, I'm new to this whole rooting business and I was hoping someone could help me get things back to the way it was before the backup.
Thanks in advance
K55V said:
I had the same problem, link2sd could not recognize the partition after a nandroid backup.
I'm using a HTC Explorer and made a backup on the stock rom, I'm new to this whole rooting business and I was hoping someone could help me get things back to the way it was before the backup.
Thanks in advance
Click to expand...
Click to collapse
On CM7 the 05mountsd script in the init.d folder caused this problem for me. Simply delete it and reboot.
Sent from my GT-S5830
I had that problem. I deleted the file /dev/block/vold/179:2 , rebooted & recreated mount script ....it's fixed. Plz take a backup before trying this.
ramoer said:
I had that problem. I deleted the file /dev/block/vold/179:2 , rebooted & recreated mount script ....it's fixed. Plz take a backup before trying this.
Click to expand...
Click to collapse
Working great. Thanks for the tricks...

[Q] Making a New EFS STL3 file

Dear Fellows,
After a bad upgrade in a SGS I9000b, my phone does not recognize your own imei (bad efs).
I had made a backup of my EFS using only RootExplorer, and now I can´t change files permissions.
My system uses /dev/block/stl3 to mount /efs
I cannot change /efs (not have permissions to change when its mounted and if I umount folder, changes aren´t saved).
I need a solution to make a new stl3 using my efs backup to be used on ODIN.
It is possible to build a new efs using my data (imei number, bluetooth mac, etc,etc) of Samsung Galaxy I9000b?
Thanks for any help.

error backing up image /sdcard/.android_secure

Every time I tried a nandroid backup , always come up with error while backing up image of
/sdcard/.android_secure
Can some one help to solve it? Now I can't do a nandroid backup from recovery.
The file (.android_secure) also can't be delete or change the permission.
TIA.

Please help nv_data.bin efs partition

Hi please someone help upload nv_data.bin or /efs backup.
/efs partition was corrupt can not recover without this file
Unfortunately, doing such things are illegal, because technically you would using another person's IMEI.
"As your flesh bears the sigil....your name is that....of a recusant."

Categories

Resources