BluetoothLibraryPatcher - Fix bluetooth pairings loss [Android 11/10/Pie/Oreo/Nougat]

3arthur6

Senior Member
Sep 15, 2011
422
864
123


Bluetooth Library Patcher





This patch/module attends to avoid bluetooth pairings loss after reboot on rooted samsung devices.





It handles most of samsung devices on android Nougat, Oreo, Pie, 10 and 11.


This patch is NOT applicable with an aosp rom, only samsung stock/based.


In case installation fails, please upload here the BluetoothLibPatcher-files.tar created in your internal storage.




To fix Galaxy Wearable pairing issue, as the modifcations aren't applicable through Magisk :

Either go to twrp flashable zip

Or you can directly execute these commands from a terminal app then reboot :

Code:
su
mount -o remount,rw /vendor
i=`grep -lr 'security.wsm' /vendor/etc/vintf` && [ ! -z $i ] && cp --preserve=all $i $i.bak && sed -i '/<.*security.wsm.*/,/<hal format="hidl">/d' $i
mount -o remount,ro /vendor


• Link :

- TWRP zip : BluetoothLibraryPatcher_2.2.3.zip
- Mega
- GDrive

- Magisk module : Bluetooth Library Patcher module from Magisk Manager


• Credits : @topjohnwu for magisk and magiskboot used here for its easy-to-use hexpatcher


• Source & changelogs : Github BluetoothLibraryPatcher
 
Last edited:

aljoscha81

Senior Member
Apr 23, 2016
1,092
95
48
Will root android 10 rom bluetooth harm anyway ???:confused:

---------- Post added at 03:01 AM ---------- Previous post was at 03:00 AM ----------

Or is this for gsi usage?

---------- Post added at 03:01 AM ---------- Previous post was at 03:01 AM ----------

;)
Is this a magisk module?
 
Last edited:

3arthur6

Senior Member
Sep 15, 2011
422
864
123
Will root android 10 rom bluetooth harm anyway ???:confused:

---------- Post added at 03:01 AM ---------- Previous post was at 03:00 AM ----------

Or is this for gsi usage?

---------- Post added at 03:01 AM ---------- Previous post was at 03:01 AM ----------

;)
Is this a magisk module?
It is for samsung rom only!

I will work on a magisk module but this zip isn't one.
 
  • Like
Reactions: damca

jamesfitzes

Senior Member
Feb 5, 2019
201
37
28
do you know if this module will work on note 10+ snapdragon version?
I tried another similar module from magisk and got the message that my device is running BTA1 firmware and it couldn't patch libbluetooth.so
 

3arthur6

Senior Member
Sep 15, 2011
422
864
123
do you know if this module will work on note 10+ snapdragon version?
I tried another similar module from magisk and got the message that my device is running BTA1 firmware and it couldn't patch libbluetooth.so
The latest update should yep.
Give it a try, if issue occur I will give support.
 

kramer04

Senior Member
Jan 15, 2011
571
212
73
France
@3arthur6
Just try last v1.5 module with magisk
Can't install it.
Says "Only for Samsung devices"
I've Note9 + Android 10

Just take quickly a look in your customize.sh
In my build.prop I've
ro.product.system.brand=samsung
Not ro.build.vendor.brand
 
Last edited:

3arthur6

Senior Member
Sep 15, 2011
422
864
123
Chinese snapdragon note 10 +. It's not working
@3arthur6
Just try last v1.5 module with magisk
Can't install it.
Says "Only for Samsung devices"
I've Note9 + Android 10

Just take quickly a look in your customize.sh
In my build.prop I've
ro.product.system.brand=samsung
Not ro.build.vendor.brand
Sorry I fixed my craps :silly:
It should be fine now
 
  • Like
Reactions: kramer04