Capture a Full Android Bug Report Using Developer Options and ADB

14 min read Learn step‑by‑step how to generate a complete Android bug report via the UI and ADB, what the report contains, and how to share it safely with developers. September 27, 2026 11:00 How to Capture a Full Android Bug Report Using Developer Options and ADB

When an app crashes or a system feature misbehaves, developers often ask for a bug report. A bug report bundles logs, system state, and a snapshot of the device at the moment the problem occurred. Getting a clean, complete report can be tricky if you don’t know the exact steps. This tutorial shows you how to generate a full bug report directly from the Android UI and, for power users, via adb. You’ll also learn what the report contains, how to protect your privacy, and how to troubleshoot common hiccups.

Why a Bug Report Matters

A bug report is more than just a crash stack trace. It includes:

  • System logs (logcat) from the last few minutes.
  • Battery stats, memory usage, and running processes.
  • Device configuration (build number, Android version, OEM customizations).
  • Screen captures and UI hierarchy snapshots (useful for UI‑related bugs).

Because it aggregates many data sources, a single bug report can give developers the context they need to reproduce and fix the issue without asking you for dozens of separate logs.

Before You Start

  • Charge your device to at least 50 % – generating a report can take 30 seconds to a minute and drains a bit of power.
  • Connect to Wi‑Fi if you plan to transfer the report via the network; cellular uploads may be large.
  • If you intend to use adb, install the Android SDK Platform‑Tools on your PC/Mac and enable USB debugging (covered in step 2).
  • Be aware that a bug report may contain personal data (e.g., recent notifications, clipboard content). Review the .zip before sharing if privacy is a concern.

Method 1 – Using the Built‑In UI (No PC Required)

This method works on Android 10 and newer, though the exact menu wording can differ slightly between OEM skins.

Step 1 – Enable Developer Options (if not already enabled)

  1. Open Settings.
  2. Scroll to About phone (or About device).
  3. Tap Build number seven times. You’ll see a toast: “You are now a developer!”.
  4. Return to the main Settings screen; a new entry Developer options appears.

Why? The bug‑report feature lives inside Developer options, which are hidden by default to prevent accidental misuse.

Step 2 – Turn on “Take bug report” permission

  1. Open Settings > System > Advanced > Developer options. (On some devices it may be Settings > Developer options directly.)
  2. Scroll down to the Bug report section.
  3. Select Take bug report. You’ll be prompted to choose a mode:
    • Full bug report – captures everything (default, recommended).
    • Interactive bug report – lets you add a short description before the capture starts.
  4. Tap Full bug report. Android will start collecting data; a progress notification appears.

Why? Full mode gives developers the most context. Interactive mode is handy if you want to add a note like “crash occurs after opening Settings → Display”.

Step 3 – Wait for the report to finish

The notification will change from “Bug report in progress” to “Bug report ready”. This typically takes 30 seconds to 2 minutes, depending on device speed and how much log data is collected.

Step 4 – Retrieve the bug report

  1. Pull down the notification shade and tap the “Bug report ready” notification.
  2. You’ll be taken to a share sheet. Choose an app to send the .zip file (e.g., Gmail, Drive, or a file‑sharing app).
  3. If you want to keep a local copy, select “Save to Files” (or the equivalent on your device) and note the location (usually /sdcard/bugreports/).

What you’ll see – The shared file is a .zip containing several items:

  • logcat.txt – raw system logs.
  • bugreport.txt – a human‑readable summary.
  • system_trace.pb – performance trace (optional).
  • Screen captures (if the device supports it).

On some OEM skins (e.g., Samsung One UI), the bug‑report toggle may be hidden under Settings > Developer options > Bug report or Settings > About phone > Software information > Build number then back to Developer options.

Method 2 – Using ADB (For Developers or Advanced Users)

ADB gives you more control, such as naming the output file, automating the process, or pulling the report directly to a PC.

Step 1 – Install Platform‑Tools

  1. Download the Android SDK Platform‑Tools package from the official Android developers site (search “platform-tools download”).
  2. Extract the ZIP to a convenient folder (e.g., C:\adb or ~/adb).
  3. Add the folder to your system PATH (optional but makes the adb command available globally).

Why? Platform‑Tools contain the adb binary needed to communicate with the device over USB or Wi‑Fi.

