Disable Zram Magisk New! Jun 2026

While several custom optimization modules (like FDE.AI or LKT ) include options to toggle zRAM, creating a dedicated systemless script ensures no other hidden tweaks interfere with your kernel settings.

Open the and navigate to the Modules tab on the bottom right. Tap Install from storage at the top of the screen.

If you are trying to decide which method is best for your specific device model, tell me: does your phone have? What Android version / custom ROM are you running?

Alternatively, check the sysfs interface directly:

Alternatively, you can run free -m in the terminal. The "Swap" row should display 0 across total, used, and free columns. Potential Side Effects and Troubleshooting disable zram magisk

, a compressed RAM-based swap device. While designed to improve multitasking on low-memory devices, many enthusiasts choose to disable it on modern smartphones using

Once your device restarts, you must verify if the Magisk module or script worked correctly. Open your terminal emulator app (e.g., ).

Even with the right module or script, things don't always go smoothly. Here are solutions to common problems:

Carefully look for any line that mentions /dev/block/zram0 or has zram and swap as its file system type. Delete or comment out that specific line (you can comment it out by placing a # at the start of the line). While several custom optimization modules (like FDE

Inside the Magisk App, go to Modules -> "Install from storage" and select the downloaded zip. Reboot: Restart your device to apply changes. Method 2: Create a Custom Magisk Module (Best for Control)

If cat /proc/swaps shows zRAM is still active after using Method 2, your device's kernel might be recreating the swap space late in the boot cycle. To fix this, open your script and increase the sleep timer from 5 to 15 or 20 seconds to give the system more time to settle before executing the swapoff command.

Tap on the tab located in the bottom navigation bar. Tap the Install from storage button at the top.

: If your device has 4GB of RAM or less, disabling zRAM will significantly reduce multitasking capabilities and likely lead to aggressive app killing by the system. Storage Protection If you are trying to decide which method

May provide a slight boost by reducing the CPU cycles needed to compress/decompress data. Multitasking

: Modifying kernel memory parameters can lead to boot loops if done incorrectly. Always have a backup of your boot image or a way to disable Magisk modules via Safe Mode.

Long-press the disable_zram.sh file in your root file manager and open its .

Change the permissions to (or check the boxes for Owner: Read/Write/Execute, Group: Read/Execute, Others: Read/Execute). Save the changes and reboot your phone. Method 2: Disabling zRAM via Magisk Modules

Are you of legal drinking age within your country of residence?

Drink responsibly.

By entering this website, you accept the Terms & Conditions and Privacy Policy. Our website uses cookies to improve your user experience. Click here to find out more about how we use cookies.