mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sky
synced 2026-02-01 09:40:11 +00:00
Revert "sky: rootdir: Switch to lz4 for zram"
This reverts commit ab77e0a684.
This commit is contained in:
@@ -49,8 +49,11 @@ function configure_zram_parameters() {
|
||||
let zRamSizeMB=4096
|
||||
fi
|
||||
|
||||
# And enable lz4 zram compression for all targets.
|
||||
echo lz4 > /sys/block/zram0/comp_algorithm
|
||||
# And enable lz4 zram compression for Go targets.
|
||||
low_ram=`getprop ro.config.low_ram`
|
||||
if [ "$low_ram" == "true" ]; then
|
||||
echo lz4 > /sys/block/zram0/comp_algorithm
|
||||
fi
|
||||
|
||||
if [ -f /sys/block/zram0/disksize ]; then
|
||||
if [ -f /sys/block/zram0/use_dedup ]; then
|
||||
|
||||
Reference in New Issue
Block a user