Contribute
Register

BrcmPatchRAM - Upload firmware into Broadcom Bluetooth USB devices

Status
Not open for further replies.
This thread is for Broadcom BT. Atheros is off-topic and not well supported by OS X anyway.

As far as the other BCM card, it would depend on the details (vendor/device-id of the bluetooth,etc).

Ok thank you.

No, I realise this thread is for BCM BT - as in my Belkin and the mini-PCI-e - I mention the Atheros only because that's paired with the BCM BT USB at the moment. As Apple used Atheros too, I wondered if the BT C/H-off part worked with it. Not to worry, I'll re-install the mini-PCI-e and check it out.

Best regards
 
So, I want to give Continuity a new try.
What I got:
GA Z87x-ud5 TH
CPU:i5 3,2Ghz 4460
Graphics: Internal Intel HD4600
Magic Mouse and Apple BT Keyboard.

The WIFI and Bluetooth on the MotherBoard is working, but not as expected.

WIFI is working good. But the Bluetooth Magic Mouse is horrible and lacking action. Drops out here and there. Loses connection and does respond very slow from time to time. Keyboard is working very well.

I use the following kext:

BrcmFirmwareRepo.kext
BrcmPatchRAM2.kext
BTFirmwareUploader.kext


But because the BT on the Mouse was so bad I deleted those kexts and used my old BT Dongle V2. which works native.
I like the HandOff Feature and I want to give it another try.

I tried Continuity Activation Tool. The Tool says everything should work but it doesn´t.
I have attached some Photos.
Any help is very welcome.
 

Attachments

  • Bildschirmfoto 2016-06-22 um 10.19.59.png
    Bildschirmfoto 2016-06-22 um 10.19.59.png
    187.7 KB · Views: 102
  • Bildschirmfoto 2016-06-22 um 10.36.25.png
    Bildschirmfoto 2016-06-22 um 10.36.25.png
    223 KB · Views: 112
I use the following kext:

BrcmFirmwareRepo.kext
BrcmPatchRAM2.kext
BTFirmwareUploader.kext

BTFirmwareUploader.kext conflicts with BrcmPatchRAM kexts.

And any discussion of BTFirmwareUploader.kext is off-topic here. This thread is only for BrcmPatchRAM.
 
Thank you for your response. i apologize about naming and asking about the BTFirmawareUploader.kext. Sometimes it all sounds the same to me. so, pls excuse.
 
Thank you for your response. i apologize about naming and asking about the BTFirmawareUploader.kext. Sometimes it all sounds the same to me. so, pls excuse.

Post #1 here and the BrcmPatchRAM README make no mention of BTFirmwareLoader.kext.

Just sayin'....
 
Yes. I see. I´m sorry. My bad!
Now, as I only use BrcmPatchRAM and deleted the "off-topic" kext, do you have an idea how I can get Continuity to run? The Activation Tool is saying everything is applied.
 
Yes. I see. I´m sorry. My bad!
Now, as I only use BrcmPatchRAM and deleted the "off-topic" kext, do you have an idea how I can get Continuity to run? The Activation Tool is saying everything is applied.

