app2sd for spica
this is app2sd for spica, i'm using xjd1 firmware (eclair 2.1) + root_lkupdate_v3_pda
first, I will not responsible for any damage of your device...
you will need a partitioned sdcard, just use paragon partition manager to create fat32 and ext2 partition, create fat32 first then ext2
it's recommended that you use at least class 4 microsd...
here it is:
#mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl6 /system
#busybox df -h --> make sure /sdcard is on /dev/block//vold/179:1
#cd / --> go to root directory
#mount -t ext2 /dev/block/mmcblk0p2 /system/sd
#busybox df -h --> make sure /dev/block/mmcblk0p2 is mounted on /system/sd, if the mounting process fails you can't continue...
#cp * /system/sd/app <-- if you do fresh firmware update, skip this step
#rm -r app
#ln -s /system/sd/app /data/app
basically app2sd is ended here, but you will lost app2sd every phone reboots, so you'll need to edit install-recovery.sh, add "mount -t ext2 /dev/block/mmcblk0p2 /system/sd" in the last line...or simply download edited install-recovery.sh here: http://cid-c4b7e1a837cca944.skydrive...ll-recovery.sh
install-recovery.sh is meant to autorun app2sd when phone reboots...
#chmod 0777 etc
#mv /system/etc/install-recovery.sh /system/etc/install-recovery.old --> backup the oiriginal install-recovery.sh
prompt>adb push install-recovery.sh /system/etc --> push downloaded install-recovery.sh to spica, don't turn off phone if pushing install-recovery fails!!!
if you wan't to turn off your phone you'll need to type:
#mv /system/etc/install-recovery.old /system/etc/install-recovery.sh
to restore install-recovery.sh to the original one...then you can safely turn off your spica...
#chmod 0755 etc
#chmod 0755 etc/install-recovery.sh
reboot to check if it works...
I will try to answer any questions you may have about the tut here but be forewarned, I'm no guru when it comes to this stuff. Therefore, if a question is asked that I can't answer, it would be appreciated if someone else who can does so.
I successfully allocated 560mb for /data/app
this credited to mboisker
it seems live wallpaper not working for me after using app2sd, it always force closed
don't know the problem, maybe the microsd is causing the problem...