mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 10:19:49 +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
|
||||
|
||||
def boot_args(self, hardware_report, macos_version, needs_oclp, kexts, config):
|
||||
def boot_args(self, hardware_report, macos_version, kexts, config):
|
||||
boot_args = [
|
||||
"-v",
|
||||
"debug=0x100",
|
||||
@@ -513,10 +513,6 @@ class ConfigProdigy:
|
||||
boot_args.append("npci=0x2000")
|
||||
|
||||
for kext in kexts:
|
||||
if kext.name == "AMFIPass":
|
||||
if needs_oclp and not kext.checked:
|
||||
boot_args.append("amfi=0x80")
|
||||
|
||||
if not kext.checked:
|
||||
continue
|
||||
|
||||
@@ -686,7 +682,7 @@ class ConfigProdigy:
|
||||
config["Misc"]["Tools"] = []
|
||||
|
||||
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"]["prev-lang:kbd"] = self.utils.hex_to_bytes("")
|
||||
|
||||
|
||||
@@ -237,7 +237,7 @@ class KextMaestro:
|
||||
selected_kexts.append("CpuTscSync")
|
||||
|
||||
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():
|
||||
device_id = network_props.get("Device ID")
|
||||
|
||||
Reference in New Issue
Block a user