Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update BlueToolFixup for macOS 15 #33

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

vedantmgoyal9
Copy link
Contributor

No description provided.

@tenglendon
Copy link

under MacOS 15 beta3 BlueToolFixup.kext can't load.
any solution ?

@megabitzu
Copy link

Confirmation Asus USB-BT400 dongle not working under Sequoia

@adipierro
Copy link

@megabitzu could you please elaborate if it doesn't work with this PR or are you talking about release version?

@adipierro
Copy link

adipierro commented Aug 31, 2024

okay I've compiled BluetoolFixup with a compatibility fix from this PR, can confirm it works on 24A5331b

@adipierro
Copy link

but not after sleep :)
I will try to tinker with pmheart-btf15-20240616 branch

@philsaino
Copy link

Hi, Same problem here on Sequoia... will be released a new version of the kext?

@FajleRabbi
Copy link

I'm also facing the same issue, is there any chances to release new version of the kext?

@dnrshtnk
Copy link

dnrshtnk commented Sep 18, 2024

I'm also facing the same issue, is there any chances to release new version of the kext?

try this version
BlueToolFixup.kext.zip
It's working for me

@fanpengy
Copy link

I'm also facing the same issue, is there any chances to release new version of the kext?

try this version BlueToolFixup.kext.zip It's working for me

I'm curious where you got it from, it worked well for me, but it didn't apply any patches to /usr/sbin/bluetoothd, even thought it did work well for me.

@dnrshtnk
Copy link

I'm curious where you got it from, it worked well for me, but it didn't apply any patches to /usr/sbin/bluetoothd, even thought it did work well for me.

built from this /~https://github.com/Lorys89/BrcmPatchRAM/

@fanpengy
Copy link

I'm curious where you got it from, it worked well for me, but it didn't apply any patches to /usr/sbin/bluetoothd, even thought it did work well for me.

built from this /~https://github.com/Lorys89/BrcmPatchRAM/

Thanks ! ! !

@duluosheng
Copy link

bcm94352z lenovo version, does not work on macOS 15

@wwbfred
Copy link

wwbfred commented Sep 29, 2024

I'm curious where you got it from, it worked well for me, but it didn't apply any patches to /usr/sbin/bluetoothd, even thought it did work well for me.

built from this /~https://github.com/Lorys89/BrcmPatchRAM/

I built from Lorys89's fork, but it doesn't work, and it's much smaller than your version.
By the way, your version of BlueToolFixup is the only one that works for me on the internet.
But there is a bug when the system shuts down, devices can not be released properly.
Where can I report it? Thanks a lot!

@MorfiMorfi
Copy link

I have a flash drive with Bluetooth version 2, unfortunately the file above did not help, maybe in my case some other edits are needed?

@lazosweb
Copy link

lazosweb commented Oct 1, 2024

I'm also facing the same issue, is there any chances to release new version of the kext?

try this version BlueToolFixup.kext.zip It's working for me

This worked for me for ASUS BT-400. What is the difference?

With the below NVRAM Patch...

<key>bluetoothExternalDongleFailed</key>
<data>AA==</data>
<key>bluetoothInternalControllerInfo</key>
<data>AAAAAAAAAAAAAAAAAAA=</data>

@luizmeliga
Copy link

I have a BT400 and the Bluetooth keeps searching and doesn't find any device. I've already tried using the BlueToolFixup.kext that they posted here, I also tried it with and without the NVRAM Patch. Does anyone know how to solve it? On Windows it works perfectly.

@vedantmgoyal9
Copy link
Contributor Author

@zxystd can this be merged and hopefully, a new version of the kext can be released?

@lazosweb
Copy link

lazosweb commented Oct 1, 2024

I have a BT400 and the Bluetooth keeps searching and doesn't find any device. I've already tried using the BlueToolFixup.kext that they posted here, I also tried it with and without the NVRAM Patch. Does anyone know how to solve it? On Windows it works perfectly.

