Contribute
Register

Country Code Patch for High Sierra

Status
Not open for further replies.
Joined
Oct 16, 2016
Messages
269
Motherboard
Dell 7560
CPU
i7 7500u
Graphics
HD 620 & 940MX (1920x1080)
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Comment: Country Code Patch (#a) - Credit PMheart
MatchOS: 10.13.x
Name: com.apple.driver.AirPort.BrcmNIC
Find: <4183FCFF 7435488D 55D0>
Replace: <66C70623 61EB348D 55D0>


Just change 23 61 to your country. Mine is 42 52 for BR.
The default (#a) is a generic one.
 
Thank you!
i was looking for this during last week.
 
There is now another tool for those who needs the country code change on Mac OS X.
It is called AirportBrcmFixup.kext.
This Kext is a Lilu plugin and MUST be installed with latest Lilu.kext.
Country Code change can be done using a boot parameter: brcmfx-country=XX
Using this kext, we don't need to use fcvo, 5Ghz, and Airport Extreme or even FakePCIID + FakePCIID_Broadcom_WiFi.
PS: don't forget to use -lilubeta and -brcmfxbeta on High Sierra.
Features
  • Supports AirPort_Brcm4360, AirPort_BrcmNIC and AirPort_BrcmNIC_MFG
  • Implements patch for passing chip id checking (fcvo - 0xaa52)
  • Implements patch for "Failed PCIe configuration"
  • Implements patch for "Third-Party Wireless Card" (returns vendor name "Apple")
  • Implements patch for removing of white-list check
  • Implements 5Ghz and country code patch (US by default)
  • Boot-arg "brcmfx-country=XX" changes the country code to XX (US, CN, ...)
  • Boot-arg "-brcmfxdbg" turns on debugging output
  • Boot-arg "-brcmfxbeta" enables loading on unsupported osx
  • Boot-arg "-brcmfxoff" disables kext loading
Credit: lvs1974 and vit9696
 
Last edited:
There is now another tool for those who needs the country code change on Mac OS X.
It it called AirportBrcmFixup.kext.
This Kext is a Lilu plugin and MUST be installed with latest Lilu.kext.
Country Code change can be done using a boot parameter: brcmfx-country=XX
Using this kext, we don't need to use fcvo, 5Ghz, and Airport Extreme or even FakePCIID + FakePCIID_Broadcom_WiFi.
PS: don't forget to use -lilubeta and -brcmfxbeta on High Sierra.
Features
  • Supports AirPort_Brcm4360, AirPort_BrcmNIC and AirPort_BrcmNIC_MFG
  • Implements patch for passing chip id checking (fcvo - 0xaa52)
  • Implements patch for "Failed PCIe configuration"
  • Implements patch for "Third-Party Wireless Card" (returns vendor name "Apple")
  • Implements patch for removing of white-list check
  • Implements 5Ghz and country code patch (US by default)
  • Boot-arg "brcmfx-country=XX" changes the country code to XX (US, CN, ...)
  • Boot-arg "-brcmfxdbg" turns on debugging output
  • Boot-arg "-brcmfxbeta" enables loading on unsupported osx
  • Boot-arg "-brcmfxoff" disables kext loading
Credit: lvs1974 and vit9696
All these Lilu.kext Plugins are really nice to fix most of the stuff with much ease than kext to kernel patches but i always prefer config.plist patches over kext installations,they do seem to be much cleaner to me,less failing to load chances,etc.

Thanks for the post,this should be very useful for many people there.
 
Comment: Country Code Patch (#a) - Credit PMheart
MatchOS: 10.13.x
Name: com.apple.driver.AirPort.BrcmNIC
Find: <4183FCFF 7435488D 55D0>
Replace: <66C70623 61EB348D 55D0>


Just change 23 61 to your country. Mine is 42 52 for BR.
The default (#a) is a generic one.

55 53 (US)


sudo perl -pi -e 's|\x41\x83\xFC\xFF\x74\x35\x48\x8D\x55\xD0|\x66\xC7\x06\x55\x53\xEB\x34\x8D\x55\xD0|' /System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortBrcm4360.kext/Contents/MacOS/AirPortBrcm4360



sudo perl -pi -e 's|\x41\x83\xFC\xFF\x74\x35\x48\x8D\x55\xD0|\x66\xC7\x06\x55\x53\xEB\x34\x8D\x55\xD0|' /System/Library/Extensions/AirPortBrcmNIC-MFG.kext/Contents/MacOS/AirPortBrcmNIC



sudo perl -pi -e 's|\x41\x83\xFC\xFF\x74\x35\x48\x8D\x55\xD0|\x66\xC7\x06\x55\x53\xEB\x34\x8D\x55\xD0|' /System/Library/Extensions/AirPortBrcmNIC-MFG.kext/Contents/MacOS/AirPortBrcmNIC-MFG



sudo touch /System/Library/Extensions/
 
I've test all methods above, but failed.

for Country Code Patch (#a) - Credit PMheart:

echo -n CN|xxd
got "434e",

so, change patch to:
Comment: Country Code Patch (#a) - Credit PMheart
MatchOS: 10.13.x
Name: com.apple.driver.AirPort.BrcmNIC
Find: <4183FCFF 7435488D 55D0>
Replace: <66C70643 4EEB348D 55D0>


reboot, check system report->WiFi, Location:FCC, Country Code is US. failed:(

for AirportBrcmFixup.kext:

1. uninstall FakePCIID_Broadcom_WiFi.kext
2. install AirportBrcmFixup.kext to LE ( I've installed Liliu.kext )
3. add boot args at config.plist: -lilubeta -brcmfxbeta brcmfx-country=CN

reboot. check system report->WiFi, Location:FCC, Country Code is US. failed:(


Any comments??
 
I've test all methods above, but failed.

for Country Code Patch (#a) - Credit PMheart:

echo -n CN|xxd
got "434e",

so, change patch to:
Comment: Country Code Patch (#a) - Credit PMheart
MatchOS: 10.13.x
Name: com.apple.driver.AirPort.BrcmNIC
Find: <4183FCFF 7435488D 55D0>
Replace: <66C70643 4EEB348D 55D0>


reboot, check system report->WiFi, Location:FCC, Country Code is US. failed:(

for AirportBrcmFixup.kext:

1. uninstall FakePCIID_Broadcom_WiFi.kext
2. install AirportBrcmFixup.kext to LE ( I've installed Liliu.kext )
3. add boot args at config.plist: -lilubeta -brcmfxbeta brcmfx-country=CN

reboot. check system report->WiFi, Location:FCC, Country Code is US. failed:(


Any comments??

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Same problem. :(
 
Last edited:
I just applied solution post #5 and now show Country code:ES ,but it has changed Airport name and now show:
Wireless card from another manufacturer.
 

Attachments

  • CLOVER.zip
    1.6 MB · Views: 313
  • MacMini i5.zip
    687.8 KB · Views: 199
Status
Not open for further replies.
Back
Top