blob: d1b7f8c88b4949d1098ed3e0bcc3685b5f0dd751 [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.
Felipe Leme6834ea72015-12-21 10:35:43 -080015service bugreportplus /system/bin/dumpstate -d -B -P -z \
Felipe Leme8d1d5722015-12-14 12:46:00 -080016 -o /data/data/com.android.shell/files/bugreports/bugreport
17 class main
18 disabled
19 oneshot
Michal Karpinskib922d692015-12-15 17:26:14 +000020
21# bugreportremote is an altered version of bugreport that is supposed to be
22# called not by human user of the device, but by DevicePolicyManagerService only when the
23# Device Owner explicitly requests it, and shared with the Device Policy Controller (DPC) app only
24# if the user consents
25# it will disable vibrations, screenshot taking and will not track progress or
26# allow user to enter any details
27service bugreportremote /system/bin/dumpstate -d -q -B -R -z \
28 -o /data/data/com.android.shell/files/bugreports/remote/bugreport
29 class main
30 disabled
31 oneshot