mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
Implement Automatic Rosetta Cryptex installation
Drops need for manual OS.dmg swapping on pre-Haswell
This commit is contained in:
@@ -27,6 +27,8 @@
|
|||||||
- Implement KDK-less root patching for Metal Intel and Nvidia GPUs
|
- Implement KDK-less root patching for Metal Intel and Nvidia GPUs
|
||||||
- AMD GCN will still require a KDK installed for patching
|
- AMD GCN will still require a KDK installed for patching
|
||||||
- Resolve OpenCL support for legacy Metal Intel iGPUs
|
- Resolve OpenCL support for legacy Metal Intel iGPUs
|
||||||
|
- Implement Automatic Rosetta Cryptex installation on OS installs and updates
|
||||||
|
- Drops need for manual OS.dmg swapping on pre-Haswell
|
||||||
- Increment Binaries:
|
- Increment Binaries:
|
||||||
- OpenCorePkg 0.8.3 release
|
- OpenCorePkg 0.8.3 release
|
||||||
- Lilu 1.6.2 - release
|
- Lilu 1.6.2 - release
|
||||||
|
|||||||
@@ -1455,6 +1455,24 @@
|
|||||||
<key>PlistPath</key>
|
<key>PlistPath</key>
|
||||||
<string>Contents/Info.plist</string>
|
<string>Contents/Info.plist</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>CryptexFixup.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>CryptexFixup</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string>Contents/MacOS/CryptexFixup</string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>22.0.0</string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>Block</key>
|
<key>Block</key>
|
||||||
<array/>
|
<array/>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1072,6 +1072,7 @@ 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:
|
||||||
|
self.enable_kext("CryptexFixup.kext", self.constants.cryptexfixup_version, self.constants.cryptexfixup_path)
|
||||||
print("- Allowing swapped dyld shared cache in Ventura")
|
print("- Allowing swapped dyld shared cache in Ventura")
|
||||||
self.get_item_by_kv(self.config["Kernel"]["Patch"], "Comment", "Disable Root Hash validation")["Enabled"] = True
|
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:
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ class Constants:
|
|||||||
self.bluetool_version = "2.6.3" # BlueToolFixup (BrcmPatchRAM)
|
self.bluetool_version = "2.6.3" # BlueToolFixup (BrcmPatchRAM)
|
||||||
self.cslvfixup_version = "2.6.1" # CSLVFixup
|
self.cslvfixup_version = "2.6.1" # CSLVFixup
|
||||||
self.autopkg_version = "1.0.1" # AutoPkgInstaller
|
self.autopkg_version = "1.0.1" # AutoPkgInstaller
|
||||||
|
self.cryptexfixup_version = "1.0.0" # CryptexFixup
|
||||||
|
|
||||||
## Apple
|
## Apple
|
||||||
## https://www.apple.com
|
## https://www.apple.com
|
||||||
@@ -412,6 +413,10 @@ class Constants:
|
|||||||
def autopkg_path(self):
|
def autopkg_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/AutoPkgInstaller-v{self.autopkg_version}-{self.kext_variant}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/AutoPkgInstaller-v{self.autopkg_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
|
@property
|
||||||
|
def cryptexfixup_path(self):
|
||||||
|
return self.payload_kexts_path / Path(f"Acidanthera/CryptexFixup-v{self.cryptexfixup_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def innie_path(self):
|
def innie_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Misc/Innie-v{self.innie_version}.zip")
|
return self.payload_kexts_path / Path(f"Misc/Innie-v{self.innie_version}.zip")
|
||||||
|
|||||||
Reference in New Issue
Block a user