mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 04:25:33 -04:00
universal7885: Enable zram on boot_complete
This help to save ~50ms in boot time and bootanim shown time Bug: 62957152 Test: Taimen boot and swap look normal after boot Change-Id: Idda2cc2aafca2f98f3c1faf4d1a08c7ae3203483 Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
6d69224d10
commit
3fc74a62de
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ on init
|
||||||
write /proc/sys/vm/page-cluster 0
|
write /proc/sys/vm/page-cluster 0
|
||||||
write /proc/sys/vm/swappiness 100
|
write /proc/sys/vm/swappiness 100
|
||||||
|
|
||||||
on fs
|
on property:sys.boot_completed=1
|
||||||
swapon_all /system/etc/fstab.enableswap
|
swapon_all /system/etc/fstab.enableswap
|
||||||
|
|
||||||
service ExynosHWCServiceTW /system/bin/true
|
service ExynosHWCServiceTW /system/bin/true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue