2018-02-16 21:41:03 +00:00
|
|
|
on post-fs
|
|
|
|
exec - root -- /system/bin/vndk-detect
|
2018-04-10 16:33:33 +00:00
|
|
|
exec - root -- /system/bin/rw-system.sh
|
2018-03-31 22:21:03 +00:00
|
|
|
mount none /system/etc/usb_audio_policy_configuration.xml /vendor/etc/usb_audio_policy_configuration.xml bind
|
2018-02-16 21:41:03 +00:00
|
|
|
export LD_CONFIG_FILE /system/etc/ld.config.${persist.sys.vndk}.txt
|
2018-05-14 15:04:27 +00:00
|
|
|
|
2018-08-18 03:38:58 +00:00
|
|
|
# HACK to fix Bluetooth audio on custom roms
|
|
|
|
mount none /vendor/lost+found /vendor/etc/audio bind
|
|
|
|
|
2018-07-18 21:46:34 +00:00
|
|
|
service phh_on_boot /system/bin/phh-on-boot.sh
|
2018-05-14 19:32:37 +00:00
|
|
|
oneshot
|
2018-05-14 15:04:27 +00:00
|
|
|
disabled
|
|
|
|
|
|
|
|
on property:sys.boot_completed=1
|
2018-07-18 21:46:34 +00:00
|
|
|
start phh_on_boot
|
2018-07-09 06:29:30 +00:00
|
|
|
|
|
|
|
on property:QC.HI6250=1
|
|
|
|
write /sys/class/hw_power/charger/direct_charger/iin_thermal 2750
|
|
|
|
write /sys/class/hw_power/charger/charge_data/iin_thermal 1000
|
|
|
|
|
|
|
|
on property:QC.HI36x0=1
|
|
|
|
write /sys/class/hw_power/charger/direct_charger/iin_thermal 4000
|
|
|
|
write /sys/class/hw_power/charger/charge_data/iin_thermal 2000
|