db80eb1c21
The previous set values are not compatible over HI6250 platform. They were causing thermal issues. This differentiation is needed to avoid the "hot-pan" occurrence. Tested on ANE-LX1.
22 lines
819 B
Plaintext
22 lines
819 B
Plaintext
on post-fs
|
|
exec - root -- /system/bin/vndk-detect
|
|
exec - root -- /system/bin/rw-system.sh
|
|
mount none /system/etc/usb_audio_policy_configuration.xml /vendor/etc/usb_audio_policy_configuration.xml bind
|
|
export LD_CONFIG_FILE /system/etc/ld.config.${persist.sys.vndk}.txt
|
|
|
|
service phh_service_cleaner /system/bin/service-cleaner.sh
|
|
oneshot
|
|
disabled
|
|
|
|
on property:sys.boot_completed=1
|
|
start phh_service_cleaner
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/bootctl mark-boot-successful
|
|
|
|
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
|