
g300cm10
YOU CAN STAR AN ISSUE IF YOU HAVE IT RATHER THAN REPLYING "I HAVE THIS PROBLEM TOO" :)
How to catch an error in the logs!
The Android Debug Bridge windows executable (adb.exe) can be used to collect logs from a connected android device.
- Download adb.zip (#1) and extract it to your PC
- Open the adb folder then open a command window in it (shift+right click, open command window here)
- Plug phone into your PC!
Type the following commands depending the type of log you want to output
- Standard logcat (android system log): adb logcat > logcat.txt
Radio logcat (for eg wifi probs): adb logcat -b radio > radiolog.txt
Kernel logs:
adb shell
- su
- cat /proc/kmsg > /sdcard/kmsg.txt
- exit
adb pull /sdcard/kmsg.txt
Kernel message buffer (on request)
adb shell
- dmesg > /sdcard/dmesg.txt
- exit
- adb pull /sdcard/dmesg.txt
Once logs collected, take a look to see if you can see any errors and post to pastebin.com. kmsg/dmesg are generally helpful in tracking down ‘low level’ problems related to hardware devices, whilst logcat is helpful for problems with specific apps and the Android user environment. If you can’t decide which log is pertinent, provide both.
Project Information
The project was created on Dec 17, 2012.
- License: Apache License 2.0
- 8 stars
- git-based source control