LogDisablerLite

shizhx

Magisk KernelSU APatch
v1.4
Version
491.07 KB
Size
Aug 26, 2023
Updated

Module Info

  • Contributors shizhx, armv7a
  • Source Code View Repository
  • Tags
    #LogDisablerLite #logcat #liblog #Android Logging #Magisk Module #KernelSU #APatch

About this module

LogDisablerLite copies the device's 64-bit liblog.so, patches its loggability function during installation, and mounts the modified library systemlessly to suppress Android logcat output.

Library-Level Log Suppression

Designed for ROMs that continue emitting logcat messages even when logging is reduced in Developer Options.

Device-Specific Patch

Patches the active device library during installation instead of shipping one generic liblog.so for every ROM.

Targeted Function

Locates __android_log_is_loggable in the ELF symbol table and replaces its opening instructions so it returns false.

Pointer Authentication

Recognizes the ARMv8.3 PACIASP prologue and preserves the matching authentication step in its patched instruction sequence.

Compatibility and Safety Checks

The installer targets /system/lib64/liblog.so and includes an AArch64 helper, so this release is for 64-bit ARM environments. It aborts if the source library cannot be copied, the target symbol is missing, program headers cannot be parsed, or the patched output size differs from the original.

The upstream project reports tests on Magisk, KernelSU, and APatch across selected Realme, Redmi, and Pixel ROMs. These examples demonstrate known working configurations, not universal Android-version or vendor compatibility.

Installation

  1. Download the release ZIP using the page controls.
  2. Install it through Magisk, KernelSU, or APatch while Android is running.
  3. Read the installer output and confirm that the target symbol, file offset, patch, size check, and systemless copy all completed successfully.
  4. Reboot for the replacement library to take effect.
  5. To restore normal logging, disable or remove the module and reboot before collecting diagnostics.