Log viewer APP
Please note root permissions are required in order to access kernel logs (aka dmesg). Android logs (aka logcat) will be accessible if your device is running a version of Android older than 4.1. Otherwise you will need to either way:
-manually grant the READ_LOGS permission from adb before restarting the app by running the following command: pm grant com.xdevl.logviewer android.permission.READ_LOGS
-root your phone