Skip to content

DW1820A support as an installer option #91

@osy

Description

@osy
Owner

Since many users have this configuration, we should add an option in the installer.

Since I do not have this to work with, I need help from someone who has gotten it working. Please provide me with the kexts, patches, and anything else required for the card to work Wifi+BT.

@22dm can you help?

Activity

22dm

22dm commented on Oct 27, 2019

@22dm

Well, DW1820A have many versions, like CN-0VW3T3, CN-096JNT and CN-08PKF4. It seems that different versions have slightly different compatibility.

DW1820A

I only have a CN-08PKF4, in order to get this work, I did these changes:

The kexts need to be added:

  • for Wi-Fi
    • AirportBrcmFixup.kext
  • for Bluetooth
    • BrcmPatchRAM3.kext
    • BrcmBluetoothInjector.kext
    • BrcmFirmwareData.kext

These can be found at:

Also, config.plist needs to be modified:

  • Add kexts to Kernel -> Add
  • Add these to DeviceProperties -> Add:
<key>PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)</key>
<dict>
	<key>AAPL,slot-name</key>
	<string>WLAN</string>
	<key>compatible</key>
	<string>pci14e4,4353</string>
	<key>device_type</key>
	<string>Airport Extreme</string>
	<key>model</key>
	<string>DW1820A (BCM4350) 802.11ac Wireless</string>
	<key>name</key>
	<string>Airport</string>
</dict>
  • Add brcmfx-country=#a brcmfx-driver=1 to boot-args

