• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

app/src/main/22-Nov-2023-2,0491,511

Android.mkD22-Nov-202375 32

README.mdD22-Nov-2023781 3424

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