aLogcat/CatLog/Lumberjack not working? Do this ...

short/y

Senior Member
Mar 9, 2006
658
67
28
Silly-con Valley
I noticed my favorite logcat app wasn't working on my N7 so I went on a search and found a fix/workaround (details later):
Code:
pm grant <pkg> android.permission.READ_LOGS
So, to give the donate version of aLogcat (https://play.google.com/store/apps/details?id=org.jtb.alogcat.donate), you'd do this
Code:
pm grant org.jtb.alogcat.donate android.permission.READ_LOGS
This seems to persist across reboot. Not sure about app update/uninstall/reinstall but it works for me.

Note that "pm" is a standard part of Android (I'm rooted but running stock JB on my N7) so you can just run it from the shell (adb shell) or from the command line via your favorite terminal emulator app like Android Terminal Emulator (https://play.google.com/store/apps/details?id=jackpal.androidterm).

If you're interested in the details, there's a long discussion over in the Android Developers Google Group -- https://groups.google.com/forum/?fromgroups#!topic/android-developers/6U4A5irWang

Note: I'm rooted so it may require root to work.

MOD: I've posted this in the Q&A section cuz it's the answer to a question but if it belongs elsewhere (Development? General?) then please move it.
 
  • Like
Reactions: Волк