Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
app/src/main/ | 23-Mar-2024 | - | 2,047 | 1,509 | ||
Android.mk | D | 23-Mar-2024 | 75 | 3 | 2 | |
README.md | D | 23-Mar-2024 | 781 | 34 | 24 |
README.md
1# DumpViewer 2 3DumpViewer is an on-device logcat / dumpsys viewer. 4 5## Build 6 7``` 8m -j DumpViewer 9``` 10 11## Installation 12 13DumpViewer requires some development permissions in order to read logcat and dumpsys. 14To install, pass the `-g` option to `adb install` to give the needed permissions: 15``` 16adb install -r -g DumpViewer.apk 17 18# More precisely: 19adb install -r -g ${ANDROID_PRODUCT_OUT}/data/app/DumpViewer/DumpViewer.apk 20``` 21 22Alternatively, you can grant the permissions with `pm grant`: 23``` 24pm grant com.android.dumpviewer android.permission.PACKAGE_USAGE_STATS 25pm grant com.android.dumpviewer android.permission.READ_LOGS 26pm 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