Jump to content

BrcmPatchRAM2 for 10.15 Catalina (Broadcom bluetooth firmware upload)


headkaze
432 posts in this topic

Recommended Posts

Thx for the hint: Tomorrow Morning ill try to recreate the kernel cache! Rest is checked.... (but ill double check again)

 

Final Update: 

The cause of my Problem was, that in the Hackintosh are 2 HDDs inside. I dont know why, but the boot Order was changed. And on the other HDD was another Clover Installation available. After switching the boot Order into the right Order, the System did boot up and your bcrm Files were loaded correctly. BT it working again ... argh..

Edited by barrrrt
Link to comment
Share on other sites

7 hours ago, Mieze said:

@SchillerX Firmware upgrades usually survive a warm boot so that there is no need to upgrade again. In order to get more logs, use the debug version of the kext and perform a cold boot.

 

@speedyrazor Remove headkaze's kexts completely and try mine (BrcmPatchRAM3.kext, version 2.3.0d1) from this thread. Install BrcmPatchRAM3.kext, BrcmFirmwareRepo.kext and BrcmBluetoothInjector.kext to /L/E. Make sure that you don't mix headkaze's kexts with mine as this won't work.

 

 

 

Weird... but I did a cold boot in safe mode and BT was working (immediately paired with my Magic Trackpad 2)... the logs obviously indicated that BrcmPatchRAM3.kext and BrcmFirmwareRepo.kext were not loaded in safe mode.

 

Cold booted in normal mode and now with only BrcmBluetoothInjector.kext loaded in /L/E my BT is working again (DW1830).

 

I'm not sure how to check BrcmBluetoothInjector.kext logs or how it's affecting my system but when I remove it I get the message BT is not available.

 

448920855_Screenshot_2019-10-0918_26.01_o4ZATq.thumb.png.2c57a847e32bc5a52dc92d2ee094d6b2.png

 

I'll keep doing more tests

Edited by SchillerX
typo
  • Thanks 1
Link to comment
Share on other sites

Great work.


shane@MacBook-Pro ~ % log show --predicate 'processID==0' --last 10m | grep BrcmPatch

2019-10-10 10:30:04.443974+1030 0x17d      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: Version 2.3.0d2 starting on OS X Darwin 19.0.

2019-10-10 10:30:10.302339+1030 0x17d      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: Loaded compressed embedded firmware for key "BCM20702A1_001.002.014.1443.1479_v5575".

2019-10-10 10:30:10.302888+1030 0x17d      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: Decompressed firmware (29713 bytes --> 70105 bytes).

2019-10-10 10:30:10.303409+1030 0x17d      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: Firmware is valid IntelHex firmware.

2019-10-10 10:30:10.403600+1030 0x17d      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [13d3:3404]: USB [74C63B4F9EEF v274] "BCM20702A0" by "Broadcom Corp"

2019-10-10 10:30:10.434796+1030 0x17d      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [13d3:3404]: Firmware upgrade not needed.

2019-10-10 10:30:10.434900+1030 0x17d      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: Processing time 0.131 seconds.

 

Screen Shot 2019-10-10 at 10.33.03 am.png

  • Thanks 1
Link to comment
Share on other sites

2 hours ago, Mieze said:

 I haven't been lazy today, here is version 2.3.0d2. I improved some details of the driver:

  • Changed SDK and deployment target to 10.11 in order to maintain compatibility with older versions of macOS. In case you are upgrading from an earlier version I posted here in the thread during the last days, please make sure to replace all kexts with the new ones (BrcmPatchRAM3.kext, BrcmFirmwareRepo.kext or BrcmFirmwareData.kext, BrcmBluetoothInjector.kext). Mixing kexts of different versions won't work.
  • Improved error handling so that the driver better recovers from error conditions during firmware upgrade.

Good luck testing!

 

Mieze :cat:

BrcmPatchRAM3-V2.3.0d2.zip

 

+1 for you, Sir. Another DW1830 BT module working on Catalina, now with correct firmware loaded. Thank you for picking this up from @Rehabman and continuing with great work.

  • Thanks 1
Link to comment
Share on other sites

Thank you!
I have some trouble. I put (BrcmPatchRAM3.kext, BrcmFirmwareRepo.kext, BrcmBluetoothInjector.kext) to /L/E and sudo kextcache -i /
And if I load this kext:
sudo
kextutil -v 5 /Library/Extensions/BrcmBluetoothInjector.kext  

sudo kextutil -v 5 /Library/Extensions/BrcmFirmwareRepo.kext  

sudo kextutil -v 5 /Library/Extensions/BrcmPatchRAM3.kext  
 

then log show --predicate 'processID==0' --last 10m | grep BrcmPatch

 

