SkillAgentSearch skills...

PatchSonomaWiFiOnTheFly

Patch modern Broadcom/Intel Wi-Fi card on the fly when doing a fresh install with macOS Sonoma and Sequoia

Install / Use

/learn @HorizonUnix/PatchSonomaWiFiOnTheFly

README

PatchSonomaWiFiOnTheFly (PSWFOTF)

Patch modern Broadcom/Intel Wi-Fi card on the fly when doing a fresh install with macOS Sonoma and Sequoia

Explaination

  • OCLP uses AutoPkgInstaller.kext and AutoPkg-Assets.pkg to automatically patch macOS during installation.
    • Based on this mechanism, I came up with the idea of writing a guide to achieve this same auto-patching method on Hackintosh systems.

Requirements

[!NOTE]

1. Prepare config.plist (for Broadcom)

Follow this guide by perez987 to prepare your config.plist and kexts.

1. Prepare config.plist (for Intel)

Follow this guide to prepare your kexts, just like the guide for Broadcom cards.
However, for Intel Wi-Fi cards, you only need to add the following DeviceProperties entry:
| Key | Type | Value | | ----------- | ----------- | ----------- | | IOName | String | pci14e4,43a0 |

2. Prepare a USB/Hard drive macOS Installer

Follow this example guide from Apple or any other sources

3. Prepare Kext and Pkg Files

  1. Inject AutoPkgInstaller.kext into your OC folder (\EFI\OC\Kexts\) then do a snapshot to config.plist.
  2. Navigate to the USB/Hard drive that contains macOS Sonoma/Sequoia Installer; it should look like this.
<img src="Img/1.png">
  1. Press Cmd (Win) + Shift + . (dot) to display hidden files and folders.
<img src="Img/2.png">
  1. Navigate to the hidden Library folder.
<img src="Img/3.png">
  1. Create a new folder named Packages inside hidden Library folder.
<img src="Img/4.png">
  1. Copy & paste AutoPkg-Assets.pkg into the Packages folder.
<img src="Img/5.png">
  1. Perform a fresh install with that USB or hard drive.
  2. Just wait, and everything will be done. You’ll have a native OOBE experience without losing Wi-Fi again.

[!NOTE]

  • After a few processes, it will show the ‘percent text’ like this, which means OCLP is patching your Wi-Fi and installing OCLP to macOS.
<img src="Img/proof.jpg">

For NootedRed users

[!NOTE] The latest commit of NootedRed fixed this bug and you don't have to do these instruction below, so please update your kext to the latest commit.

[!WARNING]

  • After the hard drive switches from macOS Installer to the name you set when formatting, like Macintosh HD or something like that, you should disable NootedRed before booting to that stage. After disabling NootedRed, you can boot to that disk. It will restart one more time, then enable NootedRed

<img src="Img/before.png"> -------> <img src="Img/after.png">

Special thanks to

Related Skills

View on GitHub
GitHub Stars38
CategoryDevelopment
Updated23d ago
Forks3

Security Score

80/100

Audited on Mar 9, 2026

No findings