Enable swap on CM10 / PACman ROMs

view story

http://forum.xda-developers.com – How to enable swap: 1. In recovery and flash this zip -> Enable_Swap_CM_JB_PAC.zip 2. Reboot How does this work: This creates a swap loop device in /system partition ( as there is lot of space to spare in /system and read-write is faster than SD card ) and enables it. Expert Tips: 1. To change amount of swap, edit /data/property/persist.swap.mb file in zip 2. To change swapiness value, edit /data/local/userinit.d/swap file in zip How to check if it works? In Android Terminal (or adb shell), type "free" (without qoutes) How to uninstall: Just delete /data/property/persist.swap (HowTos)