Without zRAM acting as a cushion, Android's Low Memory Killer (LMK) will become much more aggressive. Apps running in the background may restart from scratch when you switch back to them, rather than resuming where you left off.
#!/system/bin/sh # Wait for the system to fully boot and stabilize sleep 30 # Disable the zRAM swap device swapoff /dev/block/zram0 # Reset the zRAM disk size to zero echo 1 > /sys/block/zram0/reset Use code with caution. Step 3: Set Correct Permissions disable zram magisk