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

Search This thread

labello29

Senior Member
Aug 7, 2014
622
119
italia
Hello everyone how's it going? I hope you're fine, so I have problem with (smart watch 4 wear os) it doesn't connect with my note 8 with
Deluxe Rom 32 final "Android9 pie'. The module magisk bluetooth library 2.5.1 going good without error, but when I flash the zip on recovery I receive error (system/vendor).I hope someone could help me.. I have also buds pro and they working always good , thank you in advance! Ps sorry for my not perfect English
 
Last edited:

labello29

Senior Member
Aug 7, 2014
622
119
italia
Hello everyone how's it going? I hope you're fine, so I have problem with (smart watch 4 wear os) it doesn't connect with my note 8 with
Deluxe Rom 32 final "Android9 pie'. The module magisk bluetooth library 2.5.1 going good without error, but when I flash the zip on recovery I receive error (system/vendor).I hope someone could help me.. I have also buds pro and they working always good , thank you in advance! Ps sorry for my not perfect English
Hi guys I found the problem in my case it was not about connection bluetooth (I'm wasn't right) well I founded the problem and it was on (Google processing services) when I wasn't without smartwatch I taken all of it off for improved the battery drain on my phone....Anyway now everything works thank you to taking Alive this forum!! Se you next time 👋👍
 

mohammadi1223

New member
Dec 24, 2020
3
0
S20 5G_ G981B
Android 12 - stock
Does not work
Bluetooth does not turn ON after flash.....
 

Attachments

  • BluetoothLibPatcher-files.tar
    1.9 MB · Views: 25

mrjoy

Senior Member
Aug 24, 2012
2,572
171
The Heaven Of Punjab
Sure you need this module?































































Are you facing bluetooth parings loss?































































In any case just remove/disable the module to fix FC.















Sure you need this module?







Are you facing bluetooth parings loss?







In any case just remove/disable the module to fix FC.

Sure you need this module?
Are you facing bluetooth parings loss?
In any case just remove/disable the module to fix FC.
yes i need it urgently. I loss my watch connectivity after restart.
Yes i have disabled it due fc but how i can fix the pairing issue if i keep it disabled?
 

mrjoy

Senior Member
Aug 24, 2012
2,572
171
The Heaven Of Punjab
You can try this one but it should not be enough, read first post and search for Galaxy Watch devices support.

BluetoothLibraryPatcher_magisk_2.6_test_w8_1.zipI have

You can try this one but it should not be enough, read first post and search for Galaxy Watch devices support.
BluetoothLibraryPatcher_magisk_2.6_test_w8_1.zip
I have tested this file also & still same FC & Bluetooth icon has been disabled. For better solution I want to tell you that I'm using samsung s22 ultra with android 13 custom rom.
 

edmondt

Senior Member
Mar 21, 2006
684
291
Toronto
Installed the TWRP version of 2.6.2 on my S22 Ultra SM-S9080, but still kept loosing Watch 5 Pro pairing after reboot. Tried running the command and various other things. This is on the latest December update.
 

ercanziyanak

Senior Member
Mar 20, 2021
62
1
Samsung Galaxy Note 10+


Bluetooth Library Patcher



Description :

This patch 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 and 13.

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 full or read only) and must instead use the zip (see bellow) to flash using TWRP. The commands below could brick your device /!\*


Code:
$ 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 Github releases (BluetoothLibraryPatcher_twrp_X.X.X.zip) meant for TWRP.


Links :


- Bluetooth Library Patcher module from Magisk Manager


Credits :

- @topjohnwu for magisk
- @afaneh92 for the partition resizing script


Source & changelogs : Github BluetoothLibraryPatcher

I have a samsung galaxy note 10 plus device and I will install android 12 soon. I don't understand this command line. Is there a video about it, it says steps, but I am very amateur about it.
 

DemotionFR

Member
Feb 8, 2021
33
7
Thank you for this fix, it works perfectly on my S10+ under android 12. Thanks to your work, my galaxy watch 5 pro no longer asks to be reset.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 59


    Bluetooth Library Patcher



    Description :

    This patch 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 and 13.

    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 full or read only) and must instead use the zip (see bellow) to flash using TWRP. The commands below could brick your device /!\*


    Code:
    $ 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 Github releases (BluetoothLibraryPatcher_twrp_X.X.X.zip) meant for TWRP.


    Links :


    - Bluetooth Library Patcher module from Magisk Manager


    Credits :

    - @topjohnwu for magisk
    - @afaneh92 for the partition resizing script


    Source & changelogs : Github BluetoothLibraryPatcher
    6
    Just added a magisk module :good:
    It works flawlessly on my N9 and does the same stuff as the twrp zip. So should works with all others devices.
    5
    Libbluetooth patcher

    Thanks a ton for this, i'm gonna test it right away. You da mvp! :highfive:
    LE: Works as expected on BSKO and S10+, thanks again!!!!!
    4

    That module really only works for Pie and earlier. It does, however, currently contain a hack, based on byte strings found by the author of this module, that allows libluetooth.so to be patched for Android 10 on S10 and N10 series devices, but this was added to allow an easy transition to Android 10 for users of those devices and will be removed in the next version.

    Users of Android 10 should really use this module, as it is more comprehensive and supports many more models of device.
    3
    Hello! I trying to install this for my S10e (G970F), but getting a library not supported error. I've attached the libbluetooth.so and build.prop if it's any help. Thanks!

    Hey
    Give it a new try, it should be fixed