2021-05-19 13:18:49 +08:00
|
|
|
on early-init
|
|
|
|
|
mount debugfs /sys/kernel/debug /sys/kernel/debug
|
|
|
|
|
|
2021-10-27 18:53:35 -07:00
|
|
|
# SJTAG
|
|
|
|
|
on init
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_ap/interface/access_lvl
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_ap/interface/auth
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_ap/interface/begin
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_ap/interface/dbg_domain
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_ap/interface/dbg_itvl
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_ap/interface/end
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_ap/interface/pubkey
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_gsa/interface/access_lvl
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_gsa/interface/auth
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_gsa/interface/begin
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_gsa/interface/dbg_domain
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_gsa/interface/dbg_itvl
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_gsa/interface/end
|
|
|
|
|
chown system system /sys/devices/platform/sjtag_gsa/interface/pubkey
|
2022-01-13 15:20:28 +08:00
|
|
|
chown system system /d/maxfg/fg_model
|
|
|
|
|
chown system system /d/maxfg/registers
|
|
|
|
|
chown system system /d/maxfg_base/fg_model
|
2022-06-19 01:15:36 +00:00
|
|
|
chown system system /d/maxfg_base/registers
|
|
|
|
|
chown system system /d/maxfg_flip/registers
|
|
|
|
|
chown system system /d/maxfg_flip/nv_registers
|
2021-10-27 18:53:35 -07:00
|
|
|
|
2021-05-19 13:18:49 +08:00
|
|
|
on property:vendor.debug.ramdump.force_crash=true
|
|
|
|
|
write /sys/kernel/pixel_debug/trigger "null"
|
|
|
|
|
|
|
|
|
|
on property:power.battery_input.suspended=true
|
|
|
|
|
write /sys/kernel/debug/google_charger/input_suspend 1
|
|
|
|
|
|
|
|
|
|
on property:power.battery_input.suspended=false
|
|
|
|
|
write /sys/kernel/debug/google_charger/input_suspend 0
|
|
|
|
|
|
|
|
|
|
# Bluetooth
|
|
|
|
|
on post-fs-data
|
|
|
|
|
chown bluetooth system /dev/logbuffer_btlpm
|
2021-12-08 22:55:33 +08:00
|
|
|
chown bluetooth system /dev/logbuffer_tty18
|