From e7897ae85706cb335675ee072bc48ddd451323e2 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Tue, 21 Sep 2021 21:29:10 -0600 Subject: [PATCH] Fix defaults --- OCLP-CLI.command | 4 ++++ OpenCore-Patcher.command | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/OCLP-CLI.command b/OCLP-CLI.command index 698afe1cb..93fcba546 100755 --- a/OCLP-CLI.command +++ b/OCLP-CLI.command @@ -200,6 +200,10 @@ If you plan to create the USB for another machine, please select the "Change Mod if host_is_target: if Utilities.check_metal_support(device_probe, self.computer) is False: self.constants.disable_cs_lv = True + if self.computer.dgpu and self.computer.dgpu.arch == device_probe.NVIDIA.Archs.Kepler: + self.constants.sip_status = False + self.constants.amfi_status = True + self.constants.allow_fv_root = True # Allow FileVault on broken seal elif model in ModelArray.LegacyGPU: self.constants.disable_cs_lv = True if model in ModelArray.LegacyGPU: diff --git a/OpenCore-Patcher.command b/OpenCore-Patcher.command index 80eebdc25..f16877c59 100755 --- a/OpenCore-Patcher.command +++ b/OpenCore-Patcher.command @@ -31,6 +31,10 @@ class OpenCoreLegacyPatcher: if host_is_target: if Utilities.check_metal_support(device_probe, self.computer) is False: self.constants.disable_cs_lv = True + if self.computer.dgpu and self.computer.dgpu.arch == device_probe.NVIDIA.Archs.Kepler: + self.constants.sip_status = False + self.constants.amfi_status = True + self.constants.allow_fv_root = True # Allow FileVault on broken seal elif model in ModelArray.LegacyGPU: self.constants.disable_cs_lv = True @@ -40,7 +44,6 @@ class OpenCoreLegacyPatcher: if self.computer.dgpu and self.computer.dgpu.arch == device_probe.NVIDIA.Archs.Kepler: self.constants.sip_status = False # self.constants.secure_status = True # Monterey - self.constants.amfi_status = True self.constants.allow_fv_root = True # Allow FileVault on broken seal else: self.constants.sip_status = True @@ -56,6 +59,8 @@ class OpenCoreLegacyPatcher: self.constants.secure_status = False # Modified root volume self.constants.allow_fv_root = True # Allow FileVault on broken seal # self.constants.amfi_status = True # Signed bundles, Don't need to explicitly set currently + + if model == "MacBook8,1": # MacBook8,1 has an odd bug where it cannot install Monterey with Minimal spoofing self.constants.serial_settings = "Moderate"