diff --git a/EFI/OC/Kexts/AirportBrcmFixup.kext/Contents/Info.plist b/EFI/OC/Kexts/AirportBrcmFixup.kext/Contents/Info.plist index 6c69103..fd2b418 100755 --- a/EFI/OC/Kexts/AirportBrcmFixup.kext/Contents/Info.plist +++ b/EFI/OC/Kexts/AirportBrcmFixup.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 20G624 + 21G419 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 2.1.6 + 2.1.7 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,23 +25,23 @@ MacOSX CFBundleVersion - 2.1.6 + 2.1.7 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 13C100 + 13F100 DTPlatformName macosx DTPlatformVersion - 12.1 + 12.3 DTSDKBuild - 21C46 + 21E226 DTSDKName - macosx12.1 + macosx12.3 DTXcode - 1321 + 1341 DTXcodeBuild - 13C100 + 13F100 IOKitPersonalities as.lvs1974.AirportBrcmFixup diff --git a/EFI/OC/Kexts/AirportBrcmFixup.kext/Contents/MacOS/AirportBrcmFixup b/EFI/OC/Kexts/AirportBrcmFixup.kext/Contents/MacOS/AirportBrcmFixup index 454ed09..d66d717 100755 Binary files a/EFI/OC/Kexts/AirportBrcmFixup.kext/Contents/MacOS/AirportBrcmFixup and b/EFI/OC/Kexts/AirportBrcmFixup.kext/Contents/MacOS/AirportBrcmFixup differ diff --git a/EFI/OC/Kexts/AppleIGC.kext/Contents/Info.plist b/EFI/OC/Kexts/AppleIGC.kext/Contents/Info.plist new file mode 100755 index 0000000..bd618d3 --- /dev/null +++ b/EFI/OC/Kexts/AppleIGC.kext/Contents/Info.plist @@ -0,0 +1,98 @@ + + + + + BuildMachineOSBuild + 21G217 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppleIGC + CFBundleIdentifier + com.sxx.AppleIGC + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppleIGC + CFBundlePackageType + KEXT + CFBundleShortVersionString + 1.1 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.1d1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 14C18 + DTPlatformName + macosx + DTPlatformVersion + 13.1 + DTSDKBuild + 22C55 + DTSDKName + macosx13.1 + DTXcode + 1420 + DTXcodeBuild + 14C18 + IOKitPersonalities + + i225 + + CFBundleIdentifier + com.sxx.AppleIGC + IOClass + AppleIGC + IOPCIMatch + 0x15f28086 0x15f38086 0x15f88086 + IOProbeScore + 4000 + IOProviderClass + IOPCIDevice + NETIF_F_TSO + + + i226 + + CFBundleIdentifier + com.sxx.AppleIGC + IOClass + AppleIGC + IOPCIMatch + 0x125c8086 0x125b8086 0x125d8086 0x31028086 + IOProbeScore + 4000 + IOProviderClass + IOPCIDevice + NETIF_F_TSO + + + + LSMinimumSystemVersion + 10.13 + 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 + Root + + diff --git a/EFI/OC/Kexts/AppleIGC.kext/Contents/MacOS/AppleIGC b/EFI/OC/Kexts/AppleIGC.kext/Contents/MacOS/AppleIGC new file mode 100755 index 0000000..a753a17 Binary files /dev/null and b/EFI/OC/Kexts/AppleIGC.kext/Contents/MacOS/AppleIGC differ diff --git a/EFI/OC/Kexts/AppleIGC.kext/Contents/Resources/README.md b/EFI/OC/Kexts/AppleIGC.kext/Contents/Resources/README.md new file mode 100755 index 0000000..8293829 --- /dev/null +++ b/EFI/OC/Kexts/AppleIGC.kext/Contents/Resources/README.md @@ -0,0 +1,11 @@ +# AppleIGC + +Intel 2.5G Ethernet driver for macOS. Based on the Intel igc implementation in Linux commit 0bf913e07b377cfc288cfe488ca30b7d67059d8a. + +In theory, it will have better performance than the AppleEthernetE1000 driver implemented in user space. It's also more stable for me, since macOS Monterey's AppleEthernetE1000 on i226-V immediately causes a kernel panic. + +Only test on macOS Monterey 12.6.1 with Intel i226-V for days. +It should work on other versions macOS and all igc compliant devices(i225, i226 and others) whose PCI id may not be filled in the IOPCIMatch. (You can fill it out yourself to test.) Use at your own risk. + +## Known Issues +- Only work in auto-negotiation mode. "Force mode currently not supported." (from `igc_ethtool_set_link_ksettings()` in igc_ethtool.c) diff --git a/EFI/OC/Kexts/AppleIGC.kext/Contents/_CodeSignature/CodeResources b/EFI/OC/Kexts/AppleIGC.kext/Contents/_CodeSignature/CodeResources new file mode 100755 index 0000000..d66dc87 --- /dev/null +++ b/EFI/OC/Kexts/AppleIGC.kext/Contents/_CodeSignature/CodeResources @@ -0,0 +1,132 @@ + + + + + files + + Resources/README.md + + QzQPGJBI4JtH9NOs5QR3nRKhCyg= + + + files2 + + Resources/README.md + + hash + + QzQPGJBI4JtH9NOs5QR3nRKhCyg= + + hash2 + + DSYqKvl1hlB/oAGG4uKyAMlbfMx8PxqBoLogsytSw4Q= + + + + rules + + ^Resources/ + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^Resources/ + + weight + 20 + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/Info.plist b/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/Info.plist deleted file mode 100755 index 4e1d0a1..0000000 --- a/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/Info.plist +++ /dev/null @@ -1,138 +0,0 @@ - - - - - BuildMachineOSBuild - 20A241133 - CFBundleDevelopmentRegion - English - CFBundleExecutable - AppleIntelI210Ethernet - CFBundleGetInfoString - Apple Intel I210 Ethernet, Copyright 2013-2016 Apple Inc. - CFBundleIdentifier - com.apple.driver.AppleIntelI210Ethernet - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - com.apple.driver.AppleIntelI210Ethernet - CFBundlePackageType - KEXT - CFBundleShortVersionString - 2.3.1 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 2.3.1 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 21F69 - DTPlatformName - macosx - DTPlatformVersion - 12.4 - DTSDKBuild - 21F69 - DTSDKName - macosx12.4.internal - DTXcode - 1330 - DTXcodeBuild - 13E6049a - IOKitPersonalities - - AppleIntelI210 - - CFBundleIdentifier - com.apple.driver.AppleIntelI210Ethernet - IOClass - AppleIntelI210 - IOMatchDefer - - IOPCIPrimaryMatch - 0x15338086 - IOPCITunnelCompatible - - IOPCIUseDeviceMapper - - IOProbeScore - 1000 - IOProviderClass - IOPCIDevice - IOResourceMatch - IOKit - IOUserClient - mDNSI210OffloadUserClient - OSObject - mDNSI210Handoff - fetch_delay - 70000 - - AppleIntelI225 - - CFBundleIdentifier - com.apple.driver.AppleIntelI210Ethernet - IOClass - AppleIntelI210 - IOMatchDefer - - IONameMatch - - pci8086,15f2 - pci8086,15f3 - pci8086,3100 - pci8086,3101 - pci8086,5502 - pci8086,d9f - pci8086,15f8 - pci8086,15f7 - pci8086,15fd - - IOPCITunnelCompatible - - IOPCIUseDeviceMapper - - IOProbeScore - 1000 - IOProviderClass - IOPCIDevice - IOUserClient - mDNSI210OffloadUserClient - OSObject - mDNSI210Handoff - fetch_delay - 70000 - - - LSMinimumSystemVersion - 12.4 - NSHumanReadableCopyright - Copyright © 2016 Apple Inc. All rights reserved. - OSBundleLibraries - - com.apple.driver.mDNSOffloadUserClient - 1.0.0d7 - com.apple.iokit.IOEthernetAVBController - 1.0.3b2 - com.apple.iokit.IONetworkingFamily - 1.5 - com.apple.iokit.IOPCIFamily - 1.7 - com.apple.kpi.bsd - 13.0.0 - com.apple.kpi.iokit - 13.0.0 - com.apple.kpi.libkern - 13.0.0 - com.apple.kpi.mach - 13.0.0 - - OSBundleRequired - Network-Root - - diff --git a/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/MacOS/AppleIntelI210Ethernet b/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/MacOS/AppleIntelI210Ethernet deleted file mode 100755 index b2c6dde..0000000 Binary files a/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/MacOS/AppleIntelI210Ethernet and /dev/null differ diff --git a/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/_CodeSignature/CodeResources b/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/_CodeSignature/CodeResources deleted file mode 100755 index c4832a0..0000000 --- a/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/_CodeSignature/CodeResources +++ /dev/null @@ -1,37 +0,0 @@ - - - - - files - - files2 - - rules - - ^PlugIns/ - - omit - - weight - 200 - - - rules2 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 0.0 - - ^PlugIns/ - - omit - - weight - 200 - - - - diff --git a/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/version.plist b/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/version.plist deleted file mode 100755 index 7854c9c..0000000 --- a/EFI/OC/Kexts/AppleIntelI210Ethernet.kext/Contents/version.plist +++ /dev/null @@ -1,16 +0,0 @@ - - - - - BuildVersion - 363 - CFBundleShortVersionString - 2.3.1 - CFBundleVersion - 2.3.1 - ProjectName - AppleIntelI210Ethernet - SourceVersion - 269100006000000 - - diff --git a/EFI/OC/Kexts/FeatureUnlock.kext/Contents/Info.plist b/EFI/OC/Kexts/FeatureUnlock.kext/Contents/Info.plist new file mode 100755 index 0000000..9e6519e --- /dev/null +++ b/EFI/OC/Kexts/FeatureUnlock.kext/Contents/Info.plist @@ -0,0 +1,83 @@ + + + + + BuildMachineOSBuild + 21G419 + CFBundleDevelopmentRegion + en + CFBundleExecutable + FeatureUnlock + CFBundleIdentifier + com.khronokernel.FeatureUnlock + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FeatureUnlock + CFBundlePackageType + KEXT + CFBundleShortVersionString + 1.1.4 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.1.4 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 13F100 + DTPlatformName + macosx + DTPlatformVersion + 12.3 + DTSDKBuild + 21E226 + DTSDKName + macosx12.3 + DTXcode + 1341 + DTXcodeBuild + 13F100 + IOKitPersonalities + + FeatureUnlock + + CFBundleIdentifier + com.khronokernel.FeatureUnlock + IOClass + FeatureUnlock + IOMatchCategory + FeatureUnlock + IOProviderClass + IOResources + IOResourceMatch + IOKit + + + LSMinimumSystemVersion + 10.14 + NSHumanReadableCopyright + Copyright © 2021 Khronokernel. All rights reserved. + OSBundleLibraries + + as.vit9696.Lilu + 1.4.7 + com.apple.kpi.bsd + 12.0.0 + com.apple.kpi.dsep + 12.0.0 + com.apple.kpi.iokit + 12.0.0 + com.apple.kpi.libkern + 12.0.0 + com.apple.kpi.mach + 12.0.0 + com.apple.kpi.unsupported + 12.0.0 + + OSBundleRequired + Root + + diff --git a/EFI/OC/Kexts/FeatureUnlock.kext/Contents/MacOS/FeatureUnlock b/EFI/OC/Kexts/FeatureUnlock.kext/Contents/MacOS/FeatureUnlock new file mode 100755 index 0000000..b70d24f Binary files /dev/null and b/EFI/OC/Kexts/FeatureUnlock.kext/Contents/MacOS/FeatureUnlock differ diff --git a/EFI/OC/Kexts/RestrictEvents.kext/Contents/Info.plist b/EFI/OC/Kexts/RestrictEvents.kext/Contents/Info.plist index 570d852..8433049 100755 --- a/EFI/OC/Kexts/RestrictEvents.kext/Contents/Info.plist +++ b/EFI/OC/Kexts/RestrictEvents.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 20G624 + 21G531 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,29 +17,29 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.0.8 + 1.1.1 CFBundleSupportedPlatforms MacOSX CFBundleVersion - 1.0.8 + 1.1.1 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 13C100 + 13F100 DTPlatformName macosx DTPlatformVersion - 12.1 + 12.3 DTSDKBuild - 21C46 + 21E226 DTSDKName - macosx12.1 + macosx12.3 DTXcode - 1321 + 1341 DTXcodeBuild - 13C100 + 13F100 IOKitPersonalities as.vit9696.RestrictEfiCheck diff --git a/EFI/OC/Kexts/RestrictEvents.kext/Contents/MacOS/RestrictEvents b/EFI/OC/Kexts/RestrictEvents.kext/Contents/MacOS/RestrictEvents index c298285..5420273 100755 Binary files a/EFI/OC/Kexts/RestrictEvents.kext/Contents/MacOS/RestrictEvents and b/EFI/OC/Kexts/RestrictEvents.kext/Contents/MacOS/RestrictEvents differ diff --git a/EFI/OC/config.plist b/EFI/OC/config.plist index 25efc3e..5384cbd 100755 --- a/EFI/OC/config.plist +++ b/EFI/OC/config.plist @@ -18,7 +18,7 @@ Comment Enable Intel I225 NIC Enabled - + Path SSDT-I225V.aml @@ -270,44 +270,6 @@ model Radeon RX 5600 XT - PciRoot(0x0)/Pci(0x1B,0x2)/Pci(0x0,0x0) - - #device-id - 8xWGgA== - device_type - Ethernet controller - model - Intel i225-V - vendor-id - h4AAAA== - - PciRoot(0x0)/Pci(0x14,0x0) - - AAPL,slot-name - Internal@0,20,0 - device_type - USB controller - model - GIGABYTE Z590 Vision G USB 3.2 XHCI Host Controller - - PciRoot(0x0)/Pci(0x17,0x0) - - AAPL,slot-name - Internal@0,23,0 - device_type - SATA controller - model - GIGABYTE Z590 Vision G PCH SATA AHCI Controller - - PciRoot(0x0)/Pci(0x1B,0x4)/Pci(0x0,0x0) - - AAPL,slot-name - Internal@0,27,4/0,0 - device_type - Network controller - model - BCM4360 802.11ac Wireless Network Adapter - Delete @@ -352,6 +314,78 @@ PlistPath Contents/Info.plist + + Arch + Any + BundlePath + AirportBrcmFixup.kext + Comment + + Enabled + + ExecutablePath + Contents/MacOS/AirportBrcmFixup + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Arch + Any + BundlePath + AirportBrcmFixup.kext/Contents/PlugIns/AirPortBrcm4360_Injector.kext + Comment + + Enabled + + ExecutablePath + + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Arch + Any + BundlePath + AirportBrcmFixup.kext/Contents/PlugIns/AirPortBrcmNIC_Injector.kext + Comment + + Enabled + + ExecutablePath + + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + + + Arch + Any + BundlePath + AppleIGC.kext + Comment + + Enabled + + ExecutablePath + Contents/MacOS/AppleIGC + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + Arch Any @@ -374,13 +408,13 @@ Arch Any BundlePath - AppleIntelI210Ethernet.kext + BrcmFirmwareRepo.kext Comment Enabled ExecutablePath - Contents/MacOS/AppleIntelI210Ethernet + Contents/MacOS/BrcmFirmwareRepo MaxKernel MinKernel @@ -406,6 +440,24 @@ PlistPath Contents/Info.plist + + Arch + Any + BundlePath + FeatureUnlock.kext + Comment + + Enabled + + ExecutablePath + Contents/MacOS/FeatureUnlock + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + Arch Any @@ -536,13 +588,13 @@ Arch Any BundlePath - WhateverGreen.kext + USBWakeFixup.kext Comment Enabled ExecutablePath - Contents/MacOS/WhateverGreen + Contents/MacOS/USBWakeFixup MaxKernel MinKernel @@ -554,13 +606,13 @@ Arch Any BundlePath - USBWakeFixup.kext + WhateverGreen.kext Comment - Fix for ACPI device with the right wakeup params (systems without a working EC) [USBWakeFixup] + Enabled ExecutablePath - Contents/MacOS/USBWakeFixup + Contents/MacOS/WhateverGreen MaxKernel MinKernel @@ -1232,7 +1284,7 @@ SystemAudioVolume Rg== boot-args - -v keepsyms=1 swd_panic=1 debug=0x100 npci=0x2000 watchdog=0 agdpmod=pikera e1000=0 -lilubetaall + -v keepsyms=1 swd_panic=1 debug=0x100 npci=0x2000 watchdog=0 agdpmod=pikera -lilubetaall csr-active-config 7w8AAA== prev-lang:kbd diff --git a/README.md b/README.md index 5388f64..d133f5d 100644 --- a/README.md +++ b/README.md @@ -49,3 +49,66 @@ Boot Preferred Operating Mode : Auto - CSM Support : Disabled ``` + +--- + +### EFI + +#### Config + +11 Gen CPU + +```xml +Emulate + + Cpuid1Data + 6wYJAAAAAAAAAAAAAAAAAA== + Cpuid1Mask + /////wAAAAAAAAAAAAAAAA== + DummyPowerManagement + + MaxKernel + + MinKernel + + +``` + +#### Kexts + +| Kext | Version| Author | +|:------------------------------------:|:------:|:------------------------------------------------------------------------------------------------------------------ | +| XHCI-unsupported.kext | 0.9.2 | [RehabMan/OS-X-USB-Inject-All](https://github.com/RehabMan/OS-X-USB-Inject-All/tree/master/XHCI-unsupported.kext) | +| AirportBrcmFixup.kext | 2.1.7 | [acidanthera/AirportBrcmFixup](https://github.com/acidanthera/AirportBrcmFixup/releases) | +| Lilu.kext | 1.6.4 | [acidanthera/Lilu](https://github.com/acidanthera/Lilu/releases) | +| RestrictEvents.kext | 1.1.1 | [acidanthera/RestrictEvents](https://github.com/acidanthera/RestrictEvents) | +| SMCProcessor.kext | 1.3.1 | [acidanthera/VirtualSMC](https://github.com/acidanthera/VirtualSMC/releases) | +| SMCSuperIO.kext | 1.3.1 | [acidanthera/VirtualSMC](https://github.com/acidanthera/VirtualSMC/releases) | +| VirtualSMC.kext | 1.3.1 | [acidanthera/VirtualSMC](https://github.com/acidanthera/VirtualSMC/releases) | +| AppleIntelI210Ethernet.kext | 2.3.1 | | +| AppleIGC | 1.0.0 | [SongXiaoXi/AppleIGC](https://github.com/SongXiaoXi/AppleIGC) | +| FeatureUnlock.kext | 1.1.4 | [acidanthera/FeatureUnlock](https://github.com/acidanthera/FeatureUnlock/releases) | + + +--- + +### Update macOS + +Check the official update-guide: [OpenCore-Post-Install/update](https://dortania.github.io/OpenCore-Post-Install/universal/update.html) + +1. Backup + - Full system backup with `Time Machine` or similar software + - Copy current EFI to OpenCore USB-Drive for recovery purpose +2. Download + - Latest version of OpenCore and replace files in EFI + - Updates for all installed kexts and replace in EFI +3. Reboot + - Boot with updated OpenCore version and kexts + - If the system doesn't boot, use OpenCore USB-Drive to roll back +4. Update + - Start macOS Update from `System Settings` -> `Software Update` + - With OpenCore the update process should work automatically + - If `Software Update` shows `Mac version is up to date`, download macOS Installer from AppStore and start the update manually + +If the system doesn't boot, try to fix the problem or revert to the latest EFI or system-backup. +