2019-10-10 12:44:50.677062+0800 0x499e     Default     0x0                  0      0    kernel: (BrcmPatchRAM3) BrcmPatchRAM: Version 2.3.0d2 starting on OS X Darwin 19.0.
2019-10-10 12:44:52.678204+0800 0x499e     Default     0x0                  0      0    kernel: (BrcmPatchRAM3) BrcmPatchRAM: [0a5c:216f]: BrcmPatchRAMResidency does not appear to be available.
2019-10-10 12:44:52.738984+0800 0x499e     Default     0x0                  0      0    kernel: (BrcmFirmwareRepo) BrcmPatchRAM: Loaded firmware "BCM20702A1_001.002.014.1443.1572_v5668.zhx" from resources.
2019-10-10 12:44:52.739434+0800 0x499e     Default     0x0                  0      0    kernel: (BrcmFirmwareRepo) BrcmPatchRAM: Decompressed firmware (29651 bytes --> 70012 bytes).
2019-10-10 12:44:52.739761+0800 0x499e     Default     0x0                  0      0    kernel: (BrcmFirmwareRepo) BrcmPatchRAM: Firmware is valid IntelHex firmware.
2019-10-10 12:44:52.841110+0800 0x499e     Default     0x0                  0      0    kernel: (BrcmPatchRAM3) BrcmPatchRAM: [0a5c:216f]: USB [184F32F3E74E v274] "BCM20702A0" by "Broadcom Corp"
2019-10-10 12:44:53.313378+0800 0x499e     Default     0x0                  0      0    kernel: (BrcmPatchRAM3) BrcmPatchRAM: [0a5c:216f]: Firmware upgrade completed successfully.
2019-10-10 12:44:53.313418+0800 0x499e     Default     0x0                  0      0    kernel: (BrcmPatchRAM3) BrcmPatchRAM: Processing time 0.573 seconds.


Bluetooth enabling and works good, but I can connect my headphones only with SBC codec, in Mojave, it worked with AptX 

 

 

And also I have stuck when I booting the OS. If I remove this bluetooth kexts my MacOS booting without problem.
 

image.png

debug_14731.zip

Edited by Visioner
add debug info
Link to comment
Share on other sites

9 hours ago, Mieze said:

 I haven't been lazy today, here is version 2.3.0d2. I improved some details of the driver:

  • Changed SDK and deployment target to 10.11 in order to maintain compatibility with older versions of macOS. In case you are upgrading from an earlier version I posted here in the thread during the last days, please make sure to replace all kexts with the new ones (BrcmPatchRAM3.kext, BrcmFirmwareRepo.kext or BrcmFirmwareData.kext, BrcmBluetoothInjector.kext). Mixing kexts of different versions won't work.
  • Improved error handling so that the driver better recovers from error conditions during firmware upgrade.

Good luck testing!

 

Mieze :cat:

BrcmPatchRAM3-V2.3.0d2.zip

 

Thank you for your tremendous work. Love it.

Here is a log from wake from sleep on Mojave 10.14.6, if it helps:

 

Spoiler

2019-10-10 13:23:29.659808+0600 0x465      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: setPowerState: which = 0x0
2019-10-10 13:23:29.660111+0600 0x465      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: setPowerState: which = 0x1
2019-10-10 13:23:50.231015+0600 0x465      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: setPowerState: which = 0x0
2019-10-10 13:29:48.277894+0600 0x464      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: setPowerState: which = 0x1
2019-10-10 13:29:48.501010+0600 0x6f       Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: stop
2019-10-10 13:29:48.501289+0600 0x6f       Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: free
2019-10-10 13:29:48.507952+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: init
2019-10-10 13:29:48.507971+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: probe
2019-10-10 13:29:48.507976+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: Version 2.3.0d2 starting on OS X Darwin 18.7.
2019-10-10 13:29:48.507990+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: Device supports handshake.
2019-10-10 13:29:50.508132+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: BrcmPatchRAMResidency does not appear to be available.
2019-10-10 13:29:50.508155+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: getFirmware
2019-10-10 13:29:50.508160+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: Retrieved cached firmware for "BCM4350C5_003.006.007.0222.4689_v8785".
2019-10-10 13:29:50.508268+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: start
2019-10-10 13:29:50.508374+0600 0x2440     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: setPowerState: which = 0x1
2019-10-10 13:29:50.609464+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: USB [5800E3402E5A v274] "BCM2045A0" by "Broadcom Corp"
2019-10-10 13:29:50.609469+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: Available composite configurations: 1.
2019-10-10 13:29:50.718634+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: Set device configuration to configuration index 0 successfully.
2019-10-10 13:29:50.718641+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: USBDeviceShim::findFirstInterface
2019-10-10 13:29:50.718647+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: getValidatedInterface returns <private>
2019-10-10 13:29:50.718652+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: Interface 0 (class ff, subclass 01, protocol 01) located.
2019-10-10 13:29:50.718673+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: set configuration and interface opened
2019-10-10 13:29:50.718676+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: findPipe: direction = 1, type = 3
2019-10-10 13:29:50.718679+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-10 13:29:50.718682+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: found matching endpoint
2019-10-10 13:29:50.718879+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: findPipe: direction = 0, type = 2
2019-10-10 13:29:50.718882+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-10 13:29:50.718886+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 2
2019-10-10 13:29:50.718889+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: endpoint found: epDirection = 0, epType = 2
2019-10-10 13:29:50.718892+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: found matching endpoint
2019-10-10 13:29:50.719074+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: got pipes
2019-10-10 13:29:50.719078+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: State "Unknown" --> "Initialize".
2019-10-10 13:29:50.720508+0600 0x135      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: READ VERBOSE CONFIG complete (status: 0x00, length: 10 bytes).
2019-10-10 13:29:50.720514+0600 0x135      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: Firmware version: v4096.
2019-10-10 13:29:50.720524+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: State "Initialize" --> "Firmware version".
2019-10-10 13:29:50.720529+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: getFirmware
2019-10-10 13:29:50.720533+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: Retrieved cached firmware for "BCM4350C5_003.006.007.0222.4689_v8785".
2019-10-10 13:29:50.721445+0600 0x135      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: DOWNLOAD MINIDRIVER complete (status: 0x00, length: 4 bytes).
2019-10-10 13:29:50.721455+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: State "Firmware version" --> "Mini-driver complete".
2019-10-10 13:29:52.724456+0600 0x135      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: END OF RECORD complete (status: 0x00, length: 4 bytes).
2019-10-10 13:29:52.724477+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: State "Instruction write" --> "Firmware written".
2019-10-10 13:29:52.809693+0600 0x135      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: Vendor specific event. Ready to reset device.
2019-10-10 13:29:52.809710+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: State "Firmware written" --> "Reset write".
2019-10-10 13:29:52.813539+0600 0x135      Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: RESET complete (status: 0x00, length: 4 bytes).
2019-10-10 13:29:52.813553+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: State "Reset write" --> "Reset complete".
2019-10-10 13:29:52.814246+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: Device reset.
2019-10-10 13:29:52.814465+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: Device status 0x00000003.
2019-10-10 13:29:52.814472+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: State "Reset complete" --> "Update complete".
2019-10-10 13:29:52.814480+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: [0a5c:6412]: Firmware upgrade completed successfully.
2019-10-10 13:29:52.814524+0600 0x245e     Default     0x0                  0      0    kernel: (kernel) BrcmPatchRAM: Processing time 2.306 seconds.

 

  • Thanks 1
