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

3arthur6

Senior Member
Sep 15, 2011
413
857
123
Hey!
Both files there are un this link: https://drive.google.com/drive/folders/1MK9bdo_lFanktA4jgSS8tVXHD_OETyHe?usp=sharing
I'm sure that is the libbluetooth.so maybe a bad hexa patch. Or I don't know, waht you think? :confused:
Hey
I don't see why it doesn't work, all seems ok on my side.. Even more if it doesn't fail.. since if the hexa patch can't be applied it will fail. Did you try the twrp zip?

Tried with magisk says failed galaxy A9 2018 9.0 here is the link for the .tar file thanks
https://mega.nz/file/qthCnSgL#JpcAg5c0VOLXoL5xUAqHKERFZGQBIA6dyi3eRiAtWD8
Hi
Unfortunately same here.. I can't see where it stucks.
I just pushed a new version which will give me more info to debug. Could you apply the module again from magisk and upload the new tar plz?
 

DerkerBack

Member
Apr 23, 2020
5
0
0
México City
Hey
I don't see why it doesn't work, all seems ok on my side.. Even more if it doesn't fail.. since if the hexa patch can't be applied it will fail. Did you try the twrp zip?
I haven't tried, but the thing is I can't do it, because I don't have it.
If I install it via ODIN, my phone doesnt boot normally. It's weird.. so, I can't install it via custom recovery. Do you have another idea?:confused:
 

3arthur6

Senior Member
Sep 15, 2011
413
857
123
I haven't tried, but the thing is I can't do it, because I don't have it.
If I install it via ODIN, my phone doesnt boot normally. It's weird.. so, I can't install it via custom recovery. Do you have another idea?:confused:
Hey
Ok no problem!
To be clear, same issue again? Module installed but no effect?
So can you post /data/misc/bluedroiddump/subbuffer.log file here?

Edit : and your /system/build.prop plz
 

bomfa84

Member
Jul 20, 2012
11
0
0
Oeiras
My s10+ does not pair with my galaxy watch (galaxy wearable) after rooting with Magisk.

I don't have TWRP installed.

Is there a way to boot on TWRP without installing it? Or to fix this pairing issue without TWRP?
 

3arthur6

Senior Member
Sep 15, 2011
413
857
123
My s10+ does not pair with my galaxy watch (galaxy wearable) after rooting with Magisk.

I don't have TWRP installed.

Is there a way to boot on TWRP without installing it? Or to fix this pairing issue without TWRP?
You should be able to fix it without twrp
Open a terminal and execute these commands
Code:
su
mount -w -o remount /vendor
cp --preserve=all /vendor/etc/vintf/manifest.xml /vendor/etc/vintf/manifest.xml.bak
sed -i /`grep wsm /vendor/etc/vintf/manifest.xml|sed '[email protected]/@\\\/@'|sed '[email protected]>@\\>@g'|sed '[email protected]<@\\<@g'|tr -d ' '`/,/'<hal format="hidl">'/d /vendor/etc/vintf/manifest.xml
mount -r -o remount /vendor
 

bomfa84

Member
Jul 20, 2012
11
0
0
Oeiras
Thank you.. I discovered how to use TWRP on demand... so I flashed TWRP, boot to recovery, did que trick with the zip file and then flashed back the patched recovery image and it worked.

Just for curiosity... what does this command do?
 

dslthomas

Member
Jun 23, 2005
18
0
0
Hello, Unfortunately the installation fails for me.

Unfortunately it is not possible to upload the file here. I always get an error. Hence the link to the file: http://nordigspace.de/BluetoothLibPatcher-files.tar

Here is the log:

- Copying zip to temp directory
- Installing Bluetooth_Library_Patcher-v1.9(19).zip
- Device is system-as-root
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: module.prop
***************************
Bluetooth Library Patcher
***************************
*******************
Powered by Magisk
*******************
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: customize.sh
- Extracting module files
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: README.md
inflating: customize.sh
inflating: module.prop
- Magisk Manager installation
- Searching for the hex sequence
- SM-G960F on Android 10 detected
- Copying library from system to module
- Applying patch
- Aborting! Library not supported!
cp: can't stat '/data/misc/bluedroiddump/subBuffer.log': No such file or directory

- To get support upload BluetoothLibPatcher-files.tar
created in your internal storage to the XDA thread.

! Installation failed
 

3arthur6

Senior Member
Sep 15, 2011
413
857
123
Hello, Unfortunately the installation fails for me.

Unfortunately it is not possible to upload the file here. I always get an error. Hence the link to the file: http://nordigspace.de/BluetoothLibPatcher-files.tar

Here is the log:

- Copying zip to temp directory
- Installing Bluetooth_Library_Patcher-v1.9(19).zip
- Device is system-as-root
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: module.prop
***************************
Bluetooth Library Patcher
***************************
*******************
Powered by Magisk
*******************
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: customize.sh
- Extracting module files
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: README.md
inflating: customize.sh
inflating: module.prop
- Magisk Manager installation
- Searching for the hex sequence
- SM-G960F on Android 10 detected
- Copying library from system to module
- Applying patch
- Aborting! Library not supported!
cp: can't stat '/data/misc/bluedroiddump/subBuffer.log': No such file or directory

- To get support upload BluetoothLibPatcher-files.tar
created in your internal storage to the XDA thread.

! Installation failed
Yeah because u r on lineage and I just see I didn't mentioned this in OP.
It's a samsung stock roms problem so no need for this patch with lineage or any aosp based roms
 

Greight

Senior Member
Aug 11, 2012
691
74
58
I've got a J7 pro and get this error while installing via Magisk:
Archive: /data/user/0/com.a.X.U4VN.s.GUE.F/cache/flash/install.zip
inflating: customize.sh
- Extracting module files
Archive: /data/user/0/com.a.X.U4VN.s.GUE.F/cache/flash/install.zip
inflating: README.md
inflating: customize.sh
inflating: module.prop
- Only for Samsung devices!

! Installation failed
 

3arthur6

Senior Member
Sep 15, 2011
413
857
123
I've got a J7 pro and get this error while installing via Magisk:
Archive: /data/user/0/com.a.X.U4VN.s.GUE.F/cache/flash/install.zip
inflating: customize.sh
- Extracting module files
Archive: /data/user/0/com.a.X.U4VN.s.GUE.F/cache/flash/install.zip
inflating: README.md
inflating: customize.sh
inflating: module.prop
- Only for Samsung devices!

! Installation failed
Hey
I can take a look yep but I will need more info and files.
Could you execute this from a terminal app :
Code:
su
mkdir /sdcard/tmpblp; cd /sdcard/tmpblp; cp -f /system/lib/libbluetooth.so /system/build.prop /proc/cmdline .; tar -cf /sdcard/BLP-J7.tar *; cd /; rm -rf /sdcard/tmpblp;
Then upload the file BLP-J7.tar created in your internal storage here
 

Beatzekatze

Member
Aug 22, 2013
23
1
23
Hi, I have a Samsung S 10 with Lineage and Android 10.
I try Magisk Module and this one from here. Both flashed. And i get error.
In my car I can stream music but not calls.
 

zequihumano

Member
Mar 18, 2018
7
0
11
I also had issues installing...
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: customize.sh
- Extracting module files
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: README.md
inflating: customize.sh
inflating: module.prop
- Only for Samsung devices!

! Installation failed
BLP-J7.tar

Can you help me out? I would love to have it working