Thread View: comp.mobile.android
2 messages
2 total messages
Started by Maria Sophia
Tue, 03 Nov 2026 05:46
PSA: Using darshanparajuli logcat reader to debug Android apps
Author: Maria Sophia
Date: Tue, 03 Nov 2026 05:46
Date: Tue, 03 Nov 2026 05:46
20 lines
2251 bytes
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.
Re: PSA: Using darshanparajuli logcat reader to debug Android apps
Author: Maria Sophia
Date: Wed, 18 Nov 2026 14:11
Date: Wed, 18 Nov 2026 14:11
20 lines
2292 bytes
2292 bytes
Maria Sophia wrote: > 1. Download latest release from GitHub > curl -sL https://github.com/darshanparajuli/LogcatReader/releases/latest/download/app-release.apk -o logcat_reader.apk Besides running "adb logcat -d > android-log.txt", an older, venerable, logcat reader is matlog (which is still on the Google Play Store & Github). https://github.com/pluscubed/matlog https://play.google.com/store/apps/details?id=com.pluscubed.matlog https://lucasborer1.gitlab.io/fdroid-website/en/packages/com.pluscubed.matloglibre/ https://github.com/pluscubed/matlog/releases/tag/1.2.3 https://github.com/pluscubed/matlog/releases/download/1.2.3/com.pluscubed.matlog-1.2.3.apk Name: com.pluscubed.matlog-1.2.3.apk Size: 2500685 bytes (2442 KiB) SHA256: 633816722B3D5CF1C42AF82F157CF396231C48FA80666C2D5966388C2C86F823 adb install com.pluscubed.matlog-1.2.3.apk Performing Streamed Install Success adb shell pm grant com.pluscubed.matlog android.permission.READ_LOGS
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads