blob: e21fd7cd19f8026797a5b712d124387e6877b943 [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
12# bugreportplus is an enhanced version of bugreport that provides a better
13# user interface (like displaying progress and allowing user to enter details).
14# It's typically triggered by the power button or developer settings.
15# TODO: remove the -p option when screenshot is taken by Shell
16service bugreportplus /system/bin/dumpstate -d -p -B -P -z \
17 -o /data/data/com.android.shell/files/bugreports/bugreport
18 class main
19 disabled
20 oneshot