DebugAssistant

Magisk KSU APatch

DebugAssistant v3.0.2 (by ThePedroo)

What it does

DebugAssistant is a minimalist, automatic logcat capture module. It runs in the background and continuously saves verbose system logs (logcat) to files in /data/local/tmp/.

It maintains a rolling log system (3 files max):

  • DebugAssistant.log → current boot logs
  • DebugAssistant-Boot2.log → previous boot
  • DebugAssistant-Boot3.log → oldest boot

On every reboot, it automatically rotates the logs (deletes the oldest, shifts the others).

Key Features

  • Fully automatic — no manual start needed
  • Extremely lightweight (~4.22 KB)
  • Logs owned by shell user (readable without root)
  • Includes a redaction script (action.sh) that removes sensitive data before sharing:
    • IP addresses → XXX.XXX.XXX.XXX
    • Email addresses → REDACTED_EMAIL
    • Wi-Fi SSIDs
    • Content cache paths
    • Other potentially private strings
  • Output redacted file: /data/local/tmp/DebugAssistant-Redacted.log

Installation

  1. Download: DebugAssistant-3.0.2.zip
  2. Flash via Magisk / KernelSU / APatch
  3. Reboot

Usage

  • Logs start automatically after reboot.
  • To generate a redacted log for sharing:
    su -c action.sh
    
    (or su -c DebugAssistant if the module registers that command)
  • The redacted file will be saved at /data/local/tmp/DebugAssistant-Redacted.log

Notes & Warnings

  • Logs are stored in /data/local/tmp/ → will be lost on factory reset or if you clear that folder.
  • Captures all logcat output (very verbose) → files can grow large on active devices.
  • No configuration options or GUI.
  • Perfect for developers, bug reporters, or when you need recent boot logs quickly.

Would you like me to explain how to access the logs manually or how to stop the logging temporarily?

Module Info

  • Version v3.0.2
  • Module By
    ThePedroo
  • Contributors ThePedroo
  • Source Code View Repository
  • Requirement
    Magisk KernelSU APatch
  • Latest Update