Disable Zram Magisk [upd] Jun 2026
Look for SwapTotal . It should read 0 kB . Alternatively, check free -m .
Create a folder named disable_zram containing the following structure: disable zram magisk
If you’ve noticed your rooted Android device feeling sluggish despite having plenty of physical RAM, Look for SwapTotal
#!/system/bin/sh # Stop zram if active and disable it if [ -e /sys/block/zram0/reset ]; then echo 1 > /sys/block/zram0/reset 2>/dev/null || true fi for d in /sys/block/zram*; do [ -e "$d/disksize" ] && echo 0 > "$d/disksize" 2>/dev/null || true done # Unload zram module if possible /sbin/modprobe -r zram 2>/dev/null || /system/bin/rmmod zram 2>/dev/null || true then echo 1 >
Most modern Android devices rely on ZRAM to keep multiple apps alive in the background without killing them aggressively.