• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[TOOL] [14th Dec] | AIOlog - All in One Android Logger v0.5

Search This thread

wcypierre

Senior Member
Apr 11, 2012
438
192
AIOlog - All in One Android Logger

aiologwin_zpsebe3ab1e.png
rsz_1rsz_1aiolog_linux_zps4f759130.png


Features:
  1. Display and output Logcat
  2. Last_kmsg
  3. Dmesg
  4. Kmsg
  5. Kernel Version


Latest Version:

NOTE: If you have this error "Cannot execute binary files" while using the AIOlog for linux, please download the 32bit version.

If you've downloaded the AIOlog v0.3 generic, please use the following file:
Either the aiolog_32bit or aiolog_generic_32bit

If this is your first time doing a log, you may need this file(Windows only):
http://code.google.com/p/aiolog/downloads/detail?name=aiolog_adb_fastboot_win_v0.1.zip

New features:
Added log push to phone and phone directory creation(log will be available at the computer, and the .aiolog, aiolog and root folder of your phone)
Added log archiving(unix)
Added log cid version
Added ADB files for Windows
Fixed a bug to auto detect device id when there is only one device

Full Changelog: https://github.com/wcypierre/AIOlog/commits/master

Hi, I'm now in the look for users who can provide me with some data(non-private and non-confidential ones) in order to improve AIOlog as a big amount of data is needed for AIOlog in order to success.

If you're interested, please pm me and state your device name or you can email me via [email protected]

Basic Howto:
1. At your phone, go to Settings -> Developer Options
2. Tick the "Android Debugging"
3. Connect your phone to your computer(desktop/laptop)

Windows:
1. Navigate to the location where the aiolog is located
2. Extract it and place it to a folder
3. Open aiolog.exe by clicking at it
4. The menu will appear
5. Just enter the number(1,2,3 ...) of the function that you wanted to do

Linux:
NOTE: For AIOlog version 0.4 onwards, the binary file is called either aiolog_32bit or aiolog_64bit so please change it accordingly (The steps for the filename is used in Step #3)

1. Open your terminal
2. Navigate to where aiolog is located. Example, "cd ~/Downloads/" (Assuming that the file is saved at Downloads folder)
3. Type "./aiolog" and press enter
4. The menu will appear
5. Just enter the number(1,2,3 ...) of the function that you wanted to do

Advanced Howto:
1. At your phone, go to Settings -> Developer Options
2. Tick the "Android Debugging"
3. Connect your phone to your computer(desktop/laptop)

Windows:
1. Open the cmd
2. Navigate to the folder where aiolog is located
3. Type "aiolog -h" and press enter
4. Search for the functions that you wanted to do and type its command(refer to the examples below)

Examples:
1. To log all logs, type "aiolog.exe -a"
2. To get the logcat, type "aiolog.exe -l"
3. To get the last_kmsg, type "aiolog.exe -lk"
4. To specify a device that is to be used(use it when you have a lot of devices connected) and to get a dmesg, "aiolog.exe -id SH<yourdeviceid> -d"

Linux:
1. Open your terminal
2. Navigate to where aiolog is located. Example, "cd ~/Downloads/" (Assuming that the file is saved at Downloads folder)
3. Type "./aiolog -h" and press enter
4. Search for the functions that you wanted to do and type its command(refer to the examples below).

Examples:
1. To log all logs, type "aiolog.exe -a"
2. To get the logcat, type "./aiolog -l"
3. To get the last_kmsg, type "./aiolog -lk"
4. To specify a device that is to be used(use it when you have a lot of devices connected) and to get a dmesg, "./aiolog -id SH<yourdeviceid> -d"

Compatibility:
1. Full support on Windows
2. Partial support on Linux
3. Partial support on Mac(Version 0.5 onwards)

Issues:
1. May not work on mac yet(but it should be).
2. AIOlog will not work if the adb is not started for a 30 seconds to 1 minute in advance

Found a bug?
1. Go to here: http://code.google.com/p/aiolog/issues/list
2. Click New issue
3. Fill in the details
4. Report
5. Wait for it to be resolved :good:

Changelog:
Version 0.4
1. Added Auto Device Id detection
2. Logging support when there are more than 2 devices connected
3. Added logcat clear and dmesg clear

Version 0.3
1. Added logcat radio(to debug for radio issues)
2. Added log essential(logcat, dmesg, kmsg and last_kmsg)
3. Disable reprompt of device id after it has been entered
4. Misc Fixes

Version 0.2
1. Logcat, kmsg continuous(the normal logcat, kmsg way instead of log, stop and save method) added
2. Added additional checking on device id
3. Removed debug code

Version 0.1
1. Core functions(logcat, last_kmsg, dmesg, last_kmsg) implemented
2. Outputs the log to the current directory of AIOlog
3. kernel version output is implemented

To do list:
1. To archive the logs into an archive(zip, rar, tar)
2. To include mac support
3. To include log essential (Done ;))
4. To log other details
5. Fix any existing bugs ;)
 

