Skip to content

Logcat Viewer Guide

DP-Hridayan edited this page Nov 17, 2026 · 1 revision

Note

The Logcat Viewer in aShellYou provides a high-performance system and application logging monitor. It captures, filters, and inspects Android runtime events in real time across all supported execution modes: Local ADB, Shizuku, Direct Root, USB OTG, and Wireless ADB.


Overview

Android's system log (Logcat) records critical diagnostic data, application lifecycles, background worker events, kernel notices, and runtime exceptions. aShellYou delivers a desktop-grade log inspection console on your mobile device.

Key highlights include:

  • Broad Mode Support: Inspect logs on your own device (via Shizuku, Root, or granted READ_LOGS permission) or remotely on connected devices over USB OTG or Wireless ADB.
  • Smart Auto-Scrolling: Follows incoming log lines smoothly in real time. Touching the screen instantly locks the viewport so you can read without jitter; tap the bottom button to resume following.
  • Multi-Level Priority Filtering: Color-coded badges for Verbose (V), Debug (D), Info (I), Warning (W), Error (E), and Fatal (F).
  • Advanced Filter Profiles: Create and save customized filters combining specific application package names, tags, process IDs (PIDs), and log severities.
  • Deep Entry Inspection: Detailed modal bottom sheet displaying complete metadata (exact timestamps, thread IDs, user IDs, full stack traces).
  • Export and Share: Export visible or full log buffers to text files or share directly to diagnostic bug reports.

Logcat Interface and Streaming

The main Logcat interface features top playback controls, quick device tabs, search filtering, and an auto-scrolling log stream:

Logcat Viewer Stream Overview

Main Controls

  1. Top Action Bar:

    • Mode Selection: Switch between Local, Shizuku, Root, OTG, and Wireless logging backends.
    • Play / Pause: Start or stop active log streaming from the underlying Android daemon.
    • Filter Trigger: Access saved filter profiles and the profile editor.
    • Clear: Flushes the active in-memory log buffer.
    • More Menu: Options to select all lines, export visible entries, or save complete logcat output.
  2. Secondary Toolbar:

    • Tabs: Switch seamlessly between This Device and Other Device (OTG or Wireless target).
    • Live Search: Instant text filtering across tag names and message bodies.

Filtering and Log Inspection

Tailor your stream to isolate specific app crashes or background service warnings without being overwhelmed by noisy system daemons:

Filter Profile Editor Detailed Entry Inspection
Logcat Filter Profile Configuration Log Entry Detail Bottom Sheet

Configuring Filter Profiles

  1. Tap the Filter icon in the top bar.
  2. Tap Add Profile or select an existing preset.
  3. Configure your criteria:
    • Profile Name: Descriptive label (e.g. Fatal Crashes & App Exceptions).
    • Filter Mode: Choose Include (show only matching items) or Exclude (hide matching items).
    • Log Levels: Select target severities (e.g. Warning, Error, Fatal).
    • Tags: Comma-separated log tags (e.g. AndroidRuntime, DEBUG, ActivityManager).
    • Packages: Select from installed packages or type target package names (e.g. in.hridayan.ashell).
    • Process IDs (PID) / Thread IDs (TID): Narrow inspection to specific process instances.
  4. Tap Save to apply the profile to your active log stream.

Inspecting Log Details

Tapping any log entry row opens the Log Entry Detail sheet:

  • Severity Badge: Color-coded priority pill.
  • Timestamp: Microsecond-precision log event time (11-17 18:25:04.890).
  • PID & TID: Operating system process identifier and thread identifier.
  • Package & UID: Resolved Android package name and application Linux user ID.
  • Tag: Source logging component.
  • Message Box: Full log payload formatted in a monospace font inside a selectable text container for quick copying to the clipboard.

Execution Modes and Permissions

Depending on your device setup, Logcat operates under different privilege tiers:

  • Local (Permission Granted): If aShellYou has been granted android.permission.READ_LOGS via ADB, you can read non-sensitive system logs.
  • Shizuku: Delivers complete system-level log buffers without rooting your device.
  • Direct Root (su): Unrestricted access to all log buffers, including radio, events, system, and kernel dmesg.
  • USB OTG: Streams logs directly from a connected secondary phone over USB cable.
  • Wireless ADB: Streams logs over your local Wi-Fi network from paired target devices.

Tip

  • Long-press any log entry to enter multi-select mode. You can copy multiple contiguous lines or share a selected stack trace directly.
  • Use the Pause button before copying text to prevent new incoming logs from scrolling the viewport away.

Clone this wiki locally