Link to comment
Share on other sites

3 hours ago, Visioner said:

Bluetooth enabling and works good, but I can connect my headphones only with SBC codec, in Mojave, it worked with AptX 

 

 

And also I have stuck when I booting the OS. If I remove this bluetooth kexts my MacOS booting without problem.
 

These kexts upload firmware to the BT controller and make it known to the OS, nothing more, nothing less. What you are describing sounds more like a problem with Catalina's BT stack than a driver issue.

 

If you want more information, use the debug versions of the kexts and boot with boot flag -v to see what's going on. It might also be an USB related issue. Anyway, without detailed debug output, a diagnosis is almost impossible.

  • Like 1
Link to comment
Share on other sites

12 hours ago, Mieze said:

 I haven't been lazy today, here is version 2.3.0d2. I improved some details of the driver:

  • Changed SDK and deployment target to 10.11 in order to maintain compatibility with older versions of macOS. In case you are upgrading from an earlier version I posted here in the thread during the last days, please make sure to replace all kexts with the new ones (BrcmPatchRAM3.kext, BrcmFirmwareRepo.kext or BrcmFirmwareData.kext, BrcmBluetoothInjector.kext). Mixing kexts of different versions won't work.
  • Improved error handling so that the driver better recovers from error conditions during firmware upgrade.

Good luck testing!

 

Mieze :cat:

BrcmPatchRAM3-V2.3.0d2.zip

 

here is log. 

Spoiler

Timestamp                       (process)[PID]    
2019-10-10 19:24:28.986165+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Firmware store start
2019-10-10 19:24:36.398141+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-10 19:24:36.398210+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource: 00000000
2019-10-10 19:24:36.688859+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-10 19:24:36.688916+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource: 00000000
2019-10-10 19:24:36.857183+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-10 19:24:36.857238+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource: 00000000
2019-10-10 19:24:36.914799+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-10 19:24:36.914837+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Loaded compressed embedded firmware for key "BCM20702A1_001.002.014.1483.1651_v5747".
2019-10-10 19:24:36.915356+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Decompressed firmware (29732 bytes --> 70201 bytes).
2019-10-10 19:24:36.915779+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Firmware is valid IntelHex firmware.
2019-10-10 19:24:36.915848+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: start
2019-10-10 19:24:36.915908+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: setPowerState: which = 0x1
2019-10-10 19:24:37.016023+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: USB [ACD1B8E2A4D0 v274] "BCM20702A0" by "Broadcom Corp"
2019-10-10 19:24:37.016031+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Available composite configurations: 1.
2019-10-10 19:24:37.017727+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Set device configuration to configuration index 0 successfully.
2019-10-10 19:24:37.017734+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: USBDeviceShim::findFirstInterface
2019-10-10 19:24:37.017739+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: getValidatedInterface returns <private>
2019-10-10 19:24:37.017745+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Interface 0 (class ff, subclass 01, protocol 01) located.
2019-10-10 19:24:37.017764+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: set configuration and interface opened
2019-10-10 19:24:37.017767+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: findPipe: direction = 1, type = 3
2019-10-10 19:24:37.017770+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-10 19:24:37.017773+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: found matching endpoint
2019-10-10 19:24:37.018045+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: findPipe: direction = 0, type = 2
2019-10-10 19:24:37.018049+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-10 19:24:37.018052+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 2
2019-10-10 19:24:37.018055+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 0, epType = 2
2019-10-10 19:24:37.018057+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: found matching endpoint
2019-10-10 19:24:37.018300+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: got pipes
2019-10-10 19:24:37.018306+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Unknown" --> "Initialize".
2019-10-10 19:24:37.021171+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: READ VERBOSE CONFIG complete (status: 0x00, length: 10 bytes).
2019-10-10 19:24:37.021177+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Firmware version: v4096.
2019-10-10 19:24:37.021187+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Initialize" --> "Firmware version".
2019-10-10 19:24:37.021193+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: getFirmware
2019-10-10 19:24:37.021197+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Retrieved cached firmware for "BCM20702A1_001.002.014.1483.1651_v5747".
2019-10-10 19:24:37.022171+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: DOWNLOAD MINIDRIVER complete (status: 0x00, length: 4 bytes).
2019-10-10 19:24:37.022183+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Firmware version" --> "Mini-driver complete".
2019-10-10 19:24:37.480534+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: END OF RECORD complete (status: 0x00, length: 4 bytes).
2019-10-10 19:24:37.480547+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Instruction write" --> "Firmware written".
2019-10-10 19:24:37.543450+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Vendor specific event. Ready to reset device.
2019-10-10 19:24:37.543485+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Firmware written" --> "Reset write".
2019-10-10 19:24:37.546320+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: RESET complete (status: 0x00, length: 4 bytes).
2019-10-10 19:24:37.546351+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Reset write" --> "Reset complete".
2019-10-10 19:24:37.547267+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Device reset.
2019-10-10 19:24:37.547410+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Device status 0x00000003.
2019-10-10 19:24:37.547419+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Reset complete" --> "Update complete".
2019-10-10 19:24:37.547431+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Firmware upgrade completed successfully.
2019-10-10 19:24:37.547471+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Processing time 0.631 seconds.
 

 

