Android debugging guide

How to Capture an Android Bugreport

The quality of the investigation is capped by the quality and timing of the capture. Preserve the original ZIP and note the incident time before opening an editor or deleting anything.

01

Capture the ZIP, not a copied terminal screen

On modern Android, adb bugreport produces a ZIP whose main text report is accompanied by extra files such as historical ANRs, tombstones and selected filesystem artifacts. Those side files may contain the evidence that never appears in normal logcat.

adb bugreport bugreport.zip
02

Capture close to the incident

Write down the approximate wall-clock time and what the user was doing. Log buffers rotate, services restart and a second failure can hide the first. For intermittent issues, a capture taken minutes after reproduction is substantially more useful than one taken the next day.

  • Keep timezone and device clock in mind when correlating external events.
  • If a reboot occurred, previous-boot pstore/ramoops may be more important than current logcat.
03

Preserve the original archive

Keep an untouched copy. If the report must be shared, create a redacted copy instead of editing the only original. Build fingerprint, kernel build, timestamps and complete crash context are frequently needed to match source and symbols.

Open related analyzerUnderstand bugreport structureTechnical references