Jump to content

BrcmPatchRAM2 for 10.15 Catalina (Broadcom bluetooth firmware upload)


headkaze
424 posts in this topic

Recommended Posts

With my DW1820A card 0a56 6412, I found bluetooth firmware 4688 to be the most stable, which a lot of drivers don't seem to use for some reason. 4689 and 5776 definitely have unreliable connections whereas 4688 is solid as a solid thing. (that's when connected to 5ghz wifi as co-ex with 2.4ghz is still an issue as far as I can tell). If you can't see 5ghz wifi, try changing the channel to 44 and not 36 (or auto) on your router)
So I think I have recompiled acidanthera's with 4688 incorporated. All of the info.plists list this so I'm hoping it's ok. I've test on my Mojave 10.14.6 with BrcmFirmwareData.kext and BrcmPatchRAM2.kext in Clover/kexts/other and also BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext in L/E and it seems fine in both instances.
I'm not on Catalina so can't test but if someone with the same card wants to try the files are here but please do so at your own risk.

Thanks again to all you brain boxes.

Brcm.zip

Edited by Julz
Link to comment
Share on other sites

On 4/21/2020 at 2:54 AM, headkaze said:

For those experiencing the "Failed to Open Device" error there has been a patch by @mishurov. Discussion is here.

 

I've uploaded BrcmPatchRAM v2.5.3 here.

 

Please let us know if it fixes things for you.

 

 

 

This version worked perfectly for me. Previously I have not been able to use BRCMRAMPatch3 only BRCMRAMPatch2. Thanks for this update :)

 

I do notice that audio through my BT headphones Cowin E7Pros is stuttering. :(

 

Any chance you can place links to updated kexts in your first post?

Edited by sonicthehedgehog2
Link to comment
Share on other sites

Is there a way in this world to add support for Atheros chipsets that need the firmware uploaded?

 

I believe the first kext was IOath3kfrmwr but worked up to High Sierra. I wish there could be a way to allow the AR3011 to work on Mojave/Catalina.

 

What can be done?

Link to comment
Share on other sites

I've been using BRCMRAMPatch3 for my dw1820a adapter. But there is problem when wake from sleep. The bluetooth stops working when I am using Apple magic keyboard 2 w/ number pad in wireless mode upon wake. But if the keyboard is wired and waking the machine, no problem at all.

 

So I guess the keyboard is messing bluetooth at wake somehow? The kext I use is from acidanthera latest 2.5.3 build.

Link to comment
Share on other sites

Hello, @headkaze

 

My bluetooth device has VendorID 0x14E4 and ProductID 0x432B (BCM94322, which corresponds to Dell DW1510, I think) located in internal USB port HS10. In this case, how would be the patch?

 

All I know is that it would be something like: 

<key>14e4_432b</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.no-one.$(PRODUCT_NAME:????????????)</string>
            <key>DisplayName</key>
            <string>BCM4322 Bluetooth 4.0</string>
            <key>FirmwareKey</key>
            <string>BCM????????????????????????</string>
            <key>IOClass</key>
            <string>BrcmPatchRAM3</string>
            <key>IOMatchCategory</key>
            <string>BrcmPatchRAM3</string>
            <key>IOProviderClass</key>
            <string>IOUSBHostDevice</string>
            <key>IOProbeScore</key>
            <integer>4000</integer>
            <key>idProduct</key>
            <integer>5348</integer>
            <key>idVendor</key>
            <integer>17195</integer>
        </dict>

 

Link to comment
Share on other sites

  • 2 weeks later...
10 hours ago, swatchie-1 said:

Hey guys, does your DW1820A able to connect to your own Personal Hotspot? Mine will say it can't connect eventhough it's there.Here's the screenshots. Any reply is appreciated.

Screen Shot 2020-07-04 at 5.03.05 PM.png

Screen Shot 2020-07-04 at 5.03.28 PM.png

 

My DW1560 have the same issue. I believe only native WifiCards+BT will work.

 

7 hours ago, MacKonsti said:

This is a thread for Bluetooth mate and using the BrcmPatchRAM kext in Catalina, you refer to a Wi-Fi problem, not the correct discussion here I think.

 

The negotiation to activate Personal Access between macOS and iPhone is carried out via bluetooth. So it is related... :)

 

  • Thanks 2
