Published using Google Docs
Android: How to report bugs
Updated automatically every 5 minutes

Android: How to report bugs

Basic-Information: What you did (with which kernel- / rom-version), what you wanted to happen, and what actually happened.

Those are the basic elements of a bug report, maybe you can also add some log-files or show us a screenshot of the problem. So if you really want to help, you have to add this basic-informations!!! You need to tell us exactly what you did ...

for example:

"I switch the I/O Scheduler via "ExTweaks”-App from “sio” to “cfq”.”

... what you expected to have happened …

to continue the example:

"I expected the kernel now use this I/O Scheduler."

… what actually happened …

to continue the example:

"But it’s still using the “sio”-I/O Scheduler."

… and please don’t forget to add which kernel- / rom-version do you use …

to continue the example:

"kernel: dorimanx v5.3

 rom: CM9 [nightly 20120714]”

If your bug-report simply said “I can’t save the I/O Scheduler settings :( ... " you will very likely get a reply saying "It works fine for me … ", because we can't guess what you were expecting to happen / where you have change it or what version do you use. By telling us what you asked for, what you expected to get, and what you actually got, we don't have to guess what you mean and with the kernel- / rom-version we can compare / test your problem.

Other information (notes, patches, fixes … workarounds) that might be relevant to the problem are also welcome! ;)

1. Determine if the bug is really a bug

- first -> test it again

- test it again with default-profile-settings (you can reset it via recovery & backup your config via "ExTweaks"-App) if you have changed e.g. max- / min-cpu-frequence

- maybe you can also test it with another kernel (e.g. SiyahKernel) so we can see if it’s maybe a rom-problem …

2. Make sure the bug hasn't already been reported


3. Collect information about the bug (if you can)

If you want to report performance- / battery-problems, then please take a look at your processes with e.g. "top", "ps" ... (via "adb shell" or e.g. "Terminal Emulator"-App) and say / show us what process used much CPU- / Memory-resources. Or you can also use a app (e.g. OS Monitor) for this …

PS: BetterBatteryStats & CPU Spy & Battery Monitor Widget are also good Apps to report Battery-Problems …

3.1) Create some debug-logs via “adb” or “ExTweaks”-App

3.1.1) Android Debug Bridge (adb)

How to use android adb / shell … ?!

copy the output from Android-Debug to your SD-Card

logcat > /sdcard/logcat.txt

copy the output from Kernel-Debug to your SD-Card

dmesg > /sdcard/dmesg.txt

3.1.2) “ExTweaks”-App for Bug-Reports

Take a look at the debug tab in the App and create debug-logs directly to your SD-card ...

4. Submit your full bug-report