How do I enable zRAM with the highest priority in Android persistently?
1
vote
0
answers
1825
views
I want to know how to use the
/dev/block/zram0
in full power, but I can't apply the command swapon -p 32767 /dev/block/zram0
as it returns this:
> swapon: Couldn't swapon '/dev/block/zram0': Device or resource busy
So how do I modify the actual zram's line I have in fstab.qcom
to change priority?
> /dev/block/zram0 none
> swap defaults
> zramsize=3221223823,max_comp_streams=8,zram_backingdev_size=512M
Asked by Mohammed Mehdi TBER
(71 rep)
Aug 21, 2021, 05:51 PM