Skip to content

1.2

Compare
Choose a tag to compare
@chickendrop89 chickendrop89 released this 23 Dec 20:47
· 29 commits to master since this release
36e7b87

Release 1.2

  • Flash in Magisk 20.4+ or KernelSU 0.6.7+
magisk-swapspace by chickendrop89
usage: magiskswap <NAME> <VALUE> [OPTIONAL]

add <size in GB> [priority] [keep]
  - Creates swapfile and swaps-on

remove [keep]   
  - Permanently swaps-off and deletes swapfile

status [swapon] [swapoff]
  - Prints swapfile size and status

swappiness <1-200> [show] [reset]
  - Controls how agressively Linux swaps anonymous memory

vfs-cache-pressure <1-∞> [show] [reset] 
  - Controls the tendency of the kernel to reclaim the memory

Notes:
- [remove keep, add keep]: 
 Instead of deleting, swap-off permanently but keep the file,
 Later, use "magiskswap add keep" to use the old swapfile         

Changelog

  • Add option to swapon and swapoff on demand (via status command)
  • Add option to keep the swapfile on removal, effectively just disabling it
  • Fix mangled output and spelling mistake with the status command