diff --git a/Resources/Constants.py b/Resources/Constants.py index 3e53de749..70594c210 100644 --- a/Resources/Constants.py +++ b/Resources/Constants.py @@ -21,6 +21,8 @@ class Constants: self.mce_version = "1.0.0" self.mousse_version = "0.93" self.telemetrap_version = "1.0.0" + self.corecaptureelcap_version = "1.0.0" + self.io80211elcap_version = "1.0.0" self.io80211high_sierra_version = "1.0.0" self.io80211mojave_version = "1.0.0" self.applealc_version = "1.6.0" @@ -124,6 +126,10 @@ class Constants: @property def telemetrap_path(self): return self.payload_kexts_path / Path(f"SSE/telemetrap-v{self.telemetrap_version}.zip") @property + def corecaptureelcap_path(self): return self.payload_kexts_path / Path(f"Wifi/corecaptureElCap-v{self.corecaptureelcap_version}.zip") + @property + def io80211elcap_path(self): return self.payload_kexts_path / Path(f"Wifi/IO80211ElCap-v{self.io80211elcap_version}.zip") + @property def io80211high_sierra_path(self): return self.payload_kexts_path / Path(f"Wifi/IO80211HighSierra-v{self.io80211high_sierra_version}.zip") @property def io80211mojave_path(self): return self.payload_kexts_path / Path(f"Wifi/IO80211Mojave-v{self.io80211mojave_version}.zip") diff --git a/Resources/build.py b/Resources/build.py index fe2c4a541..c62d9a5d5 100644 --- a/Resources/build.py +++ b/Resources/build.py @@ -138,6 +138,10 @@ class BuildOpenCore: if self.model in ModelArray.WifiBCM94322: self.enable_kext("IO80211Mojave.kext", self.constants.io80211mojave_version, self.constants.io80211mojave_path) self.get_kext_by_bundle_path("IO80211Mojave.kext/Contents/PlugIns/AirPortBrcm4331.kext")["Enabled"] = True + if self.model in ModelArray.WifiBCM94328: + self.enable_kext("corecaptureElCap.kext", self.constants.corecaptureelcap_version, self.constants.corecaptureelcap_path) + self.enable_kext("IO80211ElCap.kext", self.constants.io80211elcap_version, self.constants.io80211elcap_path) + self.get_kext_by_bundle_path("IO80211ElCap.kext/Contents/PlugIns/AppleAirPortBrcm43224.kext")["Enabled"] = True # CPUFriend pp_map_path = Path(self.constants.current_path) / Path(f"payloads/Kexts/Plists/PlatformPlugin/{self.model}/Info.plist") diff --git a/images/OC-Build.png b/images/OC-Build.png new file mode 100644 index 000000000..37bd9b861 Binary files /dev/null and b/images/OC-Build.png differ diff --git a/payloads/Config/v0.6.8/config.plist b/payloads/Config/v0.6.8/config.plist index 056eec840..1f8e72d61 100644 --- a/payloads/Config/v0.6.8/config.plist +++ b/payloads/Config/v0.6.8/config.plist @@ -372,6 +372,60 @@ PlistPath Contents/Info.plist + + Arch + x86_64 + Comment + BCM94328 Wifi Patch + Enabled + + MaxKernel + + MinKernel + 16.0.0 + BundlePath + corecaptureElCap.kext + ExecutablePath + Contents/MacOS/corecaptureElCap + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + BCM94328 Wifi Patch + Enabled + + MaxKernel + + MinKernel + 16.0.0 + BundlePath + IO80211ElCap.kext + ExecutablePath + Contents/MacOS/IO80211ElCap + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + BCM94328 Wifi Patch + Enabled + + MaxKernel + + MinKernel + 16.0.0 + BundlePath + IO80211ElCap.kext/Contents/PlugIns/AppleAirPortBrcm43224.kext + ExecutablePath + Contents/MacOS/AppleAirPortBrcm43224 + PlistPath + Contents/Info.plist + Arch x86_64 diff --git a/payloads/Kexts/Wifi/IO80211ElCap-v1.0.0.zip b/payloads/Kexts/Wifi/IO80211ElCap-v1.0.0.zip new file mode 100644 index 000000000..4eaee9964 Binary files /dev/null and b/payloads/Kexts/Wifi/IO80211ElCap-v1.0.0.zip differ diff --git a/payloads/Kexts/Wifi/corecaptureElCap-v1.0.0.zip b/payloads/Kexts/Wifi/corecaptureElCap-v1.0.0.zip new file mode 100644 index 000000000..a1bf72999 Binary files /dev/null and b/payloads/Kexts/Wifi/corecaptureElCap-v1.0.0.zip differ