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 |