here is new version driver from win7

%BRCM20702Bt.DeviceDesc%=RAMUSBE07A,        USB\VID_0489&PID_E07A       ; Lenovo 4352 NGFF combo module


;;;;;;;;;;;;;RAMUSBE07A;;;;;;;;;;;;;;;;;

[RAMUSBE07A.CopyList]
bcbtums.sys
btwampfl.sys
BCM20702A1_001.002.014.1315.1724.hex

[RAMUSBE07A.NTamd64]
Include=bth.inf
Needs=BthUsb.NT
FeatureScore=F0
CopyFiles=RAMUSBE07A.CopyList

[RAMUSBE07A.NTamd64.hw]
AddReg=RAMUSBE07A.NTamd64.hw.reg

[RAMUSBE07A.NTamd64.hw.reg]
HKR,,LowerFilters, 0x00010000, "bcbtums", "btwampfl"
HKR,,%RAMPatchFileName%,0x00000, "BCM20702A1_001.002.014.1315.1724.hex"
HKR,,%RemoteWakeEnabled%,0x00010001,1
HKR,,%DeviceRemoteWakeSupported%,0x00010001,1

[RAMUSBE07A.NTamd64.Services]
needs=BthUsb.NT.Services
AddService=bcbtums,,BCBTUMS_Service_Inst, BTWSECFL_EventLog_Inst
AddService=btwampfl,,btwampfl.service
AddReg=btwampfl.AddServiceRegistry

 

i didn't edit any bt frimware. this hex file is vanilla.

 

 

 

first, boot windows7, and reboot, boot macos catalina

Spoiler

Timestamp                       (process)[PID]    
2019-10-10 19:42:20.384879+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Firmware store start
2019-10-10 19:42:27.069041+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-10 19:42:27.069099+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource: 00000000
2019-10-10 19:42:27.305106+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-10 19:42:27.305175+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource: 00000000
2019-10-10 19:42:27.354712+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-10 19:42:27.354768+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource: 00000000
2019-10-10 19:42:27.509318+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-10 19:42:27.509394+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Loaded compressed embedded firmware for key "BCM20702A1_001.002.014.1483.1651_v5747".
2019-10-10 19:42:27.509973+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Decompressed firmware (29732 bytes --> 70201 bytes).
2019-10-10 19:42:27.510516+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Firmware is valid IntelHex firmware.
2019-10-10 19:42:27.510592+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: start
2019-10-10 19:42:27.510671+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: setPowerState: which = 0x1
2019-10-10 19:42:27.610746+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: USB [ACD1B8E2A4D0 v274] "BCM20702A0" by "Broadcom Corp"
2019-10-10 19:42:27.610755+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Available composite configurations: 1.
2019-10-10 19:42:27.612538+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Set device configuration to configuration index 0 successfully.
2019-10-10 19:42:27.612545+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: USBDeviceShim::findFirstInterface
2019-10-10 19:42:27.612550+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: getValidatedInterface returns <private>
2019-10-10 19:42:27.612555+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Interface 0 (class ff, subclass 01, protocol 01) located.
2019-10-10 19:42:27.612574+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: set configuration and interface opened
2019-10-10 19:42:27.612579+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: findPipe: direction = 1, type = 3
2019-10-10 19:42:27.612595+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-10 19:42:27.612600+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: found matching endpoint
2019-10-10 19:42:27.612897+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: findPipe: direction = 0, type = 2
2019-10-10 19:42:27.612902+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-10 19:42:27.612905+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 2
2019-10-10 19:42:27.612908+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 0, epType = 2
2019-10-10 19:42:27.612927+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: found matching endpoint
2019-10-10 19:42:27.613206+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: got pipes
2019-10-10 19:42:27.613225+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Unknown" --> "Initialize".
2019-10-10 19:42:27.616046+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: READ VERBOSE CONFIG complete (status: 0x00, length: 10 bytes).
2019-10-10 19:42:27.616053+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Firmware version: v5820.
2019-10-10 19:42:27.616062+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Initialize" --> "Update not needed".
2019-10-10 19:42:27.616068+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Firmware upgrade not needed.
2019-10-10 19:42:27.616134+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Processing time 0.105 seconds.

 

