Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Utility][WIN] AIO logcat manager

OP majdinj

14th June 2013, 11:17 PM   |  #1  
majdinj's Avatar
OP Recognized Contributor / Themer
Flag AlAhsa
Thanks Meter: 3,052
 
980 posts
Join Date:Joined: Nov 2006
More
AIO LOGCAT MANAGER




Since android development and logcat is essential part to track problems and errors..


The three most important log types are:
  • logcat: the log output of the Android system
  • radio logcat: the log output of your System / BB / RIL communication
  • kernel log (kmsg / dmesg): the kernel messages
    Additionally there's the last_kmsg which is a dump of the kernel log until the last shutdown.

The tool I made will make you able to do all of these in very friendly interface, and even you could do more,, So let's see how it is


How to use:
It is simple, just run AIO_Logcat_Manager.bat file.. I will explain every feature in next heading.


Walkthrough Features:

Splash screen:









The main screen:
In this main menu, you can choose the type of logcat you want,, All, Error, Fatal, Radio, Kernel... etc







Process logcat filtered by name menu (Option 9):
This is unique in my tool, where you can filter your result logcat for specific process name..



Example: assume you get this logcat
Code:
D/dalvikvm(  871): GC_CONCURRENT freed 472K, 6% free 10224K/10823K, paused 1ms+6ms
V/AmazonAppstore.DiskInspectorServiceImpl(  871): Available blocks: 21981, Block size: 4096, Free: 90034176, Threshold: 5242880, withinThreshold? true
D/AmazonAppstore.UpdateService(  871): Received action: null from intent: Intent { cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
W/AmazonAppstore.UpdateService(  871): Confused about why I'm running with this intent action: null from intent: Intent { cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
D/dalvikvm(  890): GC_CONCURRENT freed 175K, 4% free 9375K/9671K, paused 2ms+3ms
V/AmazonAppstore.ReferenceCounter(  871): Reference (MASLoggerDB) count has gone to 0. Closing referenced object.
E/WifiStateMachine(  203): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon 
V/AmazonAppstore.UpdateService(  871): runUpdateCommand doInBackground started.
V/AmazonAppstore.UpdateService(  871): Running UpdateCommand: digitalLocker
V/AmazonAppstore.UpdateCommand(  871): Not updating key: digitalLocker from: 1334228488057
V/AmazonAppstore.UpdateService(  871): Finished UpdateCommand: digitalLocker
V/AmazonAppstore.UpdateService(  871): Running UpdateCommand: serviceConfig
V/AmazonAppstore.MASLoggerDB(  871): performLogMetric: Metric logged: ResponseTimeMetric [fullName=com.amazon.venezia.VeneziaApplication_onCreate, build=release-2.3, date=Wed Apr 11 13:10:55 CDT 2012, count=1, value=1601.0]
V/AmazonAppstore.MASLoggerDB(  871): onBackgroundTaskSucceeded: Metric logged: ResponseTimeMetric [fullName=com.amazon.venezia.VeneziaApplication_onCreate, build=release-2.3, date=Wed Apr 11 13:10:55 CDT 2012, count=1, value=1601.0]
W/CommandListener(  118): Failed to retrieve HW addr for eth0 (No such device)
D/CommandListener(  118): Setting iface cfg
D/NetworkManagementService(  203): rsp 
D/NetworkManagementService(  203): flags 
E/MediaPlayerService(  203): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg eth0 0.0.0.0 0 [down]} failed with code 400 : {Failed to set address (No such device)}
W/PackageParser(  203): Unknown element under : supports-screen at /mnt/asec/com.android.aldiko-1/pkg.apk Binary XML file line #16
D/wpa_supplicant(  930): wpa_supplicant v0.8.x
D/wpa_supplicant(  930): random: Trying to read entropy from /dev/random
D/wpa_supplicant(  930): Initializing interface 'eth0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant(  930): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant(  930): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant(  930): ctrl_interface='eth0'
D/wpa_supplicant(  930): update_config=1
D/wpa_supplicant(  930): Line: 4 - start of a new network block
D/wpa_supplicant(  930): key_mgmt: 0x4
and you want to see MediaPlayerService process logcat only..!!
So here comes the useful feature of this tool, where you can filter the only process you are interested in..







Read Exported logcats (Option 10):
Here you can read all logcats you have exported to the output folder





Kernel logcats (Option 11):
This feature needs from the user to be rooted in order to access kernel logs..!!!



Here you have the ability either to read or to export different kernel log types..

Reading:



Exporting:





How to read your logcat:
Here is a useful thread written by @Stryke_the_Orc that will help you understanding your logcat files.
http://forum.xda-developers.com/show....php?t=2274119


