Yes - but it is because actual RAM and Swapspace are two very different things.[...] It is the same like with the ext2 partition that the device just can't show size properly [...] ?
Great work. Is there any way this would be able to work on a Droid A855?
Thank you.
I guess it should. You need zram/compcache enabled kernel and swap partition on the sdcard might be good.
Okay. I have the compcache ability. Do I have to have the SD parition? I think I might try to forgo that. The issue I have is that I don't think there is an open recovery script recovery for the A855. I use clockworkmod 2.5.0.2 which is a standard and works well.
How would I flash this or get this on my rom other than using OR process?
Finally, this is for extending internal RAM, right? Not the data partition for loading additional apps. I don't mind moving apps with Titanium to the SD card in .android_secure. That seems to work fine and be cleaner.
However I can't load larger application in memory of the A855. This seems to fit the bill and can be turned on and off appropriately.
Thank you for your comments.
You should be able to apply it with usual apply/choose update, it uses a common edify scripting language. Options that persist script from being deleted on rom update will probably not work on non-CM roms.
The other alternative is to extract swapconf script from zip and copy it manualy to /system/bin, set owner to root:shell and permissons to 755 (rwx-r-x-r-x).
Having separate swap partition could help but you can get by with swapping to sdcard instead. And yes, it extends available ram but is much slower than ram so you really shouldn't use to large swap file/partition for common tasks.
Thank you. That sounds like I can flash on Steel Droid which is CM 7 (2.3.7) derivative.
Sounds like a 30-100M might be okay. I read in another thread that they found that their 64M swap was only used to 30-42M.
I would think that swap partition and swap to sd card would be the same speed.
Is there any possibility of allowing me to test this for a different device that isn't on the compatible list? I like your work
Sent from my LG-E739 running PenberRom2 using Tapatalk 2
busybox mkswap swap_block_device size_in_KB
There is no "official" compatibility list I tested it only on Milestone 1 which I own, on CM7/9/10, where it worked.
Even though there is no license attached, you are welcome to use it and/or modifiy it to suit your needs
Note: one feature that was never finished is allowing custom size of used swap on partition so not all of it is used (ie, if you created 200MB parition but would like to use e.g. 50MB). Should be easy to implement
Code:busybox mkswap swap_block_device size_in_KB
Disable startup: swapconf 0 -> disables startup script
Enable startup: swapconf 1 -> enables startup script
Create swap file: swapconf mkf size_in_MB -> creates swap file of specified size (e.g. swapconf mkf 30 for 30MB swap file)
Remove swap file: swapconf rmf -> removes previously created swap file
Start swap: swapconf start p|f -> starts swapping to partition (p) or file (f)
Stop swap: swapconf stop -> stops swapping whereever it may be started
View swap status: swapconf status -> view status of swaps and memory
NOTE: Enabling both swapping to partition and to file is not supported.
If you have a dedicated swap partition on sdcard it will be used if enabled. Otherwise you need to configure swap file.