From 9038aaf906a4e1c69db832b2f5644d93b2a2ed07 Mon Sep 17 00:00:00 2001 From: neon ball <35791009+ParaDoX1994@users.noreply.github.com> Date: Tue, 3 Oct 2023 00:53:15 +0300 Subject: [PATCH 1/9] Add LE kext method to root patch reversion --- docs/TROUBLESHOOTING.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index ac9f784d4..9f9c0dee2 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -56,7 +56,7 @@ With OpenCore Legacy Patcher, we rely on Apple Secure Boot to ensure OS updates Boot into recovery by pressing space when your disk is selected on the OCLP bootpicker (if you have it hidden, hold ESC while starting up) -Note: If your disk name is something else than "Macintosh HD", make sure to change the path accordingly. +* **Note:** If your disk name is something else than "Macintosh HD", make sure to change the path accordingly. Go into terminal and first mount the disk by typing ```sh @@ -66,9 +66,19 @@ Then revert the snapshot ```sh bless --mount "/Volumes/Macintosh HD" --bootefi --last-sealed-snapshot ``` +After that, type the following +```sh +cd "/Volumes/Macintosh HD/Library/Extensions" +``` +Then by typing `ls`, you should see bunch of .kexts. +* **Note:** If you only see .kexts starting with "HighPoint", you can ignore this. If other kexts are found, continue. + +Delete everything **except** for the ones that start with HighPoint, by using `rm -rf "kextname"` Then restart and now your system should be restored to the unpatched snapshot and should be able to boot again. + + ## Reboot when entering Hibernation (`Sleep Wake Failure`) [Known issue on some models](https://github.com/dortania/Opencore-Legacy-Patcher/issues/72), a temporary fix is to disable Hibernation by executing the following command in the terminal: From e56beb5f4edbc81eb3eb3bfa7297cf9f470c7417 Mon Sep 17 00:00:00 2001 From: neon ball <35791009+ParaDoX1994@users.noreply.github.com> Date: Tue, 3 Oct 2023 01:00:46 +0300 Subject: [PATCH 2/9] Change wording --- docs/TROUBLESHOOTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index 9f9c0dee2..b5c1312c6 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -71,7 +71,7 @@ After that, type the following cd "/Volumes/Macintosh HD/Library/Extensions" ``` Then by typing `ls`, you should see bunch of .kexts. -* **Note:** If you only see .kexts starting with "HighPoint", you can ignore this. If other kexts are found, continue. +* **Note:** If you only see .kexts starting with "HighPoint", you can ignore this and just restart the system. If other kexts are found, continue. Delete everything **except** for the ones that start with HighPoint, by using `rm -rf "kextname"` From 8a6a9ec0545e11c97532e9b95de957a33f6c6898 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Mon, 2 Oct 2023 20:26:22 -0600 Subject: [PATCH 3/9] sys_patch_dict.py: Fix OS versioning for CoreImage Thanks @OnesuchDev for catching this --- CHANGELOG.md | 1 + data/sys_patch_dict.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfae26b46..ded3d71f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 1.1.0 - Add error handling for corrupted patcher settings +- Remove CoreImage patch for 3802 GPUs on Ventura ## 1.0.0 - Resolve BCM2046 and BCM2070 support on macOS 13.3 and newer diff --git a/data/sys_patch_dict.py b/data/sys_patch_dict.py index ca7995036..76826ea87 100644 --- a/data/sys_patch_dict.py +++ b/data/sys_patch_dict.py @@ -377,7 +377,7 @@ class SystemPatchDictionary(): "Install": { "/System/Library/Frameworks": { "Metal.framework": f"13.2.1-{self.os_major}", - **({ "CoreImage.framework": "14.0 Beta 3" } if self.os_major >= os_data.os_data.ventura else {}), + **({ "CoreImage.framework": "14.0 Beta 3" } if self.os_major >= os_data.os_data.sonoma else {}), }, "/System/Library/PrivateFrameworks": { **({ "MTLCompiler.framework": "13.2.1" } if self.os_major == os_data.os_data.ventura else {}), From 8718c620d321fc42dd234803b096804be403763d Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Tue, 3 Oct 2023 07:39:20 -0600 Subject: [PATCH 4/9] sys_patch_detect.py: Add Sonoma check to PCIe Camera UI label Patch itself still has a Sonoma guard, this simply prevents the UI from showing the item --- CHANGELOG.md | 2 ++ resources/sys_patch/sys_patch_detect.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ded3d71f6..2c2e11115 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## 1.1.0 - Add error handling for corrupted patcher settings - Remove CoreImage patch for 3802 GPUs on Ventura +- Avoid listing PCIe FaceTime camera patch on pre-Sonoma OSes + - Only cometic in Root Patching UI, however removed to avoid confusion ## 1.0.0 - Resolve BCM2046 and BCM2070 support on macOS 13.3 and newer diff --git a/resources/sys_patch/sys_patch_detect.py b/resources/sys_patch/sys_patch_detect.py index 947296423..87e60b793 100644 --- a/resources/sys_patch/sys_patch_detect.py +++ b/resources/sys_patch/sys_patch_detect.py @@ -538,7 +538,8 @@ class DetectRootPatch: self.has_network = network_handler.NetworkUtilities().verify_network_connection() - self.legacy_pcie_webcam = self.constants.computer.pcie_webcam + if self.constants.detected_os >= os_data.os_data.sonoma: + self.legacy_pcie_webcam = self.constants.computer.pcie_webcam if self._check_uhci_ohci() is True: self.legacy_uhci_ohci = True From 54c56e2988e5290c41491bb5bbdbb4bd987cbc48 Mon Sep 17 00:00:00 2001 From: Eduardo Covas <44532297+educovas@users.noreply.github.com> Date: Tue, 3 Oct 2023 13:25:55 -0300 Subject: [PATCH 5/9] Sync PatcherSupportPkg --- CHANGELOG.md | 9 ++++++++- data/sys_patch_dict.py | 2 +- resources/constants.py | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c2e11115..6ff823baf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # OpenCore Legacy Patcher changelog -## 1.1.0 +## 1.0.1 +- Resolve rendering issues on Intel ivy Bridge iGPUs +- Update non-Metal Binaries for MacOS Sonoma: + - Resolve unresponsive Catalyst buttons + - Resolve window unfocusing issues + - Resolve menu bar fonts not changing color automatically with Beta Menu Bar enabled + - Improve Lock Screen clock transparency +- Prevent random WiFiAgent crashes - Add error handling for corrupted patcher settings - Remove CoreImage patch for 3802 GPUs on Ventura - Avoid listing PCIe FaceTime camera patch on pre-Sonoma OSes diff --git a/data/sys_patch_dict.py b/data/sys_patch_dict.py index 76826ea87..8091c889f 100644 --- a/data/sys_patch_dict.py +++ b/data/sys_patch_dict.py @@ -949,7 +949,7 @@ class SystemPatchDictionary(): "Install": { "/System/Library/Extensions": { "AppleIntelHD4000GraphicsGLDriver.bundle": "11.0 Beta 6", - "AppleIntelHD4000GraphicsMTLDriver.bundle": "11.0 Beta 6", + "AppleIntelHD4000GraphicsMTLDriver.bundle": "11.0 Beta 6" if self.os_major < os_data.os_data.ventura else "11.0-beta 6-22", "AppleIntelHD4000GraphicsVADriver.bundle": "11.3 Beta 1", "AppleIntelFramebufferCapri.kext": "11.4" if self.os_major < os_data.os_data.sonoma else "11.4-23", "AppleIntelHD4000Graphics.kext": "11.4" if self.os_major < os_data.os_data.sonoma else "11.4-23", diff --git a/resources/constants.py b/resources/constants.py index f8c1e6d7b..52c75e043 100644 --- a/resources/constants.py +++ b/resources/constants.py @@ -13,8 +13,8 @@ from data import os_data class Constants: def __init__(self) -> None: # Patcher Versioning - self.patcher_version: str = "1.1.0" # OpenCore-Legacy-Patcher - self.patcher_support_pkg_version: str = "1.3.2" # PatcherSupportPkg + self.patcher_version: str = "1.0.1" # OpenCore-Legacy-Patcher + self.patcher_support_pkg_version: str = "1.3.3" # PatcherSupportPkg self.copyright_date: str = "Copyright © 2020-2023 Dortania" self.patcher_name: str = "OpenCore Legacy Patcher" From b72ff16f55d017790ed3ba98f67c1c4bd4d20481 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Tue, 3 Oct 2023 14:22:17 -0600 Subject: [PATCH 6/9] CHANGELOG: Adjust formatting --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ff823baf..65d29e356 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # OpenCore Legacy Patcher changelog ## 1.0.1 -- Resolve rendering issues on Intel ivy Bridge iGPUs -- Update non-Metal Binaries for MacOS Sonoma: +- Resolve rendering issues on Intel Ivy Bridge iGPUs +- Update non-Metal Binaries for macOS Sonoma: - Resolve unresponsive Catalyst buttons - Resolve window unfocusing issues - Resolve menu bar fonts not changing color automatically with Beta Menu Bar enabled From 9982d43d5a5d908ffb7f1f2b77dab449daf5537c Mon Sep 17 00:00:00 2001 From: neon ball <35791009+ParaDoX1994@users.noreply.github.com> Date: Tue, 3 Oct 2023 23:53:17 +0300 Subject: [PATCH 7/9] Add "ls /Volumes" --- docs/TROUBLESHOOTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index b5c1312c6..6a6e50a39 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -56,7 +56,7 @@ With OpenCore Legacy Patcher, we rely on Apple Secure Boot to ensure OS updates Boot into recovery by pressing space when your disk is selected on the OCLP bootpicker (if you have it hidden, hold ESC while starting up) -* **Note:** If your disk name is something else than "Macintosh HD", make sure to change the path accordingly. +* **Note:** If your disk name is something else than "Macintosh HD", make sure to change the path accordingly. You can figure out your disk name by typing `ls /Volumes`. Go into terminal and first mount the disk by typing ```sh From e8f8f1bd93cb734a13c94b3be18494bc49d55176 Mon Sep 17 00:00:00 2001 From: neon ball <35791009+ParaDoX1994@users.noreply.github.com> Date: Wed, 4 Oct 2023 22:49:24 +0300 Subject: [PATCH 8/9] Fix wording --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65d29e356..173d2936d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ - Add error handling for corrupted patcher settings - Remove CoreImage patch for 3802 GPUs on Ventura - Avoid listing PCIe FaceTime camera patch on pre-Sonoma OSes - - Only cometic in Root Patching UI, however removed to avoid confusion + - Only cosmetic in Root Patching UI, however it has removed to avoid confusion ## 1.0.0 - Resolve BCM2046 and BCM2070 support on macOS 13.3 and newer From 7aff1794c6c21d67fa83058ddb488b81bb8bccc3 Mon Sep 17 00:00:00 2001 From: neon ball <35791009+ParaDoX1994@users.noreply.github.com> Date: Wed, 4 Oct 2023 22:53:59 +0300 Subject: [PATCH 9/9] Fix v2 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 173d2936d..e6169f469 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ - Add error handling for corrupted patcher settings - Remove CoreImage patch for 3802 GPUs on Ventura - Avoid listing PCIe FaceTime camera patch on pre-Sonoma OSes - - Only cosmetic in Root Patching UI, however it has removed to avoid confusion + - Only cosmetic in Root Patching UI, however it has been removed to avoid confusion ## 1.0.0 - Resolve BCM2046 and BCM2070 support on macOS 13.3 and newer