diff --git a/EFI-OpenCore/EFI/OC/ACPI/SSDT-DTPG.aml b/EFI-OpenCore/EFI/OC/ACPI/SSDT-DTPG.aml new file mode 100755 index 0000000..7927097 Binary files /dev/null and b/EFI-OpenCore/EFI/OC/ACPI/SSDT-DTPG.aml differ diff --git a/EFI-OpenCore/EFI/OC/ACPI/SSDT-TB3.aml b/EFI-OpenCore/EFI/OC/ACPI/SSDT-TB3.aml deleted file mode 100755 index 73381d0..0000000 Binary files a/EFI-OpenCore/EFI/OC/ACPI/SSDT-TB3.aml and /dev/null differ diff --git a/EFI-OpenCore/EFI/OC/ACPI/SSDT-Z390-TB3HP.aml b/EFI-OpenCore/EFI/OC/ACPI/SSDT-Z390-TB3HP.aml new file mode 100755 index 0000000..b235c82 Binary files /dev/null and b/EFI-OpenCore/EFI/OC/ACPI/SSDT-Z390-TB3HP.aml differ diff --git a/EFI-OpenCore/EFI/OC/Drivers/TbtForcePower.efi b/EFI-OpenCore/EFI/OC/Drivers/TbtForcePower.efi new file mode 100755 index 0000000..667091f Binary files /dev/null and b/EFI-OpenCore/EFI/OC/Drivers/TbtForcePower.efi differ diff --git a/EFI-OpenCore/EFI/OC/Kexts/IOElectrify.kext/Contents/Info.plist b/EFI-OpenCore/EFI/OC/Kexts/IOElectrify.kext/Contents/Info.plist deleted file mode 100755 index 8f12bd0..0000000 --- a/EFI-OpenCore/EFI/OC/Kexts/IOElectrify.kext/Contents/Info.plist +++ /dev/null @@ -1,108 +0,0 @@ - - - - - BuildMachineOSBuild - 17B48 - CFBundleDevelopmentRegion - en - CFBundleExecutable - IOElectrify - CFBundleIdentifier - org.darkvoid.driver.IOElectrify - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - IOElectrify - CFBundlePackageType - KEXT - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1.0.0 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 9B55 - DTPlatformVersion - GM - DTSDKBuild - 17B41 - DTSDKName - macosx10.13 - DTXcode - 0910 - DTXcodeBuild - 9B55 - IOKitPersonalities - - IOElectrify - - CFBundleIdentifier - org.darkvoid.driver.IOElectrify - IOClass - IOElectrify - IONameMatch - - PNP0C14 - pnp0c14 - - IOProbeScore - 10 - IOPropertyMatch - - _UID - TBFP - - IOProviderClass - IOACPIPlatformDevice - - IOElectrifyBridge - - #CFBundleIdentifier - org.darkvoid.driver.IOElectrify - #IOClass - IOElectrifyBridge - #IOMatchCategory - IOElectrify - #IOPCIClassMatch - 0x06040000&0xffff0000 - #IOPCIPrimaryMatch - 0x76158086 - #IOProbeScore - 10 - #IOProviderClass - IOPCI2PCIBridge - - - OSBundleCompatibleVersion - 1.0.0 - OSBundleLibraries - - com.apple.iokit.IOACPIFamily - 1.0.0d1 - com.apple.iokit.IOPCIFamily - 1.0.0b1 - com.apple.kpi.bsd - 8.0.0 - com.apple.kpi.iokit - 8.0.0 - com.apple.kpi.libkern - 8.0.0 - com.apple.kpi.mach - 8.0.0 - com.apple.kpi.unsupported - 8.0.0 - - OSBundleRequired - Root - Source Code - https://github.com/the-darkvoid/OS-X-IOElectrify - - diff --git a/EFI-OpenCore/EFI/OC/Kexts/IOElectrify.kext/Contents/MacOS/IOElectrify b/EFI-OpenCore/EFI/OC/Kexts/IOElectrify.kext/Contents/MacOS/IOElectrify deleted file mode 100755 index 6845465..0000000 Binary files a/EFI-OpenCore/EFI/OC/Kexts/IOElectrify.kext/Contents/MacOS/IOElectrify and /dev/null differ diff --git a/EFI-OpenCore/EFI/OC/Kexts/ThunderboltReset.kext/Contents/Info.plist b/EFI-OpenCore/EFI/OC/Kexts/ThunderboltReset.kext/Contents/Info.plist new file mode 100755 index 0000000..2de4698 --- /dev/null +++ b/EFI-OpenCore/EFI/OC/Kexts/ThunderboltReset.kext/Contents/Info.plist @@ -0,0 +1,81 @@ + + + + + BuildMachineOSBuild + 18G95 + CFBundleDevelopmentRegion + en + CFBundleExecutable + ThunderboltReset + CFBundleIdentifier + com.osy86.ThunderboltReset + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ThunderboltReset + CFBundlePackageType + KEXT + CFBundleShortVersionString + 1.0.0d1 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.0.0d1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 11B52 + DTPlatformVersion + GM + DTSDKBuild + 19B81 + DTSDKName + macosx10.15 + DTXcode + 1120 + DTXcodeBuild + 11B52 + IOKitPersonalities + + Polaris22Fixup + + CFBundleIdentifier + com.osy86.ThunderboltReset + IOClass + ThunderboltReset + IOMatchCategory + ThunderboltReset + IOProviderClass + IOResources + IOResourceMatch + IOKit + + + LSMinimumSystemVersion + 10.14 + NSHumanReadableCopyright + Copyright © 2019 osy86. All rights reserved. + OSBundleLibraries + + as.vit9696.Lilu + 1.2.0 + 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-OpenCore/EFI/OC/Kexts/ThunderboltReset.kext/Contents/MacOS/ThunderboltReset b/EFI-OpenCore/EFI/OC/Kexts/ThunderboltReset.kext/Contents/MacOS/ThunderboltReset new file mode 100755 index 0000000..5924ffb Binary files /dev/null and b/EFI-OpenCore/EFI/OC/Kexts/ThunderboltReset.kext/Contents/MacOS/ThunderboltReset differ diff --git a/EFI-OpenCore/EFI/OC/Kexts/ThunderboltReset.kext/Contents/_CodeSignature/CodeResources b/EFI-OpenCore/EFI/OC/Kexts/ThunderboltReset.kext/Contents/_CodeSignature/CodeResources new file mode 100755 index 0000000..d5d0fd7 --- /dev/null +++ b/EFI-OpenCore/EFI/OC/Kexts/ThunderboltReset.kext/Contents/_CodeSignature/CodeResources @@ -0,0 +1,115 @@ + + + + + files + + files2 + + 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-OpenCore/EFI/OC/config.plist b/EFI-OpenCore/EFI/OC/config.plist index fb08006..3bc871d 100755 --- a/EFI-OpenCore/EFI/OC/config.plist +++ b/EFI-OpenCore/EFI/OC/config.plist @@ -104,11 +104,19 @@ Comment - Thunderbolt 3 Hotplug + DTPG Enabled Path - SSDT-TB3.aml + SSDT-DTPG.aml + + + Comment + TB3HP + Enabled + + Path + SSDT-Z390-TB3HP.aml Block @@ -1345,13 +1353,13 @@ BundlePath - IOElectrify.kext + RTCMemoryFixup.kext Comment Enabled - + ExecutablePath - Contents/MacOS/IOElectrify + Contents/MacOS/RTCMemoryFixup MaxKernel MinKernel @@ -1361,13 +1369,13 @@ BundlePath - RTCMemoryFixup.kext + ThunderboltReset.kext Comment Enabled ExecutablePath - Contents/MacOS/RTCMemoryFixup + Contents/MacOS/ThunderboltReset MaxKernel MinKernel @@ -1618,6 +1626,7 @@ HFSPlus.efi ApfsDriverLoader.efi FwRuntimeServices.efi + TbtForcePower.efi Input