Disable Zram Magisk Patched -

Boost Your Android Performance: How to Disable zRAM via Magisk

Alex knew that simply turning off zRAM via a terminal would only last until the next reboot. To make it permanent, they turned to a Magisk-based approach:

Step 3:

Create service.sh (executes in background during boot): disable zram magisk

Warning

⚠️ : On low-RAM devices (4GB or less), disabling ZRAM will likely cause app reloads, launcher redraws, and potential system instability.

free -h

Before you proceed, keep the following hardware realities in mind: lululoid/LMKD-PSI-Activator - GitHub

Issue 1: ZRAM Re-enables After Reboot

id=disable_zram name=Disable ZRAM version=1.0 versionCode=1 author=YourName description=Disables ZRAM compression swap at boot Boost Your Android Performance: How to Disable zRAM

Zip the disable_zram folder (not its contents) and flash it via Magisk Manager → Modules → Install from storage. Reboot.