Thanks Meter 50
Join Date: Mar 2006
Location: Silly-con Valley
aLogcat/CatLog/Lumberjack not working? Do this ...
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):
pm grant <pkg> android.permission.READ_LOGS
So, to give the donate version of aLogcat (https://play.google.com/store/apps/d...alogcat.donate
), you'd do this
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/d...al.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/?fro...rs/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.
Reachin' up to touch bottom
HTC One (M7) Developer - running Android Revolution HD
Nexus 7 (grouper) running Team EOS JB nightlies
Verizon Galaxy Nexus (toro) with official CM10 nightlies
Motorola LTE XOOM (stingray) with Team EOS JB nightlies (semi-retired)
Nexus One running Teamdouche CM7 Nightlies (retired)
T-Mobile G1 (enshrined)