Disable Asset Caching

This commit is contained in:
Mykola Grymalyuk
2021-12-14 13:04:33 -07:00
parent 5eaa1d0317
commit 90bc9d81bf
3 changed files with 17 additions and 6 deletions

View File

@@ -1,5 +1,9 @@
# OpenCore Legacy Patcher changelog # OpenCore Legacy Patcher changelog
## 0.3.3
- Disable Asset Caching support with spoofless approach
- Switch to Minimal or higher if required
## 0.3.2 ## 0.3.2
- Implement spoofless support (ie. no SMBIOS patching) - Implement spoofless support (ie. no SMBIOS patching)
- Requires macOS 11.3 or newer, for 11.2.3 and older use Minimal or higher spoofing - Requires macOS 11.3 or newer, for 11.2.3 and older use Minimal or higher spoofing

View File

@@ -27,9 +27,16 @@ Current hardware we own:
| Model | CPU | GPU | Owner | Notes | | Model | CPU | GPU | Owner | Notes |
| :--- | :--- | :--- | :--- | :--- | | :--- | :--- | :--- | :--- | :--- |
| MacBook5,1 | Penryn | 9400M | Mykola | N/A |
| MacBook7,1 | Penryn | GT320M | Dhinak | N/A | | MacBook7,1 | Penryn | GT320M | Dhinak | N/A |
| MacBook7,1 | Penryn | GT320M | Mykola | N/A | | MacBook7,1 | Penryn | GT320M | Mykola | N/A |
| MacBookPro5,3 | Penryn | 9400M + 9600M | Dhinak | Display's partially broken | | MacBookPro5,3 | Penryn | 9400M + 9600M | Dhinak | Display's partially broken |
| MacBookPro8,2 | Sandy Bridge | HD3000 | Mykola | Dead dGPU |
| MacPro3,1 | Penryn | GTX 680 | Dhinak | N/A |
| Macmini4,1 | Penryn | GT320M | Dhinak | N/A | | Macmini4,1 | Penryn | GT320M | Dhinak | N/A |
| iMac11,2 | Clarksdale | HD4670 | Mykola | N/A |
| MacPro3,1 | Penryn | HD5770, RX570, GT710 | Mykola | N/A | Dead Hardware:
| Model | CPU | GPU | Owner | Notes |
| :--- | :--- | :--- | :--- | :--- |
| MacPro3,1 | Penryn | HD5770, RX570, GT710 | Mykola | No longer powers on |
| MacPro4,1 | Westmere | HD7950 | Mykola | Dead Northbridge on CPU Tray |

View File

@@ -889,10 +889,10 @@ class BuildOpenCore:
if self.constants.disable_connectdrivers is True: if self.constants.disable_connectdrivers is True:
print("- Disabling ConnectDrivers") print("- Disabling ConnectDrivers")
self.config["UEFI"]["ConnectDrivers"] = False self.config["UEFI"]["ConnectDrivers"] = False
if self.get_item_by_kv(self.config["Kernel"]["Patch"], "Comment", "Reroute kern.hv_vmm_present patch (1)")["Enabled"] is True: # if self.get_item_by_kv(self.config["Kernel"]["Patch"], "Comment", "Reroute kern.hv_vmm_present patch (1)")["Enabled"] is True:
# Add Content Caching patch # # Add Content Caching patch
print("- Fixing Content Caching support") # print("- Fixing Content Caching support")
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -allow_assetcache" # self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -allow_assetcache"
if self.get_kext_by_bundle_path("RestrictEvents.kext")["Enabled"] is False: if self.get_kext_by_bundle_path("RestrictEvents.kext")["Enabled"] is False:
# Ensure this is done at the end so all previous RestrictEvents patches are applied # Ensure this is done at the end so all previous RestrictEvents patches are applied
# RestrictEvents and EFICheckDisabler will confilict if both are injected # RestrictEvents and EFICheckDisabler will confilict if both are injected