mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 18:19:49 +00:00
Fix missing block for the IOSkywalkFamily kext on modern Broadcom WiFi cards
This commit is contained in:
26
Scripts/config_prodigy.py
Executable file → Normal file
26
Scripts/config_prodigy.py
Executable file → Normal file
@@ -66,19 +66,21 @@ class ConfigProdigy:
|
||||
|
||||
return deviceproperties_add
|
||||
|
||||
def block_kext_bundle(self, wifi_pci, macos_version):
|
||||
def block_kext_bundle(self, network, macos_version):
|
||||
kernel_block = []
|
||||
|
||||
if wifi_pci and macos_version > 22 and wifi_pci in ["14E4-43A0", "14E4-43A3", "14E4-43BA"]:
|
||||
kernel_block.append({
|
||||
"Arch": "x86_64",
|
||||
"Comment": "Allow IOSkywalk Downgrade",
|
||||
"Enabled": True,
|
||||
"Identifier": "com.apple.iokit.IOSkywalkFamily",
|
||||
"MaxKernel": "",
|
||||
"MinKernel": "",
|
||||
"Strategy": "Exclude"
|
||||
})
|
||||
if macos_version > 22:
|
||||
for network_name, network_props in network.items():
|
||||
if network_props.get("Device ID") in ["14E4-43A0", "14E4-43A3", "14E4-43BA"]:
|
||||
kernel_block.append({
|
||||
"Arch": "x86_64",
|
||||
"Comment": "Allow IOSkywalk Downgrade",
|
||||
"Enabled": True,
|
||||
"Identifier": "com.apple.iokit.IOSkywalkFamily",
|
||||
"MaxKernel": "",
|
||||
"MinKernel": "",
|
||||
"Strategy": "Exclude"
|
||||
})
|
||||
|
||||
return kernel_block
|
||||
|
||||
@@ -263,7 +265,7 @@ class ConfigProdigy:
|
||||
config["DeviceProperties"]["Add"] = self.deviceproperties(hardware.get("CPU Codename"), hardware.get("Intel MEI"), efi_option.get("iGPU Properties"))
|
||||
|
||||
config["Kernel"]["Add"] = efi_option.get("Kernel_Add")
|
||||
config["Kernel"]["Block"] = self.block_kext_bundle(hardware.get("Wi-Fi (PCI)"), efi_option.get("macOS Version"))
|
||||
config["Kernel"]["Block"] = self.block_kext_bundle(hardware.get("Network"), efi_option.get("macOS Version"))
|
||||
spoof_cpuid = self.spoof_cpuid(
|
||||
hardware.get("Processor Name"),
|
||||
hardware.get("CPU Codename"),
|
||||
|
||||
Reference in New Issue
Block a user