Adding a swap partition

anon(538593)

Well-known member
Oct 28, 2011
136
13
0
Visit site
So I'm interested in adding a swap partition to my NS, but I'm a little confused as to whether the internal storage can be partitioned. I know I can make one in CWM, but I'd rather not have to make an sd-ext partition as well. So does anyone know how I could make a swap partition in the internal memory?
 

anon(538593)

Well-known member
Oct 28, 2011
136
13
0
Visit site
So I've researched out how to create a working swap partition for a Nexus S, unfortunately, I don't think it could be implemented without a team effort (At least, I couldn't do it, and it doesn't seem like there's much interest).

Anyways, to make a swap partition, you have to use LVM to make the partitions, which means your ROM has to support it: [HOWTO] "Partitioning" your Nexus S using LVM - xda-developers

Additionally, the kernel would have to have swap support, and the init scripts would have to be set to enable it.

Maybe if some of us who want swap could get together and get it to work?