Files
rk35xx-android14/development/apps/DumpViewer/README.md
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

34 lines
781 B
Markdown

# DumpViewer
DumpViewer is an on-device logcat / dumpsys viewer.
## Build
```
m -j DumpViewer
```
## Installation
DumpViewer requires some development permissions in order to read logcat and dumpsys.
To install, pass the `-g` option to `adb install` to give the needed permissions:
```
adb install -r -g DumpViewer.apk
# More precisely:
adb install -r -g ${ANDROID_PRODUCT_OUT}/data/app/DumpViewer/DumpViewer.apk
```
Alternatively, you can grant the permissions with `pm grant`:
```
pm grant com.android.dumpviewer android.permission.PACKAGE_USAGE_STATS
pm grant com.android.dumpviewer android.permission.READ_LOGS
pm grant com.android.dumpviewer android.permission.DUMP
```
## TODOs
- Add UID / PID lookup
- Add color on logcat (by severity)
- Auto-shrink the header.