Link to comment
Share on other sites

Hi @headkaze and @darkvoid and everyone, hope you are well and safe. I have a weird situation and wanted your feedback, please.

 

I am using a BCM4350 combo card (DW1820A variant, Foxconn T77H649.00 for Lenovo 00JT494 part number) and BTLE is reported as Broadcom BCM2045A0 [0a5c:6414] that works great with the expected BrcmPatchRAM3.kext and BrcmFirmwareData.kext and BrcmBluetoothInjector.kext under Catalina 10.15.5.

 

However, each time I reboot or I wake my Lenovo IdeaPad S145-14iWL from sleep, I need to turn Bluetooth OFF then ON in order to connect to a device e.g. my Logitech MX Anywhere 2 mouse. After this operation, the mouse connects instantly and works perfectly until a reboot or wake.

 

Any idea what would this happen? I see that my BTLE [0a5c:6414] is among the supported devices (on GitHub page) and the firmware version loaded is v7 c6820 so could this be the issue? No chipset is detected, unfortunately:
 

Spoiler

 


Apple Bluetooth Software Version:   7.0.5f6
Hardware, Features and Settings:
  Name:                             Lenovo
  Address:                          70-xx-xx-xx-xx-xx
  Bluetooth Low Energy Supported:   Yes
  Handoff Supported:                Yes
  Instant Hot Spot Supported:       Yes
  Manufacturer:                     Broadcom
  Transport:                        USB
  Chipset:                          Unknown (6e)
  Firmware Version:                 v7 c6820
  Bluetooth Power:                  On
  Discoverable:                     Off
  Connectable:                      Yes
  Auto Seek Pointing:               On
  Remote wake:                      On
  Vendor ID:                        0x0A5C
  Product ID:                       0x6414
  Bluetooth Core Spec:              4.1 (0x7)
  HCI Revision:                     0x1AA4
  LMP Version:                      4.1 (0x7)
  LMP Subversion:                   0x6607
  Device Type (Major):              Computer
  Device Type (Complete):           Mac Portable
  Composite Class Of Device:        0x38010C
  Device Class (Major):             0x01
  Device Class (Minor):             0x03
  Service Class:                    0x1C0
  Auto Seek Keyboard:               On

 

 

  • In Windows 10, I think I need to do the same operation too, and this is kinda disappointing... could it be due to the laptop's firmware?
  • Anything you could suggest that I can inject as device-properties via Clover, to resolve this, like some "reset" command?
  • Could this be related to the fact that it's USB connected internally thus some Clover config parameter may help?
  • NOTE: a) XOSI is used, of course, in Clover; b) the WLAN module part of the BCM4350 card however does not require the off/on operation, works and connects straight away after each boot/wake; c) I am using USBPorts.kext already via Hackintool.

 

Thank you all in advance!

 

P.S. @headkaze perhaps you'd also consider changing the topic name from BrcmPatchRAM2 to the name used in GitHub project like BrcmPatchRAM as we also have v3 now ? Just an idea :D

btle.log

Edited by MacKonsti
Link to comment
Share on other sites

  • 2 weeks later...

Another success with Fake EC trick. Without it the firmware isn't uploaded correctly or only does after reboot from Windows. Should have to note that the Fake EC isn't fully success, I can't view EC with IORegistryExplorer but the firmware does uploaded :)

 

The issue of Fake EC might due to X58 Xeon system, it is too old. SSDTTime failed by saying "Could not locate LPC(B)". I actually manually edited SSDT-EC.aml


Lastly these 3 kexts are installed to /EFI/Clover/kexts/Other

BrcmBluetoothInjector.kext
BrcmFirmwareData.kext
BrcmPatchRAM2.kext

 

Thanks a lot devs!

