Android Bug Report Acquisition Guide
This guide details how to capture system logs and bug reports on Android devices. You can use manufacturer-specific "Secret Codes" (no USB debugging required) or connect via USB/ADB with USB debugging enabled.
🔌 USB Debugging Method (Recommended for Direct Connection)
You can connect your phone directly to this browser via USB/ADB. This allows you to generate bug reports, download existing ones, and analyze them directly from your device.
- Go to Settings > About Phone.
- Tap Build Number 7 times to enable Developer Mode.
- Go to Settings > System > Developer Options.
- Enable USB Debugging (toggle it ON).
- Connect your phone to your computer via USB cable.
- When prompted on your phone, tap Allow USB debugging and check Always allow from this computer (optional but recommended).
- Use the "Generate New" or "From Device" tabs in this tool to connect and work with your device.
- Generate bug reports directly from the browser
- Download existing bug reports without manual file transfer
- Real-time device connection and analysis
- No need to manually locate files on your device
Important: After completing your analysis, please disable USB Debugging and disable Developer Mode for security reasons. USB Debugging can expose your device to potential security risks if left enabled.
1. Google Pixel / Motorola / Sony (Stock Android)
These devices do not have secret codes to dump logs to storage. You must use the Developer Options menu.
- Go to Settings > About Phone.
- Tap Build Number 7 times to enable Developer Mode.
- Go to Settings > System > Developer Options.
- Tap Take bug report > Interactive report.
- Wait for the notification "Bug report captured" (2-5 mins).
- File Retrieval: You cannot browse to the file manually due to permissions. You must tap the Notification when finished and share it to Google Drive or Email.
Important: After completing the bug report analysis, please disable Developer Mode for security reasons. Developer Mode can expose your device to potential security risks if left enabled. Go to Settings > System > Developer Options and toggle it OFF.
2. Samsung Galaxy Devices (SysDump) S-Series, Z-Flip, Z-Fold, A-Series
- Open the Samsung Phone app (do not use Google Phone or third-party dialers).
- Dial
*#9900#. - A menu titled SysDump will appear.
- Tap Run dumpstate/logcat/modem log.
- Wait for the process to finish (usually silent or shows a loading spinner).
- Crucial Step: Scroll down and tap Copy to sdcard (include CP Ramdump).
- File Location: Open My Files > Internal Storage > log. Look for a file named
dumpState_<model>_<date>.zip.
If dialing *#9900# does nothing on your newer Samsung device:
- Issue 1: Auto Blocker is On (Most Likely) - Go to Settings > Security and Privacy > Auto Blocker and turn it OFF temporarily.
- Issue 2: Carrier Restrictions - US Carriers often disable these codes. Workaround: Open Samsung Members app > Support > Error Reports.
3. Xiaomi / Redmi / POCO (MIUI & HyperOS)
- Open the Dialer/Phone app.
- Dial
*#*#284#*#*. - The phone will vibrate immediately and show a notification: "Generating bug report...".
- Wait for the notification to say "Created".
- File Location: File Manager > Internal Storage > MIUI > debug_log. The file is a
.ziparchive.
4. OnePlus / OPPO / Realme (LogKit)
- Open the Dialer/Phone app.
- Dial
*#800#. - This opens the Feedback or LogKit app.
- Select a category (e.g., "System" or "Other").
- Tap Start Logging.
- Reproduce your bug/crash.
- Return to the app and tap Stop Logging.
- File Location: File Manager > Phone Storage > Android > data > com.oplus.logkit > files > Log.
- Note: On Android 11+, you may need a third-party file manager like "Solid Explorer" to view the Android/data folder.
5. Huawei / Honor (Project Menu)
- Open the Dialer/Phone app.
- Dial
*#*#2846579#*#*. - Go to Background Settings > Log Settings.
- Check the logs you need (AP Log, Charge Log, etc.) and tap Log switch.
- Reproduce the issue, then turn logging off.
- File Location: Files > Internal Storage > log (or ProjectMenu folder).
Summary Cheat Sheet
| Brand | Secret Code | Action Required | Location (Internal Storage) |
|---|---|---|---|
| Samsung | *#9900# |
Select "Copy to sdcard" | /log |
| Xiaomi / POCO | *#*#284#*#* |
Auto-generates | /MIUI/debug_log |
| OnePlus / OPPO | *#800# |
Use LogKit UI | /Android/data/com.oplus.logkit |
| Huawei | *#*#2846579#*#* |
Project Menu UI | /log |
| Pixel / Moto | N/A | Dev Options Menu | Via Notification Share |