EDIT1

sorry. not sure this file newest firmware. it just shown v5820 more high than your driver default Firmware verison.

 

EDIT2.

uploaded firmware file is for win7.

sorry for confusion. your driver is lastest driver.

http://www.catalog.update.microsoft.com/Search.aspx?q=Broadcom+bluetooth

Edited by Sherlocks
  • Thanks 1
Link to comment
Share on other sites

9 minutes ago, Hologos said:

Hi, great work. Would you be interested to share your work on tonymacx86?

You know my point of view with regard to tonymacx86... :thumbsdown_anim:

 

 

  • Like 4
Link to comment
Share on other sites

4 hours ago, Mieze said:

These kexts upload firmware to the BT controller and make it known to the OS, nothing more, nothing less. What you are describing sounds more like a problem with Catalina's BT stack than a driver issue.

Speaking of problem with Catalina's BT stack, woke up this AM to a KP and a restarted system. According to the report details, the offender was the BT stack. I'll give a shot with the debug version and see if I catch anything on it, but wanted to give heads up.

Link to comment
Share on other sites

20 hours ago, Mieze said:

These kexts upload firmware to the BT controller and make it known to the OS, nothing more, nothing less. What you are describing sounds more like a problem with Catalina's BT stack than a driver issue.

 

If you want more information, use the debug versions of the kexts and boot with boot flag -v to see what's going on. It might also be an USB related issue. Anyway, without detailed debug output, a diagnosis is almost impossible.

Thank you, the issue with the booting was due to USB. Apparently, I incorrectly implemented USBPorts.kext. I returned back to USBInjectAll.kext and booting without an issue using your bluetooth kexts. There are no sleep problems either.
There was a problem with the headphones do not connect with the AptX codec, but I found sad information:
 

Quote

For those still looking, it appears that aptX support has been silently removed from macOS Catalina (10.15); even in the public release.

 

Edited by Visioner
Link to comment
Share on other sites

On 10/9/2019 at 11:57 PM, Mieze said:

 I haven't been lazy today, here is version 2.3.0d2. I improved some details of the driver:

  • Changed SDK and deployment target to 10.11 in order to maintain compatibility with older versions of macOS. In case you are upgrading from an earlier version I posted here in the thread during the last days, please make sure to replace all kexts with the new ones (BrcmPatchRAM3.kext, BrcmFirmwareRepo.kext or BrcmFirmwareData.kext, BrcmBluetoothInjector.kext). Mixing kexts of different versions won't work.
  • Improved error handling so that the driver better recovers from error conditions during firmware upgrade.

Good luck testing!

 

Mieze :cat:

BrcmPatchRAM3-V2.3.0d2.zip

I can confirm it's working for me too!

I have RAM3,Repo and Injector in /L/E  .. rebuilded kernel cache and got Bluetooth again!

 

Thanks

Mattia

Link to comment
Share on other sites

On 10/10/2019 at 12:57 AM, Mieze said:

 I haven't been lazy today, here is version 2.3.0d2. I improved some details of the driver:

  • Changed SDK and deployment target to 10.11 in order to maintain compatibility with older versions of macOS. In case you are upgrading from an earlier version I posted here in the thread during the last days, please make sure to replace all kexts with the new ones (BrcmPatchRAM3.kext, BrcmFirmwareRepo.kext or BrcmFirmwareData.kext, BrcmBluetoothInjector.kext). Mixing kexts of different versions won't work.
  • Improved error handling so that the driver better recovers from error conditions during firmware upgrade.

Good luck testing!

 

Mieze :cat:

BrcmPatchRAM3-V2.3.0d2.zip

Good day! These kext work in my system. But the sound in the AirPods starts interrupted, then stops altogether. Can you check it out? The kexts are set to L/E.

