17

If I have bug reports enabled in dev options and I take a bugreport from the power button menu, where are these reports saved?

I see there is an option to share it, but I want to pull it directly through adb for analysis.

arcyqwerty
  • 780
  • 2
  • 11
  • 28

5 Answers5

11

As of Android 10, at least for Pixel devices, bugreports taken from the device are available in /bugreports - even without root access! You can get the names of the available bug reports with

adb shell ls /bugreports/

then get the file you want with adb pull, e.g.

adb pull /bugreports/bugreport-foobar-lotsofnumbers-date.zip
Jan Schejbal
  • 211
  • 2
  • 2
9

Bugreports are stored in /data/data/com.android.shell/files/bugreports.

You can't access the file directly without root access.

Firelord
  • 25,528
  • 21
  • 129
  • 295
arcyqwerty
  • 780
  • 2
  • 11
  • 28
6

In my case, they are in /data/user_de/0/com.android.shell/files/bugreports/

rds
  • 624
  • 3
  • 10
  • 19
4

You can connect your device to your PC, and use android SDK tools adb, then go to the directory and in your command line use adb shell bugreport > bugreport.txt Your bugreport will output.

Zero
  • 141
  • 1
2

If you want to view the bug reports on your PC, run adb from a directory where you want to save the bugreports with

adb pull /data/data/com.android.shell/files/bugreports

But this may require root permission.

pevik
  • 308
  • 1
  • 2
  • 18
user241636
  • 21
  • 1