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

Adigeefe

New member
May 6, 2020
2
0
0
Note 5 SM-N920C Installing Problem

I have Note5 I want to install this patch but TWRP&Magisk Manager says "Updater process ended with ERROR: 123 Error installing zip file 'sdcard/Download/Bluethoot_Library_Patcher-v1.9.zip" what should ı do (Magisk Manager also says like this)
 

3arthur6

Senior Member
Sep 15, 2011
413
857
123
I have Note5 I want to install this patch but TWRP&Magisk Manager says "Updater process ended with ERROR: 123 Error installing zip file 'sdcard/Download/Bluethoot_Library_Patcher-v1.9.zip" what should ı do (Magisk Manager also says like this)
Aren't you trying to install the twrp zip from this thread with magisk?!
If so just go in module section of magisk and search for bluetooth.

Btw interested to know if it work on your Note5
 

DerkerBack

Member
Apr 23, 2020
5
0
0
México City
Re: Don't work on J6

I will fix that later but don't care about it, the script still works.
It seems your library is supported, make some bluetooth tests it should be ok :p
Hey! :p How're you?
I know it was time for the last answer, I have a lot of stuff to do but I'm here again.

I apply again the patch for libbluetooth.so and in the log file doesn't appear any error, just a succesfully patch.
BUT. It doesn't work. So I decide to do a factory reset, rooted the devices and then apply the patch. And Nothing...
So what's the mistake here? :confused:

Other thing that I notice is when I enable the bluetooth, have like a delay or somothing like that. I press to enable, wait like 15-30 seg and then is active.
Does that have something to do with it?:eek:
 

3arthur6

Senior Member
Sep 15, 2011
413
857
123
Hey! :p How're you?
I know it was time for the last answer, I have a lot of stuff to do but I'm here again.

I apply again the patch for libbluetooth.so and in the log file doesn't appear any error, just a succesfully patch.
BUT. It doesn't work. So I decide to do a factory reset, rooted the devices and then apply the patch. And Nothing...
So what's the mistake here? :confused:

Other thing that I notice is when I enable the bluetooth, have like a delay or somothing like that. I press to enable, wait like 15-30 seg and then is active.
Does that have something to do with it?:eek:
Hi!
Humm
So please attach here your build.prop and your /system/lib(64)/libbluetooth.so files
 

3arthur6

Senior Member
Sep 15, 2011
413
857
123
I can't to connect anymore my Gear S3 with S10.
how can resolve?
I'm trying to disable manually wsm but i didn't make before
My Gear S3 Frontier wont connect with my Note 10+ too, CDT1 Firmware. Is there a way to manually edit rather than twrp?
But for any other bluetooth devices you can connect and keep it paired?
I can't test with gear so difficult to debug.
Try to connect it again when post here /data/misc/bluedroiddump/subbuffer.log, maybe I will be able see something
 

Ivymike52

Senior Member
May 10, 2010
251
22
48
Marrara
But for any other bluetooth devices you can connect and keep it paired?
I can't test with gear so difficult to debug.
Try to connect it again when post here /data/misc/bluedroiddump/subbuffer.log, maybe I will be able see something
Yes my buds can connect and keep pairing bluetooth... my car also works good, my gear not.
It can't connect bluetooth, wearable app make pairing but not finish. If i delete 2 files with wsm in vendor/lib64, it can connect bluetooth but no call and no audio option, and wearable app can finish process...
 

3arthur6

Senior Member
Sep 15, 2011
413
857
123
Yes my buds can connect and keep pairing bluetooth... my car also works good, my gear not.
It can't connect bluetooth, wearable app make pairing but not finish. If i delete 2 files with wsm in vendor/lib64, it can connect bluetooth but no call and no audio option, and wearable app can finish process...
Thanks for point it out wsm stuff, it seems your errors are related to this.
Unfortunately I'm not sure a magisk module could solve it.
But the twrp zip will be able. Try this one :
https://mega.nz/file/KIUxlQSA#LSR_7U5-4RL00lBp16Xfyx2Ri1F_7CAs-ewpTqWHJe8
 

Ivymike52

Senior Member
May 10, 2010
251
22
48
Marrara
Thanks for point it out wsm stuff, it seems your errors are related to this.
Unfortunately I'm not sure a magisk module could solve it.
But the twrp zip will be able. Try this one :
https://mega.nz/file/KIUxlQSA#LSR_7U5-4RL00lBp16Xfyx2Ri1F_7CAs-ewpTqWHJe8
i can't install twrp because i had some problems.
I have stock firmware not ROM or other only patched AP and magisk installed.
If i can enable that module with magisk it would better for me or by terminal as well
 
Last edited:

3arthur6

Senior Member
Sep 15, 2011
413
857
123
Yes... I had just renamed them in .old and after i renamed correctly
Humm
So you can try these commands thought terminal with root privileges, they are the same I added in the twrp zip but it can't be applied by a magisk module
Code:
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
As you can see the modified file, vendor/etc/vintf/manifest.xml, is backuped as manifest.xml.bak
 
  • Like
Reactions: kramer04

Ivymike52

Senior Member
May 10, 2010
251
22
48
Marrara
Humm
So you can try these commands thought terminal with root privileges, they are the same I added in the twrp zip but it can't be applied by a magisk module
Code:
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
As you can see the modified file, vendor/etc/vintf/manifest.xml, is backuped as manifest.xml.bak
at first command receive:

mount: '/dev/block/platform/13d60000.ufs/by-name/vendor' not user mountable in fstab
 

3arthur6

Senior Member
Sep 15, 2011
413
857
123
Humm
So you can try these commands thought terminal with root privileges, they are the same I added in the twrp zip but it can't be applied by a magisk module


at first command receive:

mount: '/dev/block/platform/13d60000.ufs/by-name/vendor' not user mountable in fstab
You need root privileges, start by
Code:
su
Then the others