aboutsummaryrefslogtreecommitdiff
path: root/rootdir/init.mt6735.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/init.mt6735.rc')
-rwxr-xr-xrootdir/init.mt6735.rc9
1 files changed, 4 insertions, 5 deletions
diff --git a/rootdir/init.mt6735.rc b/rootdir/init.mt6735.rc
index 849b5a1..4171dcd 100755
--- a/rootdir/init.mt6735.rc
+++ b/rootdir/init.mt6735.rc
@@ -66,6 +66,10 @@ on fs
write /proc/bootprof "INIT:Mount_END"
on post-fs
+ write /sys/block/zram0/comp_algorithm lz4
+ swapon_all /fstab.swap
+ write /proc/sys/vm/page-cluster 0
+
# Support legacy paths
symlink /sdcard /storage/sdcard0
@@ -923,11 +927,6 @@ service PPLAgent /system/bin/ppl_agent
user system
group system cache
-service enableswap /system/bin/sh /enableswap.sh
- class late_start
- oneshot
- seclabel u:r:enableswap:s0
-
service agpsd /system/bin/mtk_agpsd
class main
socket agpsd stream 660 gps system