2019-10-11 13:02:55.922325+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: init
2019-10-11 13:02:55.922336+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: probe
2019-10-11 13:02:55.922340+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Version 2.3.0d2 starting on OS X Darwin 19.0.
2019-10-11 13:02:55.922354+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Device supports handshake.
2019-10-11 13:02:57.923428+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: BrcmPatchRAMResidency does not appear to be available.
2019-10-11 13:02:58.079691+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: start
2019-10-11 13:02:58.080112+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: setPowerState: which = 0x1
2019-10-11 13:02:58.181728+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: uploadFirmware could not open the device!
2019-10-11 13:02:58.181733+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Processing time 0.102 seconds.
2019-10-11 13:02:58.181890+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: stop
2019-10-11 13:02:58.181990+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: free
2019-10-11 13:02:58.186630+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: init
2019-10-11 13:02:58.186644+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: probe
2019-10-11 13:02:58.186648+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Version 2.3.0d2 starting on OS X Darwin 19.0.
2019-10-11 13:02:58.186659+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Device supports handshake.
2019-10-11 13:03:00.186958+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: BrcmPatchRAMResidency does not appear to be available.
2019-10-11 13:03:00.187050+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: start
2019-10-11 13:03:00.187111+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: setPowerState: which = 0x1
2019-10-11 13:03:00.287471+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: USB [48E244E28818 v274] "BCM20702A0" by "Broadcom Corp"
2019-10-11 13:03:00.287479+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Available composite configurations: 1.
2019-10-11 13:03:00.289018+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Set device configuration to configuration index 0 successfully.
2019-10-11 13:03:00.289025+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: USBDeviceShim::findFirstInterface
2019-10-11 13:03:00.289030+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: getValidatedInterface returns <private>
2019-10-11 13:03:00.289036+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Interface 0 (class ff, subclass 01, protocol 01) located.
2019-10-11 13:03:00.289074+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: set configuration and interface opened
2019-10-11 13:03:00.289078+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: findPipe: direction = 1, type = 3
2019-10-11 13:03:00.289082+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-11 13:03:00.289085+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: found matching endpoint
2019-10-11 13:03:00.289295+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: findPipe: direction = 0, type = 2
2019-10-11 13:03:00.289299+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-11 13:03:00.289303+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 2
2019-10-11 13:03:00.289307+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: endpoint found: epDirection = 0, epType = 2
2019-10-11 13:03:00.289310+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: found matching endpoint
2019-10-11 13:03:00.289514+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: got pipes
2019-10-11 13:03:00.289518+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: State "Unknown" --> "Initialize".
2019-10-11 13:03:00.305335+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: READ VERBOSE CONFIG complete (status: 0x00, length: 10 bytes).
2019-10-11 13:03:00.305342+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Firmware version: v4096.
2019-10-11 13:03:00.305355+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: State "Initialize" --> "Firmware version".
2019-10-11 13:03:00.306326+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: DOWNLOAD MINIDRIVER complete (status: 0x00, length: 4 bytes).
2019-10-11 13:03:00.306338+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: State "Firmware version" --> "Mini-driver complete".
2019-10-11 13:03:00.705692+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: END OF RECORD complete (status: 0x00, length: 4 bytes).
2019-10-11 13:03:00.705716+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: State "Instruction write" --> "Firmware written".
2019-10-11 13:03:00.750520+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Vendor specific event. Ready to reset device.
2019-10-11 13:03:00.750547+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: State "Firmware written" --> "Reset write".
2019-10-11 13:03:00.753463+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: RESET complete (status: 0x00, length: 4 bytes).
2019-10-11 13:03:00.753489+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: State "Reset write" --> "Reset complete".
2019-10-11 13:03:00.754241+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Device reset.
2019-10-11 13:03:00.754342+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Device status 0x00000003.
2019-10-11 13:03:00.754348+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: State "Reset complete" --> "Update complete".
2019-10-11 13:03:00.754354+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Firmware upgrade completed successfully.
2019-10-11 13:03:00.754378+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Processing time 0.567 seconds.
2019-10-11 13:10:22.318346+0300  localhost kextd[74]: (IOKit) [com.apple.kext:kextlog] Kext with invalid signature (-67062) allowed: <OSKext 0x600001a4ba20 [0x7fff91d66b00]> { URL = "file:///Library/Extensions/BrcmPatchRAM3.kext/", ID = "com.no-one.BrcmPatchRAM3" }
2019-10-11 13:10:22.956086+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: init
2019-10-11 13:10:22.956101+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: probe
2019-10-11 13:10:22.956105+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Version 2.3.0d2 starting on OS X Darwin 19.0.
2019-10-11 13:10:22.956116+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Device supports handshake.
2019-10-11 13:10:24.957189+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: BrcmPatchRAMResidency does not appear to be available.
2019-10-11 13:10:25.532508+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: start
2019-10-11 13:10:25.532891+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: setPowerState: which = 0x1
2019-10-11 13:10:25.634150+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: uploadFirmware could not open the device!
2019-10-11 13:10:25.634172+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Processing time 0.101 seconds.
2019-10-11 13:10:25.634625+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: stop
2019-10-11 13:10:25.635011+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: free
2019-10-11 13:10:25.639586+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: init
2019-10-11 13:10:25.639601+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: probe
2019-10-11 13:10:25.639605+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Version 2.3.0d2 starting on OS X Darwin 19.0.
2019-10-11 13:10:25.639617+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Device supports handshake.
2019-10-11 13:10:27.639669+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: BrcmPatchRAMResidency does not appear to be available.
2019-10-11 13:10:27.639752+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: start
2019-10-11 13:10:27.639814+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: setPowerState: which = 0x1
2019-10-11 13:10:27.740855+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: USB [48E244E28818 v274] "BCM20702A0" by "Broadcom Corp"
2019-10-11 13:10:27.740864+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Available composite configurations: 1.
2019-10-11 13:10:27.742467+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Set device configuration to configuration index 0 successfully.
2019-10-11 13:10:27.742473+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: USBDeviceShim::findFirstInterface
2019-10-11 13:10:27.742479+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: getValidatedInterface returns <private>
2019-10-11 13:10:27.742484+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Interface 0 (class ff, subclass 01, protocol 01) located.
2019-10-11 13:10:27.742503+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: set configuration and interface opened
2019-10-11 13:10:27.742506+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: findPipe: direction = 1, type = 3
2019-10-11 13:10:27.742510+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-11 13:10:27.742514+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: found matching endpoint
2019-10-11 13:10:27.742721+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: findPipe: direction = 0, type = 2
2019-10-11 13:10:27.742725+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-11 13:10:27.742729+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 2
2019-10-11 13:10:27.742733+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: endpoint found: epDirection = 0, epType = 2
2019-10-11 13:10:27.742737+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: found matching endpoint
2019-10-11 13:10:27.742940+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: got pipes
2019-10-11 13:10:27.742944+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: State "Unknown" --> "Initialize".
2019-10-11 13:10:27.747810+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: READ VERBOSE CONFIG complete (status: 0x00, length: 10 bytes).
2019-10-11 13:10:27.747817+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Firmware version: v5747.
2019-10-11 13:10:27.747827+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: State "Initialize" --> "Update not needed".
2019-10-11 13:10:27.747832+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: [0489:e07a]: Firmware upgrade not needed.
2019-10-11 13:10:27.748078+0300  localhost kernel[0]: (BrcmPatchRAM3) BrcmPatchRAM: Processing time 0.108 seconds.

 

