blob: a80da4ec552e667163715735dd7e6eaab92a26cc [file] [log] [blame]
Mark Salyzyn8c8130e2015-12-09 11:21:28 -08001on boot
2 # Allow bugreports access to eMMC 5.0 stats
3 chown root mount /sys/kernel/debug/mmc0/mmc0:0001/ext_csd
4 chmod 0440 /sys/kernel/debug/mmc0/mmc0:0001/ext_csd
5
Tom Cherry74155992015-08-14 13:01:23 -07006service dumpstate /system/bin/dumpstate -s
7 class main
8 socket dumpstate stream 0660 shell log
9 disabled
10 oneshot
Felipe Leme8d1d5722015-12-14 12:46:00 -080011
Felipe Leme2628e9e2016-04-12 16:36:51 -070012# dumpstatez generates a zipped bugreport but also uses a socket to print the file location once
13# it is finished.
Dieter Hsu105ad0c2020-09-29 15:23:33 +080014service dumpstatez /system/bin/dumpstate -S
Felipe Leme2628e9e2016-04-12 16:36:51 -070015 socket dumpstate stream 0660 shell log
16 class main
17 disabled
18 oneshot
Nandana Dutt235864b2019-01-22 12:10:16 +000019
20# bugreportd starts dumpstate binder service and makes it wait for a listener to connect.
21service bugreportd /system/bin/dumpstate -w
22 class main
23 disabled
24 oneshot