Your device must be rooted with Magisk (v20.4 or newer recommended).
Long-press the disable_zram.sh file in your file explorer and open its or Permissions menu. disable zram magisk
until [ "$(getprop sys.boot_completed)" = "1" ]; do sleep 1 done Your device must be rooted with Magisk (v20
Edit service.sh and insert the following commands: disable zram magisk
Ensure you have the Magisk Manager app updated to the latest version.
For those comfortable with the command line:
find /dev -name "zram*"