Снимок экрана 2019-10-11 в 13.22.52.png

Link to comment
Share on other sites

Hi, guys.

Having troubles getting BT working also.

 

Im on HP Elitebook 840 G5/ bcm94352z. Fallowed RehabMan guide to freshly install Catalina.

Everything is working except BT and Web-camera.

 

Any help?

 

Tried Mieze's kexts in L/E.

1. sudo kextcache -i /

2. Reboot

3. log show --predicate 'processID==0' --last 10m | grep BrcmPatch - NOTHING

4. sudo kextutil -v 5 /Library/Extensions/BrcmPatchRAM3.kext - LOG in annex

 

 

btLOG

Знімок екрана 2019-10-11 о 10.27.53.png

Знімок екрана 2019-10-11 о 10.30.38.png

Знімок екрана 2019-10-11 о 10.30.43.png

Edited by galileo13
Link to comment
Share on other sites

8 minutes ago, galileo13 said:

Hi, guys.

Having troubles getting BT working also.

 

Im on HP Elitebook 840 G5/ bcm94352z. Fallowed RehabMan guide to freshly install Catalina.

Everything is working except BT and Web-camera.

 

Any help?

 

Tried Mieze's kexts in L/E.

1. sudo kextcache -i /

2. Reboot

3. log show --predicate 'processID==0' --last 10m | grep BrcmPatch - NOTHING

4. sudo kextutil -v 5 /Library/Extensions/BrcmPatchRAM3.kext - LOG in annex

 

 

btLOG

Знімок екрана 2019-10-11 о 10.27.53.png

Знімок екрана 2019-10-11 о 10.30.38.png

Знімок екрана 2019-10-11 о 10.30.43.png

kext rejected... means you need to install them properly

Link to comment
Share on other sites

2 hours ago, feartech said:

kext rejected... means you need to install them properly

How can I install them properly?

I mean, what steps do I need to follow.

 

-----------

UPDATE

-----------

Got it working.

Followed this tutorial for installation - https://www.tonymacx86.com/threads/guide-installing-3rd-party-kexts-el-capitan-sierra-high-sierra-mojave-catalina.268964/

And used Mieze's (BrcmBluetoothInjector.kext BrcmPatchRAM3.kext BrcmFirmwareData.kext)

1. Disable gatekeeper

2. Install

3. Reboot.

 

BT is working fine. Thanks.

 

P.S There is still problem with WebCamera. System can't locate the hardware. If someone has some tip, will be appreciated. Solved

Edited by galileo13
Link to comment
Share on other sites

Here is version 2.3.0d3 in which I optimized a few details and fixed some possible weaknesses of earlier versions. It's working 100% stable on my test machines and I consider it to be ready for productive use.

 

Have fun!

 

Mieze :cat:

 

BrcmPatchRAM3-V2.3.0d3.zip

Edited by Mieze
  • Like 5
  • Thanks 1
Link to comment
Share on other sites

Version 2.3.0d3 working fine on BCM94352Z. Thank you!

 

 

kernel: (kernel) BrcmPatchRAM: Loaded compressed embedded firmware for key "BCM20702A1_001.002.014.1483.1651_v5747".
kernel: (kernel) BrcmPatchRAM: Decompressed firmware (29732 bytes --> 70201 bytes).
kernel: (kernel) BrcmPatchRAM: Firmware is valid IntelHex firmware.
kernel: (kernel) BrcmPatchRAM: [0489:e07a]: USB [48E244E2852C v274] "BCM20702A0" by "Broadcom Corp"
kernel: (kernel) BrcmPatchRAM: [0489:e07a]: Firmware upgrade not needed.
kernel: (kernel) BrcmPatchRAM: Processing time 0.170 seconds.

 

  • Thanks 1
Link to comment
Share on other sites

7 hours ago, Mieze said:

Here is version 2.3.0d3 in which I optimized a few details and fixed some possible weaknesses of earlier versions. It's working 100% stable on my test machines and I consider it to be ready for productive use.

 

Have fun!

 

Mieze :cat:

 

BrcmPatchRAM3-V2.3.0d3.zip

 

here is log

Spoiler

