Free Range Lettuce
New member
Today i got a little bored and decided to try to set up some swap space on my sdcard for my g1 to see if i can get a little better running!
I started with formatting some of my card to linux-swap but then i kept running into problems with "invalid argument" commands in the terminal!
So how i actually set it up was i mounted my sdcard as read/write with droidsans and went into my terminal and typed:
dd if=/dev/zero of=/sdcard/swapfile bs=1024 count=(however many mb of swap you want multiplied by 1024 *example* if i want 200mb of swap i would times that by 1024 and then i would type that value right after the count)
it will hang for like 45 seconds and then it will work so be patient then type
mkswap /sdcard/swapfile
then type:
swapon /sdcard/swapfile
then check to see if it worked by typing:
free
*this has sped up my application opening time and when i delete alot of messages it no longer freezes
*use at least double the ram that the phone has for your swap but no more than 2gb
*i have edited my /etc/fstab to try to get it to boot the swap at startup but it doesnt work if any of you want to work with me on that email me at [email protected]
*if you want to know how to change fonts on the g1 go to my blog at: http://jerrysfreakinblog.blogspot.com/
I started with formatting some of my card to linux-swap but then i kept running into problems with "invalid argument" commands in the terminal!
So how i actually set it up was i mounted my sdcard as read/write with droidsans and went into my terminal and typed:
dd if=/dev/zero of=/sdcard/swapfile bs=1024 count=(however many mb of swap you want multiplied by 1024 *example* if i want 200mb of swap i would times that by 1024 and then i would type that value right after the count)
it will hang for like 45 seconds and then it will work so be patient then type
mkswap /sdcard/swapfile
then type:
swapon /sdcard/swapfile
then check to see if it worked by typing:
free
*this has sped up my application opening time and when i delete alot of messages it no longer freezes
*use at least double the ram that the phone has for your swap but no more than 2gb
*i have edited my /etc/fstab to try to get it to boot the swap at startup but it doesnt work if any of you want to work with me on that email me at [email protected]
*if you want to know how to change fonts on the g1 go to my blog at: http://jerrysfreakinblog.blogspot.com/