For me this (searching and doesn't find any device) happens when I use a USB that does not have a Broadcom chip.

@luizmeliga
Copy link

I have a BT400 and the Bluetooth keeps searching and doesn't find any device. I've already tried using the BlueToolFixup.kext that they posted here, I also tried it with and without the NVRAM Patch. Does anyone know how to solve it? On Windows it works perfectly.

For me this (searching and doesn't find any device) happens when I use a USB that does not have a Broadcom chip.

How do I find out his chip??

@lazosweb
Copy link

lazosweb commented Oct 1, 2024

I have a BT400 and the Bluetooth keeps searching and doesn't find any device. I've already tried using the BlueToolFixup.kext that they posted here, I also tried it with and without the NVRAM Patch. Does anyone know how to solve it? On Windows it works perfectly.

For me this (searching and doesn't find any device) happens when I use a USB that does not have a Broadcom chip.

How do I find out his chip??

If you have an ASUS BT-400 the chip should be a Broadcom chip.

@PMheart
Copy link
Member

PMheart commented Oct 1, 2024

@adipierro Does pmheart-btf15-20240616 work for you after sleep?

@adipierro
Copy link

adipierro commented Oct 1, 2024

@adipierro Does pmheart-btf15-20240616 work for you after sleep?

@PMheart, hi!

Not really, since some beta version it actually makes bluetoothd crash frequently, and not work at all.

Bluetooth works, however, after sleep with this simple PR, if I turn Bluetooth off before suspending machine. And a quick fix is resetting BluetoothExternalAdapterSomethingFailed in nvram, and killing bluetoothd afterwards.

It might just not be able to "see" the adapter while USB is re-initializing, and could be my machine specific.

I tried to patch out the NVRAM option write inbluetoothd as well myself by analyzing it with ida, but unfortunately don't have enough reverse engineering experience for this.

Will it be useful if I try to collect debug Bluetooth logs for you the moment it fails after sleep?

@PMheart
Copy link
Member

PMheart commented Oct 1, 2024

Thanks for the heads up. Then for now I have no idea, apologies.

@Andrey1970AppleLife Andrey1970AppleLife merged commit bdb3435 into acidanthera:master Oct 2, 2024
@Edwardwich
Copy link

Edwardwich commented Oct 2, 2024

Thanks for the heads up. Then for now I have no idea, apologies.

bluetooth can't receive file after sleep its normal ?
aslo I try to tern off and on agin BT connect to device but I cant resive file with bluetooth

@stevezhengshiqi
Copy link

stevezhengshiqi commented Oct 3, 2024

@adipierro Hi, thank you for testing. There's a recent fix on BlueToolFixup if you can help to test. 061486c You can download the kext in /~https://github.com/acidanthera/BrcmPatchRAM/actions/runs/11143115875

@adipierro
Copy link

@stevezhengshiqi thank you for letting me know about it 😊

I recently talked with PMheart about this patches in private, and I wanted to test them soon, but I still need to investigate bluetoothd crashes with it.

Although it mostly works with 15.1, there are still some issues after sleep. As soon as I find time for this I'd be happy to do it. Maybe even create new patches 👀

@tarkh
Copy link

tarkh commented Oct 5, 2024

@adipierro Hi, thank you for testing. There's a recent fix on BlueToolFixup if you can help to test. 061486c You can download the kext in /~https://github.com/acidanthera/BrcmPatchRAM/actions/runs/11143115875

Confirm BT works again on 15.0. Thank you!

BCM20702A0
Firmware Version:  v8718 c5810
Product ID:             0x180a
Vendor ID:              0x0b05  (ASUSTek Computer Inc.)

@ruler666
Copy link

ruler666 commented Nov 8, 2024

And a quick fix is resetting BluetoothExternalAdapterSomethingFailed in nvram, and killing bluetoothd afterwards.


Thank you so very very much for this @adipierro ! After million reboots, kexts, maps.....whatever....this worked. I didn't even know how to do it, so if anyone stumbles upon this thread, here's the drill:

sudo NVRAM bluetoothExternalDongleFailed=%00
sudo pkill bluetoothd

Before that with 'NVRAM -p' you can actually check what's going on and if you have %01 up there, most probably you have a problem you can fix with this.

@debby97cheer
Copy link

一个快速的解决方法是在 nvram 中重置BluetoothExternalAdapterSomethingFailedbluetoothd然后终止。

非常感谢@adipierro!经过无数次重启、kext、地图......不管怎样......这个终于成功了。我甚至不知道该怎么做,所以如果有人偶然发现这个帖子,下面是练习:

sudo NVRAM bluetoothExternalDongleFailed=%00 sudo pkill bluetoothd

在此之前,您可以使用“NVRAM -p”实际检查发生的情况,如果那里有%01,则很可能存在问题,您可以使用它来修复。

非常有用

@phtmgt
Copy link

phtmgt commented Jan 27, 2025

So, the NVRAM set works for me, too, but this is not something that is viable (don’t have a usb keyboard and mouse, they are both bluetooth, so there’s no way to apply the setting). Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.