Skip to content

Releases: chickendrop89/magisk-swapspace

2.2

02 Dec 18:26
8b7b195
Compare
Choose a tag to compare

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) ⚠️

GitHub Releases SourceForge

2.1

27 Aug 00:57
49c16a1
Compare
Choose a tag to compare
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

GitHub Releases SourceForge

2.0

19 Jul 17:44
21f58e7
Compare
Choose a tag to compare
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 to crerate
  • Reword the keep option to preserve
  • Allow setting swappiness to 0 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

GitHub Releases SourceForge

1.3

09 Jul 15:53
Compare
Choose a tag to compare
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

23 Dec 20:47
36e7b87
Compare
Choose a tag to compare
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 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

1.1

30 Nov 18:49
f1e087a
Compare
Choose a tag to compare
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 and vfs-cache-pressure
  • Make the usage block more readable

1.0

26 Nov 12:38
e97b06f
Compare
Choose a tag to compare
1.0 Pre-release
Pre-release

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