Quote:
Originally Posted by zaclimon
Hmm I need some help here. I deleted my backup of efs.tar and it seems that my /efs is mounted yaffs2 or mtd. So for result I can't flash CM7 anymore as I got an error about the script. The script can detect efs in ext4 or rfs but not in yaffs2. I know this is stupid I didin't flashed efs but I forgot to do it so.
|
If the efs data exists in yaffs2 format, you can retrieve it.
Get an adb shell with the new kernel running in recovery and do this:
mount /sdcard
mount /efs
cd /efs
tar -c -f /sdcard/efs.tar .
cd /
umount /efs
Now, if you want to back it up again in rfs format, you would go back to an RFS based recovery and do something like this:
mount /system
/system/bin/newfs_msdos /dev/block/stl3
mount -t rfs /dev/block/stl3 /efs
cd /efs
tar -x -f /sdcard/efs.tar
cd /
umount /efs
dd if=/dev/block/stl3 of=/sdcard/efs.img
|