🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mobile.android
Article #516

PSA: Using darshanparajuli logcat reader to debug Android apps

#516
From: Maria Sophia
Date: Tue, 03 Nov 2026 05:46
20 lines
2251 bytes
1. Download latest release from GitHub
    curl -sL https://github.com/darshanparajuli/LogcatReader/releases/latest/download/app-release.apk -o logcat_reader.apk

2. Install the logcat reader APK
    adb install logcat_reader.apk

3. Grant READ_LOGS permission via adb (Bypasses manual prompt)
    adb shell pm grant com.dp.logcatapp android.permission.READ_LOGS

4. Optional: If using Shizuku instead of ADB permission grant
    adb shell shizuku request ... (or authorize inside the Shizuku app UI)

5. When an event happens you wish to capture, save the log to text.
    Android:Logcat > 3dots > Save > (save on device) > /sdcard/Download/logcat_2026-11-02_21-33-43.txt

6. Dynamically find the newest logcat export in Downloads and pull it automatically
   FOR /F "tokens=*" %%i IN ('adb shell "ls -t /sdcard/Download/logcat_*.txt | head -n 1"') DO SET LATEST_LOG=%%i
   adb pull "%LATEST_LOG%" 	.
-- 
Just one person on Usenet paying it forward so all benefit daily.
Technical Details
Message-ID: <11cbsg3$2h98$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail
From: Maria Sophia <mariasophia@comprehension.com>
Newsgroups: comp.mobile.android
Subject: PSA: Using darshanparajuli logcat reader to debug Android apps
Date: Tue, 3 Nov 2026 01:46:44 -0400
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <11cbsg3$2h98$1@nnrp.usenet.blueworldhosting.com>
Reply-To: pusvul@getTjewytR4so+mqe2.invalid
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 3 Nov 2026 05:46:44 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="l//KxG3Ge2LojWvwJg0Igv8F0ChK8RUC9RtOxMPUo3U"; posting-host="IfCZz72xNNlHXBkfV9B6WJEa9xVhaehMJfhAC6fCwnM";
	logging-data="83240"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Mojibake 1p3
Cancel-Lock: sha1:64qJLRm7xiTFoT/K+ILphBP9qjU= sha256:D1jz8Uy5LTkOrYcvH0Lg1LxTtcJAQy2D437piitzZd4=
	sha1:c1ZKQt/DkVNeTejz+yePZ6xDsXM= sha256:pRWinaKPbo70AWdoWk3UsDliKbjSFhmg7Cg/X3sVut4=
Content-Language: en-GB