mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
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>
53 lines
1,021 B
Text
53 lines
1,021 B
Text
on init
|
|
# Disable vendor overlay
|
|
mount none /vendor/lost+found /vendor/overlay bind
|
|
|
|
# ZRAM parameters
|
|
write /proc/sys/vm/page-cluster 0
|
|
write /proc/sys/vm/swappiness 100
|
|
|
|
on property:sys.boot_completed=1
|
|
swapon_all /system/etc/fstab.enableswap
|
|
|
|
service ExynosHWCServiceTW /system/bin/true
|
|
oneshot
|
|
disabled
|
|
|
|
service ExynosHWCConfigs /system/bin/true
|
|
oneshot
|
|
disabled
|
|
|
|
service argos-daemon /system/bin/true
|
|
oneshot
|
|
disabled
|
|
|
|
service sec-miscpower-2-0 /system/bin/true
|
|
oneshot
|
|
disabled
|
|
|
|
service snapserv /system/bin/true
|
|
oneshot
|
|
disabled
|
|
|
|
service snap_utility_32 /system/bin/true
|
|
oneshot
|
|
disabled
|
|
|
|
service snap_utility_64 /system/bin/true
|
|
oneshot
|
|
disabled
|
|
|
|
service vaultkeeper /system/bin/true
|
|
oneshot
|
|
disabled
|
|
|
|
service vaultkeeper_hal /system/bin/true
|
|
oneshot
|
|
disabled
|
|
|
|
service charger /system/bin/charger
|
|
class charger
|
|
user system
|
|
group system graphics input
|
|
capabilities SYS_BOOT
|
|
seclabel u:r:charger:s0
|