Zram Guardian
Developed by @Java_nih_deks
Zram Guardian is an automated root utility that configures ZRAM parameters and active memory management on Android. It initializes disk size, swap, and compression algorithms on boot while safeguarding prior states without editing system partitions directly.
Technical Details
The utility configures ZRAM disk sizing, compression algorithms, and swap initialization during boot based on automatic environment detection and kernel safety limits. A background guardian daemon monitors memory pressure to terminate cached processes automatically when available resources drop. Integrated state validation protects stability by executing automatic rollbacks if setup verification detects an unsupported kernel configuration.
Core Features of Zram Guardian
- Boot configuration: Sets disk size, compression algorithms, and swap initialization on boot using automated environment detection.
- Guardian daemon: Monitors system memory pressure continuously to automatically terminate cached processes and free resources.
- State safety: Creates complete configuration backups before changes and triggers automatic rollbacks if verification checks fail.
- CLI management: Provides dedicated terminal commands to view status, adjust compression algorithms, and resize allocations.
Compatibility & Requirements
This module requires root access and is compatible with Magisk and KernelSU.