Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,657 Members 43,467 Now Online
XDA Developers Android and Mobile Development Forum

[Utility][WIN] AIO logcat manager

Tip us?
 
majdinj
Old
(Last edited by majdinj; 9th August 2013 at 10:35 PM.)
#1  
majdinj's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 2,969
Posts: 980
Join Date: Nov 2006
Location: AlAhsa
Prompt [Utility][WIN] AIO logcat manager

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/
The Following 40 Users Say Thank You to majdinj For This Useful Post: [ Click to Expand ]
 
KINGbabasula
Old
#2  
KINGbabasula's Avatar
Recognized Developer
Thanks Meter 3,961
Posts: 2,166
Join Date: Jan 2013
Location: Treviso

 
DONATE TO ME
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: [ Click to Expand ]
 
majdinj
Old
#3  
majdinj's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 2,969
Posts: 980
Join Date: Nov 2006
Location: AlAhsa
Quote:
Originally Posted by KINGbabasula View Post
Lol i love your thread


Inviato dal mio GT-I9070 con Tapatalk 2
Thank you for support
 
Stryke_the_Orc
Old
#4  
Stryke_the_Orc's Avatar
Forum Moderator
Thanks Meter 6,965
Posts: 5,951
Join Date: Oct 2010
Location: Maras Dantia
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: [ Click to Expand ]
 
mike0jj
Old
#5  
Junior Member
Thanks Meter 4
Posts: 19
Join Date: 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: [ Click to Expand ]
 
majdinj
Old
#6  
majdinj's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 2,969
Posts: 980
Join Date: Nov 2006
Location: AlAhsa
Quote:
Originally Posted by mike0jj View Post
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
 
Stryke_the_Orc
Old
#7  
Stryke_the_Orc's Avatar
Forum Moderator
Thanks Meter 6,965
Posts: 5,951
Join Date: Oct 2010
Location: Maras Dantia
Quote:
Originally Posted by majdinj View Post
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: [ Click to Expand ]
 
Sabyn
Old
#8  
Sabyn's Avatar
Senior Member
Thanks Meter 97
Posts: 596
Join Date: Apr 2013
Location: Ploiesti

 
DONATE TO ME
good work man, a lot of people need to say thanks to you
ROM : CyanogenMod 11 Beta 8


<=== Found someone's post helpful? Thank them by using the button!

i helped you or you need help ? => fallow [like] me @ https://www.facebook.com/BalanSabinIonut
The Following User Says Thank You to Sabyn For This Useful Post: [ Click to Expand ]
 
majdinj
Old
#9  
majdinj's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 2,969
Posts: 980
Join Date: Nov 2006
Location: AlAhsa
Quote:
Originally Posted by Sabyn View Post
good work man, a lot of people need to say thanks to you
Thanks man
 
N_otori0us_
Old
#10  
N_otori0us_'s Avatar
Senior Member
Thanks Meter 478
Posts: 1,578
Join Date: Mar 2013
Location: █ ▆ ▅ ▄ ▂ ▁ ▂ ▄ ▅ ▆ █`
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
My Phone: HTC Panache
ROM : [PORT] AoCP 5.8 (4.2.2)
Recovery : 4EXT 1.0.0.5 RC8

Memorable ROMs: ShenduOS, AoCP, Cyanogen7, SlimBean

I'm learning

If I've helped you, press that thanks button down there, it makes me happy

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes