Releases: chickendrop89/magisk-swapspace
Releases · chickendrop89/magisk-swapspace
2.2
Release 2.2
magisk-swapspace by chickendrop89 ⓒ GPLv3 license
usage: magiskswap <COMMAND> <VALUE> [OPTIONAL]
create <size: GB> [priority] [preserve]
- Creates swapfile and swaps-on
(?) [preserve] option enables the previously disabled swapfile
remove [preserve]
- Permanently swaps-off and deletes swapfile
(?) [preserve] option only disables it
status [swapon] [swapoff]
- Prints swapfile size and status
swappiness <0-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
(?) These commands are presistent across reboots (?)
Changelog
- Use better way of checking if boot completed
- Sped up the installation a bit
- Future-proof for newer magisk versions
- Add support for MMRL repo.json
⚠️ This version is deprecating older superuser managers (Magisk: 26) (KSU: 0.9.3) ⚠️
2.1
Release 2.1
magisk-swapspace by chickendrop89 ⓒ GPLv3 license
usage: magiskswap <COMMAND> <VALUE> [OPTIONAL]
create <size: GB> [priority] [preserve]
- Creates swapfile and swaps-on
(?) [preserve] option enables the previously disabled swapfile
remove [preserve]
- Permanently swaps-off and deletes swapfile
(?) [preserve] option only disables it
status [swapon] [swapoff]
- Prints swapfile size and status
swappiness <0-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
(?) These commands are presistent across reboots (?)
Changelog
- Fix some unexpected behaviour with the free space check
- Refactor some code to be POSIX compliant
- Fix wrong command ranges with
swappiness
2.0
Release 2.0
magisk-swapspace by chickendrop89 ⓒ GPLv3 license
usage: magiskswap <COMMAND> <VALUE> [OPTIONAL]
create <size: GB> [priority] [preserve]
- Creates swapfile and swaps-on
(?) [preserve] option enables the previously disabled swapfile
remove [preserve]
- Permanently swaps-off and deletes swapfile
(?) [preserve] option only disables it
status [swapon] [swapoff]
- Prints swapfile size and status
swappiness <0-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
(?) These commands are presistent across reboots (?)
Changelog
- Reword the
add
command tocrerate
- Reword the
keep
option topreserve
- Allow setting
swappiness
to0
for some reason (not recommended) - Fix wrong command ranges with
create
- Make the usage block more understandable
- Add a free space check
- Optimize the code
1.3
Release 1.3
- 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
- Upstream the MMT-EX template to 3.7
- Stop the module from unnecessarily modifying
swappiness
1.2
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
andswapoff
on demand (viastatus
command) - Add option to
keep
the swapfile on removal, effectively just disabling it - Fix mangled output and spelling mistake with the
status
command
1.1
Release 1.1
- Flash in Magisk 20.4+ or KernelSU 0.6.7+
(magisk-swapspace) by chickendrop89
usage: magiskswap <NAME> <VALUE> [OPTIONAL]
add <SIZE GB> [PRIORITY]
- Creates swapfile and swaps-on
remove - Removes swapfile and swaps-off
status - 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
Changelog:
- Add option to
reset
the kernel tunables to unmodified value - Add option to
show
the current and unmodified kernel tunable values - Fix errors when tuning
swappiness
andvfs-cache-pressure
- Make the usage block more readable
1.0
Release 1.0
- Flash in Magisk 20.4+ or KernelSU 0.6.7+
(magisk-swapspace) by chickendrop89
usage: magiskswap <NAME> <VALUE> [OPTIONAL]
add <SIZE GB> [PRIORITY]
- Creates swapfile and swaps-on
remove - Removes swapfile and swaps-off
status - Prints swapfile size and status
swappiness <1-200> <blank to reset>
- Controls how agressively Linux swaps anonymous memory
vfs-cache-pressure <1-∞> <blank to reset>
- Controls the tendency of the kernel to reclaim the memory
Changelog
- Initial release