Link to comment
Share on other sites

  • 3 weeks later...

@headkaze

 

what's the difference between 2.5.3 you shared here and the acidanthera 2.5.3 release?

I tried both and noticed that your version works better, I can wake up catalina using your version, but cannot using acidantera version. just wonder whether the magic fix can be ported over

I'm using a AW-CE123H

Edited by 0xd1ab10
Link to comment
Share on other sites

Hello and thanks for your sharing. I'm not well versed in Hackintosh, I just got lucky to make it work with some help on internet with technolli files.

 

1) I want to resolve an issue,  I installed a genuine Apple airport a pci Adapter in Catalina 10.15.6 with. I have OPEN CORE 0.5.9, Gigabyte Vison z490. WIfi is not working BT is OK.  I'm don't want to use the Fenvi Card that I bought before I found the airportcards. (BCM94360CD and a BCM94331CD).

 

Also, I cannot make any of these cards to to connect with Bluetooth devices like Bose headphones, midi Keyboards.  Not the Fenvi, not the Airports. 

 

I really appreciate if you kindly give me a hand. I'm putting my config and screens of the kexts that I have in the EFI folder: BT4LEContinutyFixup, Intelbluetoothfirmware, Intelbluetoothinjector and the ones I downloaded to replace or to add, really don't know. : Airportbrcm4360_injector and AirportBcrmNIC

I added those to the config I think they didn't work along the others cos I lost Wifi and BT also.

Hope somebody with more knowledge than I can help me or explain as easy as possible the way to go to put up running the Genuine Airport in my 10.15.6 system. or if need to do something else.

2) Also, Anyone knows what is need it to put to work Aiport during the Booting stage since a thread mentioned it should work only when you have a genuine apple airport card and the keyboard and mouse connects without issues. But not mine.


BEst regards and thanks for let me be in this community.

Configplist.zip

Link to comment
Share on other sites

Hello my friends. Thanks for sharing all your findings. I really appreciate the efforts. I'm not well versed in Hackintosh matters. I just got lucky and start to make run a new build with Catalina 10.15.6 and Gigabyte Z490 Vision. I've been using FEnvi and it is straight forward with Wifi and Bt. but the latter is too weak that only connects with the apple keyboard, but not with midi controllers, not with the Bose headphones that I have. So I followed I'm trying to improve my setup.

I found a genuine BCM94360CD and a BCM94331CD with a PCI ADapter, In part cos, it sounded better to have something genuine and to let me use the apple keyboard from the booting stage but nothing happened, Keyboard doesn't work, I don't know what extra step I need to do in the BIOS, so anyways ...I installed then and I had Bluetooth out of the box with the same problem of weak signal but NO WIFI.!!!!  I didn't change my Config.Plist ( I just did an exercise adding some kexts below but didn't work)

