universal7885: Build fastcharge hidl

* https://review.lineageos.org/c/LineageOS/android_hardware_samsung/+/305684

Change-Id: Iec1a7faec24f0d5b4b1d2f1ef52b781368c5bd51
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
Francescodario Cuzzocrea 2020-12-24 16:18:14 +01:00 committed by roynatech2544
commit c5a166f294
8 changed files with 22 additions and 0 deletions

View file

@ -2,6 +2,9 @@ on init
# Disable vendor overlay
mount none /vendor/lost+found /vendor/overlay bind
# Fastcharge
chown system radio /sys/class/sec/switch/afc_disable
# ZRAM parameters
write /proc/sys/vm/page-cluster 0
write /proc/sys/vm/swappiness 100