i did same steps , and i checked free in terminal and comes swap with 0
anyhelp?
i use [ROM] AOKP (4.0.4) b40 | KERNEL 2.6.35.10
3 things could be wrong:
-permissions: try with chmod 755 /etc/init.d/07swapon (777 is OK too)
-group: chgrp shell /etc/init.d/11link2sd
-interpreter path: change the first line of 07swapon from #!/system/bin/sh to #!/system/xbin/ash (only good for AOKP)
But I believe only the first is really relevant. If it still doesn't work (after rebooting, obviously) make sure you do have a swap partition in the SD, and it's a primary one, not logical.
lars1216 said:
is it possible to have my sd card used for 3 seperate things? link2sd, swap and data? or cant link2sd and swap work on the same sd card?
Make 3 primary partitions, and make sure the fat16/32 one for data is first and the one for link2sd is the SECOND one, either of type ext2 or ext3, ext4 is not recommended for now.