1st let's see how much free space i'm having:
#
df -h | grep data
/dev/block/mtdblock5 147.6M 76.7M 70.9M 52% /data
#
du -sk /data/data/* | sort -rn | head
18641 /data/data/com.navngo.igo.javaclient
14911 /data/data/com.opera.browser
6756 /data/data/com.google.android.gm
5194 /data/data/com.android.providers.contacts
3661 /data/data/com.htc.launcher
3083 /data/data/com.htc.googlereader
1276 /data/data/com.swype.android.inputmethod
1172 /data/data/com.android.settings
1144 /data/data/com.htc.android.mail
1084 /data/data/and.blogger
Ok so it seems that iGO and Opera is eating 32 megs together. I'll leave data/data/com.google.android.gm alone since it's gmail and I want to be more responsive by keeping its files to nand(i only have a class 4 card). Lets get to work. 1st we need to make a folder on sd-ext where to keep the files.
#
mkdir /system/sd/.moreapps First we move them:
mv /data/data/com.navngo.igo.javaclient /system/sd/.moreapps/com.navngo.igo.javaclient
# Then we symlink them:
#
#
Now we repeat the operation for opera:
Move:
#
Symlink:
ln -s /system/sd/.moreapps/com.opera.browser /data/data/com.opera.browser
Now let's check again my free space.
#
/dev/block/mtdblock5 147.6M 51.8M 95.9M 35% /data
Now let's check if we made the symlinking right
#
lrwxrwxrwx 1 0 0 38 Feb 22 05:46 /data/data/com.opera.browser -> /system/sd/.moreapps/com.opera.browser
Yap all seems right. Opera and iGO are working at same speed, i freed up some space. Everyone's happy.
The advantage of this method is that you can choose what to move to sd-ext you don't have to have all to sd-ext.
Now make sure you don't name your folder in /system/sd "data" since a2sd script will move back on nand all its contents.
This method is recommend for GPS software, Browsers, Games, some apps you got from market. It's best to leave system apps there to avoid FCs or slowdowns. If anything goes wrong with your app after this you can always move them back.
1st you delete the symlink (rm /data/data/whatevar) then move it back
Thank you mate!!!
VastaaPoistaYou're really doing very good work with all that stuff!! ;) Congratulations!!!
hi,
VastaaPoistaim sorry to sound noob but could you how you do it?i mean is it in ADB?or terminal emulator?and how do you input | ? and last question is what would happen if i decide to backup those applications say with my backup pro/or my backup root? would they backup and restore as normal or should i undo everything and then backup.
thanks as it looks like great method to free up some space is just sad that i dont know how its done :)
hello,
VastaaPoistaI got the following error when creating the moreapps folder:
¨can't create directory '/system/sd/.moreapps': Read-only file system¨
how can this be solved?
...and I got
VastaaPoistafailed on '/data/data/com.navngo.igo.javaclient' - Cross-device link