aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.rc
diff options
context:
space:
mode:
authorDiogo Ferreira <diogo@underdev.org>2017-05-05 11:29:53 +0100
committerdd3boh <dade.garberi@gmail.com>2017-08-21 22:47:47 +0200
commit14a45bb4c2d006522f20d22f5785a0e23e8a70e8 (patch)
tree8ae7fd7495234bddaaf610d5fb8d12cd7a1cf1c6 /rootdir/etc/init.qcom.rc
parentc83d53f494c38ca809a8e2771018c965a5ea2ebc (diff)
z2_plus: rootdir: Enable ZRAM for msm8996 targets
Check the accompanying kernel patch for more info and also https://source.android.com/devices/tech/debug/jank_jitter#page_cache. Change-Id: I69b9dabf2100701a55f99056facfe6978c60cfb6 Signed-off-by: dd3boh <dade.garberi@gmail.com>
Diffstat (limited to 'rootdir/etc/init.qcom.rc')
-rwxr-xr-xrootdir/etc/init.qcom.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 9fda9e8..49268aa 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -37,6 +37,9 @@ on early-init
mount debugfs debugfs /sys/kernel/debug
chmod 0755 /sys/kernel/debug
+ # Setup zram options
+ write /sys/block/zram0/comp_algorithm lz4
+
on init
# Set permissions for persist partition