By the way, there is a bug: If you boot into Linux / Windows and comeback to macOS, Wi-Fi and Bluetooth will be unusable (appears but won't work). In order for it to work again, you need to unplug the power cord and wait a few seconds before plugging it in.

This is the EFI I am using (removed the UUID, SN and MLB):
EFI.zip

These website is also useful:
https://blog.daliansky.net/DW1820A_BCM94350ZAE-driver-inserts-the-correct-posture.html
https://osxlatitude.com/forums/topic/11540-dw1820a-the-general-troubleshooting-thread/

Hope this can be helped.

UPDATE: Something broken after some update, however, bluetooth does't work for me now (can see but can not connect). Back to 2.2 version of BrcmPatchRAM2 solved this problem.

UPDATE2: @goodbest has a better solution without using AirportBrcmFixup in #113.

HorstBrack75

HorstBrack75 commented on Oct 27, 2019

@HorstBrack75

Really depends on the "flavour" of the card. I can confirm that what @22dm wrote works for me as well. Some people claim they had to mask some pins using duct tape though. (Never had to do this.)

By the way, there is a bug: If you boot into Linux / Windows and comeback to macOS, Wi-Fi and Bluetooth will be unusable (appears but won't work). In order for it to work again, you need to unplug the power cord and wait a few seconds before plugging it in.

Did you try using the same firmware version in Windows / Linux / Mac OS? (This seems to have solved the issue for me.)

99V46.zip

22dm

22dm commented on Nov 3, 2019

@22dm

Really depends on the "flavour" of the card. I can confirm that what @22dm wrote works for me as well. Some people claim they had to mask some pins using duct tape though. (Never had to do this.)

By the way, there is a bug: If you boot into Linux / Windows and comeback to macOS, Wi-Fi and Bluetooth will be unusable (appears but won't work). In order for it to work again, you need to unplug the power cord and wait a few seconds before plugging it in.

Did you try using the same firmware version in Windows / Linux / Mac OS? (This seems to have solved the issue for me.)

99V46.zip

It works, thx 👍

msedek

msedek commented on Nov 4, 2019

@msedek

@22dm i have the same model CN-08PKF4 but not sure what to do to make it work.. evey time i plug the card macos goes boot loops and when ever it makes it to the os the card is no where to be found.. im pretty new to hackingtosh and dont know whats all this kext etc about..

theres a hac-mini version i think its 2.2.2 that has an option for installing the driver but doesnt work.. would LOVE to have that card working so my hac mini would be perfect 100%.. i have 1 drive for windows and 1 drive for macos and dual boot currently using a common usb wifi card for both system with no bluetooth =/

22dm

22dm commented on Nov 4, 2019

@22dm

@22dm i have the same model CN-08PKF4 but not sure what to do to make it work.. evey time i plug the card macos goes boot loops and when ever it makes it to the os the card is no where to be found.. im pretty new to hackingtosh and dont know whats all this kext etc about..

Warning, misuse may cause your system to fail to boot or even data lost.

  1. mount the EFI partition:
  • open Terminal
  • sudo diskutil mount EFI
  • enter your password (no echo while you're typing) and press return
  • then you'll see EFI partition in Finder
  1. add kexts:
  • download the kexts.zip
  • unzip and put the four kexts to /EFI/OC/Kexts in your EFI Partition
  1. edit /EFI/OC/config.plist:
  • open /EFI/OC/config.plist
  • Add these to this place (1/3)
<key>PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)</key>
<dict>
	<key>AAPL,slot-name</key>
	<string>WLAN</string>
	<key>compatible</key>
	<string>pci14e4,4353</string>
	<key>device_type</key>
	<string>Airport Extreme</string>
	<key>model</key>
	<string>DW1820A (BCM4350) 802.11ac Wireless</string>
	<key>name</key>
	<string>Airport</string>
</dict>

截屏2019-11-0412 26 37

  • Add these to this place (2/3)
<dict>
<key>BundlePath</key>
	<string>AirportBrcmFixup.kext</string>
	<key>Enabled</key>
	<true/>
	<key>ExecutablePath</key>
	<string>Contents/MacOS/AirportBrcmFixup</string>
	<key>PlistPath</key>
	<string>Contents/Info.plist</string>
</dict>
<dict>
	<key>BundlePath</key>
	<string>BrcmBluetoothInjector.kext</string>
	<key>Enabled</key>
	<true/>
	<key>ExecutablePath</key>
	<string></string>
	<key>PlistPath</key>
	<string>Contents/Info.plist</string>
</dict>
<dict>
	<key>BundlePath</key>
	<string>BrcmFirmwareData.kext</string>
	<key>Enabled</key>
	<true/>
	<key>ExecutablePath</key>
	<string>Contents/MacOS/BrcmFirmwareData</string>
	<key>PlistPath</key>
	<string>Contents/Info.plist</string>
</dict>
<dict>
	<key>BundlePath</key>
	<string>BrcmPatchRAM2.kext</string>
	<key>Enabled</key>
	<true/>
	<key>ExecutablePath</key>
	<string>Contents/MacOS/BrcmPatchRAM2</string>
	<key>PlistPath</key>
	<string>Contents/Info.plist</string>
</dict>

截屏2019-11-0412 37 06

  • Add these to this place (3/3)
 brcmfx-country=#a brcmfx-driver=1

截屏2019-11-0412 30 05

  1. plug the card on, enjoy
rnlo

rnlo commented on Nov 4, 2019

@rnlo

Mine is CN-096JNT, Wifi and BT both work for me.
Attached 99V46.zip works for windows.
Thank you so much guys.

HorstBrack75

HorstBrack75 commented on Nov 4, 2019

@HorstBrack75

@22dm i have the same model CN-08PKF4 but not sure what to do to make it work.. evey time i plug the card macos goes boot loops and when ever it makes it to the os the card is no where to be found.. im pretty new to hackingtosh and dont know whats all this kext etc about..

theres a hac-mini version i think its 2.2.2 that has an option for installing the driver but doesnt work.. would LOVE to have that card working so my hac mini would be perfect 100%.. i have 1 drive for windows and 1 drive for macos and dual boot currently using a common usb wifi card for both system with no bluetooth =/

This sounds really strange. If I boot without the kexts, bluetooth will just not work. No boot loop. (WiFi works OOB on my 08PKF4 in Mojave.) If you disable WiFi and Bluetooth devices in BIOS, will it boot again?

goodbest

goodbest commented on Nov 10, 2019

@goodbest
Collaborator

@22dm I've also got my DW1820A working, described in #113
Maybe you can also try those steps ?

The main difference with your solution is that:

  1. I disable PCIE ASPM in bios, which is suggested in this post
  2. I don't need to add property pci14e4,4353 into the config.plist.
  • As a result, my system is natively loading BrcmNic.kext, rather than Brcm4360 in your system. However, I think this won't cause boot loop. And I don't need to add brcmfx-driver=1 in boot-arg (becasue it's default).
  • The loaded kext info can be found by about this mac->Software, Extensions
msedekhyh

msedekhyh commented on Nov 10, 2019

@msedekhyh

I could not Make it work with the provided steps, the card Works perfectly in windows, im just punished to use a trash low speed usb wifi and having no bluettoth

22dm

22dm commented on Nov 10, 2019

@22dm

@22dm I've also got my DW1820A working, described in #113
Maybe you can also try those steps ?

The main difference with your solution is that:

  1. I disable PCIE ASPM in bios, which is suggested in this post
  2. I don't need to add property pci14e4,4353 into the config.plist.
  • As a result, my system is natively loading BrcmNic.kext, rather than Brcm4360 in your system. However, I think this won't cause boot loop. And I don't need to add brcmfx-driver=1 in boot-arg (becasue it's default).
  • The loaded kext info can be found by about this mac->Software, Extensions

Thanks, It works very well. I have tried a similar attempt, but I have not disabled PCIE ASPM, and if I don't disable it, it will cause bootloop.

BrcmPatchRAM3 (2.5.0) seems still prevent me from connecting to my mouse (M590) and keyboard (K375) via bluetooth. However, I can connect to my iPad Pro, while AirDrop and Sidecar are also working.

msedekhyh

msedekhyh commented on Nov 10, 2019

@msedekhyh

@22dm I followed your steps and it didnt work, then changed the PCIE ASPM in bios, did your steps and boom.. everything working 100%,, would love if you add the DW1820 driver as an option in the hac-mini installation.. now i got a GOLD build, no adapters no anything, 2 m.2 nvme samsungs 1 with windows and 1 with macos'
Hands down the hades canyon is the best hackintosh in the world

28 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededinstallerInstaller issueswirelessWireless networking issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @goodbest@msedek@rnlo@HorstBrack75@deftdawg

        Issue actions

          DW1820A support as an installer option · Issue #91 · osy/HaC-Mini