Contribute
Register

BrcmPatchRAM - Upload firmware into Broadcom Bluetooth USB devices

Status
Not open for further replies.
Joined
Apr 10, 2010
Messages
16
Motherboard
GA Z170X-Gaming 5
CPU
i7 6700K
Graphics
Radeon RX 580 8GB
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
The ioreg shows bluetooth working...

Yes, working, but no Handoff, no Airdrop and no Instant Hotspot. I was pathed the config.plist
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Yes, working, but no Handoff, no Airdrop and no Instant Hotspot. I was pathed the config.plist

They all require supported Broadcom WiFi. No sign of it in your ioreg.
 
Joined
Apr 27, 2013
Messages
4
Motherboard
GA-Q77M-D2H
CPU
Intel Core i7-3770
Graphics
Asus 660 GTX
Mac
  1. MacBook Pro
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
Hi RehabMan,

Sorry for the delay in response but it was two weeks before I had a chance to sit down with my mother's computer again!

I've attached the ioreg output as requested; as far as posting the config.plist, I'm not sure which one we're talking about. I didn't actually make any entries into the plist files that were included in the BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext since the firmware for the dongle I'm using (BCM20702) was already listed (perhaps that's where I'm going wrong though).

I ran the command sudo touch /System/Library/Extensions && sudo kextcache -u / and got the following response but no output:

Screenshot 2016-01-17 13.38.13.png

I also removed the BrcmFirmwareData.kext and replaced it with the BrcmPatchRAM2.kext as it was stated this was the proper kext to use. The output from the system log upon reboot follows:

Screenshot 2016-01-17 13.37.42.png

Hopefully the error of my ways in apparent. The system profiler still displays no Bluetooth.
:think:


 

Attachments

  • Ritas-iMac ioreg.zip
    474.9 KB · Views: 55

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi RehabMan,

Sorry for the delay in response but it was two weeks before I had a chance to sit down with my mother's computer again!

I've attached the ioreg output as requested; as far as posting the config.plist, I'm not sure which one we're talking about. I didn't actually make any entries into the plist files that were included in the BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext since the firmware for the dongle I'm using (BCM20702) was already listed (perhaps that's where I'm going wrong though).

I ran the command sudo touch /System/Library/Extensions && sudo kextcache -u / and got the following response but no output:

View attachment 172616

I also removed the BrcmFirmwareData.kext and replaced it with the BrcmPatchRAM2.kext as it was stated this was the proper kext to use. The output from the system log upon reboot follows:

View attachment 172617

Hopefully the error of my ways in apparent. The system profiler still displays no Bluetooth.
:think:



Seems like BrcmPatchRAM is hanging while trying to upload firmware. Perhaps your USB drivers for the non-Intel USB controller you have the BT device connected to is not compatible.

Connect to an Intel USB port instead.
 
Joined
Jan 25, 2016
Messages
1
Motherboard
MBP
CPU
i7-4960HQ
Graphics
GT 750M
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS
Hi,
please excuse me if this is the wrong thread to post my question. If so i would appreciate if you can point me to the right one.

I am trying to get a USB Bluetooth Dongle with Broadcom Chip (and supported USB ID's) working on a real MacBook PRO Retina under 10.11.
I tried to follow the instructions at https://github.com/the-darkvoid/BrcmPatchRAM/blob/master/README-Mac.md
but it looks like 10.11 does not allow this method anymore. Anyway after following the instructions my system.log looks like:

Jan 25 08:32:45 Raouls-MacBook-Pro com.apple.kextd[47]: ERROR: invalid signature for com.no-one.BrcmPatchRAM2, will not load
Jan 25 08:43:33 Raouls-MacBook-Pro com.apple.kextcache[1553]: BrcmPatchRAM2.kext has invalid signature; omitting.
Jan 26 15:29:07 localhost com.apple.kextd[47]: ERROR: invalid signature for com.no-one.BrcmPatchRAM2, will not load

The bluetooth adaptor is recognized by OSX, it also sees new devices, but after pairing it will not connect anymore. Tried this with Magic Mouse as well as iPhone. I can see that the broadcom dongle does not get its firmware update (v14 4096) as expected from the output in system.log.

So my question: is there an updated description how to use this on a real MAC ? Or what did i do wrong, would the injector kext work?

Any help would be appreciated.
thanks,
Raoul
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi,
please excuse me if this is the wrong thread to post my question. If so i would appreciate if you can point me to the right one.

I am trying to get a USB Bluetooth Dongle with Broadcom Chip (and supported USB ID's) working on a real MacBook PRO Retina under 10.11.
I tried to follow the instructions at https://github.com/the-darkvoid/BrcmPatchRAM/blob/master/README-Mac.md
but it looks like 10.11 does not allow this method anymore. Anyway after following the instructions my system.log looks like:

Jan 25 08:32:45 Raouls-MacBook-Pro com.apple.kextd[47]: ERROR: invalid signature for com.no-one.BrcmPatchRAM2, will not load
Jan 25 08:43:33 Raouls-MacBook-Pro com.apple.kextcache[1553]: BrcmPatchRAM2.kext has invalid signature; omitting.
Jan 26 15:29:07 localhost com.apple.kextd[47]: ERROR: invalid signature for com.no-one.BrcmPatchRAM2, will not load

The bluetooth adaptor is recognized by OSX, it also sees new devices, but after pairing it will not connect anymore. Tried this with Magic Mouse as well as iPhone. I can see that the broadcom dongle does not get its firmware update (v14 4096) as expected from the output in system.log.

So my question: is there an updated description how to use this on a real MAC ? Or what did i do wrong, would the injector kext work?

Any help would be appreciated.
thanks,
Raoul

You need to disable SIP in order to install kexts that are not signed.

You can change it by booting into recovery, and using 'csrutil disable' in Terminal. Then reboot normally, install the required kexts, rebuild cache:
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /

Then reboot back into recovery, and enable SIP (if you want).

Any time the system rebuilds cache, you will lose the unsigned kexts and will need to disable SIP again, rebuild cache, enable SIP.
 
Joined
May 28, 2015
Messages
6
Motherboard
ASUS Z87-PRO
CPU
i5 4670S
Graphics
GTX 760
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
Hi! I can't believe there was a thread about this, I've been trying to get my bluetooth working correctly for over 5 months now and I would really appreciate any help.

My built in wifi and bluetooth device does not work (it is Z87N wifi - shows as a USB device even though it isn't). I bought a USB dongle which has worked off and on. Sometimes I will power up my PC and it won't be flashing and won't work, yet when I restart my PC it will suddenly work (the USB dongle will always work when it is flashing, but sometimes it just doesn't power up on startup). At the moment it isn't working despite my efforts of installing the KEXT to S/L/E.

I have tried to force the PC to switch to the USB dongle via bluetooth explorer but the built in remains active and so this fails to have any effect.

Also, I use clover. I have attached the IORegistryExplorer file from version 2.1.

I would be thankful if this is solved once and for all :mrgreen:
 

Attachments

  • Peter’s iMac.ioreg
    3.9 MB · Views: 113

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi! I can't believe there was a thread about this, I've been trying to get my bluetooth working correctly for over 5 months now and I would really appreciate any help.

My built in wifi and bluetooth device does not work (it is Z87N wifi - shows as a USB device even though it isn't).

As expected. BT is always on USB.

Your ioreg shows CSR BT, not broadcom. Not covered by this kext.
 
Status
Not open for further replies.
Top