Arade Arade - 1 year ago 153
Android Question

How to give root permission for Catlog on Android

I was trying to capture logs on my unrooted phone using Catlog. But I couldn't get the logs from the app that I am debugging because because Catlog don't have root permission. Is there any way to enable this permission?

Answer Source

We can give the permission from ADB, The ADB command to grant an application permission to read the logs is:

adb shell pm grant <pkg> android.permission.READ_LOGS

We this permission will be persisted as long as you uninstall and install back the app.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download