This is discussed in detail here . Unfortunately, this is the "expected behavior" and as such will not be fixed. The only current solution (for reading logs from an application in JB and above) is to manually grant permission to the application via adb:
adb shell pm grant <pkg> android.permission.READ_LOGS
A such permission:
- reboot survives.
- saves application updates (ie "adb install -r")
- not saved if application was uninstalled and then installed again
Obviously, this is not what you would expect from a regular user. The GUI solution (where users can provide this permission from the Settings
menu of their device) was promised by the Android team, but, unfortunately, the functionality was removed before the "fix" was implemented.
source share