Step 2 – Enable USB Debugging

  1. Open Settings > Developer options (enable Developer options first if you haven’t).
  2. Toggle USB debugging on. Confirm any security prompt that appears.
  3. If you plan to use wireless ADB, also enable Wireless debugging (Android 11+) or keep the device connected via USB for the first run.

Step 3 – Verify the device connection

adb devices

You should see a line with your device’s serial number and the word device. If it says unauthorized, check the phone for a dialog asking you to allow USB debugging and tap “Allow”.

Step 4 – Request a bug report

adb bugreport bugreport_$(date +%Y%m%d_%H%M%S).zip

The command tells ADB to start a full bug report and save it with a timestamped name. The terminal will show progress messages (e.g., “Collecting logs…”, “Compressing…”).

Why use a timestamp? It prevents overwriting previous reports and makes it easy to match the report to a specific incident.

Step 5 – Locate the generated file

When the command finishes, the .zip file will be in the current working directory of your terminal. You can now attach it to an email, upload to a bug‑tracking system, or keep it for your records.

If you need to capture a bug report while the device is locked (e.g., reproducing a lock‑screen issue), you can start the ADB command first, then quickly reproduce the problem. ADB will keep collecting logs for the duration of the command.

Understanding What’s Inside the Report

Opening the .zip with any archive manager reveals several files. Here’s a quick guide to the most relevant ones:

  • bugreport.txt – A plain‑text summary that includes device build info, uptime, battery status, and a condensed logcat.
  • logcat.txt – Full chronological log of system and app messages. Useful for spotting Exception stack traces.
  • system_trace.pb – Binary trace data for performance analysis; developers can load it into Android Studio’s profiler.
  • screenshots/ – If the device supports it, a PNG of the current UI state.

When you send a report to a developer, attach the entire .zip. If you’re concerned about privacy, you can open bugreport.txt in a text editor and redact personal identifiers (e.g., email addresses, phone numbers) before sharing.

Privacy & Security Considerations

  • The bug report may contain notifications content, recent clipboard entries, and even Wi‑Fi SSIDs. Review the logcat.txt for any sensitive data before uploading to a public forum.
  • Never share a bug report with unknown parties unless you’re sure it’s needed for troubleshooting. Treat it like a mini‑system dump.
  • If you use ADB over Wi‑Fi, ensure you’re on a trusted network. The connection is encrypted on Android 11+, but older versions may use plain TCP.

Troubleshooting Common Issues

Bug report never finishes (stuck on “in progress”)

  • Low storage: Ensure at least 200 MB free space in /sdcard. Delete old bug reports or clear cache.
  • Device throttling: Some OEMs limit background logging. Reboot the device and try again.
  • ADB timeout: If using ADB, add the -d flag to force a device‑only connection: adb -d bugreport ….

ADB reports “device unauthorized”

  • Disconnect and reconnect the USB cable.
  • On the phone, go to Developer options > Revoke USB debugging authorizations, then reconnect and accept the prompt.

Missing logcat entries for a specific app

  • Make sure the app’s process was alive during the collection window. If the crash is instantaneous, start the bug report first, then reproduce the crash quickly.
  • For Android 12+ you can use adb logcat --pid=$(pidof com.example.app) after the fact, but that requires the app to still be running.

Report contains too much data (large file size)

  • Use the Interactive bug report mode to add a short description and stop the collection after a few seconds.
  • On ADB, you can limit logcat duration with adb logcat -d > logs.txt and then zip only the needed files.

Alternative Ways to Capture Logs (When a Full Bug Report Is Overkill)

If you only need the logcat output, you can skip the full bug report:

  1. Connect via ADB.
  2. Run adb logcat -d > mylog.txt. The -d flag dumps the current buffer and exits.
  3. Optionally filter by tag: adb logcat -d *:W > warnings.txt.

This method produces a much smaller file and is handy for quick debugging, but it lacks the system‑state snapshot that developers often request.

Wrapping Up

Generating a bug report is now a straightforward two‑step process, whether you stay on the device or use a PC. By following the UI method you can capture a report in seconds without any extra software; the ADB method gives you naming control and the ability to script the collection for repeated testing. Always remember to review the contents for personal data before sharing, and keep a backup of the report in case the developer asks for additional details.

With these tools in your troubleshooting toolbox, you’ll be able to provide developers the exact information they need, speeding up bug fixes and improving the overall Android experience.

User Comments (0)

Add Comment
We'll never share your email with anyone else.