Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
Android.mk | 22-Oct-2020 | 75 | |
app/ | 22-Oct-2020 | ||
README.md | 22-Oct-2020 | 781 |
1 # DumpViewer 2 3 DumpViewer is an on-device logcat / dumpsys viewer. 4 5 ## Build 6 7 ``` 8 m -j DumpViewer 9 ``` 10 11 ## Installation 12 13 DumpViewer requires some development permissions in order to read logcat and dumpsys. 14 To install, pass the `-g` option to `adb install` to give the needed permissions: 15 ``` 16 adb install -r -g DumpViewer.apk 17 18 # More precisely: 19 adb install -r -g ${ANDROID_PRODUCT_OUT}/data/app/DumpViewer/DumpViewer.apk 20 ``` 21 22 Alternatively, you can grant the permissions with `pm grant`: 23 ``` 24 pm grant com.android.dumpviewer android.permission.PACKAGE_USAGE_STATS 25 pm grant com.android.dumpviewer android.permission.READ_LOGS 26 pm grant com.android.dumpviewer android.permission.DUMP 27 ``` 28 29 ## TODOs 30 31 - Add UID / PID lookup 32 - Add color on logcat (by severity) 33 - Auto-shrink the header. 34