Skip to content

Reliable com.permission.READ_LOGS

Basic info

  • Device: any
  • CalyxOS version: 6.8.21

Brief description of the feature

Android provides a 'hidden' permission that can be given to an app that allows it to read system logs, this is potentially dangerous for rando apps, but also very useful. Unfortunately, apparently since Android 11, this has been restricted to only last a while. This is android.permission.READ_LOGS.

Other ROMs with the same / similar feature (preferably open source)

Any other info

This is used by LogFox, but it makes its usage very unreliable, a lot of issues may happen and then never show up later when you expect them, at which point the logs may be lost.

Even with this permission, which you have to use ADB for, you get an extra prompt, which also shows the option 'Only this time' as the only option.

LogFox itself, is a very unprivileged app otherwise. It can't really do anything else. No internet, no nothing else, really. Only being able to run when the system boots, and in the background etc and see packages. So this data should stick to the tool itself.