Timestamp                       (process)[PID]    
2019-10-12 14:37:48.156540+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Firmware store start
2019-10-12 14:37:55.407291+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-12 14:37:55.407552+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource: 00000000
2019-10-12 14:37:55.554258+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-12 14:37:55.554414+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource: 00000000
2019-10-12 14:37:55.621609+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-12 14:37:55.621809+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource: 00000000
2019-10-12 14:37:55.654503+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: OSKextRequestResource Callback: dc008006.
2019-10-12 14:37:55.654612+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Loaded compressed embedded firmware for key "BCM20702A1_001.002.014.1483.1651_v5747".
2019-10-12 14:37:55.655270+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Decompressed firmware (29732 bytes --> 70201 bytes).
2019-10-12 14:37:55.655791+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Firmware is valid IntelHex firmware.
2019-10-12 14:37:55.655884+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: start
2019-10-12 14:37:55.691979+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: setPowerState: which = 0x1
2019-10-12 14:37:55.756138+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: USB [ACD1B8E2A4D0 v274] "BCM20702A0" by "Broadcom Corp"
2019-10-12 14:37:55.756145+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Available composite configurations: 1.
2019-10-12 14:37:55.757799+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Set device configuration to configuration index 0 successfully.
2019-10-12 14:37:55.757805+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: USBDeviceShim::findFirstInterface
2019-10-12 14:37:55.757810+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: getValidatedInterface returns <private>
2019-10-12 14:37:55.757815+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Interface 0 (class ff, subclass 01, protocol 01) located.
2019-10-12 14:37:55.757833+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: set configuration and interface opened
2019-10-12 14:37:55.757837+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: findPipe: direction = 1, type = 3
2019-10-12 14:37:55.757840+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-12 14:37:55.757843+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: found matching endpoint
2019-10-12 14:37:55.758144+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: findPipe: direction = 0, type = 2
2019-10-12 14:37:55.758148+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 3
2019-10-12 14:37:55.758151+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 1, epType = 2
2019-10-12 14:37:55.758154+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: endpoint found: epDirection = 0, epType = 2
2019-10-12 14:37:55.758156+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: found matching endpoint
2019-10-12 14:37:55.758448+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: got pipes
2019-10-12 14:37:55.758452+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Unknown" --> "Initialize".
2019-10-12 14:37:55.761234+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: READ VERBOSE CONFIG complete (status: 0x00, length: 10 bytes).
2019-10-12 14:37:55.761239+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Firmware version: v4096.
2019-10-12 14:37:55.761249+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Initialize" --> "Firmware version".
2019-10-12 14:37:55.761256+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: getFirmware
2019-10-12 14:37:55.761260+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Retrieved cached firmware for "BCM20702A1_001.002.014.1483.1651_v5747".
2019-10-12 14:37:55.762217+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: DOWNLOAD MINIDRIVER complete (status: 0x00, length: 4 bytes).
2019-10-12 14:37:55.762229+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Firmware version" --> "Mini-driver complete".
2019-10-12 14:37:56.164190+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: END OF RECORD complete (status: 0x00, length: 4 bytes).
2019-10-12 14:37:56.164216+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Instruction write" --> "Firmware written".
2019-10-12 14:37:56.226520+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Vendor specific event. Ready to reset device.
2019-10-12 14:37:56.226551+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Firmware written" --> "Reset write".
2019-10-12 14:37:56.229453+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: RESET complete (status: 0x00, length: 4 bytes).
2019-10-12 14:37:56.229484+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Reset write" --> "Reset complete".
2019-10-12 14:37:56.230535+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Device reset.
2019-10-12 14:37:56.230685+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Device status 0x00000003.
2019-10-12 14:37:56.230692+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: State "Reset complete" --> "Update complete".
2019-10-12 14:37:56.230698+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: [0489:e07a]: Firmware upgrade completed successfully.
2019-10-12 14:37:56.230721+0900  localhost kernel[0]: (kernel) BrcmPatchRAM: Processing time 0.574 seconds.

 

magic mouse and airpod are perfectly working.

thank you for hard work:)

  • Thanks 1
Link to comment
Share on other sites

13 hours ago, Mieze said:

Here is version 2.3.0d3 in which I optimized a few details and fixed some possible weaknesses of earlier versions. It's working 100% stable on my test machines and I consider it to be ready for productive use.

 

Have fun!

 

Mieze :cat:

 

BrcmPatchRAM3-V2.3.0d3.zip

Good day! Still in the first 10 seconds the sound stutters in the airpods, then disappears altogether. System established with zero. Can be any data need? I am ready to provide.

Link to comment
Share on other sites

On 10/11/2019 at 9:30 AM, galileo13 said:

Hi, guys.

Having troubles getting BT working also.

 

Im on HP Elitebook 840 G5/ bcm94352z. Fallowed RehabMan guide to freshly install Catalina.

Everything is working except BT and Web-camera.

 

Any help?

 

Tried Mieze's kexts in L/E.

1. sudo kextcache -i /

2. Reboot

3. log show --predicate 'processID==0' --last 10m | grep BrcmPatch - NOTHING

4. sudo kextutil -v 5 /Library/Extensions/BrcmPatchRAM3.kext - LOG in annex

 

 

btLOG

Знімок екрана 2019-10-11 о 10.27.53.png

 

 

For HP Laptop not need the RAM3 

I am using only  BrcmBluetoothInjector.kext, BrcmFirmwareData.kext and thats working perfect on HP ProBook 6570b

EDIT ****

kexts Inject by Clover

Edited by chris1111
kexts Inject by Clover
Link to comment
Share on other sites

×
×
  • Create New...