Mark Salyzyn | 8c8130e | 2015-12-09 11:21:28 -0800 | [diff] [blame] | 1 | on 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 Cherry | 7415599 | 2015-08-14 13:01:23 -0700 | [diff] [blame] | 6 | service dumpstate /system/bin/dumpstate -s |
| 7 | class main |
| 8 | socket dumpstate stream 0660 shell log |
| 9 | disabled |
| 10 | oneshot |
Felipe Leme | 8d1d572 | 2015-12-14 12:46:00 -0800 | [diff] [blame] | 11 | |
| 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 |
| 16 | service 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 |
Michal Karpinski | b922d69 | 2015-12-15 17:26:14 +0000 | [diff] [blame^] | 21 | |
| 22 | # bugreportremote is an altered version of bugreport that is supposed to be |
| 23 | # called not by human user of the device, but by DevicePolicyManagerService only when the |
| 24 | # Device Owner explicitly requests it, and shared with the Device Policy Controller (DPC) app only |
| 25 | # if the user consents |
| 26 | # it will disable vibrations, screenshot taking and will not track progress or |
| 27 | # allow user to enter any details |
| 28 | service bugreportremote /system/bin/dumpstate -d -q -B -R -z \ |
| 29 | -o /data/data/com.android.shell/files/bugreports/remote/bugreport |
| 30 | class main |
| 31 | disabled |
| 32 | oneshot |