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 Oreo, Pie, 10 and 11.
This patch is NOT applicable with an aosp rom, only samsung stock/based.
In case installation fails, please upload the BluetoothLibPatcher-files.tar created in your internal storage to the XDA thread.
To fix Galaxy Wearable pairing issue, as the modifcations aren't applicable through Magisk :
Either go to XDA twrp flashable zip.
Or you can directly execute these commands from a terminal app :
su
mount -o remount,rw /vendor
i=`grep -lr 'security.wsm' /vendor/etc/vintf` && [ ! -z $i ] && [ $i != *.bak ] && cp --preserve=all $i $i.bak && sed -i '/<.*security.wsm.*/,/<hal format="hidl">/d' $i
mount -o remount,ro /vendor• @topjohnwu for magisk and magiskboot used here for its easy-to-use hexpatcher
- Initial release
- Add verification point, to know if we successfully hexpatch
- Add recovery installation support
- Modify hexpatch (more safer patch)
- Add support for chinese variants
- Check we try to apply the patch on a Samsung device & add missing chinese Note10+ 5G variant
- Fix brand and model detection for magisk manager and recovery installation
- Add support for chinese/global snapdragon on Pie
- Add support for chinese/global S/N9 snapdragon on Q & simplify the hexpatch
- 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
- Support more arm devices
- Auto create tar with needed files in internal storage to fix unsupported devices
- Support more devices
- Misc optimizations
- Android 11 support
- Android Nougat support
- Misc optimizations
- Divers Android 11 fixes
- Large rewrite
- Detect now OTAs and reapply the patch if needed
- Misc fixes
- Fix OTA survival script
- Handle library changes from latest A505FN firmware and possibly others devices