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
6 service dumpstate /system/bin/dumpstate -s
8 socket dumpstate stream 0660 shell log
12 # dumpstatez generates a zipped bugreport but also uses a socket to print the file location once
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
21 # bugreportplus is an enhanced version of bugreport that provides a better
22 # user interface (like displaying progress and allowing user to enter details).
23 # It's typically triggered by the power button or developer settings.
24 service bugreportplus /system/bin/dumpstate -d -B -P -z \
25 -o /data/user_de/0/com.android.shell/files/bugreports/bugreport
30 # bugreportremote is an altered version of bugreport that is supposed to be
31 # called not by human user of the device, but by DevicePolicyManagerService only when the
32 # Device Owner explicitly requests it, and shared with the Device Policy Controller (DPC) app only
33 # if the user consents
34 # it will disable vibrations, screenshot taking and will not track progress or
35 # allow user to enter any details
36 service bugreportremote /system/bin/dumpstate -d -q -B -R -z \
37 -o /data/user_de/0/com.android.shell/files/bugreports/remote/bugreport
42 # bugreportwear is a wearable version of bugreport that displays progress and takes early
44 service bugreportwear /system/bin/dumpstate -d -B -P -p -z \
45 -o /data/user_de/0/com.android.shell/files/bugreports/bugreport