Attachments

  • aiolog_win_v0.1.zip
    929.6 KB · Views: 187
  • aiolog_linux_v0.1.tar
    220 KB · Views: 42
  • aiolog_win_v0.2.zip
    844.7 KB · Views: 46
  • aiolog_win_v0.3.zip
    847.7 KB · Views: 75
  • aiolog_linux_v0.2.tar
    60 KB · Views: 12
  • aiolog_linux_v0.3.tar
    70 KB · Views: 21
  • aiolog_win_v0.3.zip
    847.7 KB · Views: 251
  • aiolog_linux_32_v0.4.tar
    560 KB · Views: 10
  • aiolog_linux_64_v0.4.tar
    560 KB · Views: 18
  • aiolog_win_v0.4.zip
    856 KB · Views: 54
  • aiolog_win_v0.5.zip
    1.8 MB · Views: 586
  • aiolog_linux_32_v0.5.tar
    1.1 MB · Views: 25
  • aiolog_linux_64_v0.5.tar
    1.1 MB · Views: 76
  • aiolog_mac_32_v0.5.tar
    1.1 MB · Views: 12
  • aiolog_mac_64_v0.5.tar
    1.1 MB · Views: 33
Last edited:

wcypierre

Senior Member
Apr 11, 2012
438
192

Building from Source

Prerequisite:
- Command Line Git(be it from any OS)

Instructions:
To clone the AIOlog(one time process):
git clone git://github.com/wcypierre/AIOlog.git

To update the existing AIOlog:
  1. git remote update
  2. git rebase origin/master

To compile AIOlog:
g++ main.cpp log.cpp -o aiolog.exe (for windows) / g++ main.cpp log.cpp -o aiolog (for mac/linux)
 
Last edited:
  • Like
Reactions: kamilmirza

wcypierre

Senior Member
Apr 11, 2012
438
192
For those who build from source, please do a remote update as new commits has been committed to github :)
 

GaryWS

Senior Member
Mar 7, 2012
118
6
Ok, so I haven't played with it yet but I thought that I would provide some information to any other Ubuntu users who try to use the tool.

The download and compile of the executable occurs without any problems. If you have compiled nay other apps form source this is really easy.

In order to get the app to run you need to have adb installed and running.
I am not going to get into all the details for that. Google it.
But what you won't find in the instructions for when installing adb is the following:

a) You need to run adb under sudo, otherwise you get an error which says something along the lines of "no permissions", or "no permissions for this device" when you run aiolog.
b) If you have added adb to your path (Google it for instructions) then you run sudo with the -i argument. That is enter "sudo -i ad start-server"

Good luck
 
  • Like
Reactions: wcypierre

wcypierre

Senior Member
Apr 11, 2012
438
192
Ok, so I haven't played with it yet but I thought that I would provide some information to any other Ubuntu users who try to use the tool.

The download and compile of the executable occurs without any problems. If you have compiled nay other apps form source this is really easy.

In order to get the app to run you need to have adb installed and running.
I am not going to get into all the details for that. Google it.
But what you won't find in the instructions for when installing adb is the following:

a) You need to run adb under sudo, otherwise you get an error which says something along the lines of "no permissions", or "no permissions for this device" when you run aiolog.
b) If you have added adb to your path (Google it for instructions) then you run sudo with the -i argument. That is enter "sudo -i ad start-server"

Good luck

Thanks for the feedback :D. Was waiting for things like these(community feedback, so I can know new issues and write up on it) :good: .Provided that you know how to use git, usually compiling from source would not be a problem(especially when the project is only this small :p)

For the permission problem, I used to had that as well but I don't quite remember how I solved that. It can either be a permission problem at the adb file or the aiolog. anyway, just chmod the file to 755 with superuser permission(sudo) and you should be able to run it :)

Sample run of the command:
sudo chmod 755 aiolog

btw, would you mind to add a "b" after the "ad", because it should be "adb" instead of "ad" :eek:
 

wcypierre

Senior Member
Apr 11, 2012
438
192
Version 0.3 is out :)

New Features
Version 0.3
1. Added logcat radio(to debug for radio issues)
2. Added log essential(logcat, dmesg, kmsg and last_kmsg)
3. Disable reprompt of device id after it has been entered
4. Misc Fixes
 
  • Like
