diff --git a/.github/ISSUE_TEMPLATE/issue-report.yml b/.github/ISSUE_TEMPLATE/issue-report.yml index 6241abe..1a029e1 100644 --- a/.github/ISSUE_TEMPLATE/issue-report.yml +++ b/.github/ISSUE_TEMPLATE/issue-report.yml @@ -1,53 +1,53 @@ -name: "Issue report" -description: "Please fill this form carefully, it will make solving your issue much easier!" -labels: ["issue"] -body: - - type: dropdown - id: version - attributes: - label: "macOS Version" - description: "What version of macOS are you running?" - options: - - "Ventura (13.x)" - - "Monterey (12.x)" - - "Big Sur (11.x)" - - "Catalina (10.15.x)" - - "Mojave (10.14.x)" - - "High Sierra (10.13.x)" - default: 0 - validations: - required: true - - type: textarea - id: specification - attributes: - label: "Specification" - description: "Tell us your computer's specification" - value: "| **Component** | **Model** |\n| ---------------- | -------------------- |\n| CPU | [Your CPU] |\n| Motherboard | [Your motherboard] |\n| GPU | [Your GPU] |\n| Audio Chipset | [Your audio chipset] |\n| Ethernet | [Your Ethernet card] |\n| WiFi & Bluetooth | [Your WiFi card] |" - - type: textarea - id: what-happened - attributes: - label: "What happened?" - description: "Tell us all details, it will make solving this problem much easier!" - placeholder: "My hackintosh panic while booting!" - validations: - required: true - - type: input - id: efi - attributes: - label: "Your EFI link" - description: "Send us your EFI! You can remove SMBIOS informations if you want" - placeholder: "https://drive.google.com/my-efi" - validations: - required: true - - type: checkboxes - id: terms - attributes: - label: "Before creating an issue" - description: "Did you do it?" - options: - - label: "I tried fixing this issue myself and asked for support on [AMD-OSX Discord](https://discord.gg/EfCYAJW)" - required: true - - label: "I filled my computer specification" - required: true - - label: "I attached logs with enabled verbose mode" +name: "Issue report" +description: "Please fill this form carefully, it will make solving your issue much easier!" +labels: ["issue"] +body: + - type: dropdown + id: version + attributes: + label: "macOS Version" + description: "What version of macOS are you running?" + options: + - "Ventura (13.x)" + - "Monterey (12.x)" + - "Big Sur (11.x)" + - "Catalina (10.15.x)" + - "Mojave (10.14.x)" + - "High Sierra (10.13.x)" + default: 0 + validations: + required: true + - type: textarea + id: specification + attributes: + label: "Specification" + description: "Tell us your computer's specification" + value: "| **Component** | **Model** |\n| ---------------- | -------------------- |\n| CPU | [Your CPU] |\n| Motherboard | [Your motherboard] |\n| GPU | [Your GPU] |\n| Audio Chipset | [Your audio chipset] |\n| Ethernet | [Your Ethernet card] |\n| WiFi & Bluetooth | [Your WiFi card] |" + - type: textarea + id: what-happened + attributes: + label: "What happened?" + description: "Tell us all details, it will make solving this problem much easier!" + placeholder: "My hackintosh panic while booting!" + validations: + required: true + - type: input + id: efi + attributes: + label: "Your EFI link" + description: "Send us your EFI! You can remove SMBIOS informations if you want" + placeholder: "https://drive.google.com/my-efi" + validations: + required: true + - type: checkboxes + id: terms + attributes: + label: "Before creating an issue" + description: "Did you do it?" + options: + - label: "I tried fixing this issue myself and asked for support on [AMD-OSX Discord](https://discord.gg/EfCYAJW)" + required: true + - label: "I filled my computer specification" + required: true + - label: "I attached logs with enabled verbose mode" required: true \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0e90024..00cd797 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,24 +1,24 @@ - -name: tests -on: - push: - branches: - - master - paths-ignore: - - '**.md' - pull_request: - paths-ignore: - - '**.md' -jobs: - test-configs: - runs-on: macos-latest - steps: - - uses: actions/checkout@v3 - - - uses: brokeyourbike/ocvalidate-action@v0.3 - with: - opencore-version: '1.0.1' - release: true - - - run: | - ocvalidate "OC/config.plist" || exit 1 + +name: tests +on: + push: + branches: + - master + paths-ignore: + - '**.md' + pull_request: + paths-ignore: + - '**.md' +jobs: + test-configs: + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + + - uses: brokeyourbike/ocvalidate-action@v0.3 + with: + opencore-version: '1.0.2' + release: true + + - run: | + ocvalidate "OC/config.plist" || exit 1 diff --git a/.gitignore b/.gitignore index e43b0f9..6e8821b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -.DS_Store +.DS_Store diff --git a/OC/Kexts/AppleALC.kext/Contents/Info.plist b/OC/Kexts/AppleALC.kext/Contents/Info.plist index 56266d2..0378412 100644 --- a/OC/Kexts/AppleALC.kext/Contents/Info.plist +++ b/OC/Kexts/AppleALC.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 23F79 + 23G93 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.9.1 + 1.9.2 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,7 +25,7 @@ MacOSX CFBundleVersion - 1.9.1 + 1.9.2 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild @@ -5839,6 +5839,32 @@ LayoutID 21 + + AFGLowPowerState + + AwAAAA== + + Codec + Realtek ALC274 for Optiplex 7470 AIO + CodecID + 283902580 + ConfigData + + AWcMAgIFAEUCBNaJATcdAAE3HgABNx9AAZcc + QAGXHRABlx6nAZcfAAG3HFABtx0QAbceAQG3 + HwECFx8B + + FuncGroup + 1 + LayoutID + 11 + WakeConfigData + + AWcMAg== + + WakeVerbReinit + + AFGLowPowerState @@ -7016,6 +7042,37 @@ WakeVerbReinit + + AFGLowPowerState + + AwAAAA== + + CodecID + 283902597 + CodecName + PIut02 - Realtek ALC285 for ROG-Zephyrus-G14 + ConfigData + + AScccAEnHQEBJx6mAScfkAE3HPABNx0AATce + AAE3H0ABRxxAAUcdAQFHHhcBRx+QAUcMAgFn + HPABZx0AAWceAAFnH0ABdxxBAXcdAQF3HhcB + dx+QAYcc8AGHHQABhx4AAYcfQAGXHCABlx0Q + AZceiwGXHwIBpxzwAacdAAGnHgABpx9AAbcc + 8AG3HQABtx4AAbcfQAG3DAIB1xzwAdcdAAHX + HgAB1x9AAecc8AHnHQAB5x4AAecfQAIXHFAC + Fx0QAhceKwIXHwICFwwC + + FuncGroup + 1 + LayoutID + 33 + WakeConfigData + + AUcMAgG3DAICFwwC + + WakeVerbReinit + + AFGLowPowerState @@ -7481,7 +7538,7 @@ AwAAAA== Codec - Realtek ALC289 for Asus ROG Zephyrus G14 + PIut02 - Realtek ALC289 for ROG-Zephyrus-G14 CodecID 283902601 ConfigData @@ -13044,6 +13101,31 @@ WakeVerbReinit + + CodecID + 283904768 + CodecName + VictorXu - Realtek ALCS1200A for MSI B460I GAMING EDGE WIFI + ConfigData + + AUccEAFHHVABRx4RAUcfkQFHDAIBtxwgAbcd + QAG3HiEBtx8CAbcMAgHnHDAB5x0QAeceRQHn + HwEBlxxQAZcdkAGXHoEBlx8CAVccYAFXHRAB + Vx4BAVcfAQFnHHABZx0QAWceAQFnHwEBhxyA + AYcdEAGHHqEBhx+RAacckAGnHRABpx6BAacf + AQ== + + FuncGroup + 1 + LayoutID + 23 + WakeConfigData + + AUcMAgG3DAI= + + WakeVerbReinit + + CodecID 283904768 @@ -16381,6 +16463,29 @@ WakeVerbReinit + + CodecID + 283904768 + CodecName + mobilestebu - Realtek ALCS1200A for ASUS TUF-Z390M-Gaming (based on owen0o0 layout 11) + ConfigData + + AUccEAFHHUABRx4BAUcfAQFHDAIBtxwgAbcd + QAG3HiEBtx8CAbcMAgEXHDABFx0BARceRgEX + H5ABhxxQAYcdkAGHHqEBhx8BAaccXwGnHTAB + px6BAacfAQGXHGABlx2QAZceoQGXHwI= + + FuncGroup + 1 + LayoutID + 12 + WakeConfigData + + AUcMAgG3DAI= + + WakeVerbReinit + + IOClass AppleALC diff --git a/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC b/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC index f8db0d5..75cf62c 100755 Binary files a/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC and b/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC differ diff --git a/OC/Kexts/AppleMCEReporterDisabler.kext/Contents/Info.plist b/OC/Kexts/AppleMCEReporterDisabler.kext/Contents/Info.plist index d76c802..6eb744d 100755 --- a/OC/Kexts/AppleMCEReporterDisabler.kext/Contents/Info.plist +++ b/OC/Kexts/AppleMCEReporterDisabler.kext/Contents/Info.plist @@ -1,66 +1,66 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleGetInfoString - AppleIntelMCEReporter Disabler 1.0, © 2019 by XLNC. All rights reserved. - CFBundleIdentifier - org.xlnc.disabler.MCEReporter - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - DisableAppleIntelMCEReporter - CFBundlePackageType - KEXT - CFBundleVersion - 1.2 - IOKitPersonalities - - DisableMCEInterruptController - - CFBundleIdentifier - com.apple.driver.AppleIntelMCEReporter - IOClass - IOService - IOMatchCategory - AppleIntelMCEInterruptController - IOProbeScore - 5000 - IOPropertyMatch - - - board-id - Mac-F60DEB81FF30ACF6 - - - board-id - Mac-7BA5B2D9E42DDD94 - - - board-id - Mac-27AD2F918AE68F61 - - - IOProviderClass - IOPlatformExpertDevice - - DisableMCEReporter - - CFBundleIdentifier - com.apple.driver.AppleIntelMCEReporter - IOClass - IOService - IOMatchCategory - AppleIntelMCEReporter - IOProbeScore - 5000 - IOProviderClass - AppleIntelMCEInterruptNub - - - OSBundleRequired - Root - - + + + + + CFBundleDevelopmentRegion + English + CFBundleGetInfoString + AppleIntelMCEReporter Disabler 1.0, © 2019 by XLNC. All rights reserved. + CFBundleIdentifier + org.xlnc.disabler.MCEReporter + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + DisableAppleIntelMCEReporter + CFBundlePackageType + KEXT + CFBundleVersion + 1.2 + IOKitPersonalities + + DisableMCEInterruptController + + CFBundleIdentifier + com.apple.driver.AppleIntelMCEReporter + IOClass + IOService + IOMatchCategory + AppleIntelMCEInterruptController + IOProbeScore + 5000 + IOPropertyMatch + + + board-id + Mac-F60DEB81FF30ACF6 + + + board-id + Mac-7BA5B2D9E42DDD94 + + + board-id + Mac-27AD2F918AE68F61 + + + IOProviderClass + IOPlatformExpertDevice + + DisableMCEReporter + + CFBundleIdentifier + com.apple.driver.AppleIntelMCEReporter + IOClass + IOService + IOMatchCategory + AppleIntelMCEReporter + IOProbeScore + 5000 + IOProviderClass + AppleIntelMCEInterruptNub + + + OSBundleRequired + Root + + diff --git a/OC/Kexts/Lilu.kext/Contents/Info.plist b/OC/Kexts/Lilu.kext/Contents/Info.plist index e192812..a3e83c0 100644 --- a/OC/Kexts/Lilu.kext/Contents/Info.plist +++ b/OC/Kexts/Lilu.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 23F79 + 23G93 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.6.8 + 1.6.9 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,7 +25,7 @@ MacOSX CFBundleVersion - 1.6.8 + 1.6.9 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu b/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu index 87fee70..4e420d3 100644 Binary files a/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu and b/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu differ diff --git a/OC/Kexts/RealtekRTL8111.kext/Contents/Info.plist b/OC/Kexts/RealtekRTL8111.kext/Contents/Info.plist index 9e6775a..8516062 100644 --- a/OC/Kexts/RealtekRTL8111.kext/Contents/Info.plist +++ b/OC/Kexts/RealtekRTL8111.kext/Contents/Info.plist @@ -1,104 +1,104 @@ - - - - - BuildMachineOSBuild - 19H1030 - CFBundleDevelopmentRegion - English - CFBundleExecutable - RealtekRTL8111 - CFBundleIdentifier - com.insanelymac.RealtekRTL8111 - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - RealtekRTL8111 - CFBundlePackageType - KEXT - CFBundleShortVersionString - 2.4.2 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 2.4.2 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 10G8 - DTPlatformVersion - GM - DTSDKBuild - 18G74 - DTSDKName - macosx10.14 - DTXcode - 1030 - DTXcodeBuild - 10G8 - IOKitPersonalities - - RTL8111 PCIe Adapter - - CFBundleIdentifier - com.insanelymac.RealtekRTL8111 - Driver Parameters - - disableASPM - - enableCSO6 - - enableTSO4 - - enableTSO6 - - fallbackMAC - - intrMitigate - 53080 - rxPolling - - - Driver_Version - 2.4.2 - IOClass - RTL8111 - IOPCIMatch - 0x816810ec 0x81681186 0x250210ec 0x260010ec - IOProbeScore - 1000 - IOProviderClass - IOPCIDevice - Model - RTL8111 - Vendor - Realtek - - - LSMinimumSystemVersion - 10.14 - NSHumanReadableCopyright - Copyright © 2013 Laura Müller. All rights reserved. - OSBundleLibraries - - com.apple.iokit.IONetworkingFamily - 1.5.0 - com.apple.iokit.IOPCIFamily - 1.7 - com.apple.kpi.bsd - 8.10.0 - com.apple.kpi.iokit - 8.10.0 - com.apple.kpi.libkern - 8.10.0 - com.apple.kpi.mach - 8.10.0 - - OSBundleRequired - Network-Root - - + + + + + BuildMachineOSBuild + 19H1030 + CFBundleDevelopmentRegion + English + CFBundleExecutable + RealtekRTL8111 + CFBundleIdentifier + com.insanelymac.RealtekRTL8111 + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + RealtekRTL8111 + CFBundlePackageType + KEXT + CFBundleShortVersionString + 2.4.2 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 2.4.2 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 10G8 + DTPlatformVersion + GM + DTSDKBuild + 18G74 + DTSDKName + macosx10.14 + DTXcode + 1030 + DTXcodeBuild + 10G8 + IOKitPersonalities + + RTL8111 PCIe Adapter + + CFBundleIdentifier + com.insanelymac.RealtekRTL8111 + Driver Parameters + + disableASPM + + enableCSO6 + + enableTSO4 + + enableTSO6 + + fallbackMAC + + intrMitigate + 53080 + rxPolling + + + Driver_Version + 2.4.2 + IOClass + RTL8111 + IOPCIMatch + 0x816810ec 0x81681186 0x250210ec 0x260010ec + IOProbeScore + 1000 + IOProviderClass + IOPCIDevice + Model + RTL8111 + Vendor + Realtek + + + LSMinimumSystemVersion + 10.14 + NSHumanReadableCopyright + Copyright © 2013 Laura Müller. All rights reserved. + OSBundleLibraries + + com.apple.iokit.IONetworkingFamily + 1.5.0 + com.apple.iokit.IOPCIFamily + 1.7 + com.apple.kpi.bsd + 8.10.0 + com.apple.kpi.iokit + 8.10.0 + com.apple.kpi.libkern + 8.10.0 + com.apple.kpi.mach + 8.10.0 + + OSBundleRequired + Network-Root + + diff --git a/OC/Kexts/RestrictEvents.kext/Contents/Info.plist b/OC/Kexts/RestrictEvents.kext/Contents/Info.plist index 341064b..2d0ed89 100644 --- a/OC/Kexts/RestrictEvents.kext/Contents/Info.plist +++ b/OC/Kexts/RestrictEvents.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 23F79 + 23G93 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,13 +17,13 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.1.4 + 1.1.5 CFBundleSupportedPlatforms MacOSX CFBundleVersion - 1.1.4 + 1.1.5 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/OC/Kexts/RestrictEvents.kext/Contents/MacOS/RestrictEvents b/OC/Kexts/RestrictEvents.kext/Contents/MacOS/RestrictEvents index c876753..0fe8e52 100755 Binary files a/OC/Kexts/RestrictEvents.kext/Contents/MacOS/RestrictEvents and b/OC/Kexts/RestrictEvents.kext/Contents/MacOS/RestrictEvents differ diff --git a/OC/Kexts/USBToolBox.kext/Contents/Info.plist b/OC/Kexts/USBToolBox.kext/Contents/Info.plist index 83572d5..89d36a7 100755 --- a/OC/Kexts/USBToolBox.kext/Contents/Info.plist +++ b/OC/Kexts/USBToolBox.kext/Contents/Info.plist @@ -1,63 +1,63 @@ - - - - - BuildMachineOSBuild - 20G527 - CFBundleDevelopmentRegion - en - CFBundleExecutable - USBToolBox - CFBundleIdentifier - com.dhinakg.USBToolBox.kext - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - USBToolBox - CFBundlePackageType - KEXT - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1.1.1 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 12E507 - DTPlatformName - macosx - DTPlatformVersion - 11.3 - DTSDKBuild - 20E214 - DTSDKName - macosx11.3 - DTXcode - 1251 - DTXcodeBuild - 12E507 - IOKitPersonalities - - LSMinimumSystemVersion - 10.11 - NSHumanReadableCopyright - Copyright © 2020-2021 Dhinak G. All rights reserved. - OSBundleCompatibleVersion - 1.0.0 - OSBundleLibraries - - com.apple.driver.AppleUSBHostMergeProperties - 1.0 - com.apple.iokit.IOPCIFamily - 2.9 - com.apple.kpi.iokit - 15.0.0 - com.apple.kpi.libkern - 15.0.0 - - OSBundleRequired - Root - - + + + + + BuildMachineOSBuild + 20G527 + CFBundleDevelopmentRegion + en + CFBundleExecutable + USBToolBox + CFBundleIdentifier + com.dhinakg.USBToolBox.kext + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + USBToolBox + CFBundlePackageType + KEXT + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.1.1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12E507 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1251 + DTXcodeBuild + 12E507 + IOKitPersonalities + + LSMinimumSystemVersion + 10.11 + NSHumanReadableCopyright + Copyright © 2020-2021 Dhinak G. All rights reserved. + OSBundleCompatibleVersion + 1.0.0 + OSBundleLibraries + + com.apple.driver.AppleUSBHostMergeProperties + 1.0 + com.apple.iokit.IOPCIFamily + 2.9 + com.apple.kpi.iokit + 15.0.0 + com.apple.kpi.libkern + 15.0.0 + + OSBundleRequired + Root + + diff --git a/OC/Kexts/VirtualSMC.kext/Contents/Info.plist b/OC/Kexts/VirtualSMC.kext/Contents/Info.plist index ea35b43..4ab3062 100644 --- a/OC/Kexts/VirtualSMC.kext/Contents/Info.plist +++ b/OC/Kexts/VirtualSMC.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 21H1222 + 21H1320 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.3.3 + 1.3.4 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,7 +25,7 @@ MacOSX CFBundleVersion - 1.3.3 + 1.3.4 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC b/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC index a201dfa..7b2f745 100755 Binary files a/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC and b/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC differ diff --git a/OC/Kexts/WhateverGreen.kext/Contents/Info.plist b/OC/Kexts/WhateverGreen.kext/Contents/Info.plist index 914517d..6ec0c5b 100644 --- a/OC/Kexts/WhateverGreen.kext/Contents/Info.plist +++ b/OC/Kexts/WhateverGreen.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 23F79 + 23G93 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.6.7 + 1.6.8 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,7 +25,7 @@ MacOSX CFBundleVersion - 1.6.7 + 1.6.8 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen b/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen index b8a44b0..24c548e 100755 Binary files a/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen and b/OC/Kexts/WhateverGreen.kext/Contents/MacOS/WhateverGreen differ diff --git a/OC/OpenCore.efi b/OC/OpenCore.efi index 7d9c9c7..f1f50e4 100644 Binary files a/OC/OpenCore.efi and b/OC/OpenCore.efi differ diff --git a/OC/config.plist b/OC/config.plist index d3c19ac..10f13e8 100644 --- a/OC/config.plist +++ b/OC/config.plist @@ -1,1492 +1,1492 @@ - - - - - ACPI - - Add - - - Comment - Patch for EC and USBX power properties - Enabled - - Path - SSDT-EC-USBX-DESKTOP.aml - - - Delete - - Patch - - Quirks - - FadtEnableReset - - NormalizeHeaders - - RebaseRegions - - ResetHwSig - - ResetLogoStatus - - SyncTableIds - - - - Booter - - Patch - - MmioWhitelist - - Quirks - - AllowRelocationBlock - - AvoidRuntimeDefrag - - DevirtualiseMmio - - DisableSingleUser - - DisableVariableWrite - - DiscardHibernateMap - - EnableSafeModeSlide - - EnableWriteUnprotector - - FixupAppleEfiImages - - ForceBooterSignature - - ForceExitBootServices - - ProtectMemoryRegions - - ProtectSecureBoot - - ProtectUefiServices - - ProvideCustomSlide - - ProvideMaxSlide - 0 - RebuildAppleMemoryMap - - ResizeAppleGpuBars - -1 - SetupVirtualMap - - SignalAppleOS - - SyncRuntimePermissions - - - - DeviceProperties - - Add - - Delete - - - Kernel - - Add - - - Arch - x86_64 - BundlePath - Lilu.kext - Comment - - Enabled - - ExecutablePath - Contents/MacOS/Lilu - MaxKernel - - MinKernel - - PlistPath - Contents/Info.plist - - - Arch - x86_64 - BundlePath - VirtualSMC.kext - Comment - - Enabled - - ExecutablePath - Contents/MacOS/VirtualSMC - MaxKernel - - MinKernel - - PlistPath - Contents/Info.plist - - - Arch - x86_64 - BundlePath - WhateverGreen.kext - Comment - - Enabled - - ExecutablePath - Contents/MacOS/WhateverGreen - MaxKernel - - MinKernel - - PlistPath - Contents/Info.plist - - - Arch - x86_64 - BundlePath - AppleALC.kext - Comment - - Enabled - - ExecutablePath - Contents/MacOS/AppleALC - MaxKernel - - MinKernel - - PlistPath - Contents/Info.plist - - - Arch - x86_64 - BundlePath - RealtekRTL8111.kext - Comment - - Enabled - - ExecutablePath - Contents/MacOS/RealtekRTL8111 - MaxKernel - - MinKernel - - PlistPath - Contents/Info.plist - - - Arch - x86_64 - BundlePath - RestrictEvents.kext - Comment - - Enabled - - ExecutablePath - Contents/MacOS/RestrictEvents - MaxKernel - - MinKernel - - PlistPath - Contents/Info.plist - - - Arch - x86_64 - BundlePath - USBToolBox.kext - Comment - - Enabled - - ExecutablePath - Contents/MacOS/USBToolBox - MaxKernel - - MinKernel - - PlistPath - Contents/Info.plist - - - Arch - x86_64 - BundlePath - AppleMCEReporterDisabler.kext - Comment - - Enabled - - ExecutablePath - - MaxKernel - - MinKernel - - PlistPath - Contents/Info.plist - - - Block - - Emulate - - Cpuid1Data - - Cpuid1Mask - - DummyPowerManagement - - MaxKernel - - MinKernel - - - Force - - Patch - - - Arch - x86_64 - Base - _cpuid_set_info - Comment - algrey | Force cpuid_cores_per_package to constant (user-specified) | 10.13-10.14 - Count - 1 - Enabled - - Find - wegaAAAA - Identifier - kernel - Limit - 0 - Mask - //3/AAAA - MaxKernel - 18.99.99 - MinKernel - 17.0.0 - Replace - uAAAAAAA - ReplaceMask - //////8A - Skip - 0 - - - Arch - x86_64 - Base - _cpuid_set_info - Comment - algrey | Force cpuid_cores_per_package to constant (user-specified) | 10.15-11.0 - Count - 1 - Enabled - - Find - wegaAAAA - Identifier - kernel - Limit - 0 - Mask - //3/AAAA - MaxKernel - 20.99.99 - MinKernel - 19.0.0 - Replace - ugAAAAAA - ReplaceMask - //////8A - Skip - 0 - - - Arch - x86_64 - Base - _cpuid_set_info - Comment - algrey | Force cpuid_cores_per_package to constant (user-specified) | 12.0-13.2 - Count - 1 - Enabled - - Find - wegaAAAA - Identifier - kernel - Limit - 0 - Mask - //3/AAAA - MaxKernel - 22.3.99 - MinKernel - 21.0.0 - Replace - ugAAAACQ - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - _cpuid_set_info - Comment - algrey | Force cpuid_cores_per_package to constant (user-specified) | 13.3+ - Count - 1 - Enabled - - Find - wegaAAA= - Identifier - kernel - Limit - 0 - Mask - //3/AAA= - MaxKernel - 24.99.99 - MinKernel - 22.4.0 - Replace - ugAAAAA= - ReplaceMask - //////8= - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _commpage_populate | Remove rdmsr | 10.13+ - Count - 1 - Enabled - - Find - uaABAAAPMg== - Identifier - kernel - Limit - 0 - Mask - - MaxKernel - 24.99.99 - MinKernel - 17.0.0 - Replace - ZpBmkGaQkA== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _cpuid_set_cache_info | Set CPUID proper instead of 4 | 10.13+ - Count - 1 - Enabled - - Find - uAQAAABEifFEiQ== - Identifier - kernel - Limit - 0 - Mask - - MaxKernel - 24.99.99 - MinKernel - 17.0.0 - Replace - uB0AAIBEifFEiQ== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _cpuid_set_generic_info | Remove wrmsr(0x8B) | 10.13+ - Count - 1 - Enabled - - Find - uYsAAAAxwDHSDzA= - Identifier - kernel - Limit - 0 - Mask - - MaxKernel - 24.99.99 - MinKernel - 17.0.0 - Replace - ZpBmkGaQZpBmkJA= - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _cpuid_set_generic_info | Replace rdmsr(0x8B) with constant 186 | 10.13+ - Count - 1 - Enabled - - Find - uYsAAAAPMg== - Identifier - kernel - Limit - 0 - Mask - - MaxKernel - 24.99.99 - MinKernel - 17.0.0 - Replace - uroAAABmkA== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _cpuid_set_generic_info | Set flag=1 | 10.13+ - Count - 1 - Enabled - - Find - uRcAAAAPMsHqEoDiBw== - Identifier - kernel - Limit - 0 - Mask - - MaxKernel - 24.99.99 - MinKernel - 17.0.0 - Replace - sgFmDx+EAAAAAABmkA== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _cpuid_set_generic_info | Disable check to allow leaf7 | 10.13+ - Count - 1 - Enabled - - Find - ADoPgg== - Identifier - kernel - Limit - 0 - Mask - - MaxKernel - 23.99.99 - MinKernel - 17.0.0 - Replace - AAAPgg== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _cpuid_set_generic_info | Disable check to allow leaf7 | 15.x - Count - 1 - Enabled - - Find - AAUPgg== - Identifier - kernel - Limit - 0 - Mask - - MaxKernel - 24.99.99 - MinKernel - 24.0.0 - Replace - AAAPgg== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _cpuid_set_info | GenuineIntel to AuthenticAMD | 10.13-11.0 - Count - 1 - Enabled - - Find - R2VudWluZUludGVsAA== - Identifier - kernel - Limit - 0 - Mask - - MaxKernel - 20.99.99 - MinKernel - 17.0.0 - Replace - QXV0aGVudGljQU1EAA== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - _cpuid_set_info - Comment - Goldfish64, algrey | Bypass GenuineIntel check panic | 12.0+ - Count - 1 - Enabled - - Find - AAAAAAAAMdKzAQ== - Identifier - kernel - Limit - 0 - Mask - AAAAAAAA/////w== - MaxKernel - 24.99.99 - MinKernel - 21.0.0 - Replace - kJCQkJCQMdKzAQ== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _cpuid_set_cpufamily | Force CPUFAMILY_INTEL_PENRYN | 10.13-11.2 - Count - 1 - Enabled - - Find - MduAPQAAAAAGdQA= - Identifier - kernel - Limit - 0 - Mask - /////wAAAP///wA= - MaxKernel - 20.3.0 - MinKernel - 17.0.0 - Replace - u7xP6njpXQAAAJA= - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - _cpuid_set_info - Comment - algrey | _cpuid_set_cpufamily | Force CPUFAMILY_INTEL_PENRYN | 11.3+ - Count - 1 - Enabled - - Find - gD0AAAAABnU= - Identifier - kernel - Limit - 0 - Mask - //8AAAAA//8= - MaxKernel - 24.99.99 - MinKernel - 20.4.0 - Replace - urxP6ngx2+s= - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _i386_init | Remove 3 rdmsr calls | 10.13+ - Count - 0 - Enabled - - Find - uZkBAAAPMkjB4iCJxkgJ1rmYAQAADzJIweIgicBICcK/WAIxBTHJRTHA - Identifier - kernel - Limit - 0 - Mask - - MaxKernel - 24.99.99 - MinKernel - 17.0.0 - Replace - Zg8fhAAAAAAAZg8fhAAAAAAAZg8fhAAAAAAAZg8fhAAAAAAAZg8fRAAA - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey, XLNC | Remove version check and panic | 10.13+ - Count - 1 - Enabled - - Find - JfwAAACD+BM= - Identifier - kernel - Limit - 0 - Mask - - MaxKernel - 24.99.99 - MinKernel - 17.0.0 - Replace - JfwAAAAPHwA= - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - __ZN11IOPCIBridge13probeBusGatedEP14probeBusParams - Comment - CaseySJ | probeBusGated | Disable 10 bit tags | 12.0+ - Count - 1 - Enabled - - Find - 4BFyAA== - Identifier - com.apple.iokit.IOPCIFamily - Limit - 0 - Mask - 8P//8A== - MaxKernel - 24.99.99 - MinKernel - 21.0.0 - Replace - AAADAA== - ReplaceMask - AAAPAA== - Skip - 0 - - - Arch - x86_64 - Base - __ZN17IOPCIConfigurator18IOPCIIsHotplugPortEP16IOPCIConfigEntry - Comment - CaseySJ | IOPCIIsHotplugPort | Fix PCI bus enumeration on AM5 | 13.0+ - Count - 1 - Enabled - - Find - hAB1Sw== - Identifier - com.apple.iokit.IOPCIFamily - Limit - 0 - Mask - /wD//w== - MaxKernel - 24.99.99 - MinKernel - 22.0.0 - Replace - AADrAA== - ReplaceMask - AAD/AA== - Skip - 0 - - - Arch - x86_64 - Base - - Comment - Visual | thread_quantum_expire, thread_unblock, thread_invoke | Remove non-monotonic time panic | 12.0+ - Count - 3 - Enabled - - Find - SAAAAAIAAEgAAFgAAAAPAAAAAAA= - Identifier - kernel - Limit - 0 - Mask - /wAAD/////8AAP8AAAD/AAAAAAA= - MaxKernel - 24.99.99 - MinKernel - 21.0.0 - Replace - AAAAAAAAAAAAAAAAAABmkGaQZpA= - ReplaceMask - AAAAAAAAAAAAAAAAAAD///////8= - Skip - 0 - - - Arch - x86_64 - Base - - Comment - Visual | thread_invoke, thread_dispatch | Remove non-monotonic time panic | 12.0+ - Count - 2 - Enabled - - Find - SAAAgAQAAA8AAAAAAA== - Identifier - kernel - Limit - 0 - Mask - SAAA8P////8AAAAAAA== - MaxKernel - 24.99.99 - MinKernel - 21.0.0 - Replace - AAAAAAAAAGaQZpBmkA== - ReplaceMask - AAAAAAAAAP///////w== - Skip - 0 - - - Arch - x86_64 - Base - - Comment - algrey | _mtrr_update_action | fix PAT | 10.13+ - Count - 0 - Enabled - - Find - icCB4v//AP+BygAAAQC5dwIAAA== - Identifier - kernel - Limit - 0 - Mask - ////////D////////////////w== - MaxKernel - 23.99.99 - MinKernel - 17.0.0 - Replace - uXcCAAC4BgEHALoGAQcADx9AAA== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - Shaneee | _mtrr_update_action | Fix PAT | 10.13+ - Count - 0 - Enabled - - Find - icCB4v//AP+BygAAAQC5dwIAAA== - Identifier - kernel - Limit - 0 - Mask - ////////D////////////////w== - MaxKernel - 23.99.99 - MinKernel - 17.0.0 - Replace - uXcCAAC4BgYGBroGBgYGDzAPCQ== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - Algrey / Zormeister | _mtrr_update_action | Fix PAT | 15+ - Count - 0 - Enabled - - Find - icCB4v//AP+BygAAAAAPMA== - Identifier - kernel - Limit - 0 - Mask - /////////////wAAAAD//w== - MaxKernel - 24.99.99 - MinKernel - 24.0.0 - Replace - icC4BgEHALoGAQcADzCQkA== - ReplaceMask - - Skip - 0 - - - Arch - x86_64 - Base - - Comment - Shaneee / Zormeister | _mtrr_update_action | Fix PAT | 15+ - Count - 0 - Enabled - - Find - icCB4v//AP+BygAAAAAPMA== - Identifier - kernel - Limit - 0 - Mask - /////////////wAAAAD//w== - MaxKernel - 24.99.99 - MinKernel - 24.0.0 - Replace - icC4BgYGBroGBgYGDzCQkA== - ReplaceMask - - Skip - 0 - - - Quirks - - AppleCpuPmCfgLock - - AppleXcpmCfgLock - - AppleXcpmExtraMsrs - - AppleXcpmForceBoost - - CustomPciSerialDevice - - CustomSMBIOSGuid - - DisableIoMapper - - DisableIoMapperMapping - - DisableLinkeditJettison - - DisableRtcChecksum - - ExtendBTFeatureFlags - - ExternalDiskIcons - - ForceAquantiaEthernet - - ForceSecureBootScheme - - IncreasePciBarSize - - LapicKernelPanic - - LegacyCommpage - - PanicNoKextDump - - PowerTimeoutKernelPanic - - ProvideCurrentCpuInfo - - SetApfsTrimTimeout - -1 - ThirdPartyDrives - - XhciPortLimit - - - Scheme - - CustomKernel - - FuzzyMatch - - KernelArch - x86_64 - KernelCache - Auto - - - Misc - - BlessOverride - - Boot - - ConsoleAttributes - 0 - HibernateMode - None - HibernateSkipsPicker - - HideAuxiliary - - InstanceIdentifier - - LauncherOption - Disabled - LauncherPath - Default - PickerAttributes - 17 - PickerAudioAssist - - PickerMode - External - PickerVariant - Acidanthera\GoldenGate - PollAppleHotKeys - - ShowPicker - - TakeoffDelay - 0 - Timeout - 3 - - Debug - - AppleDebug - - ApplePanic - - DisableWatchDog - - DisplayDelay - 0 - DisplayLevel - 2147483650 - LogModules - * - SysReport - - Target - 3 - - Entries - - Security - - AllowSetDefault - - ApECID - 0 - AuthRestart - - BlacklistAppleUpdate - - DmgLoading - Signed - EnablePassword - - ExposeSensitiveData - 15 - HaltLevel - 2147483648 - PasswordHash - - PasswordSalt - - ScanPolicy - 0 - SecureBootModel - Default - Vault - Optional - - Serial - - Init - - Override - - - Tools - - - NVRAM - - Add - - 7C436110-AB2A-4BBB-A880-FE41995C9F82 - - boot-args - npci=0x2000 unfairgva=1 alcid=11 -v debug=0x100 keepsyms=1 - csr-active-config - AAAAAA== - prev-lang:kbd - ZW4tVVM6MA== - - - Delete - - 7C436110-AB2A-4BBB-A880-FE41995C9F82 - - boot-args - - - LegacyOverwrite - - LegacySchema - - WriteFlash - - - PlatformInfo - - Automatic - - CustomMemory - - Generic - - AdviseFeatures - - MLB - C02937403CDJG36JC - MaxBIOSVersion - - ProcessorType - 0 - ROM - VSJEiHdm - SpoofVendor - - SystemMemoryStatus - Auto - SystemProductName - iMacPro1,1 - SystemSerialNumber - C02ZD5ZQHX87 - SystemUUID - AF872479-8E34-4CA4-88C9-78557429EA43 - - UpdateDataHub - - UpdateNVRAM - - UpdateSMBIOS - - UpdateSMBIOSMode - Create - UseRawUuidEncoding - - - UEFI - - APFS - - EnableJumpstart - - GlobalConnect - - HideVerbose - - JumpstartHotPlug - - MinDate - -1 - MinVersion - -1 - - AppleInput - - AppleEvent - Builtin - CustomDelays - - GraphicsInputMirroring - - KeyInitialDelay - 0 - KeySubsequentDelay - 5 - PointerDwellClickTimeout - 0 - PointerDwellDoubleClickTimeout - 0 - PointerDwellRadius - 0 - PointerPollMask - -1 - PointerPollMax - 80 - PointerPollMin - 10 - PointerSpeedDiv - 1 - PointerSpeedMul - 1 - - Audio - - AudioCodec - 0 - AudioDevice - PciRoot(0x0)/Pci(0x1b,0x0) - AudioOutMask - 1 - AudioSupport - - DisconnectHda - - MaximumGain - -15 - MinimumAssistGain - -30 - MinimumAudibleGain - -55 - PlayChime - Auto - ResetTrafficClass - - SetupDelay - 0 - - ConnectDrivers - - Drivers - - - Arguments - - Comment - - Enabled - - LoadEarly - - Path - OpenRuntime.efi - - - Arguments - - Comment - - Enabled - - LoadEarly - - Path - OpenCanopy.efi - - - Arguments - - Comment - - Enabled - - LoadEarly - - Path - HfsPlus.efi - - - Input - - KeyFiltering - - KeyForgetThreshold - 5 - KeySupport - - KeySupportMode - Auto - KeySwap - - PointerSupport - - PointerSupportMode - - TimerResolution - 50000 - - Output - - ClearScreenOnModeSwitch - - ConsoleFont - - ConsoleMode - - DirectGopRendering - - ForceResolution - - GopBurstMode - - GopPassThrough - Disabled - IgnoreTextInGraphics - - InitialMode - Auto - ProvideConsoleGop - - ReconnectGraphicsOnConnect - - ReconnectOnResChange - - ReplaceTabWithSpace - - Resolution - Max - SanitiseClearScreen - - TextRenderer - BuiltinGraphics - UIScale - 0 - UgaPassThrough - - - ProtocolOverrides - - AppleAudio - - AppleBootPolicy - - AppleDebugLog - - AppleEg2Info - - AppleFramebufferInfo - - AppleImageConversion - - AppleImg4Verification - - AppleKeyMap - - AppleRtcRam - - AppleSecureBoot - - AppleSmcIo - - AppleUserInterfaceTheme - - DataHub - - DeviceProperties - - FirmwareVolume - - HashServices - - OSInfo - - PciIo - - UnicodeCollation - - - Quirks - - ActivateHpetSupport - - DisableSecurityPolicy - - EnableVectorAcceleration - - EnableVmx - - ExitBootServicesDelay - 0 - ForceOcWriteFlash - - ForgeUefiSupport - - IgnoreInvalidFlexRatio - - ReleaseUsbOwnership - - ReloadOptionRoms - - RequestBootVarRouting - - ResizeGpuBars - -1 - ResizeUsePciRbIo - - ShimRetainProtocol - - TscSyncTimeout - 0 - UnblockFsConnect - - - ReservedMemory - - - + + + + + ACPI + + Add + + + Comment + Patch for EC and USBX power properties + Enabled + + Path + SSDT-EC-USBX-DESKTOP.aml + + + Delete + + Patch + + Quirks + + FadtEnableReset + + NormalizeHeaders + + RebaseRegions + + ResetHwSig + + ResetLogoStatus + + SyncTableIds + + + + Booter + + Patch + + MmioWhitelist + + Quirks + + AllowRelocationBlock + + AvoidRuntimeDefrag + + DevirtualiseMmio + + DisableSingleUser + + DisableVariableWrite + + DiscardHibernateMap + + EnableSafeModeSlide + + EnableWriteUnprotector + + FixupAppleEfiImages + + ForceBooterSignature + + ForceExitBootServices + + ProtectMemoryRegions + + ProtectSecureBoot + + ProtectUefiServices + + ProvideCustomSlide + + ProvideMaxSlide + 0 + RebuildAppleMemoryMap + + ResizeAppleGpuBars + -1 + SetupVirtualMap + + SignalAppleOS + + SyncRuntimePermissions + + + + DeviceProperties + + Add + + Delete + + + Kernel + + Add + + + Arch + x86_64 + BundlePath + Lilu.kext + Comment + + Enabled + + ExecutablePath + Contents/MacOS/Lilu + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Arch + x86_64 + BundlePath + VirtualSMC.kext + Comment + + Enabled + + ExecutablePath + Contents/MacOS/VirtualSMC + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Arch + x86_64 + BundlePath + WhateverGreen.kext + Comment + + Enabled + + ExecutablePath + Contents/MacOS/WhateverGreen + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Arch + x86_64 + BundlePath + AppleALC.kext + Comment + + Enabled + + ExecutablePath + Contents/MacOS/AppleALC + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Arch + x86_64 + BundlePath + RealtekRTL8111.kext + Comment + + Enabled + + ExecutablePath + Contents/MacOS/RealtekRTL8111 + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Arch + x86_64 + BundlePath + RestrictEvents.kext + Comment + + Enabled + + ExecutablePath + Contents/MacOS/RestrictEvents + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Arch + x86_64 + BundlePath + USBToolBox.kext + Comment + + Enabled + + ExecutablePath + Contents/MacOS/USBToolBox + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Arch + x86_64 + BundlePath + AppleMCEReporterDisabler.kext + Comment + + Enabled + + ExecutablePath + + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Block + + Emulate + + Cpuid1Data + + Cpuid1Mask + + DummyPowerManagement + + MaxKernel + + MinKernel + + + Force + + Patch + + + Arch + x86_64 + Base + _cpuid_set_info + Comment + algrey | Force cpuid_cores_per_package to constant (user-specified) | 10.13-10.14 + Count + 1 + Enabled + + Find + wegaAAAA + Identifier + kernel + Limit + 0 + Mask + //3/AAAA + MaxKernel + 18.99.99 + MinKernel + 17.0.0 + Replace + uAAAAAAA + ReplaceMask + //////8A + Skip + 0 + + + Arch + x86_64 + Base + _cpuid_set_info + Comment + algrey | Force cpuid_cores_per_package to constant (user-specified) | 10.15-11.0 + Count + 1 + Enabled + + Find + wegaAAAA + Identifier + kernel + Limit + 0 + Mask + //3/AAAA + MaxKernel + 20.99.99 + MinKernel + 19.0.0 + Replace + ugAAAAAA + ReplaceMask + //////8A + Skip + 0 + + + Arch + x86_64 + Base + _cpuid_set_info + Comment + algrey | Force cpuid_cores_per_package to constant (user-specified) | 12.0-13.2 + Count + 1 + Enabled + + Find + wegaAAAA + Identifier + kernel + Limit + 0 + Mask + //3/AAAA + MaxKernel + 22.3.99 + MinKernel + 21.0.0 + Replace + ugAAAACQ + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + _cpuid_set_info + Comment + algrey | Force cpuid_cores_per_package to constant (user-specified) | 13.3+ + Count + 1 + Enabled + + Find + wegaAAA= + Identifier + kernel + Limit + 0 + Mask + //3/AAA= + MaxKernel + 24.99.99 + MinKernel + 22.4.0 + Replace + ugAAAAA= + ReplaceMask + //////8= + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _commpage_populate | Remove rdmsr | 10.13+ + Count + 1 + Enabled + + Find + uaABAAAPMg== + Identifier + kernel + Limit + 0 + Mask + + MaxKernel + 24.99.99 + MinKernel + 17.0.0 + Replace + ZpBmkGaQkA== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _cpuid_set_cache_info | Set CPUID proper instead of 4 | 10.13+ + Count + 1 + Enabled + + Find + uAQAAABEifFEiQ== + Identifier + kernel + Limit + 0 + Mask + + MaxKernel + 24.99.99 + MinKernel + 17.0.0 + Replace + uB0AAIBEifFEiQ== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _cpuid_set_generic_info | Remove wrmsr(0x8B) | 10.13+ + Count + 1 + Enabled + + Find + uYsAAAAxwDHSDzA= + Identifier + kernel + Limit + 0 + Mask + + MaxKernel + 24.99.99 + MinKernel + 17.0.0 + Replace + ZpBmkGaQZpBmkJA= + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _cpuid_set_generic_info | Replace rdmsr(0x8B) with constant 186 | 10.13+ + Count + 1 + Enabled + + Find + uYsAAAAPMg== + Identifier + kernel + Limit + 0 + Mask + + MaxKernel + 24.99.99 + MinKernel + 17.0.0 + Replace + uroAAABmkA== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _cpuid_set_generic_info | Set flag=1 | 10.13+ + Count + 1 + Enabled + + Find + uRcAAAAPMsHqEoDiBw== + Identifier + kernel + Limit + 0 + Mask + + MaxKernel + 24.99.99 + MinKernel + 17.0.0 + Replace + sgFmDx+EAAAAAABmkA== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _cpuid_set_generic_info | Disable check to allow leaf7 | 10.13+ + Count + 1 + Enabled + + Find + ADoPgg== + Identifier + kernel + Limit + 0 + Mask + + MaxKernel + 23.99.99 + MinKernel + 17.0.0 + Replace + AAAPgg== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _cpuid_set_generic_info | Disable check to allow leaf7 | 15.x + Count + 1 + Enabled + + Find + AAUPgg== + Identifier + kernel + Limit + 0 + Mask + + MaxKernel + 24.99.99 + MinKernel + 24.0.0 + Replace + AAAPgg== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _cpuid_set_info | GenuineIntel to AuthenticAMD | 10.13-11.0 + Count + 1 + Enabled + + Find + R2VudWluZUludGVsAA== + Identifier + kernel + Limit + 0 + Mask + + MaxKernel + 20.99.99 + MinKernel + 17.0.0 + Replace + QXV0aGVudGljQU1EAA== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + _cpuid_set_info + Comment + Goldfish64, algrey | Bypass GenuineIntel check panic | 12.0+ + Count + 1 + Enabled + + Find + AAAAAAAAMdKzAQ== + Identifier + kernel + Limit + 0 + Mask + AAAAAAAA/////w== + MaxKernel + 24.99.99 + MinKernel + 21.0.0 + Replace + kJCQkJCQMdKzAQ== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _cpuid_set_cpufamily | Force CPUFAMILY_INTEL_PENRYN | 10.13-11.2 + Count + 1 + Enabled + + Find + MduAPQAAAAAGdQA= + Identifier + kernel + Limit + 0 + Mask + /////wAAAP///wA= + MaxKernel + 20.3.0 + MinKernel + 17.0.0 + Replace + u7xP6njpXQAAAJA= + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + _cpuid_set_info + Comment + algrey | _cpuid_set_cpufamily | Force CPUFAMILY_INTEL_PENRYN | 11.3+ + Count + 1 + Enabled + + Find + gD0AAAAABnU= + Identifier + kernel + Limit + 0 + Mask + //8AAAAA//8= + MaxKernel + 24.99.99 + MinKernel + 20.4.0 + Replace + urxP6ngx2+s= + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _i386_init | Remove 3 rdmsr calls | 10.13+ + Count + 0 + Enabled + + Find + uZkBAAAPMkjB4iCJxkgJ1rmYAQAADzJIweIgicBICcK/WAIxBTHJRTHA + Identifier + kernel + Limit + 0 + Mask + + MaxKernel + 24.99.99 + MinKernel + 17.0.0 + Replace + Zg8fhAAAAAAAZg8fhAAAAAAAZg8fhAAAAAAAZg8fhAAAAAAAZg8fRAAA + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey, XLNC | Remove version check and panic | 10.13+ + Count + 1 + Enabled + + Find + JfwAAACD+BM= + Identifier + kernel + Limit + 0 + Mask + + MaxKernel + 24.99.99 + MinKernel + 17.0.0 + Replace + JfwAAAAPHwA= + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + __ZN11IOPCIBridge13probeBusGatedEP14probeBusParams + Comment + CaseySJ | probeBusGated | Disable 10 bit tags | 12.0+ + Count + 1 + Enabled + + Find + 4BFyAA== + Identifier + com.apple.iokit.IOPCIFamily + Limit + 0 + Mask + 8P//8A== + MaxKernel + 24.99.99 + MinKernel + 21.0.0 + Replace + AAADAA== + ReplaceMask + AAAPAA== + Skip + 0 + + + Arch + x86_64 + Base + __ZN17IOPCIConfigurator18IOPCIIsHotplugPortEP16IOPCIConfigEntry + Comment + CaseySJ | IOPCIIsHotplugPort | Fix PCI bus enumeration on AM5 | 13.0+ + Count + 1 + Enabled + + Find + hAB1Sw== + Identifier + com.apple.iokit.IOPCIFamily + Limit + 0 + Mask + /wD//w== + MaxKernel + 24.99.99 + MinKernel + 22.0.0 + Replace + AADrAA== + ReplaceMask + AAD/AA== + Skip + 0 + + + Arch + x86_64 + Base + + Comment + Visual | thread_quantum_expire, thread_unblock, thread_invoke | Remove non-monotonic time panic | 12.0+ + Count + 3 + Enabled + + Find + SAAAAAIAAEgAAFgAAAAPAAAAAAA= + Identifier + kernel + Limit + 0 + Mask + /wAAD/////8AAP8AAAD/AAAAAAA= + MaxKernel + 24.99.99 + MinKernel + 21.0.0 + Replace + AAAAAAAAAAAAAAAAAABmkGaQZpA= + ReplaceMask + AAAAAAAAAAAAAAAAAAD///////8= + Skip + 0 + + + Arch + x86_64 + Base + + Comment + Visual | thread_invoke, thread_dispatch | Remove non-monotonic time panic | 12.0+ + Count + 2 + Enabled + + Find + SAAAgAQAAA8AAAAAAA== + Identifier + kernel + Limit + 0 + Mask + SAAA8P////8AAAAAAA== + MaxKernel + 24.99.99 + MinKernel + 21.0.0 + Replace + AAAAAAAAAGaQZpBmkA== + ReplaceMask + AAAAAAAAAP///////w== + Skip + 0 + + + Arch + x86_64 + Base + + Comment + algrey | _mtrr_update_action | fix PAT | 10.13+ + Count + 0 + Enabled + + Find + icCB4v//AP+BygAAAQC5dwIAAA== + Identifier + kernel + Limit + 0 + Mask + ////////D////////////////w== + MaxKernel + 23.99.99 + MinKernel + 17.0.0 + Replace + uXcCAAC4BgEHALoGAQcADx9AAA== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + Shaneee | _mtrr_update_action | Fix PAT | 10.13+ + Count + 0 + Enabled + + Find + icCB4v//AP+BygAAAQC5dwIAAA== + Identifier + kernel + Limit + 0 + Mask + ////////D////////////////w== + MaxKernel + 23.99.99 + MinKernel + 17.0.0 + Replace + uXcCAAC4BgYGBroGBgYGDzAPCQ== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + Algrey / Zormeister | _mtrr_update_action | Fix PAT | 15+ + Count + 0 + Enabled + + Find + icCB4v//AP+BygAAAAAPMA== + Identifier + kernel + Limit + 0 + Mask + /////////////wAAAAD//w== + MaxKernel + 24.99.99 + MinKernel + 24.0.0 + Replace + icC4BgEHALoGAQcADzCQkA== + ReplaceMask + + Skip + 0 + + + Arch + x86_64 + Base + + Comment + Shaneee / Zormeister | _mtrr_update_action | Fix PAT | 15+ + Count + 0 + Enabled + + Find + icCB4v//AP+BygAAAAAPMA== + Identifier + kernel + Limit + 0 + Mask + /////////////wAAAAD//w== + MaxKernel + 24.99.99 + MinKernel + 24.0.0 + Replace + icC4BgYGBroGBgYGDzCQkA== + ReplaceMask + + Skip + 0 + + + Quirks + + AppleCpuPmCfgLock + + AppleXcpmCfgLock + + AppleXcpmExtraMsrs + + AppleXcpmForceBoost + + CustomPciSerialDevice + + CustomSMBIOSGuid + + DisableIoMapper + + DisableIoMapperMapping + + DisableLinkeditJettison + + DisableRtcChecksum + + ExtendBTFeatureFlags + + ExternalDiskIcons + + ForceAquantiaEthernet + + ForceSecureBootScheme + + IncreasePciBarSize + + LapicKernelPanic + + LegacyCommpage + + PanicNoKextDump + + PowerTimeoutKernelPanic + + ProvideCurrentCpuInfo + + SetApfsTrimTimeout + -1 + ThirdPartyDrives + + XhciPortLimit + + + Scheme + + CustomKernel + + FuzzyMatch + + KernelArch + x86_64 + KernelCache + Auto + + + Misc + + BlessOverride + + Boot + + ConsoleAttributes + 0 + HibernateMode + None + HibernateSkipsPicker + + HideAuxiliary + + InstanceIdentifier + + LauncherOption + Disabled + LauncherPath + Default + PickerAttributes + 17 + PickerAudioAssist + + PickerMode + External + PickerVariant + Acidanthera\GoldenGate + PollAppleHotKeys + + ShowPicker + + TakeoffDelay + 0 + Timeout + 3 + + Debug + + AppleDebug + + ApplePanic + + DisableWatchDog + + DisplayDelay + 0 + DisplayLevel + 2147483650 + LogModules + * + SysReport + + Target + 3 + + Entries + + Security + + AllowSetDefault + + ApECID + 0 + AuthRestart + + BlacklistAppleUpdate + + DmgLoading + Signed + EnablePassword + + ExposeSensitiveData + 15 + HaltLevel + 2147483648 + PasswordHash + + PasswordSalt + + ScanPolicy + 0 + SecureBootModel + Default + Vault + Optional + + Serial + + Init + + Override + + + Tools + + + NVRAM + + Add + + 7C436110-AB2A-4BBB-A880-FE41995C9F82 + + boot-args + npci=0x2000 unfairgva=1 alcid=11 -v debug=0x100 keepsyms=1 + csr-active-config + AAAAAA== + prev-lang:kbd + ZW4tVVM6MA== + + + Delete + + 7C436110-AB2A-4BBB-A880-FE41995C9F82 + + boot-args + + + LegacyOverwrite + + LegacySchema + + WriteFlash + + + PlatformInfo + + Automatic + + CustomMemory + + Generic + + AdviseFeatures + + MLB + C02937403CDJG36JC + MaxBIOSVersion + + ProcessorType + 0 + ROM + VSJEiHdm + SpoofVendor + + SystemMemoryStatus + Auto + SystemProductName + iMacPro1,1 + SystemSerialNumber + C02ZD5ZQHX87 + SystemUUID + AF872479-8E34-4CA4-88C9-78557429EA43 + + UpdateDataHub + + UpdateNVRAM + + UpdateSMBIOS + + UpdateSMBIOSMode + Create + UseRawUuidEncoding + + + UEFI + + APFS + + EnableJumpstart + + GlobalConnect + + HideVerbose + + JumpstartHotPlug + + MinDate + -1 + MinVersion + -1 + + AppleInput + + AppleEvent + Builtin + CustomDelays + + GraphicsInputMirroring + + KeyInitialDelay + 0 + KeySubsequentDelay + 5 + PointerDwellClickTimeout + 0 + PointerDwellDoubleClickTimeout + 0 + PointerDwellRadius + 0 + PointerPollMask + -1 + PointerPollMax + 80 + PointerPollMin + 10 + PointerSpeedDiv + 1 + PointerSpeedMul + 1 + + Audio + + AudioCodec + 0 + AudioDevice + PciRoot(0x0)/Pci(0x1b,0x0) + AudioOutMask + 1 + AudioSupport + + DisconnectHda + + MaximumGain + -15 + MinimumAssistGain + -30 + MinimumAudibleGain + -55 + PlayChime + Auto + ResetTrafficClass + + SetupDelay + 0 + + ConnectDrivers + + Drivers + + + Arguments + + Comment + + Enabled + + LoadEarly + + Path + OpenRuntime.efi + + + Arguments + + Comment + + Enabled + + LoadEarly + + Path + OpenCanopy.efi + + + Arguments + + Comment + + Enabled + + LoadEarly + + Path + HfsPlus.efi + + + Input + + KeyFiltering + + KeyForgetThreshold + 5 + KeySupport + + KeySupportMode + Auto + KeySwap + + PointerSupport + + PointerSupportMode + + TimerResolution + 50000 + + Output + + ClearScreenOnModeSwitch + + ConsoleFont + + ConsoleMode + + DirectGopRendering + + ForceResolution + + GopBurstMode + + GopPassThrough + Disabled + IgnoreTextInGraphics + + InitialMode + Auto + ProvideConsoleGop + + ReconnectGraphicsOnConnect + + ReconnectOnResChange + + ReplaceTabWithSpace + + Resolution + Max + SanitiseClearScreen + + TextRenderer + BuiltinGraphics + UIScale + 0 + UgaPassThrough + + + ProtocolOverrides + + AppleAudio + + AppleBootPolicy + + AppleDebugLog + + AppleEg2Info + + AppleFramebufferInfo + + AppleImageConversion + + AppleImg4Verification + + AppleKeyMap + + AppleRtcRam + + AppleSecureBoot + + AppleSmcIo + + AppleUserInterfaceTheme + + DataHub + + DeviceProperties + + FirmwareVolume + + HashServices + + OSInfo + + PciIo + + UnicodeCollation + + + Quirks + + ActivateHpetSupport + + DisableSecurityPolicy + + EnableVectorAcceleration + + EnableVmx + + ExitBootServicesDelay + 0 + ForceOcWriteFlash + + ForgeUefiSupport + + IgnoreInvalidFlexRatio + + ReleaseUsbOwnership + + ReloadOptionRoms + + RequestBootVarRouting + + ResizeGpuBars + -1 + ResizeUsePciRbIo + + ShimRetainProtocol + + TscSyncTimeout + 0 + UnblockFsConnect + + + ReservedMemory + + + \ No newline at end of file diff --git a/README.MD b/README.MD index 9c99093..7702ab3 100644 --- a/README.MD +++ b/README.MD @@ -1,334 +1,334 @@ -# OpenCore EFI for AMD Ryzen Hackintosh [![tests](https://github.com/mikigal/ryzen-hackintosh/actions/workflows/tests.yml/badge.svg)](https://github.com/mikigal/ryzen-hackintosh/actions/workflows/tests.yml) - -## Table of contents - -- [Software Compatibility](#Software-Compatibility) -- [Hardware Compatibility](#Hardware-Compatibility) -- [BIOS Settings](#BIOS-Settings) -- [Installation](#Installation) -- [PAT Patch](#PAT-Patch) -- [MKL and Intel Fast Memset Patch](#MKL-and-Intel-Fast-Memset-Patch) -- [DRMs support](#DRMs-support) -- [Sleep](#Sleep) -- [Virtualization](#Virtualization) -- [Guides and troubleshooting](#Guides-and-troubleshooting) -- [Credits](#Credits) - -## Software Compatibility - -- Sequoia (15.x) -- Sonoma (14.x) -- Ventura (13.x) -- Monterey (12.x) -- Big Sur (11.x) -- Catalina (10.15.x) -- Mojave (10.14.x) -- High Sierra (10.13.x) - -**Used OpenCore version**: 1.0.1 - -## Hardware Compatibility - -### Central Processing Unit (CPU) - -This EFI is compatible with all Ryzen and Athlon 2xxGE processors with -[macOS-compatible peripherals](https://dortania.github.io/Anti-Hackintosh-Buyers-Guide/). - -_Support for 15h (FX series), 16h (A series) and Threadripper CPUs is not covered here._ - -### Graphical Processing Unit (GPU) - -| **Model** | **Compatible?** | -| ---------- | ----------------------------- | -| Integrated | No | -| Nvidia | Partially 1 | -| AMD | Yes 2 3 | - -1 Support for Nvidia GPUs was dropped in Monterey Beta 7, the only way to get it back is using [OpenCore Legacy Patcher](https://github.com/dortania/OpenCore-Legacy-Patcher). Kepler series under correct [PAT Patch](#PAT-Patch). Others require WebDrivers which work only in High Sierra or are not supported. More details on [Dortania](https://dortania.github.io/GPU-Buyers-Guide/modern-gpus/nvidia-gpu.html). - -2 Some R7 and R9 GPUs require FakeID. More details [here](https://dortania.github.io/Getting-Started-With-ACPI/Universal/spoof.html) - -3 Lexa series GPUs are not supported. Older than 7000 series are supported up to High Sierra (10.13), their support is not covered here. - -For **AMD Navi 10 and 20 Series GPUs (RX 5000 and RX 6000)** you need to add `agdpmod=pikera` to `boot-args` to fix the black screen issue. - -[PAT Patch made by Shaneee](#PAT-Patch) is used by default. It improves GPU performance but it has a few caveats. Audio passed by HDMI or DisplayPort won't work or will be unstable. It also **may not** work with Nvidia GPUs. - -If you want to control monitor's brightness or HDMI/DP audio volume you need to use [MonitorControl](https://github.com/MonitorControl/MonitorControl) for that. - -### Laptops -All laptops with AMD CPUs are not supported due to integrated GPUs incompatbility. - -### Motherboards - -| **Chipset/Socket** | **Details** | -| ---------------------------- | ------------------------------------------------------------------- | -| B550, A520 | Requires _SSDT-CPUR_ to boot. [Details here.](#SSDT-CPUR) | -| B550, A520, B450, X470, X570 | `SetupVirtualMap` has to be [disabled](#Disabling-SetupVirtualMap). | -| Older than A520, B550, X570 | May require disabling `Disable 10 bit tags` patch | -| AM5 with Thunderbolt/USB4 | It's complicated 1 | -| Other | Should be compatible out of the box. | - -1 On AM5 motherboards with on-board Thunderbolt/USB4 macOS Ventura and newer may not enumerate devices on the PCI bus properly when on-board WiFi and on-board Thunderbolt are both enabled. Patch `Fix PCI bus enumeration on AM5` bypasses the problem. This patch is disabled by default. - -#### _SSDT-CPUR_ - -Follow these steps to properly install _SSDT-CPUR_. - -- Download from [here](https://github.com/naveenkrdy/Misc/blob/master/SSDTs/Compiled/SSDT-CPUR.aml). -- Install it to your `OC/ACPI` directory. -- Add it to your configuration file. Use ProperTree for simplicity. - -#### _AM5_ Socket -On AM5 motherboards with on-board Thunderbolt/USB4, macOS Ventura may not enumerate devices on the PCI bus properly when on-board WiFi and on-board Thunderbolt are both enabled. Patch `CaseySJ | IOPCIIsHotplugPort | Fix PCI bus enumeration on AM5 | 13.0+` bypasses the problem. This patch is disabled by default. If you have described issue you have to enable this patch. - -#### _Disabling SetupVirtualMap_ - -To disable `SetupVirtualMap` simply go to `Booter -> Quirks -> SetupVirtualMap` in your configuration file and disable it. (Should be `false`). - -#### _PCI Express_ -If you have the `Above 4G Decoding` option in your BIOS settings, enable it and remove the `npci=0x2000` parameter from the `boot-args` (NVRAM section). - -#### _Resizable BAR_ -If you have the `Resizable BAR` option in your BIOS settings and your GPU supports it, you can enable it for better GPU performance. Then, set `Booter -> Quirks -> ResizeAppleGpuBars` to `0`. - -#### _SecureBootModel_ -If you experience issues related to Secure Boot in the macOS installer, set `Misc -> Security -> SecureBootModel` to `Disabled`. After installation, you can set it to the value corresponding to the used SMBIOS. Look [here](https://dortania.github.io/OpenCore-Post-Install/universal/security/applesecureboot.html#securebootmodel) for more information. - -### Audio - -Follow these steps if your audio chipset is different than the one specified in the [Specification](#Specification). - -- Go [here](https://github.com/acidanthera/applealc/wiki/supported-codecs) to find your audio chipset codec. (Under _Codec_) - - If you can't find your codec on the list, then you probably have to use [VoodooHDA](https://sourceforge.net/projects/voodoohda/). This repository does not cover or support the use of VoodooHDA. -- Under _Revisions and layouts_ you'll see bunch of numbers and layout ids. -- Find your `boot-args` settings and look for `alcid=11`. -- Try every layout id (except _0x_ values) one by one until it works. - - Example: `alcid=10` if `layout 10` - -_Caveats_: - -- External (USB) audio cards should work out of the box. -- If you have CPU with integrated GPU (even if you don't use it) your audio may be broken or unstable. You can try using [SpeedKeeper](https://github.com/astrihale/speedkeeper) but it's not guaranteed to fix your problem. The best solution is using external (USB) audio card. - -### Network - -If you experience any issues with your network connection, then your best bet would be to install a different kext, preferably from [here](https://dortania.github.io/OpenCore-Install-Guide/ktext.html#ethernet). - -If you use High Sierra and Realtek 8111 Ethernet Card then you should use [older version of kext](https://github.com/Mieze/RTL8111_driver_for_OS_X/releases/tag/v2.2.2). - -If you have issues with network card on Monterey or newer try adding `e1000=0` to `boots-args`. - -SmallTree kext does not work on Monterey for now. You can try [AppleIGB kext](https://cdn.discordapp.com/attachments/724618275971137568/879288441278435348/AppleIGB.kext.zip), it works on some systems. If it does not work you have to stay on Big Sur and wait for SmallTree's update. - -### WiFi and Bluetooth -Only Apple Airport and Fenvi cards work out of the box. [Here](https://dortania.github.io/Wireless-Buyers-Guide/) you can list of all supported cards and needed kexts for them. - -Rembember that AirDrop, Handoff, etc. works only on cards with Broadcom chip. - -## BIOS Settings - -| **Option** | **Status** | -| --------------------- | -------------------- | -| SATA Mode | AHCI | -| Above 4G Decoding | Enabled 1 | -| EHCI/XHCI Hand-off | Enabled | -| SVM | Enabled | -| CSM | Disabled | -| Secure Boot | Disabled | -| Serial Port | Disabled | -| Parallel Port | Disabled | - -1 If you have this option in BIOS you must also remove `npci=0x2000` from `boot-args` in your configuration file. - -**Some of these options may not exist in your firmware, just try to match it as closely as possible.** - -**Before booting macOS remember to update BIOS to the latest version.** - -## Installation - -### Bootable USB - -1. Follow [this guide](https://dortania.github.io/OpenCore-Install-Guide/installer-guide/) to create your bootable USB. - -2. Clone this repository and copy "BOOT" & "OC" directories to your "EFI" directory on your bootable USB. The structure should look somewhat like this: `EFI -> BOOT, OC`. - -### Modifying kernel patches -3. Modify Core Count patches to match your CPU's cores amount. - - - Find four `algrey - Force cpuid_cores_per_package` patches under `Kernel -> Patch` in your config. - - Modify these patches for your CPU physical cores. Change **first pair** of `00` in `Replace` of these patches to `Hex value` from below table. - - - e. g. for Ryzen 7 1700 with 8 Cores three modified patches should look like: - - B8 **00** 0000 0000 -> B8 **08** 0000 0000 - - BA **00** 0000 0000 -> BA **08** 0000 0000 - - BA **00** 0000 0090 -> BA **08** 0000 0090 - - BA **00** 0000 00 -> BA **08** 0000 00 - -| **Physical CPU cores** | **Hex value** | -| ---------------------- | ------------- | -| 4 Cores | `04` | -| 6 Cores | `06` | -| 8 Cores | `08` | -| 12 Cores | `0C` | -| 16 Cores | `10` | -| 24 Cores | `18` | -| 32 Cores | `20` | - -### SMBIOS - -4. Use [this tool](https://github.com/corpnewt/GenSMBIOS) to generate your unique SMBIOS info. - -- SMBIOS has to be unique, you cannot use one present in this repository. - -- Run the tool and select `Generate SMBIOS`. -- Select the appropriate model for your hardware using the table below. -- Go to [Apple Coverage](https://checkcoverage.apple.com/) and paste generated _Serial_. You need "Invalid Serial" or "Purchase Date not Validated" message. If you get something another you have to generate SMBIOS data and check it again. -- Open _config.plist_ and search for `PlatformInfo -> Generic` and replace these values: - - _SystemProductName_ - Model - - _MLB_ - Board Serial - - _SystemSerialNumber_ - Serial - - _SystemUUID_ - SmUUID -- _ROM_ entry should be set to your [network card's MAC address](https://www.wikihow.com/Find-the-MAC-Address-of-Your-Computer), without separators (e. g. `:`, `-`). - -| **GPU Series** | **Model** | -| -------------------- | ----------------------- | -| AMD Navi Series | iMacPro1,1 1 | -| AMD Vega Series | iMacPro1,1 1 | -| AMD Polaris Series | iMacPro1,1 1 | -| AMD Radeon R5/R7/R9 | MacPro6,1 | -| AMD HD 8000 Series | MacPro6,1 | -| AMD HD 7000 Series | MacPro6,1 | -| Nvidia Kepler Series | MacPro7,1 2 | - -1 For Catalina and newer you can also use `MacPro7,1` if you have some issues (e. g. unfixable DRMs). - -2 For Catalina and older use `iMac14,2`. - -### Configuration - -5. You should update your BIOS to the latest version and configure it appropriately. See [BIOS Settings](#BIOS-Settings) for details. -6. Remember to verify your hardware and apply appropriate changes to your configuration file. See [Hardware Compatibility](#Hardware-compatibility) for details. -7. Map your USB ports with [USBToolBox](https://github.com/USBToolBox/tool). Guide about it is available [here](https://github.com/USBToolBox/tool#usage). You have to do it from Windows. -8. That's it! Now you can boot macOS installer. - -### Post-Installation - -9. Copy your EFI directory onto your main drive EFI partition, you'll be able to boot the system without your bootable USB. -10. Apply [Ryzen patch script](/Resources/ryzen_patch.sh) - it solves MKL (Math Kernel Library) issues and sets correct sleep parameters. -11. If you have `Unknown` instead of your CPU name in About this Mac go to `PlatformInfo -> Generic -> ProcessorType` in your configuration file. Set it to `3841` if your CPU has 8 or more physical cores, else set it to `1537`. -12. When everything work you can disable verbose mode - then you will see Apple's logo instead of logs while booting. To do it you have to remove `-v debug=0x100 keepsyms=1` from `boot-args` in your configuration file. - -### Optional steps -13. Install [SMCAMDProcessor kext](https://github.com/trulyspinach/SMCAMDProcessor) for improved CPU power management. It's not installed by default because it may cause some issues (freezes, kernel panics, etc.). If you encounter no problems after installation, keep using it. - -### Bootstrap -In general, enabling Bootstrap is not required, but it will protect your OpenCore from being overriden. \ -Remember to do not enable Bootstrap on pendrive - do it only after copying OpenCore to your disk's EFI. - -14. Go to `Misc -> Boot -> LauncherOption` in your configuration file and set it to `Full`. -15. Reboot your computer. -16. Reboot PC again and go to your BIOS settings. In boot options you will see new boot entry named `OpenCore`. Set BIOS to boot from it, instead of your drive. - -## PAT Patch - -| **Shaneee's** | **Algrey's** | -| ----------------------------- | ------------------------ | -| Much better GPU performance | Worse GPU performance | -| May not work with Nvidia GPUs | Compatible with all GPUs | -| HDMI/DP audio may not work | HDMI/DP audio works | -| Enabled by default | Disabled by default | - -To switch to another patch look for `fix PAT` in `config.plist`. There are two versions of these patches. macOS 15 (Sequoia) has it's own PAT patch. Then set `Enabled` to `true` for the patch you want to use for your macOS version. Remember to set `Enabled` to `false` on the other PAT patch. Do not try to enable both at the same time, trust me, it won't work. - -## MKL and Intel Fast Memset Patch - -Some applications for macOS use MKL - Math Kernel Library. Unfortunately, it does not work on AMD CPUs natively - we need to patch it with [this script](/Resources/ryzen_patch.sh). - -There's also `intel_fast_memset` instruction which, obviously, doesn't exist on AMD systems. It's very common in Adobe software - you can simply fix it by running [this script](/Resources/adobe_patch.sh). Older versions of Adobe software (e. g. up to 22.3.1 for Photoshop) need it's [legacy version](/Resources/adobe_patch_legacy.sh). For details about Adobe patching check thead on [macos86.it](https://www.macos86.it/topic/4822-photoshop-after-effects-cc-2021-premiere-pro-cc-2021-154-amd-hackintosh-fix/). - -If you have problems while running script from file, try to copy and paste it's code to Terminal. - -## DRMs support -DRMs are fixed by default only for Big Sur and newer versions. For older versions you have to: - 1. Remove `unfairgva=1` from `boot-args` in your configuration file. - 2. Go [here](https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.Chart.md) to find correct value for your system. - 3. Add parameter from _Mode_ to `boot-args` in your configuration file. - - If parameter from chart does not work try `shikigva=80` or `shikigva=16` - it's common to work even when chart says something another. - 4. Test DRMs with Netflix in Safari or Apple TV+. - -## Sleep -Firstly, check if your sleep works out of the box. If it works, you can skip reading this section. - -The most common reason of broken sleep on AMD systems are USB problems. \ -You have to map your USB ports. If you have working Windows instance I recommend [this tool](https://github.com/usbtoolbox/tool), otherwise you have to [do it manually](https://dortania.github.io/OpenCore-Post-Install/usb/#macos-and-the-15-port-limit). \ -After mapping remember to disable `Kernel -> Quriks -> XhciPortLimit` in your configuration file. - -If USB fixes does not help, probably something another is broken. You can read more detailed guide about it on [Dortania](https://dortania.github.io/OpenCore-Post-Install/universal/sleep.html). - -## Virtualization - -### Prerequisites - -- Make sure you have `SVM` enabled in your BIOS settings. - -| **Software** | **Compatibility** | -| ----------------- | -------------------------------------------------------------------------------------------------------------- | -| Parallels Desktop | Up to 13.1 unless AppleHV is used.1 2 3 | -| VirtualBox | Drastically decreased performance. | -| VMWare Fusion 10 | Only Catalina and older, for Catalina with [this patch](https://posts.boy.sh/vmware-fusion-catalina). | -| Docker | Only [Docker in VirtualBox](https://github.com/sergeycherepanov/homebrew-docker-virtualbox) or Docker Toolbox. | -| Android Emulator | Only [Android-x86](https://www.android-x86.org/) with compatible VM software. | -| iOS Emulator | Works out of the box. | - -1 Parallels will not work by default on Big Sur and newer, you need to use `SYSTEM_VERSION_COMPAT=1` environment variable. - -2 Use [this](/Resources/Parallels%20Desktop%20Launcher.app.zip) launcher package to simplify the Parallels usage. - -3 Only Windows 10 Anniversary Update (build 1607) or older systems work. - -### Resource management - -You shouldn't add too much resources to your virtual machines, as it causes performance issues regardless of your hardware. - -Use the following configuration for best results. - -- Parallels Desktop 13.1 -- 4 CPU cores -- 4GB - 8GB RAM -- 1GB VRAM -- 3D Acceleration: DirectX 9 -- OS: Windows 7 (SP1, build 7601) with Aero theme disabled. - -## Guides and troubleshooting - -- Creating USB installer: [\*click\*](https://dortania.github.io/OpenCore-Install-Guide/installer-guide/) -- OpenCore configuration: [\*click\*](https://dortania.github.io/OpenCore-Install-Guide/AMD/zen.html) -- Post-Install: [\*click\*](https://dortania.github.io/OpenCore-Post-Install/) -- Troubleshooting: [\*click\*](https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/troubleshooting.html) -- ACPI patching: [\*click\*](https://dortania.github.io/Getting-Started-With-ACPI/) - -Firstly try to disable AMDRyzenCPUPowerManagement and SMCAMDProcessor kexts - it may cause random kernel panic with some hardware configurations. - -If you have any other questions or issues, feel free to ask on [AMD-OSX Discord](https://discord.gg/EfCYAJW) or [Forum](https://forum.amd-osx.com). - -Due to the diversity of configurations, I am unable to assist with issues related to specific computer specifications. For troubleshooting, I recommend starting with inquiries on the AMD-OSX Discord. - -Please create an Issue on GitHub primarily for cases concerning more general problems. - -## Credits - -- [Apple](https://apple.com) for macOS -- [AMD-OSX Developers](https://github.com/AMD-OSX) for kernel patches for AMD CPUs -- [Acidanthera](https://github.com/acidanthera) for OpenCore and most of used kexts -- [Trulyspinach](https://github.com/trulyspinach) for Ryzen power management and monitoring kexts -- [Mieze](https://github.com/Mieze) for RealtekRTL8111 kext -- [DhinakG](https://github.com/USBToolBox) for USBToolBox -- [XLNC](https://github.com/naveenkrdy) for Adobe patches for AMD CPUs and AppleMCEReportedDisabler kext -- [Pavo](https://github.com/Pavo-IM) for research about AppleMCEReportedDisabler in Monterey -- [tomnic](https://www.macos86.it/profile/69-tomnic/) for libfakeintel.dylib used by Adobe patches -- [Dortania](https://github.com/dortania) for OpenCore configuration guides -- [AMD-OSX Community](https://amd-osx.com) for support while making my Hackintosh -- [SocketByte](https://github.com/SocketByte) for README maintenance and being a great friend :) - -![Screenshot](/screenshot.png?raw=true) +# OpenCore EFI for AMD Ryzen Hackintosh [![tests](https://github.com/mikigal/ryzen-hackintosh/actions/workflows/tests.yml/badge.svg)](https://github.com/mikigal/ryzen-hackintosh/actions/workflows/tests.yml) + +## Table of contents + +- [Software Compatibility](#Software-Compatibility) +- [Hardware Compatibility](#Hardware-Compatibility) +- [BIOS Settings](#BIOS-Settings) +- [Installation](#Installation) +- [PAT Patch](#PAT-Patch) +- [MKL and Intel Fast Memset Patch](#MKL-and-Intel-Fast-Memset-Patch) +- [DRMs support](#DRMs-support) +- [Sleep](#Sleep) +- [Virtualization](#Virtualization) +- [Guides and troubleshooting](#Guides-and-troubleshooting) +- [Credits](#Credits) + +## Software Compatibility + +- Sequoia (15.x) +- Sonoma (14.x) +- Ventura (13.x) +- Monterey (12.x) +- Big Sur (11.x) +- Catalina (10.15.x) +- Mojave (10.14.x) +- High Sierra (10.13.x) + +**Used OpenCore version**: 1.0.2 + +## Hardware Compatibility + +### Central Processing Unit (CPU) + +This EFI is compatible with all Ryzen and Athlon 2xxGE processors with +[macOS-compatible peripherals](https://dortania.github.io/Anti-Hackintosh-Buyers-Guide/). + +_Support for 15h (FX series), 16h (A series) and Threadripper CPUs is not covered here._ + +### Graphical Processing Unit (GPU) + +| **Model** | **Compatible?** | +| ---------- | ----------------------------- | +| Integrated | No | +| Nvidia | Partially 1 | +| AMD | Yes 2 3 | + +1 Support for Nvidia GPUs was dropped in Monterey Beta 7, the only way to get it back is using [OpenCore Legacy Patcher](https://github.com/dortania/OpenCore-Legacy-Patcher). Kepler series under correct [PAT Patch](#PAT-Patch). Others require WebDrivers which work only in High Sierra or are not supported. More details on [Dortania](https://dortania.github.io/GPU-Buyers-Guide/modern-gpus/nvidia-gpu.html). + +2 Some R7 and R9 GPUs require FakeID. More details [here](https://dortania.github.io/Getting-Started-With-ACPI/Universal/spoof.html) + +3 Lexa series GPUs are not supported. Older than 7000 series are supported up to High Sierra (10.13), their support is not covered here. + +For **AMD Navi 10 and 20 Series GPUs (RX 5000 and RX 6000)** you need to add `agdpmod=pikera` to `boot-args` to fix the black screen issue. + +[PAT Patch made by Shaneee](#PAT-Patch) is used by default. It improves GPU performance but it has a few caveats. Audio passed by HDMI or DisplayPort won't work or will be unstable. It also **may not** work with Nvidia GPUs. + +If you want to control monitor's brightness or HDMI/DP audio volume you need to use [MonitorControl](https://github.com/MonitorControl/MonitorControl) for that. + +### Laptops +All laptops with AMD CPUs are not supported due to integrated GPUs incompatbility. + +### Motherboards + +| **Chipset/Socket** | **Details** | +| ---------------------------- | ------------------------------------------------------------------- | +| B550, A520 | Requires _SSDT-CPUR_ to boot. [Details here.](#SSDT-CPUR) | +| B550, A520, B450, X470, X570 | `SetupVirtualMap` has to be [disabled](#Disabling-SetupVirtualMap). | +| Older than A520, B550, X570 | May require disabling `Disable 10 bit tags` patch | +| AM5 with Thunderbolt/USB4 | It's complicated 1 | +| Other | Should be compatible out of the box. | + +1 On AM5 motherboards with on-board Thunderbolt/USB4 macOS Ventura and newer may not enumerate devices on the PCI bus properly when on-board WiFi and on-board Thunderbolt are both enabled. Patch `Fix PCI bus enumeration on AM5` bypasses the problem. This patch is disabled by default. + +#### _SSDT-CPUR_ + +Follow these steps to properly install _SSDT-CPUR_. + +- Download from [here](https://github.com/naveenkrdy/Misc/blob/master/SSDTs/Compiled/SSDT-CPUR.aml). +- Install it to your `OC/ACPI` directory. +- Add it to your configuration file. Use ProperTree for simplicity. + +#### _AM5_ Socket +On AM5 motherboards with on-board Thunderbolt/USB4, macOS Ventura may not enumerate devices on the PCI bus properly when on-board WiFi and on-board Thunderbolt are both enabled. Patch `CaseySJ | IOPCIIsHotplugPort | Fix PCI bus enumeration on AM5 | 13.0+` bypasses the problem. This patch is disabled by default. If you have described issue you have to enable this patch. + +#### _Disabling SetupVirtualMap_ + +To disable `SetupVirtualMap` simply go to `Booter -> Quirks -> SetupVirtualMap` in your configuration file and disable it. (Should be `false`). + +#### _PCI Express_ +If you have the `Above 4G Decoding` option in your BIOS settings, enable it and remove the `npci=0x2000` parameter from the `boot-args` (NVRAM section). + +#### _Resizable BAR_ +If you have the `Resizable BAR` option in your BIOS settings and your GPU supports it, you can enable it for better GPU performance. Then, set `Booter -> Quirks -> ResizeAppleGpuBars` to `0`. + +#### _SecureBootModel_ +If you experience issues related to Secure Boot in the macOS installer, set `Misc -> Security -> SecureBootModel` to `Disabled`. After installation, you can set it to the value corresponding to the used SMBIOS. Look [here](https://dortania.github.io/OpenCore-Post-Install/universal/security/applesecureboot.html#securebootmodel) for more information. + +### Audio + +Follow these steps if your audio chipset is different than the one specified in the [Specification](#Specification). + +- Go [here](https://github.com/acidanthera/applealc/wiki/supported-codecs) to find your audio chipset codec. (Under _Codec_) + - If you can't find your codec on the list, then you probably have to use [VoodooHDA](https://sourceforge.net/projects/voodoohda/). This repository does not cover or support the use of VoodooHDA. +- Under _Revisions and layouts_ you'll see bunch of numbers and layout ids. +- Find your `boot-args` settings and look for `alcid=11`. +- Try every layout id (except _0x_ values) one by one until it works. + - Example: `alcid=10` if `layout 10` + +_Caveats_: + +- External (USB) audio cards should work out of the box. +- If you have CPU with integrated GPU (even if you don't use it) your audio may be broken or unstable. You can try using [SpeedKeeper](https://github.com/astrihale/speedkeeper) but it's not guaranteed to fix your problem. The best solution is using external (USB) audio card. + +### Network + +If you experience any issues with your network connection, then your best bet would be to install a different kext, preferably from [here](https://dortania.github.io/OpenCore-Install-Guide/ktext.html#ethernet). + +If you use High Sierra and Realtek 8111 Ethernet Card then you should use [older version of kext](https://github.com/Mieze/RTL8111_driver_for_OS_X/releases/tag/v2.2.2). + +If you have issues with network card on Monterey or newer try adding `e1000=0` to `boots-args`. + +SmallTree kext does not work on Monterey for now. You can try [AppleIGB kext](https://cdn.discordapp.com/attachments/724618275971137568/879288441278435348/AppleIGB.kext.zip), it works on some systems. If it does not work you have to stay on Big Sur and wait for SmallTree's update. + +### WiFi and Bluetooth +Only Apple Airport and Fenvi cards work out of the box. [Here](https://dortania.github.io/Wireless-Buyers-Guide/) you can list of all supported cards and needed kexts for them. + +Rembember that AirDrop, Handoff, etc. works only on cards with Broadcom chip. + +## BIOS Settings + +| **Option** | **Status** | +| --------------------- | -------------------- | +| SATA Mode | AHCI | +| Above 4G Decoding | Enabled 1 | +| EHCI/XHCI Hand-off | Enabled | +| SVM | Enabled | +| CSM | Disabled | +| Secure Boot | Disabled | +| Serial Port | Disabled | +| Parallel Port | Disabled | + +1 If you have this option in BIOS you must also remove `npci=0x2000` from `boot-args` in your configuration file. + +**Some of these options may not exist in your firmware, just try to match it as closely as possible.** + +**Before booting macOS remember to update BIOS to the latest version.** + +## Installation + +### Bootable USB + +1. Follow [this guide](https://dortania.github.io/OpenCore-Install-Guide/installer-guide/) to create your bootable USB. + +2. Clone this repository and copy "BOOT" & "OC" directories to your "EFI" directory on your bootable USB. The structure should look somewhat like this: `EFI -> BOOT, OC`. + +### Modifying kernel patches +3. Modify Core Count patches to match your CPU's cores amount. + + - Find four `algrey - Force cpuid_cores_per_package` patches under `Kernel -> Patch` in your config. + - Modify these patches for your CPU physical cores. Change **first pair** of `00` in `Replace` of these patches to `Hex value` from below table. + + - e. g. for Ryzen 7 1700 with 8 Cores three modified patches should look like: + - B8 **00** 0000 0000 -> B8 **08** 0000 0000 + - BA **00** 0000 0000 -> BA **08** 0000 0000 + - BA **00** 0000 0090 -> BA **08** 0000 0090 + - BA **00** 0000 00 -> BA **08** 0000 00 + +| **Physical CPU cores** | **Hex value** | +| ---------------------- | ------------- | +| 4 Cores | `04` | +| 6 Cores | `06` | +| 8 Cores | `08` | +| 12 Cores | `0C` | +| 16 Cores | `10` | +| 24 Cores | `18` | +| 32 Cores | `20` | + +### SMBIOS + +4. Use [this tool](https://github.com/corpnewt/GenSMBIOS) to generate your unique SMBIOS info. + +- SMBIOS has to be unique, you cannot use one present in this repository. + +- Run the tool and select `Generate SMBIOS`. +- Select the appropriate model for your hardware using the table below. +- Go to [Apple Coverage](https://checkcoverage.apple.com/) and paste generated _Serial_. You need "Invalid Serial" or "Purchase Date not Validated" message. If you get something another you have to generate SMBIOS data and check it again. +- Open _config.plist_ and search for `PlatformInfo -> Generic` and replace these values: + - _SystemProductName_ - Model + - _MLB_ - Board Serial + - _SystemSerialNumber_ - Serial + - _SystemUUID_ - SmUUID +- _ROM_ entry should be set to your [network card's MAC address](https://www.wikihow.com/Find-the-MAC-Address-of-Your-Computer), without separators (e. g. `:`, `-`). + +| **GPU Series** | **Model** | +| -------------------- | ----------------------- | +| AMD Navi Series | iMacPro1,1 1 | +| AMD Vega Series | iMacPro1,1 1 | +| AMD Polaris Series | iMacPro1,1 1 | +| AMD Radeon R5/R7/R9 | MacPro6,1 | +| AMD HD 8000 Series | MacPro6,1 | +| AMD HD 7000 Series | MacPro6,1 | +| Nvidia Kepler Series | MacPro7,1 2 | + +1 For Catalina and newer you can also use `MacPro7,1` if you have some issues (e. g. unfixable DRMs). + +2 For Catalina and older use `iMac14,2`. + +### Configuration + +5. You should update your BIOS to the latest version and configure it appropriately. See [BIOS Settings](#BIOS-Settings) for details. +6. Remember to verify your hardware and apply appropriate changes to your configuration file. See [Hardware Compatibility](#Hardware-compatibility) for details. +7. Map your USB ports with [USBToolBox](https://github.com/USBToolBox/tool). Guide about it is available [here](https://github.com/USBToolBox/tool#usage). You have to do it from Windows. +8. That's it! Now you can boot macOS installer. + +### Post-Installation + +9. Copy your EFI directory onto your main drive EFI partition, you'll be able to boot the system without your bootable USB. +10. Apply [Ryzen patch script](/Resources/ryzen_patch.sh) - it solves MKL (Math Kernel Library) issues and sets correct sleep parameters. +11. If you have `Unknown` instead of your CPU name in About this Mac go to `PlatformInfo -> Generic -> ProcessorType` in your configuration file. Set it to `3841` if your CPU has 8 or more physical cores, else set it to `1537`. +12. When everything work you can disable verbose mode - then you will see Apple's logo instead of logs while booting. To do it you have to remove `-v debug=0x100 keepsyms=1` from `boot-args` in your configuration file. + +### Optional steps +13. Install [SMCAMDProcessor kext](https://github.com/trulyspinach/SMCAMDProcessor) for improved CPU power management. It's not installed by default because it may cause some issues (freezes, kernel panics, etc.). If you encounter no problems after installation, keep using it. + +### Bootstrap +In general, enabling Bootstrap is not required, but it will protect your OpenCore from being overriden. \ +Remember to do not enable Bootstrap on pendrive - do it only after copying OpenCore to your disk's EFI. + +14. Go to `Misc -> Boot -> LauncherOption` in your configuration file and set it to `Full`. +15. Reboot your computer. +16. Reboot PC again and go to your BIOS settings. In boot options you will see new boot entry named `OpenCore`. Set BIOS to boot from it, instead of your drive. + +## PAT Patch + +| **Shaneee's** | **Algrey's** | +| ----------------------------- | ------------------------ | +| Much better GPU performance | Worse GPU performance | +| May not work with Nvidia GPUs | Compatible with all GPUs | +| HDMI/DP audio may not work | HDMI/DP audio works | +| Enabled by default | Disabled by default | + +To switch to another patch look for `fix PAT` in `config.plist`. There are two versions of these patches. macOS 15 (Sequoia) has it's own PAT patch. Then set `Enabled` to `true` for the patch you want to use for your macOS version. Remember to set `Enabled` to `false` on the other PAT patch. Do not try to enable both at the same time, trust me, it won't work. + +## MKL and Intel Fast Memset Patch + +Some applications for macOS use MKL - Math Kernel Library. Unfortunately, it does not work on AMD CPUs natively - we need to patch it with [this script](/Resources/ryzen_patch.sh). + +There's also `intel_fast_memset` instruction which, obviously, doesn't exist on AMD systems. It's very common in Adobe software - you can simply fix it by running [this script](/Resources/adobe_patch.sh). Older versions of Adobe software (e. g. up to 22.3.1 for Photoshop) need it's [legacy version](/Resources/adobe_patch_legacy.sh). For details about Adobe patching check thead on [macos86.it](https://www.macos86.it/topic/4822-photoshop-after-effects-cc-2021-premiere-pro-cc-2021-154-amd-hackintosh-fix/). + +If you have problems while running script from file, try to copy and paste it's code to Terminal. + +## DRMs support +DRMs are fixed by default only for Big Sur and newer versions. For older versions you have to: + 1. Remove `unfairgva=1` from `boot-args` in your configuration file. + 2. Go [here](https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.Chart.md) to find correct value for your system. + 3. Add parameter from _Mode_ to `boot-args` in your configuration file. + - If parameter from chart does not work try `shikigva=80` or `shikigva=16` - it's common to work even when chart says something another. + 4. Test DRMs with Netflix in Safari or Apple TV+. + +## Sleep +Firstly, check if your sleep works out of the box. If it works, you can skip reading this section. + +The most common reason of broken sleep on AMD systems are USB problems. \ +You have to map your USB ports. If you have working Windows instance I recommend [this tool](https://github.com/usbtoolbox/tool), otherwise you have to [do it manually](https://dortania.github.io/OpenCore-Post-Install/usb/#macos-and-the-15-port-limit). \ +After mapping remember to disable `Kernel -> Quriks -> XhciPortLimit` in your configuration file. + +If USB fixes does not help, probably something another is broken. You can read more detailed guide about it on [Dortania](https://dortania.github.io/OpenCore-Post-Install/universal/sleep.html). + +## Virtualization + +### Prerequisites + +- Make sure you have `SVM` enabled in your BIOS settings. + +| **Software** | **Compatibility** | +| ----------------- | -------------------------------------------------------------------------------------------------------------- | +| Parallels Desktop | Up to 13.1 unless AppleHV is used.1 2 3 | +| VirtualBox | Drastically decreased performance. | +| VMWare Fusion 10 | Only Catalina and older, for Catalina with [this patch](https://posts.boy.sh/vmware-fusion-catalina). | +| Docker | Only [Docker in VirtualBox](https://github.com/sergeycherepanov/homebrew-docker-virtualbox) or Docker Toolbox. | +| Android Emulator | Only [Android-x86](https://www.android-x86.org/) with compatible VM software. | +| iOS Emulator | Works out of the box. | + +1 Parallels will not work by default on Big Sur and newer, you need to use `SYSTEM_VERSION_COMPAT=1` environment variable. + +2 Use [this](/Resources/Parallels%20Desktop%20Launcher.app.zip) launcher package to simplify the Parallels usage. + +3 Only Windows 10 Anniversary Update (build 1607) or older systems work. + +### Resource management + +You shouldn't add too much resources to your virtual machines, as it causes performance issues regardless of your hardware. + +Use the following configuration for best results. + +- Parallels Desktop 13.1 +- 4 CPU cores +- 4GB - 8GB RAM +- 1GB VRAM +- 3D Acceleration: DirectX 9 +- OS: Windows 7 (SP1, build 7601) with Aero theme disabled. + +## Guides and troubleshooting + +- Creating USB installer: [\*click\*](https://dortania.github.io/OpenCore-Install-Guide/installer-guide/) +- OpenCore configuration: [\*click\*](https://dortania.github.io/OpenCore-Install-Guide/AMD/zen.html) +- Post-Install: [\*click\*](https://dortania.github.io/OpenCore-Post-Install/) +- Troubleshooting: [\*click\*](https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/troubleshooting.html) +- ACPI patching: [\*click\*](https://dortania.github.io/Getting-Started-With-ACPI/) + +Firstly try to disable AMDRyzenCPUPowerManagement and SMCAMDProcessor kexts - it may cause random kernel panic with some hardware configurations. + +If you have any other questions or issues, feel free to ask on [AMD-OSX Discord](https://discord.gg/EfCYAJW) or [Forum](https://forum.amd-osx.com). + +Due to the diversity of configurations, I am unable to assist with issues related to specific computer specifications. For troubleshooting, I recommend starting with inquiries on the AMD-OSX Discord. + +Please create an Issue on GitHub primarily for cases concerning more general problems. + +## Credits + +- [Apple](https://apple.com) for macOS +- [AMD-OSX Developers](https://github.com/AMD-OSX) for kernel patches for AMD CPUs +- [Acidanthera](https://github.com/acidanthera) for OpenCore and most of used kexts +- [Trulyspinach](https://github.com/trulyspinach) for Ryzen power management and monitoring kexts +- [Mieze](https://github.com/Mieze) for RealtekRTL8111 kext +- [DhinakG](https://github.com/USBToolBox) for USBToolBox +- [XLNC](https://github.com/naveenkrdy) for Adobe patches for AMD CPUs and AppleMCEReportedDisabler kext +- [Pavo](https://github.com/Pavo-IM) for research about AppleMCEReportedDisabler in Monterey +- [tomnic](https://www.macos86.it/profile/69-tomnic/) for libfakeintel.dylib used by Adobe patches +- [Dortania](https://github.com/dortania) for OpenCore configuration guides +- [AMD-OSX Community](https://amd-osx.com) for support while making my Hackintosh +- [SocketByte](https://github.com/SocketByte) for README maintenance and being a great friend :) + +![Screenshot](/screenshot.png?raw=true) diff --git a/Resources/adobe_patch.sh b/Resources/adobe_patch.sh index 469cad1..52dd9c7 100755 --- a/Resources/adobe_patch.sh +++ b/Resources/adobe_patch.sh @@ -1,82 +1,82 @@ -#!/bin/bash -# Credits to XLNC (https://gist.github.com/naveenkrdy/26760ac5135deed6d0bb8902f6ceb6bd) -# Credits to tomnic (https://www.macos86.it/profile/69-tomnic/) for libfakeintel.dylib - -echo "Starting patching..." - -files_list=(MMXCore FastCore TextModel libiomp5.dylib) -lib_dir="${HOME}/Documents/AdobeLibs" -lib1_file="${lib_dir}/libiomp5.dylib" -lib1_link="https://raw.githubusercontent.com/naveenkrdy/Misc/master/Libs/libiomp5.dylib" - -for file in $files_list; do - find /Applications/Adobe* -type f -name $file | while read -r curr_file; do - name=$(basename $curr_file) - sw_vers -productVersion | grep "11\|12" >/dev/null 2>&1 - [[ $? == 0 ]] && [[ $name =~ ^(MMXCore|FastCore)$ ]] && continue - echo "found $curr_file" - sudo -v - [[ ! -f "${curr_file}.back" ]] && sudo cp -f "$curr_file" "${curr_file}.back" || sudo cp -f "${curr_file}.back" "$curr_file" - if [[ $name == "libiomp5.dylib" ]]; then - [[ ! -d "$lib_dir" ]] && mkdir "$lib_dir" - [[ ! -f "$lib1_file" ]] && cd "$lib_dir" && curl -sO $lib1_link - adobelib_dir=$(dirname "$curr_file") - echo -n "replacing " && sudo cp -vf "$lib1_file" "$adobelib_dir" - elif [[ $name == "TextModel" ]]; then - echo "emptying $curr_file" - sudo echo -n > "$curr_file" - else - echo "patching $curr_file" - sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x6A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' "$curr_file" - sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x4A\x00|\x90\x90\x90\x90\x56\xE8\x1A\x00|sg' "$curr_file" - fi - done -done - -agent_dir="${HOME}/Library/LaunchAgents" -env_file="${agent_dir}/environment.plist" -lib_dir="${HOME}/Documents/AdobeLibs" -lib2_file="${lib_dir}/libfakeintel.dylib" -lib2_link="https://raw.githubusercontent.com/naveenkrdy/Misc/master/Libs/libfakeintel.dylib" - -sw_vers -productVersion | grep "11" >/dev/null 2>&1 -if [[ $? == 0 ]]; then - [[ ! -d $lib_dir ]] && mkdir $lib_dir - [[ ! -f $lib2_file ]] && cd $lib_dir && curl -sO $lib2_link - env="launchctl setenv DYLD_INSERT_LIBRARIES $lib2_file" -else - mkl_value=$( - sysctl -n machdep.cpu.brand_string | grep FX >/dev/null 2>&1 - echo $(($? != 0 ? 5 : 4)) - ) - env="launchctl setenv MKL_DEBUG_CPU_TYPE $mkl_value" -fi - -[[ ! -d $agent_dir ]] && mkdir $agent_dir -cat >$env_file < - - - - Label - mkl-debug - ProgramArguments - - sh - -c - $env; - - RunAtLoad - - - -EOF - -launchctl load ${AGENT} >/dev/null 2>&1 -launchctl start ${AGENT} >/dev/null 2>&1 - -echo "Removing Deep_Font plugin" -sudo find /Applications/Adobe* -name "Deep_Font" -exec rm -r {} + - -echo "" +#!/bin/bash +# Credits to XLNC (https://gist.github.com/naveenkrdy/26760ac5135deed6d0bb8902f6ceb6bd) +# Credits to tomnic (https://www.macos86.it/profile/69-tomnic/) for libfakeintel.dylib + +echo "Starting patching..." + +files_list=(MMXCore FastCore TextModel libiomp5.dylib) +lib_dir="${HOME}/Documents/AdobeLibs" +lib1_file="${lib_dir}/libiomp5.dylib" +lib1_link="https://raw.githubusercontent.com/naveenkrdy/Misc/master/Libs/libiomp5.dylib" + +for file in $files_list; do + find /Applications/Adobe* -type f -name $file | while read -r curr_file; do + name=$(basename $curr_file) + sw_vers -productVersion | grep "11\|12" >/dev/null 2>&1 + [[ $? == 0 ]] && [[ $name =~ ^(MMXCore|FastCore)$ ]] && continue + echo "found $curr_file" + sudo -v + [[ ! -f "${curr_file}.back" ]] && sudo cp -f "$curr_file" "${curr_file}.back" || sudo cp -f "${curr_file}.back" "$curr_file" + if [[ $name == "libiomp5.dylib" ]]; then + [[ ! -d "$lib_dir" ]] && mkdir "$lib_dir" + [[ ! -f "$lib1_file" ]] && cd "$lib_dir" && curl -sO $lib1_link + adobelib_dir=$(dirname "$curr_file") + echo -n "replacing " && sudo cp -vf "$lib1_file" "$adobelib_dir" + elif [[ $name == "TextModel" ]]; then + echo "emptying $curr_file" + sudo echo -n > "$curr_file" + else + echo "patching $curr_file" + sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x6A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' "$curr_file" + sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x4A\x00|\x90\x90\x90\x90\x56\xE8\x1A\x00|sg' "$curr_file" + fi + done +done + +agent_dir="${HOME}/Library/LaunchAgents" +env_file="${agent_dir}/environment.plist" +lib_dir="${HOME}/Documents/AdobeLibs" +lib2_file="${lib_dir}/libfakeintel.dylib" +lib2_link="https://raw.githubusercontent.com/naveenkrdy/Misc/master/Libs/libfakeintel.dylib" + +sw_vers -productVersion | grep "11" >/dev/null 2>&1 +if [[ $? == 0 ]]; then + [[ ! -d $lib_dir ]] && mkdir $lib_dir + [[ ! -f $lib2_file ]] && cd $lib_dir && curl -sO $lib2_link + env="launchctl setenv DYLD_INSERT_LIBRARIES $lib2_file" +else + mkl_value=$( + sysctl -n machdep.cpu.brand_string | grep FX >/dev/null 2>&1 + echo $(($? != 0 ? 5 : 4)) + ) + env="launchctl setenv MKL_DEBUG_CPU_TYPE $mkl_value" +fi + +[[ ! -d $agent_dir ]] && mkdir $agent_dir +cat >$env_file < + + + + Label + mkl-debug + ProgramArguments + + sh + -c + $env; + + RunAtLoad + + + +EOF + +launchctl load ${AGENT} >/dev/null 2>&1 +launchctl start ${AGENT} >/dev/null 2>&1 + +echo "Removing Deep_Font plugin" +sudo find /Applications/Adobe* -name "Deep_Font" -exec rm -r {} + + +echo "" echo "Done, reboot your Hackintosh!" \ No newline at end of file diff --git a/Resources/adobe_patch_legacy.sh b/Resources/adobe_patch_legacy.sh index 0c70f5a..db156fb 100755 --- a/Resources/adobe_patch_legacy.sh +++ b/Resources/adobe_patch_legacy.sh @@ -1,30 +1,30 @@ -#!/bin/bash - -echo "Starting patching..." - -for file in MMXCore FastCore TextModel libiomp5.dylib libtbb.dylib libtbbmalloc.dylib; do - find /Applications/Adobe* -type f -name $file | while read -r FILE; do - sudo -v - echo "found $FILE" - [[ ! -f "${FILE}.back" ]] && sudo cp -f "$FILE" "${FILE}.back" || sudo cp -f "${FILE}.back" "$FILE" - echo "$FILE" | grep libiomp5 >/dev/null - if [[ $? == 0 ]]; then - dir=$(dirname "$FILE") - [[ ! -f "${HOME}/libiomp5.dylib" ]] && cd "$HOME" && curl -sO https://excellmedia.dl.sourceforge.net/project/badgui2/libs/mac64/libiomp5.dylib - echo -n "replacing " && sudo cp -vf "${HOME}/libiomp5.dylib" "$dir" && echo - rm -f "${HOME}/libiomp5.dylib" - continue - fi - echo "$FILE" | grep TextModel >/dev/null - [[ $? == 0 ]] && echo "emptying $FILE" && sudo echo -n > "$FILE" && continue - echo "patching $FILE \n" - sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x6A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' "$FILE" - sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x4A\x00|\x90\x90\x90\x90\x56\xE8\x1A\x00|sg' "$FILE" - done -done - -echo "Removing Deep_Font plugin" -sudo find /Applications/Adobe* -name "Deep_Font" -exec rm -r {} + - -echo "" +#!/bin/bash + +echo "Starting patching..." + +for file in MMXCore FastCore TextModel libiomp5.dylib libtbb.dylib libtbbmalloc.dylib; do + find /Applications/Adobe* -type f -name $file | while read -r FILE; do + sudo -v + echo "found $FILE" + [[ ! -f "${FILE}.back" ]] && sudo cp -f "$FILE" "${FILE}.back" || sudo cp -f "${FILE}.back" "$FILE" + echo "$FILE" | grep libiomp5 >/dev/null + if [[ $? == 0 ]]; then + dir=$(dirname "$FILE") + [[ ! -f "${HOME}/libiomp5.dylib" ]] && cd "$HOME" && curl -sO https://excellmedia.dl.sourceforge.net/project/badgui2/libs/mac64/libiomp5.dylib + echo -n "replacing " && sudo cp -vf "${HOME}/libiomp5.dylib" "$dir" && echo + rm -f "${HOME}/libiomp5.dylib" + continue + fi + echo "$FILE" | grep TextModel >/dev/null + [[ $? == 0 ]] && echo "emptying $FILE" && sudo echo -n > "$FILE" && continue + echo "patching $FILE \n" + sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x6A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' "$FILE" + sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x4A\x00|\x90\x90\x90\x90\x56\xE8\x1A\x00|sg' "$FILE" + done +done + +echo "Removing Deep_Font plugin" +sudo find /Applications/Adobe* -name "Deep_Font" -exec rm -r {} + + +echo "" echo "Adobe Patching done, remember to run ryzen_patch.sh too" \ No newline at end of file diff --git a/Resources/ryzen_patch.sh b/Resources/ryzen_patch.sh index 4049fbd..19a4958 100755 --- a/Resources/ryzen_patch.sh +++ b/Resources/ryzen_patch.sh @@ -1,41 +1,41 @@ -#!/bin/bash - -test -f $HOME/Library/LaunchAgents/mkl.plist && echo "Patch was already used! You don't have to run it again" && exit -sudo -v - -echo "Generating LaunchAgent for automatically applying MKL_DEBUG_CPU_TYPE..." - -[ ! -d $HOME/Library/LaunchAgents ] && mkdir $HOME/Library/LaunchAgents -AGENT=$HOME/Library/LaunchAgents/mkl.plist -sysctl -n machdep.cpu.brand_string | grep FX >/dev/null 2>&1 -x=$(echo $(($? != 0 ? 5 : 4))) -cat >$AGENT < - - - - Label - mkl-debug - ProgramArguments - - sh - -c - launchctl setenv MKL_DEBUG_CPU_TYPE $x; - - RunAtLoad - - - -EOF -launchctl load ${AGENT} >/dev/null 2>&1 -launchctl start ${AGENT} >/dev/null 2>&1 - -echo "Applying required sleep/hibernate parameters..." -sudo pmset autopoweroff 0 -sudo pmset powernap 0 -sudo pmset standby 0 -sudo pmset proximitywake 0 -sudo pmset tcpkeepalive 0 > /dev/null - -echo "" +#!/bin/bash + +test -f $HOME/Library/LaunchAgents/mkl.plist && echo "Patch was already used! You don't have to run it again" && exit +sudo -v + +echo "Generating LaunchAgent for automatically applying MKL_DEBUG_CPU_TYPE..." + +[ ! -d $HOME/Library/LaunchAgents ] && mkdir $HOME/Library/LaunchAgents +AGENT=$HOME/Library/LaunchAgents/mkl.plist +sysctl -n machdep.cpu.brand_string | grep FX >/dev/null 2>&1 +x=$(echo $(($? != 0 ? 5 : 4))) +cat >$AGENT < + + + + Label + mkl-debug + ProgramArguments + + sh + -c + launchctl setenv MKL_DEBUG_CPU_TYPE $x; + + RunAtLoad + + + +EOF +launchctl load ${AGENT} >/dev/null 2>&1 +launchctl start ${AGENT} >/dev/null 2>&1 + +echo "Applying required sleep/hibernate parameters..." +sudo pmset autopoweroff 0 +sudo pmset powernap 0 +sudo pmset standby 0 +sudo pmset proximitywake 0 +sudo pmset tcpkeepalive 0 > /dev/null + +echo "" echo "Done, reboot your Hackintosh!" \ No newline at end of file