mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-08-25 14:53:06 +00:00
Revert "Use amfi=0x80 for macOS Tahoe 26"
This reverts commit 3de961af29.
# Conflicts:
# Scripts/kext_maestro.py
This commit is contained in:
@@ -502,7 +502,7 @@ class ConfigProdigy:
|
|||||||
|
|
||||||
return kernel_patch
|
return kernel_patch
|
||||||
|
|
||||||
def boot_args(self, hardware_report, macos_version, needs_oclp, kexts, config):
|
def boot_args(self, hardware_report, macos_version, kexts, config):
|
||||||
boot_args = [
|
boot_args = [
|
||||||
"-v",
|
"-v",
|
||||||
"debug=0x100",
|
"debug=0x100",
|
||||||
@@ -513,10 +513,6 @@ class ConfigProdigy:
|
|||||||
boot_args.append("npci=0x2000")
|
boot_args.append("npci=0x2000")
|
||||||
|
|
||||||
for kext in kexts:
|
for kext in kexts:
|
||||||
if kext.name == "AMFIPass":
|
|
||||||
if needs_oclp and not kext.checked:
|
|
||||||
boot_args.append("amfi=0x80")
|
|
||||||
|
|
||||||
if not kext.checked:
|
if not kext.checked:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
@@ -686,7 +682,7 @@ class ConfigProdigy:
|
|||||||
config["Misc"]["Tools"] = []
|
config["Misc"]["Tools"] = []
|
||||||
|
|
||||||
del config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["#INFO (prev-lang:kbd)"]
|
del config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["#INFO (prev-lang:kbd)"]
|
||||||
config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] = self.boot_args(hardware_report, macos_version, needs_oclp, kexts, config)
|
config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] = self.boot_args(hardware_report, macos_version, kexts, config)
|
||||||
config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = self.utils.hex_to_bytes(self.csr_active_config(macos_version))
|
config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = self.utils.hex_to_bytes(self.csr_active_config(macos_version))
|
||||||
config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["prev-lang:kbd"] = self.utils.hex_to_bytes("")
|
config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["prev-lang:kbd"] = self.utils.hex_to_bytes("")
|
||||||
|
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ class KextMaestro:
|
|||||||
selected_kexts.append("CpuTscSync")
|
selected_kexts.append("CpuTscSync")
|
||||||
|
|
||||||
if needs_oclp:
|
if needs_oclp:
|
||||||
selected_kexts.extend(("AMFIPass", "RestrictEvents")) if self.utils.parse_darwin_version(macos_version) < self.utils.parse_darwin_version("25.0.0") else selected_kexts.append("RestrictEvents")
|
selected_kexts.extend(("AMFIPass", "RestrictEvents"))
|
||||||
|
|
||||||
for network_name, network_props in hardware_report.get("Network", {}).items():
|
for network_name, network_props in hardware_report.get("Network", {}).items():
|
||||||
device_id = network_props.get("Device ID")
|
device_id = network_props.get("Device ID")
|
||||||
|
|||||||
Reference in New Issue
Block a user