1. Cobalt232's Avatar
    Hi!

    I read an interesting post by Justin Jasmann over at the Blackberry devblog on how to pull android logfiles from your Blackberry.
    Pull Android Logs From Your BlackBerry | BlackBerry Developer Blog

    Pulling logs from the Android Runtime may help to understand, why certain apps don't work or which components are missing. As the procedure for setting up everything looked quite complicated to me, I decided to write a small script that does the job. The package contains all required files to connect to the Android Runtime and view or pull the logs.

    Features of Blackberry Android Runtime Logger:
    • Monitor events in the Android runtime in realtime (i.e. error messages, warnings, missing files, missing signatures etc.)
    • Use standard or customized filtering for events
    • Save logs to disc for further investigation
    • Save/Clear device logbuffer
    • Deploy ssh shell commands
    • Push/Pull files

    Why should you use Android Runtime Logger?
    • Monitor Android apps as they crash or spit out error messages you can only see in the logs
    • Find Android apps that run in the background and crash other apps or services
    • Find Android apps that cry for missing files, permissions or signatures

    Edit: Updated the script to v1.6. You can download the script here
    Mirror

    Changelog:

    Version 1.6
    • New: RSA key generation now runs without user interaction
    • Fix: Configuration for Java path on win32 and win64 fixed

    Version 1.5a
    • Fix: Included missing cygcripto.dll
    • New: We have some colors in the menu

    Version 1.5
    • New: Added ssh shell support
    • New: Added ability to push/pull files from and to the Android Runtime

    Version 1.4
    • New: Script will check at startup, if a device is connected
    • New: RSA key is now generated automatically at first startup (id_rsa.key)
    • New: You can open logfile.log with notepad directly from the menu

    Version 1.3
    • New: Log to screen and to file at the same time
    • New: Added support for verbose logging
    • New: Added support for custom logging filters
    • Fix: Now supports paths with blanks in foldername
    • Fix: Now uses id_rsa.txt as filename to avoid problems with *.pub binding to MS Publisher
    • Fix: Linebuffer of screen logging increased to 999

    Version 1.2
    • New: You can now choose detail level for logging
    • Fix: Some minor optimizations

    Version 1.1
    • New: Realtime logging now opens a dedicated window (close it when finished logging)
    • New: You can configure width of logging window in the script
    • New: Option 0 closes the script and cleans up all open processes
    • New: Reworked startup procedure

    Version 1.0
    • Initial release


    How to pull Android logs from your BlackBerry-bblogger-1.png
    How to pull Android logs from your BlackBerry-bblogger-v1.3-2.png
    How to pull Android logs from your BlackBerry-bblogger-v1.3-3.png
    How to pull Android logs from your BlackBerry-bblogger-4.png
    Last edited by Cobalt232; 10-10-14 at 07:15 AM.
    01-14-14 10:16 AM
  2. qbnkelt's Avatar
    Very cool.


    Thank you for sharing!
    dk20872 likes this.
    01-14-14 10:23 AM
  3. zaid-z10's Avatar
    Hi!

    I read an interesting post by Justin Jasmann over at the Blackberry devblog on how to pull android logfiles from your Blackberry.
    Pull Android Logs From Your BlackBerry | BlackBerry Developer Blog

    Pulling logs from the Android Runtime may help to understand, why certain apps don't work or which components are missing.
    As the procedure for setting up everything looked quite complicated to me, I decided to write a small script that does the job. The package contains all required files to connect to the Android Runtime and view or pull the logs.

    You can download the script here

    Attachment 238562

    Attachment 238563
    So more android apps will work without crash????

    Z10STL100-1/10.2.1.1925 pin:24D775B4 for more information
    01-14-14 10:43 AM
  4. jelp2's Avatar
    When I name the public key, its getting turned into a MS pub document. How do I get around that?
    01-14-14 10:48 AM
  5. Cobalt232's Avatar
    When I name the public key, its getting turned into a MS pub document. How do I get around that?
    That's no problem. Just open it with a text editor. It's because .pub is related to MS Publisher.
    01-14-14 10:50 AM
  6. jelp2's Avatar
    That's no problem. Just open it with a text editor. It's because .pub is related to MS Publisher.
    The script wont run because it says it cant find the path specified. and id_rsa.pub is not found in \lib folder. But it is there, though it has a MS Pub icon associated with it. Is that causing the script not to find it?
    Last edited by jelp2; 01-14-14 at 11:01 AM. Reason: changed "can" to "cant"
    01-14-14 10:58 AM
  7. Cobalt232's Avatar
    So more android apps will work without crash????

    Z10STL100-1/10.2.1.1925 pin:24D775B4 for more information
    Well, this is just a logging tool. But it may help to learn how to fix apps that do not work.
    01-14-14 11:01 AM
  8. jelp2's Avatar
    The script wont run because it says it cant find the path specified. and id_rsa.pub is not found in \lib folder. But it is there, though it has a MS Pub icon associated with it. Is that causing the script not to find it?
    Nevermind, I found the problem. It was the same as before with a space in the file name. Sorry
    01-14-14 11:11 AM
  9. Sanjoov's Avatar
    Great.

    Z10 STL 100-1 on 10.2.1.1925, Radio .1926.
    01-14-14 11:17 AM
  10. Cobalt232's Avatar
    New version 1.1 available. Check original post for downloadlink.
    Rudy Kruger likes this.
    01-15-14 02:57 PM
  11. Cobalt232's Avatar
    New version 1.2 available. Check original post for downloadlink.
    01-16-14 02:09 PM
  12. global14u's Avatar
    The script wont run because it says it cant find the path specified. and id_rsa.pub is not found in \lib folder. But it is there, though it has a MS Pub icon associated with it. Is that causing the script not to find it?


    Posted via CB10
    01-16-14 05:36 PM
  13. SirJes's Avatar
    Thanks for this cobalt, it's more useful than some may know, I like what you're doing for us! This and the patcher

    CLICK HERE To Join My Music & Poetry Channel. Please&Thanks.
    Cobalt232 likes this.
    01-16-14 05:59 PM
  14. Cobalt232's Avatar
    This was solved. Make sure that there are no blanks in the path. Use path without blanks ie. C:\Blackberry-Logger

    Not supported:
    C:\my name\Blackberry-Logger
    01-16-14 06:02 PM
  15. Cobalt232's Avatar
    New version 1.3 available. Check original post for downloadlink.
    01-18-14 09:12 AM
  16. BigBadWulf's Avatar
    Nice find and moved to How-to
    Cobalt232 likes this.
    01-18-14 10:12 AM
  17. Cobalt232's Avatar
    New version 1.4 available. Check original post for downloadlink and changelog.
    01-23-14 04:44 AM
  18. Cobalt232's Avatar
    New version 1.5 available. Check original post for downloadlink and changelog.
    01-25-14 07:16 PM
  19. SirJes's Avatar
    Will it be possible to make a way for this to backup directly loaded apk game/app data??

    CLICK HERE To Join My Music & Poetry Channel. Please&Thanks.
    01-25-14 07:22 PM
  20. MoTmrD's Avatar
    Please tut
    01-26-14 09:09 AM
  21. Cobalt232's Avatar
    Please tut
    Huh?
    01-26-14 09:13 AM
  22. MoTmrD's Avatar
    Huh?
    Please tutorial
    01-26-14 09:16 AM
  23. BigBadWulf's Avatar
    Please tut
    Ok.......



    01-26-14 09:43 AM
  24. BigBadWulf's Avatar
    Please tutorial
    Oh! Sowwy

    01-26-14 09:44 AM
  25. MoTmrD's Avatar
    Oh! Sowwy

    hhhhhhhhhhhh
    01-26-14 10:02 AM
49 12

Similar Threads

  1. Blackberry Bold 9900 Black (Unlocked) with lots of Accessories
    By Bash_Man in forum Buy, Sell, Trade - Sold / Archived
    Replies: 30
    Last Post: 04-03-14, 10:11 PM
  2. Blackberry Maps 9310
    By jhorvath71 in forum BlackBerry Curve Series
    Replies: 4
    Last Post: 01-19-14, 02:04 PM
  3. Airwatch App Pulled from Apple Store
    By MidnightSociety in forum BlackBerry Secure UEM & Productivity Suites
    Replies: 9
    Last Post: 01-14-14, 04:38 PM
  4. BlackBerry CEO on canceling BlackBerry Live: "For 2014 we decided to spend the money differently"
    By CrackBerry News in forum CrackBerry.com News Discussion & Contests
    Replies: 3
    Last Post: 01-14-14, 12:07 PM
  5. download or extract call history / call log BB10 Q10
    By west_texas_bby in forum BlackBerry 10 OS
    Replies: 2
    Last Post: 01-14-14, 09:47 AM
LINK TO POST COPIED TO CLIPBOARD