Since Android system partitions are read-only, you cannot simply delete the swap file. The best method to disable ZRAM permanently is using a . This ensures the change survives reboots and is systemless (it does not modify the actual system partition).
su echo 0 > /proc/sys/vm/swappiness
You must set the permissions correctly for the script to execute: