diff --git a/OpenCore-Patcher.command b/OpenCore-Patcher.command index e2c10ed38..cdec29b2c 100755 --- a/OpenCore-Patcher.command +++ b/OpenCore-Patcher.command @@ -61,13 +61,12 @@ while MainMenu: os.system('clear') print(header) - print(" Build OpenCore for model: %s" % BuildOpenCore.current_model) + print(" Build OpenCore v%s for model: %s" % (Versions.opencore_version, BuildOpenCore.current_model)) print(header) print("") print(" 1. Auto build OpenCore") - print(" - This script determines what patches you require") - print(" - Recommended for novices") - print(" 2. Return to main menu") + print(" 2. Change OpenCore version") + print(" 3. Return to main menu") print("") OpenCoreBuilderMenu = raw_input('Please select an option: ') @@ -97,8 +96,31 @@ while MainMenu: print("Returning to previous menu...") AutoBuilderMenu=False OpenCoreBuilderMenu=False - elif OpenCoreBuilderMenu=="2": + ChangeOCversion=True + while ChangeOCversion: + os.system('clear') + print(header) + print(" Current OpenCore version: %s" % Versions.opencore_version) + print(header) + print("") + print(" Supported versions: 0.6.3, 0.6.4") + print("") + OpenCoreOption = raw_input('Please enter the OpenCore you want (Press enter to exit): ') + if OpenCoreOption == "": + print("Exiting...") + ChangeOCversion=False + MainMenu=True + else: + print("") + print(" New SMBIOS: %s" % OpenCoreOption) + print("") + ChangeOCversionYN = raw_input("Is this correcy? (y/n)") + if ChangeOCversionYN in {"y", "Y", "yes", "Yes"}: + ChangeOCversion=False + Versions.opencore_version = OpenCoreOption + MainMenu=True + elif OpenCoreBuilderMenu=="3": print("\n Returning to main menu...") OpenCoreBuilderMenu=False MainMenu=True diff --git a/Resources/BuildOpenCore.py b/Resources/BuildOpenCore.py index cc4d9cf1b..b402c7dd0 100644 --- a/Resources/BuildOpenCore.py +++ b/Resources/BuildOpenCore.py @@ -308,6 +308,7 @@ def MoveOpenCore(): print("") else: print("Couldn't find EFI partition") + print("Please ensure your drive is formatted as GUID Partition Table") print("") def MountOpenCore(): diff --git a/Resources/Versions.py b/Resources/Versions.py index 736beaf8d..78a86e057 100644 --- a/Resources/Versions.py +++ b/Resources/Versions.py @@ -11,7 +11,7 @@ import subprocess import sys # List build versions -opencore_version = "0.6.3" +opencore_version = "0.6.4" lilu_version = "1.4.9" whatevergreen_version = "1.4.4" airportbcrmfixup_version = "2.1.1" diff --git a/payloads/Config/v0.6.4/config.plist b/payloads/Config/v0.6.4/config.plist new file mode 100644 index 000000000..00a93dc19 --- /dev/null +++ b/payloads/Config/v0.6.4/config.plist @@ -0,0 +1,931 @@ + + + + + + ACPI + + Add + + + Enabled + + Comment + Patch CPBG for Arrendale, Lynnfield and Clarkdale + Path + SSDT-CPBG.aml + + + Delete + + Patch + + + Comment + XHC1 to SHC1 + Count + 0 + Enabled + + Find + WEhDMQ== + Limit + 0 + Mask + + OemTableId + + Replace + U0hDMQ== + ReplaceMask + + Skip + 0 + TableLength + 0 + TableSignature + + + + Comment + EHC1 to EH01 + Count + 0 + Enabled + + Find + RUhDMQ== + Limit + 0 + Mask + + OemTableId + + Replace + RUgwMQ== + ReplaceMask + + Skip + 0 + TableLength + 0 + TableSignature + + + + Comment + EHC2 to EH02 + Count + 0 + Enabled + + Find + RUhDMg== + Limit + 0 + Mask + + OemTableId + + Replace + RUgwMg== + ReplaceMask + + Skip + 0 + TableLength + 0 + TableSignature + + + + Quirks + + FadtEnableReset + + NormalizeHeaders + + RebaseRegions + + ResetHwSig + + ResetLogoStatus + + + + Booter + + MmioWhitelist + + Quirks + + AllowRelocationBlock + + AvoidRuntimeDefrag + + DevirtualiseMmio + + DisableSingleUser + + DisableVariableWrite + + DiscardHibernateMap + + EnableSafeModeSlide + + EnableWriteUnprotector + + ForceExitBootServices + + ProtectMemoryRegions + + ProtectSecureBoot + + ProtectUefiServices + + ProvideCustomSlide + + ProvideMaxSlide + 0 + RebuildAppleMemoryMap + + SetupVirtualMap + + SignalAppleOS + + SyncRuntimePermissions + + + + DeviceProperties + + Add + + #PciRoot(0x0)/Pci(0x1C,0x1)Pci(0x0,0x0) + + device-id + ukMAAA== + compatible + pci14e4,43ba + + + Delete + + + Kernel + + Add + + + Arch + x86_64 + Comment + Patching Engine + Enabled + + MaxKernel + + MinKernel + + BundlePath + Lilu.kext + ExecutablePath + Contents/MacOS/Lilu + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + GPU Patching + Enabled + + MaxKernel + + MinKernel + + BundlePath + WhateverGreen.kext + ExecutablePath + Contents/MacOS/WhateverGreen + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + SSE Emulator + Enabled + + MaxKernel + + MinKernel + 18.0.0 + BundlePath + AAAMouSSE.kext + ExecutablePath + Contents/MacOS/MouSSE + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + SSE Patcher + Enabled + + MaxKernel + + MinKernel + 18.0.0 + BundlePath + telemetrap.kext + ExecutablePath + Contents/MacOS/telemetrap + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + 4331 Wifi Patch + Enabled + + MaxKernel + + MinKernel + 20.0.0 + BundlePath + AirportBrcmFixup.kext + ExecutablePath + Contents/MacOS/AirportBrcmFixup + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + 4331 Wifi Patch + Enabled + + MaxKernel + + MinKernel + 20.0.0 + BundlePath + AirportBrcmFixup.kext/Contents/PlugIns/AirPortBrcmNIC_Injector.kext + ExecutablePath + + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + Dual Socket Patch + Enabled + + MaxKernel + + MinKernel + 19.0.0 + BundlePath + AppleMCEReporterDisabler.kext + ExecutablePath + + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + BCM Ethernet patch + Enabled + + MaxKernel + + MinKernel + 20.0.0 + BundlePath + CatalinaBCM5701Ethernet.kext + ExecutablePath + Contents/MacOS/CatalinaBCM5701Ethernet + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + Atheros Wifi Patch + Enabled + + MaxKernel + + MinKernel + 18.0.0 + BundlePath + IO80211HighSierra.kext + ExecutablePath + Contents/MacOS/IO80211HighSierra + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + Atheros Wifi Patch + Enabled + + MaxKernel + + MinKernel + 18.0.0 + BundlePath + IO80211HighSierra.kext/Contents/PlugIns/AirPortAtheros40.kext + ExecutablePath + Contents/MacOS/AirPortAtheros40 + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + Broadcom Wifi Patch + Enabled + + MaxKernel + + MinKernel + 19.0.0 + BundlePath + IO80211Mojave.kext + ExecutablePath + Contents/MacOS/IO80211Mojave + PlistPath + Contents/Info.plist + + + Comment + Broadcom Wifi Patch + Enabled + + MaxKernel + + MinKernel + 19.0.0 + BundlePath + IO80211Mojave.kext/Contents/PlugIns/AirPortBrcm4331.kext + ExecutablePath + Contents/MacOS/AirPortBrcm4331 + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + Marvel Ethernet Patch + Enabled + + MaxKernel + + MinKernel + 19.0.0 + BundlePath + MarvelYukonEthernet.kext + ExecutablePath + Contents/MacOS/MarvelYukonEthernet + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + Nvidia Ethernet Patch + Enabled + + MaxKernel + + MinKernel + 19.0.0 + BundlePath + nForceEthernet.kext + ExecutablePath + Contents/MacOS/nForceEthernet + PlistPath + Contents/Info.plist + + + Arch + x86_64 + Comment + USB Map + Enabled + + MaxKernel + + MinKernel + + BundlePath + USB-Map-SMBIOS.kext + ExecutablePath + + PlistPath + Contents/Info.plist + + + Block + + Emulate + + DummyPowerManagement + + Cpuid1Data + + Cpuid1Mask + + MaxKernel + + MinKernel + + + Force + + Patch + + + Arch + x86_64 + Base + _isSingleUser + Comment + Patch IOHIDFamily + Count + 1 + Enabled + + Find + + Identifier + com.apple.iokit.IOHIDFamily + Limit + 0 + Mask + + MaxKernel + + MinKernel + 20.0.0 + Replace + uAEAAADD + ReplaceMask + + Skip + 0 + + + Quirks + + AppleCpuPmCfgLock + + AppleXcpmCfgLock + + AppleXcpmExtraMsrs + + AppleXcpmForceBoost + + CustomSMBIOSGuid + + DisableIoMapper + + DisableLinkeditJettison + + DisableRtcChecksum + + ExtendBTFeatureFlags + + ExternalDiskIcons + + ForceSecureBootScheme + + IncreasePciBarSize + + LapicKernelPanic + + LegacyCommpage + + PanicNoKextDump + + PowerTimeoutKernelPanic + + ThirdPartyDrives + + XhciPortLimit + + + Scheme + + FuzzyMatch + + KernelArch + x86_64 + KernelCache + Auto + + + Misc + + BlessOverride + + Boot + + ConsoleAttributes + 0 + HibernateMode + None + HideAuxiliary + + PickerAttributes + 1 + PickerAudioAssist + + PickerMode + External + PollAppleHotKeys + + ShowPicker + + TakeoffDelay + 0 + Timeout + 5 + + Debug + + AppleDebug + + ApplePanic + + DisableWatchDog + + DisplayDelay + 0 + DisplayLevel + 2147483650 + SerialInit + + SysReport + + Target + 3 + + Entries + + Security + + AllowNvramReset + + AllowSetDefault + + ApECID + 0 + AuthRestart + + BootProtect + Bootstrap + BlacklistAppleUpdate + + DmgLoading + Signed + EnablePassword + + ExposeSensitiveData + 6 + HaltLevel + 2147483648 + PasswordHash + + PasswordSalt + + ScanPolicy + 0 + SecureBootModel + x86legacy + Vault + Optional + + Tools + + + Arguments + + Auxiliary + + Name + BootKicker.efi + Comment + BootKicker.efi + Enabled + + Path + BootKicker.efi + RealPath + + TextMode + + + + Arguments + + Auxiliary + + Name + OpenShell.efi + Comment + OpenShell.efi + Enabled + + Path + OpenShell.efi + RealPath + + TextMode + + + + + NVRAM + + Add + + 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14 + + DefaultBackgroundColor + AAAAAA== + UIScale + AQ== + + 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102 + + rtc-blacklist + + + 7C436110-AB2A-4BBB-A880-FE41995C9F82 + + SystemAudioVolume + Rg== + boot-args + -v keepsyms=1 debug=0x100 + run-efi-updater + No + csr-active-config + AAAAAA== + + + Delete + + 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14 + + UIScale + DefaultBackgroundColor + + 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102 + + rtc-blacklist + + 7C436110-AB2A-4BBB-A880-FE41995C9F82 + + boot-args + + + LegacyEnable + + LegacyOverwrite + + LegacySchema + + 7C436110-AB2A-4BBB-A880-FE41995C9F82 + + EFILoginHiDPI + EFIBluetoothDelay + LocationServicesEnabled + SystemAudioVolume + SystemAudioVolumeDB + SystemAudioVolumeSaved + bluetoothActiveControllerInfo + bluetoothInternalControllerInfo + flagstate + fmm-computer-name + nvda_drv + prev-lang:kbd + + 8BE4DF61-93CA-11D2-AA0D-00E098032B8C + + Boot0080 + Boot0081 + Boot0082 + BootNext + BootOrder + + + WriteFlash + + + PlatformInfo + + Automatic + + CustomMemory + + Generic + + AdviseWindows + + SystemMemoryStatus + Auto + MLB + M0000000000000001 + ProcessorType + 0 + ROM + ESIzRFVm + SpoofVendor + + SystemProductName + iMac19,1 + SystemSerialNumber + W00000000001 + SystemUUID + 00000000-0000-0000-0000-000000000000 + + UpdateDataHub + + UpdateNVRAM + + UpdateSMBIOS + + UpdateSMBIOSMode + Create + + UEFI + + APFS + + EnableJumpstart + + GlobalConnect + + HideVerbose + + JumpstartHotPlug + + MinDate + 0 + MinVersion + 0 + + Audio + + AudioCodec + 0 + AudioDevice + PciRoot(0x0)/Pci(0x1b,0x0) + AudioOut + 0 + AudioSupport + + MinimumVolume + 20 + PlayChime + + VolumeAmplifier + 0 + + ConnectDrivers + + Drivers + + #NvmExpressDxe.efi + #OpenCanopy.efi + OpenRuntime.efi + + Input + + KeyFiltering + + KeyForgetThreshold + 5 + KeyMergeThreshold + 2 + KeySupport + + KeySupportMode + Auto + KeySwap + + PointerSupport + + PointerSupportMode + ASUS + TimerResolution + 50000 + + Output + + ClearScreenOnModeSwitch + + ConsoleMode + + DirectGopRendering + + ForceResolution + + IgnoreTextInGraphics + + ProvideConsoleGop + + ReconnectOnResChange + + ReplaceTabWithSpace + + Resolution + Max + SanitiseClearScreen + + TextRenderer + BuiltinGraphics + UgaPassThrough + + + ProtocolOverrides + + AppleAudio + + AppleBootPolicy + + AppleDebugLog + + AppleEvent + + AppleFramebufferInfo + + AppleImageConversion + + AppleImg4Verification + + AppleKeyMap + + AppleRtcRam + + AppleSecureBoot + + AppleSmcIo + + AppleUserInterfaceTheme + + DataHub + + DeviceProperties + + FirmwareVolume + + HashServices + + OSInfo + + UnicodeCollation + + + Quirks + + DeduplicateBootOrder + + ExitBootServicesDelay + 0 + IgnoreInvalidFlexRatio + + ReleaseUsbOwnership + + RequestBootVarRouting + + TscSyncTimeout + 0 + UnblockFsConnect + + + ReservedMemory + + + + diff --git a/payloads/OpenCore/OpenCore-v0.6.4.zip b/payloads/OpenCore/OpenCore-v0.6.4.zip new file mode 100644 index 000000000..b557f183f Binary files /dev/null and b/payloads/OpenCore/OpenCore-v0.6.4.zip differ