Skip to content

Releases: agnostic-apollo/XLogcatManager

v0.2.0

28 Jan 00:53
12dbf2f
Compare
Choose a tag to compare

Changelog

v0.2.0 - 2024-01-28 00.25

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

    Closes #2

    (cdace1a6)

v0.1.0

26 Aug 14:23
Compare
Choose a tag to compare

Initial release.