i read up on this and since noone made a post with that info yet i just start one.taken most info from: http://code.google.com/p/android-roms/wiki/A2SDi like how smooth the Ecotox runs, but i also like the new slatedroid 1.3 which offers 500MB for applications. maybe developers could look into this. would be nice to have it prebuild in custom roms instead of tweaking it afterwards.Apps2sdwhat you need is a rooted eken with working wifi connection and the android-sdk.my sd-card is partitioned in 3 partitions in that order:fat32, ext3, swapchange any mmcblk0p2 and mmcblk0p3 to the right partition in case you have set the partitions in different order. my eken has the ip 192.168.0.21 on my wifi/lanalso the A2SD wiki states you might run into problems with partitions larger than 1.5GB, mine is 2GB and i dont have any however.goto the tools directory of the android-sdk and start the adb connection
then we root on the device, make the directory for the Apps2sd, set permissions and mount it there
the df command is to check if everything went smooth and should show something similar to this
now to copy the data over to the sd-card, remove it from the device memory and set the symbolic links so the system finds the files at the new location.without the chmod you might get an error like "application can not be installed on the device"
now putting the mount on every boot (change /userinit.sh to /usbgadget.sh on slatedroid)
Swaponjust put these lines in your /userinit.sh or /usbgadget.sh (i used root explorers "open in text editor" for that)
reboot and its all working!
please reply with results so i can tweak it in case it fails, thanks
Code:
adb connect 192.168.0.21:5555adb shell
Code:
su-confirm on devicemkdir A2SDchown 1000:1000 A2SDmount /dev/block/mmcblk0p2 /A2SD
Code:
df----------Filesystem 1K-blocks Used Available Use% Mounted on/dev/root 150528 76324 74204 51% /tmpfs 50736 16 50720 0% /devtmpfs 4096 0 4096 0% /sqlite_stmt_journals/dev/block/mtdblock8 153600 37592 116008 24% /data/dev/block/mtdblock9 102400 4616 97784 5% /cache/dev/block/mtdblock11 1678336 9688 1668648 1% /UserSpace/dev/block/loop0 1507540 16 1507524 0% /LocalDisk/dev/block//vold/179:1 13264712 3739088 9525624 28% /sdcard/dev/block/mmcblk0p2 2035638 8239 1922174 0% /A2SD/ ----------
Code:
cd datacp -r app /A2SDcp -r dalvik-cache /A2SDrm -r apprm -r dalvik-cacheln -s /A2SD/app appln -s /A2SD/dalvik-cache dalvik-cachecd /A2SDchmod 777 appchmod 777 dalvik-cache
Code:
echo "mount /dev/block/mmcblk0p2 /A2SD" >> /userinit.sh
Code:
swapon /dev/block/mmcblk0p3echo 15 > /proc/sys/vm/swappiness sysctl -w vm.swappiness=40
Code:
reboot