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: