STRP ✗ ZRAM is a module that provides additional ZRAM (compressed RAM) partition options ranging from 1 GB up to 15 GB on your Android device.
- Requirements
- About ZRAM and Swap
- How to Determine ZRAM or Swap Availability
- Frequently Asked Questions (FAQs)
- Opening the ZRAM Configuration Menu
- License
- Join the Community
- Magisk 23.0+
- Latest Busybox or Brutal
- Android 7.0+
ZRAM compresses unused apps within system RAM, allowing the system to swap less needed processes to the ZRAM partition for faster access at a later time, instead of terminating them. The value you set determines the percentage of RAM allocated to the ZRAM partition.
Swap uses a portion of the SD card as virtual RAM. The phone attempts to keep as much data in RAM as possible until it's full, then starts using the swap partition on the SD card. It moves inactive memory blocks to the SD card to free up RAM for active processes.
There are two methods:
Open a terminal emulator (e.g., Termux) and type:
su -c cat /proc/swaps
This command checks if your device has any Swap Partition.
If your phone/ROM features "RAM PLUS," you can change ZRAM between 1 and 15 GB.
The storage consumption depends on the option you choose inside the Menu.
Yes, it's safe.
Just use Turn OFF
inside the Menu.
This is normal; give your phone some time to adapt to the new Swap Partition.
Try using a lower ZRAM size trough the Menu.
You can use any partition-checking application, like DiskSpace, DiskInfo, or run the following command:
su -c cat /proc/meminfo
Look for SwapTotal
and SwapFree
to see if the allocated swap space has changed.
To open the ZRAM Configuration Menu:
-
Make sure you have a rooted Android device with SuperSU or a similar root management tool installed.
-
Open a terminal emulator or ADB shell on your device.
-
Run the following command:
su -c strp-zram
-
Grant superuser (root) access when prompted.
-
The ZRAM Configuration Menu will appear, allowing you to configure your ZRAM size or disable ZRAM.
-
Follow the on-screen instructions to make your selection and configure ZRAM.
-
After making your choice, the script will inform you of the successful configuration and may prompt you to reboot your device for changes to take effect.
-
You can exit the menu by selecting "Exit."
This menu is intended for advanced users with root access to their Android device and a basic understanding of system configurations.
This project is licensed under the GNU General Public License v3.0. For details, please see the LICENSE file.
For discussions and support, join the STRP ✗ UNIVERSE.
STAY FAST ⚡️