Reactions: icke

Deadly

Senior Member
Jul 19, 2012
10,286
3,899
Bangalore
Hey, i have added your tool to my all in one guide mate as we discussed.. and gave thread link to here..

Also congrats on hitting the portal news!! You got covered by POORCOLLEGEGUY.. he is awesome at covering these,..
 
  • Like
Reactions: wcypierre

wcypierre

Senior Member
Apr 11, 2012
438
192
Hey, i have added your tool to my all in one guide mate as we discussed.. and gave thread link to here..

Also congrats on hitting the portal news!! You got covered by POORCOLLEGEGUY.. he is awesome at covering these,..

hey, thanks for doing that :good: . I'll try and see what I can do for your thread ;)

yeah, just noticed that, you're welcome :eek:
 

v0vs

Member
Oct 18, 2011
22
4
Cherkassy
Hi, there!
Just downloaded aiolog_linux_v0.3.tar, extract and tried to execute, but had no succes ((
Can anybody help me?
Thanks!

Code:
[email protected]:~/Downloads/aiolog_v0.3$ uname -a
Linux vovs-pc 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012 i686 athlon i386 GNU/Linux
[email protected]:~/Downloads/aiolog_v0.3$ ./aiolog 
bash: ./aiolog: cannot execute binary file
 

wcypierre

Senior Member
Apr 11, 2012
438
192
Hi, there!
Just downloaded aiolog_linux_v0.3.tar, extract and tried to execute, but had no succes ((
Can anybody help me?
Thanks!

Code:
[email protected]:~/Downloads/aiolog_v0.3$ uname -a
Linux vovs-pc 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012 i686 athlon i386 GNU/Linux
[email protected]:~/Downloads/aiolog_v0.3$ ./aiolog 
bash: ./aiolog: cannot execute binary file

Try to change the permissions and run it again :)

do the following:

sudo chmod 755 aiolog
 

v0vs

Member
Oct 18, 2011
22
4
Cherkassy
same result:(

Code:
[email protected]:~/Downloads/aiolog_v0.3$ sudo chmod 755 aiolog
[sudo] password for vovs: 
[email protected]:~/Downloads/aiolog_v0.3$ ./aiolog 
bash: ./aiolog: cannot execute binary file
[email protected]:~/Downloads/aiolog_v0.3$ ls -l
total 64
-rwxr-xr-x 1 vovs vovs 27133 Nov  4 14:54 aiolog
-rw-rw-r-- 1 vovs vovs 35147 Oct 16 16:47 COPYING
[email protected]:~/Downloads/aiolog_v0.3$ ./aiolog 
bash: ./aiolog: cannot execute binary file
 

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    AIOlog - All in One Android Logger

    aiologwin_zpsebe3ab1e.png
    rsz_1rsz_1aiolog_linux_zps4f759130.png


    Features:
    1. Display and output Logcat
    2. Last_kmsg
    3. Dmesg
    4. Kmsg
    5. Kernel Version


    Latest Version:

    NOTE: If you have this error "Cannot execute binary files" while using the AIOlog for linux, please download the 32bit version.

    If you've downloaded the AIOlog v0.3 generic, please use the following file:
    Either the aiolog_32bit or aiolog_generic_32bit

    If this is your first time doing a log, you may need this file(Windows only):
    http://code.google.com/p/aiolog/downloads/detail?name=aiolog_adb_fastboot_win_v0.1.zip

    New features:
    Added log push to phone and phone directory creation(log will be available at the computer, and the .aiolog, aiolog and root folder of your phone)
    Added log archiving(unix)
    Added log cid version
    Added ADB files for Windows
    Fixed a bug to auto detect device id when there is only one device

    Full Changelog: https://github.com/wcypierre/AIOlog/commits/master

    Hi, I'm now in the look for users who can provide me with some data(non-private and non-confidential ones) in order to improve AIOlog as a big amount of data is needed for AIOlog in order to success.

    If you're interested, please pm me and state your device name or you can email me via [email protected]

    Basic Howto:
    1. At your phone, go to Settings -> Developer Options
    2. Tick the "Android Debugging"
    3. Connect your phone to your computer(desktop/laptop)

    Windows:
    1. Navigate to the location where the aiolog is located
    2. Extract it and place it to a folder
    3. Open aiolog.exe by clicking at it
    4. The menu will appear
    5. Just enter the number(1,2,3 ...) of the function that you wanted to do

    Linux:
    NOTE: For AIOlog version 0.4 onwards, the binary file is called either aiolog_32bit or aiolog_64bit so please change it accordingly (The steps for the filename is used in Step #3)

    1. Open your terminal
    2. Navigate to where aiolog is located. Example, "cd ~/Downloads/" (Assuming that the file is saved at Downloads folder)
    3. Type "./aiolog" and press enter
    4. The menu will appear
    5. Just enter the number(1,2,3 ...) of the function that you wanted to do

    Advanced Howto:
    1. At your phone, go to Settings -> Developer Options
    2. Tick the "Android Debugging"
    3. Connect your phone to your computer(desktop/laptop)

    Windows:
    1. Open the cmd
    2. Navigate to the folder where aiolog is located
    3. Type "aiolog -h" and press enter
    4. Search for the functions that you wanted to do and type its command(refer to the examples below)

    Examples:
    1. To log all logs, type "aiolog.exe -a"
    2. To get the logcat, type "aiolog.exe -l"
    3. To get the last_kmsg, type "aiolog.exe -lk"
    4. To specify a device that is to be used(use it when you have a lot of devices connected) and to get a dmesg, "aiolog.exe -id SH<yourdeviceid> -d"

    Linux:
    1. Open your terminal
    2. Navigate to where aiolog is located. Example, "cd ~/Downloads/" (Assuming that the file is saved at Downloads folder)
    3. Type "./aiolog -h" and press enter
    4. Search for the functions that you wanted to do and type its command(refer to the examples below).

    Examples:
    1. To log all logs, type "aiolog.exe -a"
    2. To get the logcat, type "./aiolog -l"
    3. To get the last_kmsg, type "./aiolog -lk"
    4. To specify a device that is to be used(use it when you have a lot of devices connected) and to get a dmesg, "./aiolog -id SH<yourdeviceid> -d"

    Compatibility:
    1. Full support on Windows
    2. Partial support on Linux
    3. Partial support on Mac(Version 0.5 onwards)

    Issues:
    1. May not work on mac yet(but it should be).
    2. AIOlog will not work if the adb is not started for a 30 seconds to 1 minute in advance

    Found a bug?
    1. Go to here: http://code.google.com/p/aiolog/issues/list
    2. Click New issue
    3. Fill in the details
    4. Report
    5. Wait for it to be resolved :good:

    Changelog:
    Version 0.4
    1. Added Auto Device Id detection
    2. Logging support when there are more than 2 devices connected
    3. Added logcat clear and dmesg clear

    Version 0.3
    1. Added logcat radio(to debug for radio issues)
    2. Added log essential(logcat, dmesg, kmsg and last_kmsg)
    3. Disable reprompt of device id after it has been entered
    4. Misc Fixes

    Version 0.2
    1. Logcat, kmsg continuous(the normal logcat, kmsg way instead of log, stop and save method) added
    2. Added additional checking on device id
    3. Removed debug code

    Version 0.1
    1. Core functions(logcat, last_kmsg, dmesg, last_kmsg) implemented
    2. Outputs the log to the current directory of AIOlog
    3. kernel version output is implemented

    To do list:
    1. To archive the logs into an archive(zip, rar, tar)
    2. To include mac support
    3. To include log essential (Done ;))
    4. To log other details
    5. Fix any existing bugs ;)
    3
    @Source Builders, new functions are added into version 0.5.

    New feature:
    - Added device auto detection when there is only one device
    - Added adb files for Windows users
    - Log archive(grouping all logs into a tar file) for Linux feature is done(but not implemented, will be implemented into each logging functions in Version 0.6)
    1

    Building from Source

    Prerequisite:
    - Command Line Git(be it from any OS)

    Instructions:
    To clone the AIOlog(one time process):
    git clone git://github.com/wcypierre/AIOlog.git

    To update the existing AIOlog:
    1. git remote update
    2. git rebase origin/master

    To compile AIOlog:
    g++ main.cpp log.cpp -o aiolog.exe (for windows) / g++ main.cpp log.cpp -o aiolog (for mac/linux)
    1
    Nice tool, wcypierre!

    Very helpfull for noob users.:)
    1
    Yes i was able to reverse tether. Also i tried every possible thing.
    I manually killed process adb.exe, android reverse tethering.exe
    I restarted computer and tried this tool without opening Reverse tethering tool.
    Tried in other operating system too.

    I tried plugging-unplugging many times but no luck. Although every other tool was recognizing my device but this tool.
    May be it was a bug in rom. :)
    hmm..... weird. did you tried to restart the phone?

    but it is working for stock ics right? probably that its a bug at the cm10.1 but too bad that you're not using it now though