Arade Arade - 3 months ago 22
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?


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.