Quote:
Originally Posted by the_ozyrys View Post
Well, why not just use:

Code:
umount /cache
mount -o rw,remount -t rootfs /
rmdir /cache
mkdir /data/cache
ln -s /data/cache /cache
It's much easier and should be faster (no extra abstraction layer),
and works perfectly for me - using this /cache size is only limited
by /data free space.
Thanks , this method worked. The OP's method somehow didn't work. When trying to download cordy it was still throwing error.

A related issue: Do you know how to solve the incompatibility issue which comes up when trying to install applications like Lookout Mobile Security, Android System Info for Galaxy S?

Maybe edit something in build.prop, to fool the android market in thinking that it is compatible? [not sure why it would be incompatible though for SGS]

EDIT: Guess , I spoke too soon. It downloaded, but said package invalid. So, finally changing the OP's script by one line, it finally worked.

Code:
#!/system/bin/sh

# 
# stratosk - 27/07/2011
#
# Remount /cache partition with a larger one (64MB)

# create a file 64 MB
dd if=/dev/zero of=/data/local/cache.img bs=1024 count=65536

# create ext4 filesystem 
mke2fs -F -T ext4 /data/local/cache.img

umount /dev/block/stl11

# mount 
losetup /dev/block/loop7 /data/local/cache.img
mount -t ext4 /dev/block/loop7 /cache

chown 1000.2001 /cache
chmod 770 /cache