build.py: Drop manual Root Hash Patching

This commit is contained in:
Mykola Grymalyuk
2022-09-27 07:20:05 -06:00
parent 407ed9c4cd
commit 1d821b993b
5 changed files with 4 additions and 4 deletions

View File

@@ -36,6 +36,7 @@
- PatcherSupportPkg 0.6.5 - release - PatcherSupportPkg 0.6.5 - release
- BrcmPatchRAM 2.6.3 - release - BrcmPatchRAM 2.6.3 - release
- AutoPkgInstaller 1.0.1 - release - AutoPkgInstaller 1.0.1 - release
- CryptexFixup 1.0.0 - rolling (1e41456)
## 0.4.12 ## 0.4.12

View File

@@ -1249,7 +1249,7 @@ class wx_python_gui:
print("- Root Patcher finished successfully") print("- Root Patcher finished successfully")
if self.constants.needs_to_open_preferences is True: if self.constants.needs_to_open_preferences is True:
if self.constants.detected_os >= os_data.os_data.ventura: if self.constants.detected_os >= os_data.os_data.ventura:
self.reboot_system(message="Root Patcher finished successfully!\nIf you were prompted to open System Preferences to authorize new kexts, this can be ignored. Your system is ready once restarted.\n\nWould you like to reboot now?") self.reboot_system(message="Root Patcher finished successfully!\nIf you were prompted to open System Settings to authorize new kexts, this can be ignored. Your system is ready once restarted.\n\nWould you like to reboot now?")
else: else:
# Create dialog box to open System Preferences -> Security and Privacy # Create dialog box to open System Preferences -> Security and Privacy
self.popup = wx.MessageDialog( self.popup = wx.MessageDialog(
@@ -1503,7 +1503,7 @@ class wx_python_gui:
if ias is None: if ias is None:
available_installers = installer.only_list_newest_installers(available_installers) available_installers = installer.only_list_newest_installers(available_installers)
for app in available_installers: for app in available_installers:
print(f"macOS {available_installers[app]['Version']} ({available_installers[app]['Build']} - {utilities.human_fmt(available_installers[app]['Size'])} - {available_installers[app]['Source']}) - {available_installers[app]['Variant']}") print(f"macOS {available_installers[app]['Version']} ({available_installers[app]['Build']}):\n - Size: {utilities.human_fmt(available_installers[app]['Size'])}\n - Source: {available_installers[app]['Source']}\n - Variant: {available_installers[app]['Variant']}\n - Link: {available_installers[app]['Link']}\n")
if available_installers[app]['Variant'] in ["DeveloperSeed" , "PublicSeed"]: if available_installers[app]['Variant'] in ["DeveloperSeed" , "PublicSeed"]:
extra = " Beta" extra = " Beta"
else: else:

View File

@@ -1072,9 +1072,8 @@ class BuildOpenCore:
# Lets us check in sys_patch.py if config supports FileVault # Lets us check in sys_patch.py if config supports FileVault
self.config["NVRAM"]["Add"]["4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102"]["OCLP-Settings"] += " -allow_fv" self.config["NVRAM"]["Add"]["4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102"]["OCLP-Settings"] += " -allow_fv"
if smbios_data.smbios_dictionary[self.model]["CPU Generation"] <= cpu_data.cpu_data.ivy_bridge.value: if smbios_data.smbios_dictionary[self.model]["CPU Generation"] <= cpu_data.cpu_data.ivy_bridge.value:
print("- Enabling Rosetta Cryptex support in Ventura")
self.enable_kext("CryptexFixup.kext", self.constants.cryptexfixup_version, self.constants.cryptexfixup_path) self.enable_kext("CryptexFixup.kext", self.constants.cryptexfixup_version, self.constants.cryptexfixup_path)
print("- Allowing swapped dyld shared cache in Ventura")
self.get_item_by_kv(self.config["Kernel"]["Patch"], "Comment", "Disable Root Hash validation")["Enabled"] = True
if self.constants.disable_msr_power_ctl is True: if self.constants.disable_msr_power_ctl is True:
print("- Disabling Firmware Throttling") print("- Disabling Firmware Throttling")
if smbios_data.smbios_dictionary[self.model]["CPU Generation"] >= cpu_data.cpu_data.nehalem.value: if smbios_data.smbios_dictionary[self.model]["CPU Generation"] >= cpu_data.cpu_data.nehalem.value: