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

BlueToolFixup: Add another Vendor callback patch to enable Bluetooth turn on/off after power cycle which is needed from Ventura 13.4. #28

Closed
wants to merge 2 commits into from

Conversation

zxystd
Copy link
Contributor

@zxystd zxystd commented May 31, 2023

Hi,
This is a further fix patch for the same cause of problem. Here is the history link:
#18

Apple's changes broke the original patch, new pseudocode is below:
image

I simply update the patch, fill nop instruction to escape the jump condition.

by the way, 0x77, 0x1A is a relative jump, hardcode the offset 0x1A is also acceptable?

…turn on/off after power cycle which was changed from Ventura 13.3.

acidanthera#18 (comment)
@ethaldeman
Copy link

ethaldeman commented Jun 2, 2023

I have a AzureWave AW-CB160H BCM94360HMB mini-pcie card that worked fine under Ventura 13.3 but broke after updating to 13.4. It won't turn on. I built BlueToolFixup.kext from your pull request and replaced my existing version, deleted Library/Preferences/com.apple.bluetooth.plist, and reset NVRAM. However I am still unable to enable my Bluetooth.

@ameenjuz
Copy link

ameenjuz commented Jun 2, 2023

This fix patch is not working on 13.4
I tried a lot but no luck
i also fill the bluetoothControllerInfo and bluetoothExternalDongelFailed in config
Not worked
240297018-ff080f93-69de-4e49-bdbb-832f9424a993

@Edwardwich
Copy link

This fix patch is not working on 13.4
I tried a lot but no luck
i also fill the bluetoothControllerInfo and bluetoothExternalDongelFailed in config
Not worked
240297018-ff080f93-69de-4e49-bdbb-832f9424a993

try rest nvram

@mnfesq
Copy link

mnfesq commented Jun 2, 2023

I have a dell WiFi/BT combo card with BCM943602BAED BT chipset. I used bluetoothControllerInfo and bluetoothExternalDongelFailed in config and, when I reset NVRAM, it worked. But I needed to reset NVRAM every time I rebooted. It seems that NVRAM changes bluetoothExternalDongelFailed=00 to 01 every time I reboot. I used Hackintool to change NVRAM from 01 to 00 and it activated BT immediately without a reboot. But NVRAM does not want to save that setting even though it is in my config. For me, that is the only thing keeping my bluetooth from working perfectly.

@fairuzmn
Copy link

fairuzmn commented Jun 2, 2023

hi @zxystd , can you provide .kext file with your patch? i want to try it, my bluetooth got NULL address since ventura 13.4

@sileshn
Copy link

sileshn commented Jun 3, 2023

hi @zxystd , can you provide .kext file with your patch? i want to try it, my bluetooth got NULL address since ventura 13.4

https://github.com/zxystd/BrcmPatchRAM/suites/13231677116/artifacts/720906228

Btw, it works for me on 13.5 beta2

@ethaldeman
Copy link

I have a AzureWave AW-CB160H BCM94360HMB mini-pcie card that worked fine under Ventura 13.3 but broke after updating to 13.4. It won't turn on. I built BlueToolFixup.kext from your pull request and replaced my existing version, deleted Library/Preferences/com.apple.bluetooth.plist, and reset NVRAM. However I am still unable to enable my Bluetooth.

Good news, after I added bluetoothInternalControllerInfo and bluetoothExternalDongleFailed to NVRAM from #2285, added the updated BlueToolFixup.kext, deleted Library/Preferences/com.apple.bluetooth.plist, and reset NVRAM, my Bluetooth is working again.

I have confirmed I can connect and play audio to my Bluetooth speaker, turn Bluetooth on and off, shutdown, reboot, and boot into Windows and Linux and the Bluetooth still remains functional in MacOS.

@fairuzmn
Copy link

fairuzmn commented Jun 3, 2023

hi @zxystd , can you provide .kext file with your patch? i want to try it, my bluetooth got NULL address since ventura 13.4

https://github.com/zxystd/BrcmPatchRAM/suites/13231677116/artifacts/720906228

Btw, it works for me on 13.5 beta2

still not working on 13.4

@fairuzmn
Copy link

fairuzmn commented Jun 3, 2023

I have a AzureWave AW-CB160H BCM94360HMB mini-pcie card that worked fine under Ventura 13.3 but broke after updating to 13.4. It won't turn on. I built BlueToolFixup.kext from your pull request and replaced my existing version, deleted Library/Preferences/com.apple.bluetooth.plist, and reset NVRAM. However I am still unable to enable my Bluetooth.

Good news, after I added bluetoothInternalControllerInfo and bluetoothExternalDongleFailed to NVRAM from #2285, added the updated BlueToolFixup.kext, deleted Library/Preferences/com.apple.bluetooth.plist, and reset NVRAM, my Bluetooth is working again.

I have confirmed I can connect and play audio to my Bluetooth speaker, turn Bluetooth on and off, shutdown, reboot, and boot into Windows and Linux and the Bluetooth still remains functional in MacOS.

hi @ethaldeman, do you mind provide downloadable kext ? i want to try thank you

@ethaldeman
Copy link

hi @zxystd , can you provide .kext file with your patch? i want to try it, my bluetooth got NULL address since ventura 13.4

https://github.com/zxystd/BrcmPatchRAM/suites/13231677116/artifacts/720906228

Btw, it works for me on 13.5 beta2

sileshn already provided you a link with the kext for download.

@bilijp153
Copy link

嗨,你能在你的补丁中提供 .kext 文件吗?我想尝试一下,我的蓝牙自文图拉 13.4 以来获得了空地址

https://github.com/zxystd/BrcmPatchRAM/suites/13231677116/artifacts/720906228

顺便说一句,它在 13.5 beta2 上对我有用

使用了里面的BlueToolFixup.kext倒是能使我的AC 9461蓝牙正常开启关闭,但是一旦休眠了蓝牙还是会出错

@ethaldeman
Copy link

Is there a reason this pull request was closed? The solution seemed to fix Broadcom bluetooth for mutilple users in Ventura 13.4.

@superbogie
Copy link

I don't see a merge for this. What gives? This is a valid fix for many users!

@ethaldeman
Copy link

@PMheart @vit9696 Could you consider reopening this pull request and accepting it? It seems to be a fix for a lot of the Broadcom Bluetooth issues users are having on Ventura 13.4.

@PMheart
Copy link
Member

PMheart commented Jun 14, 2023

@ethaldeman zxystd@300581d seems better.

@zxystd Feel free to open a new PR with the aforementioned commit if everything is ready.

@zxystd
Copy link
Contributor Author

zxystd commented Jun 14, 2023 via email

@hcc0306
Copy link

hcc0306 commented Jul 4, 2023

I was forgot to use separate branchs to submit PRs,  now we have two effective patches, one is for the bluetooth switch, the other is for the nvram check, so I closed this PR. Will resubmit PRs here later.

请问能再提供一下kets下载链接吗?上面的打不开了,谢谢

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.