In this guide, we will show you the steps to fix the issue of Bluetooth pairing not working on a rooted Samsung device. Gaining administrative access by rooting your device via Magisk/KernelSU/APatch opens the floodgates to a plethora of customization tweaks. From flashing modules, including the likes of LSPosed Framework and Viper4Android to installing a custom kernel, the possibilities stand endless.
However, having a rooted device also paves the way for the entry of a few issues as well. While most of you might already be aware of the Play Integrity issue wherein Basic, Device, and String Integrity Tests fail, but that isn’t the only issue associated with a rooted device. When it comes to Samsung, this list goes on and on. Thanks to the stringent security measure in the form of Knox [which is a hardware component embedded in the motherboard], once you unlock its bootloader, there’s going back.
Even if you relock the bootloader and remove the root, you’ll still have to face some of the consequences that a rooted user faces, which by the way, is quite a lot. In this regard, one of the most common issues reported by rooted Samsung users is that their Bluetooth pairing does not work along the expected lines. Whether it’s a watch, headphone, earphone, or literally any other device, they tend to pair for a few minutes before suddenly getting disconnected from the device.
In some cases, this issue occurs when upon restarting or toggling the Airplane mode on the phone. Users have tried it across different devices and different Samsung phones, so these could not be the culprit, there’s something going underneath on the OS level that is resulting in this issue. So in this guide, we will show you what exactly is this issue and how it could be rectified. Follow along.
Table of Contents
Fix Bluetooth Pairing Not Working on Rooted Samsung Devices
Before starting, please take a backup of all the data on your device. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.
Devices Released Before S21 Series
The fix given here is for the devices released before the Galaxy S21 series [obviously S21 series is NOT included].
- First off, download the Bluetooth Library Patcher module.
- It will be named BluetoothLibraryPatcher_module_x.x.x.zip.
- Then launch Magisk, go to Modules > Install from Storage.
- Select the module and flash it. Then restart your device.
- Then download and install the Termux app on your device.
- Now launch it and execute the following four commands:
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
- Finally, restart your device once again and check the result.
S21 and After Devices
This fix is for the Galaxy S21 series and the devices launched after that. Follow along.
- First off, download the Bluetooth Library Patcher TWRP file.
- It will be named as BluetoothLibraryPatcher_twrp_x.x.x.zip.
- Then download and install the TWRP Recovery on your device.
- Now boot your device to the recovery via the below command
adb reboot recovery
- Then go to Install and flash the BluetoothLibraryPatcher ZIP.
- Once done, go to Reboot > System. Your device will boot to OS.
That’s it. These were the steps to fix the issue of Bluetooth Pairing not working with rooted Samsung devices. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.