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
|
2019-09-12 18:47:53 +00:00
|
|
|
setprop ro.vndk.version ${persist.sys.vndk}
|
2019-12-04 19:34:35 +00:00
|
|
|
export LD_PRELOAD :
|
2018-05-14 15:04:27 +00:00
|
|
|
|
2020-04-04 22:55:24 +00:00
|
|
|
on property:vold.decrypt=trigger_restart_framework
|
|
|
|
exec - root -- /system/bin/phh-on-data.sh
|
|
|
|
|
|
|
|
on early-boot
|
|
|
|
exec - root -- /system/bin/phh-on-data.sh
|
|
|
|
|
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-09-19 08:38:53 +00:00
|
|
|
chown wifi system /data/misc/wifi
|
2018-12-27 09:46:21 +00:00
|
|
|
chown system wifi /data/misc/wifi/hostapd.conf
|
2019-08-21 22:22:51 +00:00
|
|
|
|
|
|
|
on property:persist.sys.phh.mainkeys=*
|
|
|
|
setprop qemu.hw.mainkeys ${persist.sys.phh.mainkeys}
|
2020-02-21 17:02:41 +00:00
|
|
|
|
|
|
|
on property:persist.sys.phh.oppo.dt2w=*
|
2020-04-28 14:47:12 +00:00
|
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.oppo.dt2w"
|
2020-02-21 17:02:41 +00:00
|
|
|
|
|
|
|
on property:persist.sys.phh.oppo.gaming_mode=*
|
2020-04-28 14:47:12 +00:00
|
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.oppo.gaming_mode"
|
2020-03-01 17:16:53 +00:00
|
|
|
|
|
|
|
on property:persist.sys.phh.oppo.usbotg=*
|
2020-04-28 14:47:12 +00:00
|
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.oppo.usbotg"
|
2020-03-01 17:16:53 +00:00
|
|
|
|
2020-03-26 01:44:58 +00:00
|
|
|
on property:persist.sys.phh.xiaomi.dt2w=*
|
2020-04-28 14:47:12 +00:00
|
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.xiaomi.dt2w"
|
2020-05-03 16:05:30 +00:00
|
|
|
|
|
|
|
on property:persist.sys.phh.disable_audio_effects=*
|
|
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.disable_audio_effects"
|
|
|
|
|
|
|
|
on property:persist.sys.phh.caf.audio_policy=*
|
|
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.caf.audio_policy"
|
|
|
|
|
2020-06-01 17:29:55 +00:00
|
|
|
on property:persist.sys.phh.vsmart.dt2w=*
|
|
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.vsmart.dt2w"
|
|
|
|
|
2020-12-05 23:58:01 +00:00
|
|
|
on property:persist.sys.phh.backlight.scale=*
|
|
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.backlight.scale"
|
|
|
|
|
2021-12-02 09:52:32 +00:00
|
|
|
on property:persist.sys.phh.disable_soundvolume_effect=*
|
|
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.disable_soundvolume_effect"
|
|
|
|
|
2020-09-27 18:00:44 +00:00
|
|
|
on property:ro.sf.lcd_density=*
|
2020-10-04 07:00:36 +00:00
|
|
|
restart surfaceflinger
|
2020-10-02 18:04:12 +00:00
|
|
|
|
|
|
|
on property:persist.sys.phh.disable_a2dp_offload=0
|
|
|
|
setprop persist.sys.phh.disable_a2dp_offload false
|
|
|
|
|
|
|
|
on property:persist.sys.phh.disable_a2dp_offload=1
|
|
|
|
setprop persist.sys.phh.disable_a2dp_offload true
|
|
|
|
|
|
|
|
on property:persist.sys.phh.disable_a2dp_offload=*
|
|
|
|
setprop persist.bluetooth.bluetooth_audio_hal.disabled ${persist.sys.phh.disable_a2dp_offload}
|
2020-12-29 19:26:59 +00:00
|
|
|
|
|
|
|
on property:init.svc.ril-proxy=stopped && property:persist.sys.phh.restart_ril=true
|
|
|
|
start ril-proxy
|
|
|
|
|
|
|
|
on property:init.svc.vendor.ril-daemon-mtk=stopped && property:persist.sys.phh.restart_ril=true
|
|
|
|
start vendor.ril-daemon-mtk
|
|
|
|
|
|
|
|
on property:persist.sys.phh.restart_ril=true
|
|
|
|
restart ril-proxy
|
|
|
|
restart vendor.qcrild
|
|
|
|
restart vendor.qcrild2
|
|
|
|
restart vendor.ril-daemon-mtk
|
2022-02-06 15:17:37 +00:00
|
|
|
|
|
|
|
on property:vendor.debug.sf.latch_unsignaled=1
|
|
|
|
setprop debug.sf.latch_unsignaled 1
|
2022-02-22 21:47:55 +00:00
|
|
|
|
|
|
|
on property:sys.phh.uninstall-ota=true
|
|
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/rm /metadata/phh/img
|