From cdc80ef55060b2399b6ba07e57e58243bd873b88 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Sun, 20 Jun 2021 09:32:56 -0600 Subject: [PATCH] Work around MacBook8,1 bug --- OCLP-CLI.command | 3 +++ OpenCore-Patcher.command | 3 +++ 2 files changed, 6 insertions(+) diff --git a/OCLP-CLI.command b/OCLP-CLI.command index de5ef9f96..3c003e1a3 100755 --- a/OCLP-CLI.command +++ b/OCLP-CLI.command @@ -188,6 +188,9 @@ class OpenCoreLegacyPatcher(): self.constants.sip_status = False # Unsigned kexts self.constants.secure_status = False # Modified root volume #self.constants.disable_amfi = False # 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" def patch_vol(self): SysPatch.PatchSysVolume(self.constants.custom_model or self.constants.computer.real_model, self.constants).start_patch() diff --git a/OpenCore-Patcher.command b/OpenCore-Patcher.command index 78cd366e1..5b6a26af7 100755 --- a/OpenCore-Patcher.command +++ b/OpenCore-Patcher.command @@ -69,6 +69,9 @@ class OpenCoreLegacyPatcher: self.constants.sip_status = False # Unsigned kexts self.constants.secure_status = False # Modified root volume #self.constants.disable_amfi = False # 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" def build_opencore(self): Build.BuildOpenCore(self.constants.custom_model or self.constants.computer.real_model, self.constants).build_opencore()