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 | |
Felipe Leme | 2628e9e | 2016-04-12 16:36:51 -0700 | [diff] [blame] | 12 | # dumpstatez generates a zipped bugreport but also uses a socket to print the file location once |
| 13 | # it is finished. |
| 14 | service dumpstatez /system/bin/dumpstate -S -d -z \ |
| 15 | -o /data/user_de/0/com.android.shell/files/bugreports/bugreport |
| 16 | socket dumpstate stream 0660 shell log |
| 17 | class main |
| 18 | disabled |
| 19 | oneshot |