For handoff, you need only a simple entry in your config.plist. No need to use CAT (I've never used it).

But handoff specifics are off-topic here. This thread is for firmware upload using BrcmPatchRAM only.

See guide: http://www.tonymacx86.com/threads/guide-airport-pcie-half-mini-v2.104850/
 
Thank you RehabMan for your patient, as I was off topic again! I have to learn the Forum better! Thanks for the link.
 
Thank you RehabMan and the-darkvoid for providing all this valuable information and putting so much thought and time into the development of the patches.

I am stuck at beginner's problem.

I used this guide: El Capitan on the Skylake Fatal1ty Z170 Gaming-ITX/ac (BCM20702A1)
to put together my first Hackintosh. In general it works great but I can't overcome the "deletion" of the bluetooth firmware after the system is shut down. I understand why this happens but I can't fix it.

BrcmPatchRam2 and BrcmFirmwareRepo are installed in L / E / via KextBeast (I also tried sudo cp and rebuilding the kextcache via terminal as explained in this thread), SIP is turned off through csr-active-config 0x67 and kext-dev-mode=1 is active.

grep -y brcmpatch /var/log/system.log shows the following information after a cold boot (when BT is not working anymore).

Code:
un 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Version 2.2.6 starting on OS X Darwin 15.5.
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Published new IOKit personality for BrcmFirmwareStore.
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Published new IOKit personality for BrcmPatchRAMResidency.
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM: Loaded firmware "BCM20702A1_001.002.014.1443.1479_v5575.zhx" from resources.
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM: Decompressed firmware (29713 bytes --> 70105 bytes).
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM: Firmware is valid IntelHex firmware.
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: USB [80A58916B6C3 v274] "BCM20702A0" by "Broadcom Corp"
Jun 25 12:29:46 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: Not responding - Delaying next read.
Jun 25 12:29:46 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: device request failed ("0xe00002ed (UNDEFINED)" 0xe00002ed).
Jun 25 12:29:46 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: continuousRead - Failed to queue read (0xe00002d8)
Jun 25 12:30:22 Magnus-Desktop com.apple.kextcache[457]: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext

After deleting and reinstalling the patches BT works perfectly again and the log shows:

Code:
Jun 25 12:32:16 localhost kernel[0]: BrcmPatchRAM2: Version 2.2.6 starting on OS X Darwin 15.5.
Jun 25 12:32:16 localhost kernel[0]: BrcmPatchRAM2: Published new IOKit personality for BrcmFirmwareStore.
Jun 25 12:32:16 localhost kernel[0]: BrcmPatchRAM2: Published new IOKit personality for BrcmPatchRAMResidency.
Jun 25 12:32:17 localhost kernel[0]: BrcmPatchRAM: Loaded firmware "BCM20702A1_001.002.014.1443.1479_v5575.zhx" from resources.
Jun 25 12:32:17 localhost kernel[0]: BrcmPatchRAM: Decompressed firmware (29713 bytes --> 70105 bytes).
Jun 25 12:32:17 localhost kernel[0]: BrcmPatchRAM: Firmware is valid IntelHex firmware.
Jun 25 12:32:17 localhost kernel[0]: BrcmPatchRAM2: [13d3:3404]: USB [80A58916B6C3 v274] "BCM20702A0" by "Broadcom Corp"
Jun 25 12:32:18 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: Firmware upgrade completed successfully.
Jun 25 12:32:18 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: Published new IOKit personality.
Jun 25 12:32:18 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Processing time 1.493 seconds.
Jun 25 12:32:19 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Version 2.2.6 starting on OS X Darwin 15.5.
Jun 25 12:32:19 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: USB [80A58916B6C3 v274] "BCM20702A0" by "Broadcom Corp"
Jun 25 12:32:19 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: Firmware upgrade not needed.
Jun 25 12:32:19 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: Found existing IOKit personality "com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport".
Jun 25 12:32:19 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Processing time 0.13 seconds.

What step am I missing?

The ioReg is attached.
 

Attachments

  • Desktop.ioreg
    5 MB · Views: 108
Thank you RehabMan and the-darkvoid for providing all this valuable information and putting so much thought and time into the development of the patches.

I am stuck at beginner's problem.

I used this guide: El Capitan on the Skylake Fatal1ty Z170 Gaming-ITX/ac (BCM20702A1)
to put together my first Hackintosh. In general it works great but I can't overcome the "deletion" of the bluetooth firmware after the system is shut down. I understand why this happens but I can't fix it.

BrcmPatchRam2 and BrcmFirmwareRepo are installed in L / E / via KextBeast (I also tried sudo cp and rebuilding the kextcache via terminal as explained in this thread), SIP is turned off through csr-active-config 0x67 and kext-dev-mode=1 is active.

grep -y brcmpatch /var/log/system.log shows the following information after a cold boot (when BT is not working anymore).

Code:
un 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Version 2.2.6 starting on OS X Darwin 15.5.
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Published new IOKit personality for BrcmFirmwareStore.
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Published new IOKit personality for BrcmPatchRAMResidency.
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM: Loaded firmware "BCM20702A1_001.002.014.1443.1479_v5575.zhx" from resources.
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM: Decompressed firmware (29713 bytes --> 70105 bytes).
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM: Firmware is valid IntelHex firmware.
Jun 25 12:29:41 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: USB [80A58916B6C3 v274] "BCM20702A0" by "Broadcom Corp"
Jun 25 12:29:46 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: Not responding - Delaying next read.
Jun 25 12:29:46 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: device request failed ("0xe00002ed (UNDEFINED)" 0xe00002ed).
Jun 25 12:29:46 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: continuousRead - Failed to queue read (0xe00002d8)
Jun 25 12:30:22 Magnus-Desktop com.apple.kextcache[457]: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext

After deleting and reinstalling the patches BT works perfectly again and the log shows:

Code:
Jun 25 12:32:16 localhost kernel[0]: BrcmPatchRAM2: Version 2.2.6 starting on OS X Darwin 15.5.
Jun 25 12:32:16 localhost kernel[0]: BrcmPatchRAM2: Published new IOKit personality for BrcmFirmwareStore.
Jun 25 12:32:16 localhost kernel[0]: BrcmPatchRAM2: Published new IOKit personality for BrcmPatchRAMResidency.
Jun 25 12:32:17 localhost kernel[0]: BrcmPatchRAM: Loaded firmware "BCM20702A1_001.002.014.1443.1479_v5575.zhx" from resources.
Jun 25 12:32:17 localhost kernel[0]: BrcmPatchRAM: Decompressed firmware (29713 bytes --> 70105 bytes).
Jun 25 12:32:17 localhost kernel[0]: BrcmPatchRAM: Firmware is valid IntelHex firmware.
Jun 25 12:32:17 localhost kernel[0]: BrcmPatchRAM2: [13d3:3404]: USB [80A58916B6C3 v274] "BCM20702A0" by "Broadcom Corp"
Jun 25 12:32:18 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: Firmware upgrade completed successfully.
Jun 25 12:32:18 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: Published new IOKit personality.
Jun 25 12:32:18 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Processing time 1.493 seconds.
Jun 25 12:32:19 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Version 2.2.6 starting on OS X Darwin 15.5.
Jun 25 12:32:19 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: USB [80A58916B6C3 v274] "BCM20702A0" by "Broadcom Corp"
Jun 25 12:32:19 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: Firmware upgrade not needed.
Jun 25 12:32:19 Magnus-Desktop kernel[0]: BrcmPatchRAM2: [13d3:3404]: Found existing IOKit personality "com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport".
Jun 25 12:32:19 Magnus-Desktop kernel[0]: BrcmPatchRAM2: Processing time 0.13 seconds.

What step am I missing?

The ioReg is attached.

Your ioreg shows BT working. So does the second log.

But your ioreg also shows you're using the port-limit patch for USB. Using the port limit patch long-term is a mistake.
Eliminate injected ports so you're under the 15-port limit and remove the port limit patch.
 
Status
Not open for further replies.
Back
Top