Bluetooth Library Patcher

3arthur6

Magisk KernelSU APatch
v2.9.2
Version
4.90 MB
Size
Jul 24, 2025
Updated

Module Info

  • Contributors 3arthur6, duhow, Displax
  • Source Code View Repository
  • Tags
    #Bluetooth Library Patcher #Samsung #Bluetooth Pairing #Magisk Module #One UI #Root

About this module

Bluetooth Library Patcher addresses a Samsung firmware issue in which a rooted device can lose saved Bluetooth pairings after a reboot or Airplane Mode change. It identifies and patches the relevant Bluetooth library for supported Samsung stock-based ROMs from Android 7 through Android 16.

Persistent Pairings on Rooted Samsung ROMs

The installer adapts its binary patch to detected Android versions and Samsung library variants rather than replacing every device with one fixed file.

Samsung-Specific

Built for Samsung stock firmware and One UI-based ROMs. The upstream project explicitly says it does not apply to AOSP ROMs.

On-the-Fly Patch

The installer locates the device's Bluetooth implementation, applies a matching binary patch, and reports when it cannot verify a supported sequence.

OTA-Aware

Later project versions detect firmware updates and can reapply the patch when a replaced library requires processing again.

Supported Scope

The current upstream documentation covers Samsung devices on Android Nougat, Oreo, Pie, and Android 10 through 16. Actual success still depends on the exact library build; an unfamiliar vendor update can change the byte sequence the installer expects.

Install the module through the root manager, review the installer result, and reboot. If an update restores the pairing issue, check for a newer module release before attempting manual changes.

Galaxy Watch Caveat

Galaxy Watch pairing may also involve Samsung's security.wsm vendor manifest entry. The project documents a separate vendor-partition modification for some older devices and a recovery-flashable package for Android 12L and earlier.

Do not copy old remount commands onto recent models. Upstream warns that the manual vendor procedure must not be used from the Galaxy S21 generation onward unless the partition is confirmed writable and has adequate space; using it on an unsuitable layout can brick the device.