Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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.
Bugreports are stored in /data/data/com.android.shell/files/bugreports.
You can't access the file directly without root access.
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.
adb shell bugreport > bugreport.txt
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.
In my case, they are in /data/user_de/0/com.android.shell/files/bugreports/
Required, but never shown
3 years, 1 month ago
2 months ago