An open API service indexing awesome lists of open source software.

https://github.com/chickendrop89/magisk-swapspace

This module allows for creating a persistent swap space on android
https://github.com/chickendrop89/magisk-swapspace

android kernelsu linux magisk magisk-module memory-management pagefile swap swapfile

Last synced: 6 months ago
JSON representation

This module allows for creating a persistent swap space on android

Awesome Lists containing this project

README

          

# magisk-swapspace

This module allows for creating a persistent swap space on android

## Installation:
* [Download the module archive here](https://github.com/chickendrop89/magisk-swapspace/releases/latest/download/magiskswapspace.zip)
* Flash it in magisk app, or using command line
* Run `magiskswap` in your preferred terminal app (as a root user)

## Usage:
```
magisk-swapspace by chickendrop89 ⓒ GPLv3 license
usage: magiskswap [OPTIONAL]

create [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

() These commands are presistent across reboots ()
```

## ⚠️ Warning ⚠️
- Using on-disk `swap` on flash chips is **not recomended** and could result in highly reduced lifespan.

## Requirements
- Magisk 27.O+
- KernelSU v0.9.4+