Add DebugEnhancer

This commit is contained in:
Mykola Grymalyuk
2021-06-13 10:47:10 -06:00
parent 5d6587100e
commit 880432970b
6 changed files with 29 additions and 5 deletions

View File

@@ -24,17 +24,19 @@
- AppleALC (1.6.2 rolling - 06-08-2021) - AppleALC (1.6.2 rolling - 06-08-2021)
- CPUFriend (1.2.4 rolling - 06-08-2021) - CPUFriend (1.2.4 rolling - 06-08-2021)
- Lilu (1.5.4 rolling - 06-11-2021) - Lilu (1.5.4 rolling - 06-11-2021)
- NVMeFix (1.0.9 rolling - 06-08-2021) - NVMeFix (1.0.9 rolling - 06-12-2021)
- WhateverGreen (1.5.1 rolling - 06-08-2021) - WhateverGreen (1.5.1 rolling - 06-08-2021)
- RestrictEvents (1.0.3 rolling - 06-11-2021) - RestrictEvents (1.0.3 rolling - 06-11-2021)
- Apple Binaries (0.0.14 release - 06-10-2021) - Apple Binaries (0.0.18 release - 06-12-2021)
- MouSSE (0.95 release - 06-08-2021) - MouSSE (0.95 release - 06-08-2021)
- SidecarFixup (1.0.2 rolling - 06-11-2021) - SidecarFixup (1.0.2 rolling - 06-11-2021)
- Fix SSE4,2 Emulation - Fix SSE4,2 Emulation
- Fix Sidecar and CPU renaming support in macOS Monterey - Fix Sidecar and CPU renaming support in macOS Monterey
- Add AirPlay support to older Models - Add AirPlay support to older Models
- Add Intel HD4000 Acceleration - Add Intel HD4000 Acceleration
- Big thanks to Jackluke! - Big thanks to Jackluke, EduCovas, DhinakG, MykolaG!
- Add DebugEnhancer for better macOS Monterey logs
- DebugEnhancer (1.0.3 rolling - 06-08-2021)
## 0.1.6 ## 0.1.6
- Add XHCI UEFI Driver for 3rd Party USB 3.0 Controllers - Add XHCI UEFI Driver for 3rd Party USB 3.0 Controllers

View File

@@ -155,6 +155,7 @@ class BuildOpenCore:
("AppleIntelPIIXATA.kext", self.constants.piixata_version, self.constants.piixata_path, lambda: self.model in ModelArray.IDEPatch), ("AppleIntelPIIXATA.kext", self.constants.piixata_version, self.constants.piixata_path, lambda: self.model in ModelArray.IDEPatch),
# Misc # Misc
("SidecarFixup.kext", self.constants.sidecarfixup_version, self.constants.sidecarfixup_path, lambda: self.model in ModelArray.SidecarPatch), ("SidecarFixup.kext", self.constants.sidecarfixup_version, self.constants.sidecarfixup_path, lambda: self.model in ModelArray.SidecarPatch),
("DebugEnhancer.kext", self.constants.debugenhancer_version, self.constants.debugenhancer_path, lambda: self.constants.kext_debug is True),
]: ]:
self.enable_kext(name, version, path, check) self.enable_kext(name, version, path, check)
@@ -586,7 +587,7 @@ class BuildOpenCore:
if self.constants.kext_debug is True: if self.constants.kext_debug is True:
print("- Enabling DEBUG Kexts") print("- Enabling DEBUG Kexts")
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -liludbgall" self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " -liludbgall"
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " msgbuf=1048576" #self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += " msgbuf=1048576"
if self.constants.opencore_debug is True: if self.constants.opencore_debug is True:
print("- Enabling DEBUG OpenCore") print("- Enabling DEBUG OpenCore")
self.config["Misc"]["Debug"]["Target"] = 67 self.config["Misc"]["Debug"]["Target"] = 67

View File

@@ -38,9 +38,10 @@ class Constants:
self.hibernationfixup = "1.3.9" self.hibernationfixup = "1.3.9"
self.nvmefix_version = "1.0.9" self.nvmefix_version = "1.0.9"
self.sidecarfixup_version = "1.0.2" self.sidecarfixup_version = "1.0.2"
self.debugenhancer_version = "1.0.3"
self.innie_version = "1.3.0" self.innie_version = "1.3.0"
self.fw_kext = "1.0.0" self.fw_kext = "1.0.0"
self.payload_version = "0.0.18" self.payload_version = "0.0.18" # Apple-Binaries-OCLP
# Get resource path # Get resource path
self.current_path = Path(__file__).parent.parent.resolve() self.current_path = Path(__file__).parent.parent.resolve()
@@ -209,6 +210,8 @@ class Constants:
@property @property
def sidecarfixup_path(self): return self.payload_kexts_path / Path(f"Acidanthera/SidecarFixup-v{self.sidecarfixup_version}.zip") def sidecarfixup_path(self): return self.payload_kexts_path / Path(f"Acidanthera/SidecarFixup-v{self.sidecarfixup_version}.zip")
@property @property
def debugenhancer_path(self): return self.payload_kexts_path / Path(f"Acidanthera/DebugEnhancer-v{self.debugenhancer_version}.zip")
@property
def innie_path(self): return self.payload_kexts_path / Path(f"Misc/Innie-v{self.innie_version}.zip") def innie_path(self): return self.payload_kexts_path / Path(f"Misc/Innie-v{self.innie_version}.zip")
@property @property
def plist_folder_path(self): return self.payload_kexts_path / Path(f"Plists") def plist_folder_path(self): return self.payload_kexts_path / Path(f"Plists")

View File

@@ -932,6 +932,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>DebugEnhancer.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<false/>
<key>ExecutablePath</key>
<string>Contents/MacOS/DebugEnhancer</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
</array> </array>
<key>Block</key> <key>Block</key>
<array/> <array/>

Binary file not shown.