
Size
2.58 MB
Android
13.0+
Downloads
159
Security Scan
Not Scanned
This app hasn't been scanned for security threats yet.
What's New
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
Description
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.
Rate this app
Ratings & Reviews
No reviews yet.