Open axet opened 9 months ago
Default ./service.sh starts zram with following arguments '-dr' which causing infinite log spamming:
https://paste.debian.net/1306119/
65: '[' -x /data/adb/vr25/bin/swapoff ']' 65: >/dev/null 65: which /data/adb/vr25/bin/swapoff 65: '[' -x /vendor/bin/swapoff ']' 66: eval /vendor/bin/swapoff /dev/block/zram0 66: /vendor/bin/swapoff /dev/block/zram0 66: echo '(i) Trying alternative: /vendor/bin/swapoff...' (i) Trying alternative: /vendor/bin/swapoff... 65: '[' -x /system/bin/swapoff ']' 66: eval /system/bin/swapoff /dev/block/zram0 66: /system/bin/swapoff /dev/block/zram0 66: echo '(i) Trying alternative: /system/bin/swapoff...' (i) Trying alternative: /system/bin/swapoff... 65: '[' -x /vendor/bin/swapoff ']' 66: eval /vendor/bin/swapoff /dev/block/zram0 66: /vendor/bin/swapoff /dev/block/zram0 66: echo '(i) Trying alternative: /vendor/bin/swapoff...' (i) Trying alternative: /vendor/bin/swapoff... 65: '[' -x /sbin/swapoff ']'
'zsm -n' works tho..
EDIT: that why I recommend have 'sleep 1' in a loop scripts to prevent 100% CPU load and battery drain.
Default ./service.sh starts zram with following arguments '-dr' which causing infinite log spamming:
https://paste.debian.net/1306119/
'zsm -n' works tho..
EDIT: that why I recommend have 'sleep 1' in a loop scripts to prevent 100% CPU load and battery drain.