Branch zuma from gs201 sha1 9009acf5c217f553b45ea82aa0702607229f0347 cp/pantah/ripcurrent cp/gs201/zuma Bug: 229340586 Change-Id: Ia312c20dae892ead9bf06728b4ef5c0c260ad045 Signed-off-by: Aaron Ding <aaronding@google.com>
36 lines
1.6 KiB
Text
36 lines
1.6 KiB
Text
on early-init
|
|
mount debugfs /sys/kernel/debug /sys/kernel/debug
|
|
|
|
# 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
|
|
chown system system /d/maxfg/fg_model
|
|
chown system system /d/maxfg/registers
|
|
chown system system /d/maxfg_base/fg_model
|
|
|
|
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
|
|
chown bluetooth system /dev/logbuffer_tty18
|