Description
This module attends to avoid losing bluetooth pairings after reboot or airplane mode switch on rooted samsung devices.
It patches on the fly the bluetooth library and should support most of samsung devices on android Nougat, Oreo, Pie, 10, 11, 12, 13 and 14.
This patch is NOT applicable with an aosp rom, only samsung stock/based.
Galaxy Watch devices support
Due to limitations in Magisk, a manual step is required to fix pairing issues with Galaxy Watch devices. After installing the Magisk module, use a command line (like Terminal Emulator or Termux) to run the following commands, then reboot:
*Beware! /!\ Starting from the S21 serie you can not use these commands (or you have to be SURE your vendor partition isn’t read only or full) and must instead use the zip bellow to flash using TWRP. The commands below could brick your device /!*
$ su
$ mount -o remount,rw /vendor
$ for i in `grep -lr 'security.wsm' /vendor/etc/vintf`; do [ ! -z $i ] && sed -i "$((`awk '/security.wsm/ {print FNR}' $i`-1)),/<\/hal>/d" $i; done
$ mount -o remount,ro /vendor
Alternatively with Android 12L and below, instead of installing the Magisk module and running the commands, flash the zip file from this Github repo releases (BluetoothLibraryPatcher_twrp_X.X.X.zip) meant for TWRP recovery.
Another new and easier alternative is to use Magisk Delta fork. With this version of magisk no additional steps are required. Just install the module and enjoy.
Credits
- @topjohnwu for magisk
- @afaneh92 for the partition resizing script
Source code
Support
Changelog
v2.7.0
- Use embedded busybox
- Fix latest magisk canary versions
- Fix Kitsune/Alpha
v2.6.9
- Add support for android 14 arm
v2.6.8
- Fix support for S24
v2.6.7
- Fix Magisk Delta/Kitsune
v2.6.6
- Fix Magisk Alpha
v2.6.4
- Add A14 support
- Fix some issue with S23
v2.6.3
- Add A137F support & fix regressions
- TWRP zip: Apply gear watch fix first
v2.6.2
- Add support for arm devices on A13
- Process 7z only on A13
v2.6.1
- Fix OTA survival script on Android 13
v2.6
- Adding back support for Android 13
v2.5.1
- Add support for arm devices on A12
v2.5
- Bring back support for Android 12L (API 32)
- Drop support for Android 13 (API 33) and above
v2.4.4
- Optimize hex sequences
- Fix support for some old mediatek devices
- Revert adding support for Android 13, module not needed anymore
v2.4.3
- Fix qcom detection logic
- Add gear watch patch support for Magisk Delta fork
- Fix twrp patch
v2.4.2
- Add support to Android 13
- Optimize debug stuff
v2.4.1
- Fix broken qcom patch
v2.4.0
- Update for Magisk v24.0
- Misc updates
v2.3.1
- Fix qcoms on Android 12
- Add A105F on Android 11
v2.3
- Android 12 support
- Handle few specific devices
v2.2.3
- Handle library changes from latest A505FN firmware and possibly others devices
v2.2.2
- Fix OTA survival script
v2.2.1
- Misc fixes
v2.2
- Large rewrite
- Detect now OTAs and reapply the patch if needed
v2.1.1
- Divers Android 11 fixes
v2.1
- Android 11 support
- Android Nougat support
- Misc optimizations
v2.0
- Support more devices
- Misc optimizations
v1.9
- Support more arm devices
- Auto create tar with needed files in internal storage to fix unsupported devices
v1.8
- Add support for A6, A10, A80, some S10e and N10 variants
- Apply the only known qcom fix to all of them
- Add some checks to avoid false negatives
Download Link
Module Info
Other modules
SUI
Modern super user interface (SUI) implementation on Android. The name, Sui, also comes from a character. Introduction Sui provides Java APIs, Shizuku API, for root apps. It mainly provides the ability to use Android APIs directly (almost in Java as the identity of the root, and start app’s own …...
Play Integrity Fix
This module tries to fix Play Integrity and SafetyNet verdicts to get a valid attestation. NOTE This module is not made to hide root, nor to avoid detections in other apps. It only serves to pass Device verdict in the Play Integrity tests and certify your device. All issues created to report a …...
Benchkit
Benchkit Benchkit is a developer-centric toolkit module for Android with a plethora of tools for in-depth profiling and benchmarking. Many of the tools are focused on kernel benchmarking, but userspace (i.e. Android) benchmarking is also covered by some of them. This module aims to make empirical …...
Compatible mirroring Magisk Ksu Module
This module provides the compatible Magisk-mirroring (i.e., unmodified original system files (in a mounted state) mainly referred from the module installation script “customize.sh”) for installing pure Magisk modules on incompatible Magisk variants and KernelSU (including APatch). For …...
ExSDCard Write Access Enabler
Link Download ...
NLSound For Qualcomm Devices
This module globally improves audio quality when recording video/audio and listening to audio on your device. Changelog Fixed sound in audio calls using Telegram for Poco X3 NFC device Fix incrorrect condition skip -> Skip at one of the installer points Fixed Hi-Res output operation for some …...
Disable high volume warning
The European Committee for Electrotechnical Standarisation regulates all media playback devices sold in the European Union to have an output volume warning at 85dB: Users can increase the volume to a maximum of 100dB by accepting the warning, yet the warning reappears after 20hours of music …...
custom certificate authorities
Custom Certificate Authorities is a Magisk module which adds custom certificate authorities from a pre-defined path on the Android file system to the system trust store. What sets it apart from similar modules like MagiskTrustUserCerts or MoveCert is that it doesn’t require you to install or …...
EdXposed Framework
A Riru module trying to provide an ART hooking framework (initially for Android Pie) which delivers consistent APIs with the OG Xposed, leveraging YAHFA (or SandHook) hooking framework, supports Android 8.0 ~ 11. Xposed is a framework for modules that can change the behavior of the system and apps …...
AdGuardDNS4Magisk Magisk Or Ksu Modules
Fork from xerta555/CloudflareDNS4Magisk DNS ?? Gne ?? What’s this ? To make it short: a DNS server listen and give you the corresponding IP address of your website request, and its domain name (forum.xda-developers.com for example). For the long version a little reading is necessary: …...