darshanparajuli / LogcatReader

A simple app for viewing logs on an android device.
MIT License
580 stars 103 forks source link

This only needs to be done once #59

Open seniorm0ment opened 3 years ago

seniorm0ment commented 3 years ago

when doing the manual, non root method to give permissions through adb, when it says it only needs to be done once, does this mean it needs to be done once but if the phone is restarted, or goes to the lockscreen, it kills it and needs to be done again the next time you use the app?

or is it persistent and doesn't need a connection to adb ever again, and can just read logs straight off the device? (non root, android 10)

muziker commented 2 years ago

The adb permission granting does not work on newer androids. Or is there a way to enable this without rooting the phone?

designer2k2 commented 2 years ago

adb permission is only once needed, it will stay until you take it away with adb.

And @muziker this works for me up to Android 12 with adb. Lowest was Android 7 where i did it with adb. Enable USB debugging, type the adb command, open the app to confirm it works, disable USB debugging and enjoy.