Future ADB engine update:
If ADB engine is outdated, you can download android SDK from official website here and extract adb, AdbWinApi.dll and AdbWinUsbApi.dll from sdk\platform-tools folder and put in AIO_Logcat_Manager\tools folder.


Reporting bugs:
Please feel free reporting any bugs to help to polish upcoming releases


Help in development:
If you are developer and you are interested in polishing this work, please go ahead since I KEPT IT OPEN SOURCE, so everyone can participate in development of this tool (just don't forget to give me some credits buddy )


Download:
AIO-Logcat-Manager_v1.0 @ 14/June/2013


Change-log:
@ 14/June/2013 (v1.0):
- The first release of AIO logcat manager.


Special Thanks to XDA Portal Team For Featuring This Utility:
http://www.xda-developers.com/androi...ogcat-manager/
Last edited by majdinj; 9th August 2013 at 11:35 PM.
The Following 40 Users Say Thank You to majdinj For This Useful Post: [ View ]
15th June 2013, 07:46 AM   |  #2  
KINGbabasula's Avatar
Recognized Developer
Flag Treviso
Thanks Meter: 4,238
 
2,188 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Lol i love your thread


Inviato dal mio GT-I9070 con Tapatalk 2
The Following User Says Thank You to KINGbabasula For This Useful Post: [ View ]
15th June 2013, 01:07 PM   |  #3  
majdinj's Avatar
OP Recognized Contributor / Themer
Flag AlAhsa
Thanks Meter: 3,052
 
980 posts
Join Date:Joined: Nov 2006
More
Quote:
Originally Posted by KINGbabasula

Lol i love your thread


Inviato dal mio GT-I9070 con Tapatalk 2

Thank you for support
18th June 2013, 10:14 PM   |  #4  
Stryke_the_Orc's Avatar
Forum Moderator
Flag Maras Dantia
Thanks Meter: 7,383
 
6,222 posts
Join Date:Joined: Oct 2010
More
Very cool, I will be adding this tool to the OP of my thread
The Following User Says Thank You to Stryke_the_Orc For This Useful Post: [ View ]
3rd August 2013, 01:35 AM   |  #5  
Junior Member
Thanks Meter: 4
 
19 posts
Join Date:Joined: Jul 2013
dude, you are great.
this is the best logcat utility ever, especially the filter feature
The Following User Says Thank You to mike0jj For This Useful Post: [ View ]
3rd August 2013, 08:06 PM   |  #6  
majdinj's Avatar
OP Recognized Contributor / Themer
Flag AlAhsa
Thanks Meter: 3,052
 
980 posts
Join Date:Joined: Nov 2006
More
Quote:
Originally Posted by mike0jj

dude, you are great.
this is the best logcat utility ever, especially the filter feature

Oh it is great that there is still somebody who cares about this project. I thought it was buried down inside xda archive
Thanks buddy and I hope I could hear some suggestion regarding the utility development.

cheers
3rd August 2013, 08:56 PM   |  #7  
Stryke_the_Orc's Avatar
Forum Moderator
Flag Maras Dantia
Thanks Meter: 7,383
 
6,222 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by majdinj

Oh it is great that there is still somebody who cares about this project. I thought it was buried down inside xda archive
Thanks buddy and I hope I could hear some suggestion regarding the utility development.

cheers

I push it anyone looking for a logcat tool running windows, it's a great tool. Nice job:thumbup::beer:

Slithering from the nether regions of a twisted mind and tarnished soul
The Following User Says Thank You to Stryke_the_Orc For This Useful Post: [ View ]
10th August 2013, 10:14 AM   |  #8  
Sabyn's Avatar
Senior Member
Flag Ploiesti
Thanks Meter: 97
 
609 posts
Join Date:Joined: Apr 2013
Donate to Me
More
good work man, a lot of people need to say thanks to you
The Following User Says Thank You to Sabyn For This Useful Post: [ View ]
10th August 2013, 12:07 PM   |  #9  
majdinj's Avatar
OP Recognized Contributor / Themer
Flag AlAhsa
Thanks Meter: 3,052
 
980 posts
Join Date:Joined: Nov 2006
More
Quote:
Originally Posted by Sabyn

good work man, a lot of people need to say thanks to you

Thanks man
10th August 2013, 12:21 PM   |  #10  
N_otori0us_'s Avatar
Senior Member
Flag █ ▆ ▅ ▄ ▂ ▁ ▂ ▄ ▅ ▆ █`
Thanks Meter: 480
 
1,578 posts
Join Date:Joined: Mar 2013
More
Thanks for this man. Helpful to everyone! Maybe you could add an option in the future to read logcats already made from ADB. Just a thought if you don't already have it :P

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes