XLogcatManager

Verified safeOpen sourceExclusive
No reviews reviews
169
downloads
13
android

AI summary

Curious what AI thinks about this app? Ask for a short summary highlighting what it does and any noteworthy details.

About this app

XLogcatManager is an Android app to improve LogcatManager added in Android 13 using Xposed hooks. The app requires a rooted device to work.

Android 13 added LogcatManager which shows a dialog when an app runs logcat command that has READ_LOGS permission before it is allowed to read system wide logs and access is only allowed for the next 60s, after which approval is required again. Access dialog will only be shown if the app is on the top, even if it has a foreground service, and access will be denied for all other background apps automatically. On previous android versions, the app only needed to be granted READ_LOGS permission once with adb or root and then could read logs whenever it wanted.

The XLogcatManager xposed module was created to allow rooted users to not have to grant adb or root access to apps that shouldn't require it just to read logs by solving LogcatManager design issues and some bugs.

Features

Allows access till next reboot to the app if users selects allow button in the allow access dialog instead of just for the next 60s. No 60s timeout to reshow dialog if access was (accidentally) denied by user. The dialog will also show for apps with foreground service instead of just top apps. Fixes the bugs mentioned in the issuetracker issue based on the solutions provided, but implementation is slightly different in some cases due to method hooking limitations.

What's new

v0.2.0Feb 10, 2024
  • Changed Bump compileSdkVersion and targetSdkVersion to 34. (eb600e3a) Fixed Fix hooking for Android 13 newer revisions
  • The static final int fields were being optimized out during build time and references were replaced with literal value. This caused the NoSuchFieldError exception to be thrown when getting the field values with XposedHelpers.getIntField(). To fix this, ported over static values directly into XLogcatManagerService class instead of getting them dynamically, the field values haven't still been changed in Android 14, so not an issue for now. The LogcatManagerService$LogcatManagerServiceInternal class has been replaced with LogcatManagerService$$LogAccessDialogCallback in AOSP, which caused the ClassNotFoundError to be thrown. To fix this, we first attempt to get LogcatManagerServiceInternal and if that fails, then we use LogAccessDialogCallback. https://cs.android.com/android/_/android/platform/frameworks/base/+/db1ed6fa670ad261b81d1886cb947f235e3ce802 The LogAccessDialogActivity class has been moved from system server to system UI package, which caused the ClassNotFoundError to be thrown. To fix this, we now hook the com.android.systemui package as well and we attempt to hook for both android and com.android.systemui packages, and if com.android.server.logcat.LogAccessDialogActivity class is found, we hook its methods and if com.android.systemui.logcat.LogAccessDialogActivity class is found, we hook its methods instead. Users who are updating the app instead of a new install will need to manually enable System UI in (LSPosed) module scope for XLogcatManager.. https://cs.android.com/android/_/android/platform/frameworks/base/+/fc13cb1d680d57ea6401e2d45dfb1e46bf046fc7

About this version

Version
0.2.0 (2)
Size
2.58 MB
Requires Android
13
Target SDK
33
Downloads
169
Updated
Feb 10, 2024
Package
dev.agnosticapollo.xlogcatmanager

Ratings & reviews

0 ratings
  • 5
    0
  • 4
    0
  • 3
    0
  • 2
    0
  • 1
    0

Write a review

Tap a star to rate this app