(I'm using Open Core 0.5.9) so my question to you guys, if you can shed some light on Which kexts to add to the EFi and which to remove and what it has to be changed in the config in order to make it run natively.  I'm kind of lost.

I really appreciate if you kindly give me a hand. I'm putting my config and screens of the kexts that I have in the EFI folder: BT4LEContinutyFixup, Intelbluetoothfirmware, Intelbluetoothinjector and the ones I downloaded to replace or to add: Airportbrcm4360_injector and AirportBcrmNIC

I added those to the config I think they didn't work along the others cos I lost Wifi and BT also when I restarted. So I'm pretty sure is a matter of getting the right kexts and config.


Hope somebody with more knowledge than I can help me or explain as easy as possible the way to go to put up running this setup
 
WIFI + BT 
and BOOTING Stage recognizing 

BEst regards and thanks for let me be in this community.

Configplist.zip

 
Edited by virtualevans
Link to comment
Share on other sites

  • 1 month later...

Hi,

 

I've a DW1820A in M2 slot. (wifi & Bluetooth on Big Sur with BrcmPatchRAM3, Injector and BrcmFirmwareData kexts)

I use Bluetooth Apple keyboard and Mouse.

On cold boot all working fine, debug said Bluetooth firmware loading.

After warm boot firmware not loading debug said not necessary -> so keyboard and mouse does not work anymore.

 

Cold boot and all ok of course, it seems to be a bug or bad config from my side who know !

 

Fred

 

 

 

Link to comment
Share on other sites

  • 1 month later...

Hi.

I have [13d3:3404] 4352HMB Azurewave Module and using BrcmBluetoothInjector.kext BrcmPatchRAM3.kextBrcmFirmwareData.kext ( USB port injected using USBports.kext and BT USB port type is internal).

No log found using log show --last boot | grep -I brcm. The bluetooth detected but not working and keep restarting.

But when I'm rebooting from ubuntu or windows bluetooth works fine. When I checked IOReg, Noticed the Vendor and Product Id changed to 0CF3:3005.

 

I have changed the original WiFi+BT of laptop. Is something wrong with my ACPI? Do I need change device properties in SSDT?

Attached the 2 IORegs.

noBt.zip

workingBt.zip

 

Update

I found out that my BT is Atheros AR3011 not Broadcom 3404 (that was my old WiFi+BT). somehow rebooting to macOS from Windows or Linux will correct the VID/PID, Otherwise it's still showing 13d3:3404. Anyone knows to change the VID/PID of USB Device?

 

Edited by MJKhaani
last status
Link to comment
Share on other sites

Hi there.

I have an issue on Big Sur. Yes I know, it is new. But what is your experience? Maybe I have something wrong.

On Catalina my Wifi/Bluetooth (BCM94350ZAE) in M.2 Socket adapter worked OK with BrcmPatchRam3, injector and firmwaredata in EFI kexts other folder.

Now on Big Sur I got kernel panic, when my bluetooth is connected to internal USB pins. I think my USBs are well mapped.

Thank you for help

Link to comment
Share on other sites

  • 1 month later...

I am on Big Sur 11.0.1 & OpenCore 0.6.4 with AirportBrcmFixup.kext, BrcmBluetoothInjector.kext, BrcmFirmwareData.kext, BrcmPatchRAM3.kext in my EFI/OC/Kexts.
For USB mapping, USBMap.kext is being used.

Wifi is working fine with AirportBrcmFixup.kext.
Bluetooth is loaded but there's no option to turn it on.

please check screenshot attached, tried to include everything
Can anyone help? Please?

[0489:e07a] Lenovo China 4352+20702 NGFF (T77H543.00)
which is mentioned supported on https://github.com/acidanthera/BrcmPatchRAM . But isn't working for me with above configuration.
PS: Although it works correctly in windows.

Screenshot 2020-12-14 at 7.58.58 AM.png

Screenshot 2020-12-14 at 7.59.19 AM.png

Screenshot 2020-12-14 at 8.00.23 AM.png

Screenshot 2020-12-14 at 10.34.06 AM.png

Link to comment
Share on other sites

  • 1 month later...
On 12/26/2020 at 4:22 PM, iammask said:

I am on Big Sur 11.0.1 & OpenCore 0.6.4 with AirportBrcmFixup.kext, BrcmBluetoothInjector.kext, BrcmFirmwareData.kext, BrcmPatchRAM3.kext in my EFI/OC/Kexts.
For USB mapping, USBMap.kext is being used.

Wifi is working fine with AirportBrcmFixup.kext.
Bluetooth is loaded but there's no option to turn it on.

please check screenshot attached, tried to include everything
Can anyone help? Please?

[0489:e07a] Lenovo China 4352+20702 NGFF (T77H543.00)
which is mentioned supported on https://github.com/acidanthera/BrcmPatchRAM . But isn't working for me with above configuration.
PS: Although it works correctly in windows.

Screenshot 2020-12-14 at 7.58.58 AM.png

Screenshot 2020-12-14 at 7.59.19 AM.png

Screenshot 2020-12-14 at 8.00.23 AM.png

Screenshot 2020-12-14 at 10.34.06 AM.png


@headkaze in newer built also, it is broken

Link to comment
Share on other sites

×
×
  • Create New...