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

[DEV GUIDE]The purpose of HtcLoggers.apk

Search This thread

jerdog

Admin Emeritus - Purveyor of word nuggets
May 17, 2007
8,169
7,154
Gallifrey
[NOTE: This information was passed to me by an anonymous source.]


***Thanks also to Joeykrim for helping me verify a few things on how this works - and for testing it out***

A lot of people have removed the due to not knowing what it did, and concern over the "big brother" possibility. Here is EXACTLY what the app is for, and how we in the dev community can utilize it. I have included the file for you to reinstall as needed. Installing it into /system/app will autoload it for you.

It's purpose is to provide logging of various aspects of the device when you're having issues, and help you identify exactly where those issues are occurring. This includes:

  • dumpstate (bug report)
  • dumpsys
  • Device logs
  • Radio logs
  • Events log
  • Kernel log

To use it:

  1. Dial *#*#HTCLOG#*#* (*#*#482564#*#*)
  2. You're presented with 3 options (Collect Log Files, Snapshot Report, System Loggers)

    device.png


    - Collect Log Files gives you options to move the log files to the SD card
    - Snapshot Report let's you run "dumpstate" and "dumpsys"

    device1.png


    - System Loggers gives you some options

    device2.png
    device3.png


    - Device Logger
    - Radio Logger
    - Events Logger
    - Kernel Logger
  3. Enable the logs you want, then enable "Auto Start Logging"

    - you need to do this in order to have the logs start
    -
  4. Hit the "Back" key twice to return to the home screen
  5. Reboot and then wait for the issue to reproduce
  6. When the issue does occur make note of what time the issue occured
  7. Copy the logs off of your SD card and and find the time the issue occured and begin to analyze what was happening
  8. When you're done, don't forget to go back into the HTC Logging and disable logging
  9. Reboot to clear the HTC Logging auto start
 

Attachments

  • HtcLoggers.apk
    100.8 KB · Views: 596
Last edited:
  • Like
Reactions: myn and mlin

snandlal

Senior Member
Apr 14, 2010
1,961
470
I installed and pushed the dialer code on cm7 rc0 and it ran. I wonder if this would help the devs with accessing the radio thru a dialer code and app in AOSP, like htc uses? Its the app itself that responds to dialer codes.
 

jerdog

Admin Emeritus - Purveyor of word nuggets
May 17, 2007
8,169
7,154
Gallifrey
I installed and pushed the dialer code on cm7 rc0 and it ran. I wonder if this would help the devs with accessing the radio thru a dialer code and app in AOSP, like htc uses? Its the app itself that responds to dialer codes.

It will definitely provide anyone - especially devs - with information necessary to track down the source of a problem. Glad to know it works on CM7.
 

myn

Retired Senior Recognized Developer
Nov 15, 2007
2,679
3,985
jerdog, thanks for digging into this. I've always wondered about this apk :)
 

comhack

Senior Member
Mar 8, 2010
436
42
Pale Blue Dot
www.comhack.com
Well I tried it on a HTC MyTouch 3G 1.2(Magic) running Cyanogenmod 6.1(2.2.1) and could not get it to work. When I entered the last star in the sequence, the screen went black and then back to the dialer. Any ideals?

Ok it just automatically rebooted, removing apk.
 
Last edited:

jerdog

Admin Emeritus - Purveyor of word nuggets
May 17, 2007
8,169
7,154
Gallifrey
Well I tried it on a HTC MyTouch 3G 1.2(Magic) running Cyanogenmod 6.1(2.2.1) and could not get it to work. When I entered the last star in the sequence, the screen went black and then back to the dialer. Any ideals?

Ok it just automatically rebooted, removing apk.

Yeah this is in EVO 4G for a reason. On new versions of HTC phones they will probably have this - but right now it's only the EVO that does.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    [NOTE: This information was passed to me by an anonymous source.]


    ***Thanks also to Joeykrim for helping me verify a few things on how this works - and for testing it out***

    A lot of people have removed the due to not knowing what it did, and concern over the "big brother" possibility. Here is EXACTLY what the app is for, and how we in the dev community can utilize it. I have included the file for you to reinstall as needed. Installing it into /system/app will autoload it for you.

    It's purpose is to provide logging of various aspects of the device when you're having issues, and help you identify exactly where those issues are occurring. This includes:

    • dumpstate (bug report)
    • dumpsys
    • Device logs
    • Radio logs
    • Events log
    • Kernel log

    To use it:

    1. Dial *#*#HTCLOG#*#* (*#*#482564#*#*)
    2. You're presented with 3 options (Collect Log Files, Snapshot Report, System Loggers)

      device.png


      - Collect Log Files gives you options to move the log files to the SD card
      - Snapshot Report let's you run "dumpstate" and "dumpsys"

      device1.png


      - System Loggers gives you some options

      device2.png
      device3.png


      - Device Logger
      - Radio Logger
      - Events Logger
      - Kernel Logger
    3. Enable the logs you want, then enable "Auto Start Logging"

      - you need to do this in order to have the logs start
      -
    4. Hit the "Back" key twice to return to the home screen
    5. Reboot and then wait for the issue to reproduce
    6. When the issue does occur make note of what time the issue occured
    7. Copy the logs off of your SD card and and find the time the issue occured and begin to analyze what was happening
    8. When you're done, don't forget to go back into the HTC Logging and disable logging
    9. Reboot to clear the HTC Logging auto start