diff --git a/Bios_Settings/Bios Update/7B51v18.zip b/Bios_Settings/Bios Update/7B51v18.zip new file mode 100755 index 0000000..07a9442 Binary files /dev/null and b/Bios_Settings/Bios Update/7B51v18.zip differ diff --git a/Bios_Settings/Bios Update/E7B51IMS.180 b/Bios_Settings/Bios Update/E7B51IMS.180 new file mode 100755 index 0000000..54e3183 Binary files /dev/null and b/Bios_Settings/Bios Update/E7B51IMS.180 differ diff --git a/Bios_Settings/MSI-Board-Settings-Bios_neueVersion.ocb b/Bios_Settings/Bios Update/MSI-Board-Settings-Bios_7B51v18.ocb similarity index 100% rename from Bios_Settings/MSI-Board-Settings-Bios_neueVersion.ocb rename to Bios_Settings/Bios Update/MSI-Board-Settings-Bios_7B51v18.ocb diff --git a/Bios_Settings/MSI-Board-Settings-Bios.ocb b/Bios_Settings/MSI-Board-Settings-Bios.ocb deleted file mode 100755 index 4dc46b0..0000000 Binary files a/Bios_Settings/MSI-Board-Settings-Bios.ocb and /dev/null differ diff --git a/EFI/BOOT/BOOTx64.efi b/EFI/BOOT/BOOTx64.efi old mode 100755 new mode 100644 index 3ff4fc5..a0eedd2 Binary files a/EFI/BOOT/BOOTx64.efi and b/EFI/BOOT/BOOTx64.efi differ diff --git a/EFI/OC/Drivers/AppleUsbKbDxe.efi b/EFI/OC/Drivers/AppleUsbKbDxe.efi new file mode 100644 index 0000000..65d9020 Binary files /dev/null and b/EFI/OC/Drivers/AppleUsbKbDxe.efi differ diff --git a/EFI/OC/Drivers/FwRuntimeServices.efi b/EFI/OC/Drivers/FwRuntimeServices.efi old mode 100755 new mode 100644 index 2d3a45d..28db15f Binary files a/EFI/OC/Drivers/FwRuntimeServices.efi and b/EFI/OC/Drivers/FwRuntimeServices.efi differ diff --git a/EFI/OC/Drivers/NvmExpressDxe.efi b/EFI/OC/Drivers/NvmExpressDxe.efi new file mode 100644 index 0000000..d8870d7 Binary files /dev/null and b/EFI/OC/Drivers/NvmExpressDxe.efi differ diff --git a/EFI/OC/Drivers/XhciDxe.efi b/EFI/OC/Drivers/XhciDxe.efi new file mode 100644 index 0000000..45d4897 Binary files /dev/null and b/EFI/OC/Drivers/XhciDxe.efi differ diff --git a/EFI/OC/Kexts/AppleALC.kext/Contents/Info.plist b/EFI/OC/Kexts/AppleALC.kext/Contents/Info.plist old mode 100755 new mode 100644 index 7b18f9f..05681f3 --- a/EFI/OC/Kexts/AppleALC.kext/Contents/Info.plist +++ b/EFI/OC/Kexts/AppleALC.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 19C57 + 18E226 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.4.5 + 1.4.6 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,21 +25,21 @@ MacOSX CFBundleVersion - 1.4.5 + 1.4.6 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 11C29 + 10E1001 DTPlatformVersion GM DTSDKBuild - 19B90 + 18E219 DTSDKName - macosx10.15 + macosx10.14 DTXcode - 1130 + 1020 DTXcodeBuild - 11C29 + 10E1001 IOKitPersonalities HDA Hardware Config Resource @@ -48,36 +48,6 @@ com.apple.driver.AppleHDAHardwareConfigDriver HDAConfigDefault - - AFGLowPowerState - - AwAAAA== - - CodecID - 283902610 - Comment - baesar0 -ALC 292 for e6540 with dock - ConfigData - - ASccEAEnHQEBJx6mAScfkAE3HPABNx0AATce - AAE3H0ABRxxAAUcdAQFHHhcBRx+QAUcMAgFX - HFABVx1AAVceKwFXHwIBVwwCAWccgAFnHUAB - Zx4BAWcfAgFnDAIBhxzwAYcdAAGHHgABhx9A - AZccIAGXHZABlx6BAZcfAgGnHHABpx0QAace - qwGnHwIBtxzwAbcdAAG3HgABtx9AAdcc8AHX - HQAB1x4AAdcfQAHnHPAB5x0AAeceAAHnH0A= - - FuncGroup - 1 - LayoutID - 55 - WakeConfigData - - AUcMAg== - - WakeVerbReinit - - AFGLowPowerState @@ -620,6 +590,32 @@ LayoutID 7 + + AFGLowPowerState + + AwAAAA== + + Codec + ALC215 for HP 830 G6 for 965987400abc + CodecID + 283902485 + ConfigData + + AUccEAFHHQEBRx4XAUcfmQIXHCACFx0QAhce + IQIXHwECFwwCASccMAEnHRgBJx6BAScfAQGX + HEABlx0BAZcepgGXH5kBRwwC + + FuncGroup + 1 + LayoutID + 18 + WakeConfigData + + AUcMAg== + + WakeVerbReinit + + AFGLowPowerState @@ -1191,6 +1187,32 @@ WakeVerbReinit + + AFGLowPowerState + + AwAAAA== + + Codec + MacPeet - Realtek ALC235 for ASUS GL553VD + CodecID + 283902517 + ConfigData + + AhccIAIXHRACFx4rAhcfAAG3HDABtx0AAbce + pwG3H5ABlxwwAZcdEAGXHosBlx8BAUccQAFH + HQABRx4XAUcfkAFHDAI= + + FuncGroup + 1 + LayoutID + 16 + WakeConfigData + + AUcMAg== + + WakeVerbReinit + + AFGLowPowerState @@ -4958,6 +4980,36 @@ LayoutID 32 + + AFGLowPowerState + + AwAAAA== + + CodecID + 283902610 + Comment + baesar0 -ALC 292 for e6540 with dock + ConfigData + + ASccEAEnHQEBJx6mAScfkAE3HPABNx0AATce + AAE3H0ABRxxAAUcdAQFHHhcBRx+QAUcMAgFX + HFABVx1AAVceKwFXHwIBVwwCAWccgAFnHUAB + Zx4BAWcfAgFnDAIBhxzwAYcdAAGHHgABhx9A + AZccIAGXHZABlx6BAZcfAgGnHHABpx0QAace + qwGnHwIBtxzwAbcdAAG3HgABtx9AAdcc8AHX + HQAB1x4AAdcfQAHnHPAB5x0AAeceAAHnH0A= + + FuncGroup + 1 + LayoutID + 55 + WakeConfigData + + AUcMAg== + + WakeVerbReinit + + AFGLowPowerState @@ -6333,7 +6385,7 @@ 283903744 ConfigData - AZceYQGXByU= + AZceYQGXByUBtx4R FuncGroup 1 @@ -10755,8 +10807,6 @@ IOKit - LSMinimumSystemVersion - 10.8 NSHumanReadableCopyright Copyright © 2017 vit9696. All rights reserved. OSBundleCompatibleVersion diff --git a/EFI/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC b/EFI/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC index 79a1399..4323424 100755 Binary files a/EFI/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC and b/EFI/OC/Kexts/AppleALC.kext/Contents/MacOS/AppleALC differ diff --git a/EFI/OC/Kexts/AppleALC.kext/Contents/_CodeSignature/CodeResources b/EFI/OC/Kexts/AppleALC.kext/Contents/_CodeSignature/CodeResources deleted file mode 100755 index d5d0fd7..0000000 --- a/EFI/OC/Kexts/AppleALC.kext/Contents/_CodeSignature/CodeResources +++ /dev/null @@ -1,115 +0,0 @@ - - - - - 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/OC/Kexts/SMCBatteryManager.kext/Contents/Info.plist b/EFI/OC/Kexts/SMCBatteryManager.kext/Contents/Info.plist new file mode 100644 index 0000000..83980e2 --- /dev/null +++ b/EFI/OC/Kexts/SMCBatteryManager.kext/Contents/Info.plist @@ -0,0 +1,100 @@ + + + + + BuildMachineOSBuild + 18E226 + CFBundleDevelopmentRegion + en + CFBundleExecutable + SMCBatteryManager + CFBundleIdentifier + ru.usrsse2.SMCBatteryManager + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + SMCBatteryManager + CFBundlePackageType + KEXT + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 10E1001 + DTPlatformVersion + GM + DTSDKBuild + 18E219 + DTSDKName + macosx10.14 + DTXcode + 1020 + DTXcodeBuild + 10E1001 + IOKitPersonalities + + IOSMBusController + + CFBundleIdentifier + ru.usrsse2.SMCBatteryManager + IOClass + SMCSMBusController + IOMatchCategory + SMCSMBusController + IOProviderClass + IOResources + IOResourceMatch + IOKit + + SMCBatteryManager + + CFBundleIdentifier + ru.usrsse2.SMCBatteryManager + IOClass + SMCBatteryManager + IOMatchCategory + SMCBatteryManager + IOProviderClass + IOResources + IOResourceMatch + IOKit + + + NSHumanReadableCopyright + Copyright © 2018 usrsse2. All rights reserved. + OSBundleCompatibleVersion + 1.0.0 + OSBundleLibraries + + as.vit9696.Lilu + 1.2.0 + as.vit9696.VirtualSMC + 1.0.0 + com.apple.iokit.IOACPIFamily + 1.0.0d1 + com.apple.iokit.IOSMBusFamily + 1.0.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/OC/Kexts/SMCBatteryManager.kext/Contents/MacOS/SMCBatteryManager b/EFI/OC/Kexts/SMCBatteryManager.kext/Contents/MacOS/SMCBatteryManager new file mode 100755 index 0000000..5b32c15 Binary files /dev/null and b/EFI/OC/Kexts/SMCBatteryManager.kext/Contents/MacOS/SMCBatteryManager differ diff --git a/EFI/OC/Kexts/SMCLightSensor.kext/Contents/Info.plist b/EFI/OC/Kexts/SMCLightSensor.kext/Contents/Info.plist new file mode 100644 index 0000000..443ea95 --- /dev/null +++ b/EFI/OC/Kexts/SMCLightSensor.kext/Contents/Info.plist @@ -0,0 +1,83 @@ + + + + + BuildMachineOSBuild + 18E226 + CFBundleDevelopmentRegion + en + CFBundleExecutable + SMCLightSensor + CFBundleIdentifier + ru.usrsse2.SMCLightSensor + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + SMCLightSensor + CFBundlePackageType + KEXT + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 10E1001 + DTPlatformVersion + GM + DTSDKBuild + 18E219 + DTSDKName + macosx10.14 + DTXcode + 1020 + DTXcodeBuild + 10E1001 + IOKitPersonalities + + SMCLightSensor + + CFBundleIdentifier + ru.usrsse2.SMCLightSensor + IOClass + SMCLightSensor + IOMatchCategory + SMCLightSensor + IOProviderClass + IOResources + IOResourceMatch + IOKit + + + NSHumanReadableCopyright + Copyright © 2018 vit9696. All rights reserved. + OSBundleCompatibleVersion + 1.0.0 + OSBundleLibraries + + as.vit9696.Lilu + 1.2.0 + as.vit9696.VirtualSMC + 1.0.0 + com.apple.iokit.IOACPIFamily + 1.0.0d1 + 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 + + + diff --git a/EFI/OC/Kexts/SMCLightSensor.kext/Contents/MacOS/SMCLightSensor b/EFI/OC/Kexts/SMCLightSensor.kext/Contents/MacOS/SMCLightSensor new file mode 100755 index 0000000..34da983 Binary files /dev/null and b/EFI/OC/Kexts/SMCLightSensor.kext/Contents/MacOS/SMCLightSensor differ diff --git a/EFI/OC/Kexts/SMCProcessor.kext/Contents/Info.plist b/EFI/OC/Kexts/SMCProcessor.kext/Contents/Info.plist old mode 100755 new mode 100644 index d1e9b36..950c041 --- a/EFI/OC/Kexts/SMCProcessor.kext/Contents/Info.plist +++ b/EFI/OC/Kexts/SMCProcessor.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 19C57 + 18E226 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.1.0 + 1.1.1 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,21 +25,21 @@ MacOSX CFBundleVersion - 1.1.0 + 1.1.1 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 11C29 + 10E1001 DTPlatformVersion GM DTSDKBuild - 19B90 + 18E219 DTSDKName - macosx10.15 + macosx10.14 DTXcode - 1130 + 1020 DTXcodeBuild - 11C29 + 10E1001 IOKitPersonalities as.vit9696.SMCProcessor @@ -63,8 +63,6 @@ ACPI - LSMinimumSystemVersion - 10.8 NSHumanReadableCopyright Copyright © 2018 vit9696. All rights reserved. OSBundleCompatibleVersion diff --git a/EFI/OC/Kexts/SMCProcessor.kext/Contents/MacOS/SMCProcessor b/EFI/OC/Kexts/SMCProcessor.kext/Contents/MacOS/SMCProcessor index 30585df..f7abb25 100755 Binary files a/EFI/OC/Kexts/SMCProcessor.kext/Contents/MacOS/SMCProcessor and b/EFI/OC/Kexts/SMCProcessor.kext/Contents/MacOS/SMCProcessor differ diff --git a/EFI/OC/Kexts/SMCProcessor.kext/Contents/_CodeSignature/CodeResources b/EFI/OC/Kexts/SMCProcessor.kext/Contents/_CodeSignature/CodeResources deleted file mode 100755 index d5d0fd7..0000000 --- a/EFI/OC/Kexts/SMCProcessor.kext/Contents/_CodeSignature/CodeResources +++ /dev/null @@ -1,115 +0,0 @@ - - - - - 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/OC/Kexts/SMCSuperIO.kext/Contents/Info.plist b/EFI/OC/Kexts/SMCSuperIO.kext/Contents/Info.plist old mode 100755 new mode 100644 index b9db83b..ad9e80a --- a/EFI/OC/Kexts/SMCSuperIO.kext/Contents/Info.plist +++ b/EFI/OC/Kexts/SMCSuperIO.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 19C57 + 18E226 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.1.0 + 1.1.1 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,21 +25,21 @@ MacOSX CFBundleVersion - 1.1.0 + 1.1.1 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 11C29 + 10E1001 DTPlatformVersion GM DTSDKBuild - 19B90 + 18E219 DTSDKName - macosx10.15 + macosx10.14 DTXcode - 1130 + 1020 DTXcodeBuild - 11C29 + 10E1001 IOKitPersonalities ru.joedm.SMCSuperIO @@ -58,8 +58,6 @@ ACPI - LSMinimumSystemVersion - 10.8 NSHumanReadableCopyright Copyright © 2018 joedm. All rights reserved. OSBundleCompatibleVersion diff --git a/EFI/OC/Kexts/SMCSuperIO.kext/Contents/MacOS/SMCSuperIO b/EFI/OC/Kexts/SMCSuperIO.kext/Contents/MacOS/SMCSuperIO index 7804c8c..dc5d945 100755 Binary files a/EFI/OC/Kexts/SMCSuperIO.kext/Contents/MacOS/SMCSuperIO and b/EFI/OC/Kexts/SMCSuperIO.kext/Contents/MacOS/SMCSuperIO differ diff --git a/EFI/OC/Kexts/SMCSuperIO.kext/Contents/_CodeSignature/CodeResources b/EFI/OC/Kexts/SMCSuperIO.kext/Contents/_CodeSignature/CodeResources deleted file mode 100755 index d5d0fd7..0000000 --- a/EFI/OC/Kexts/SMCSuperIO.kext/Contents/_CodeSignature/CodeResources +++ /dev/null @@ -1,115 +0,0 @@ - - - - - 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/OC/Kexts/VirtualSMC.kext/Contents/Info.plist b/EFI/OC/Kexts/VirtualSMC.kext/Contents/Info.plist old mode 100755 new mode 100644 index 8882963..25c4488 --- a/EFI/OC/Kexts/VirtualSMC.kext/Contents/Info.plist +++ b/EFI/OC/Kexts/VirtualSMC.kext/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 19C57 + 18E226 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType KEXT CFBundleShortVersionString - 1.1.0 + 1.1.1 CFBundleSignature ???? CFBundleSupportedPlatforms @@ -25,21 +25,21 @@ MacOSX CFBundleVersion - 1.1.0 + 1.1.1 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 11C29 + 10E1001 DTPlatformVersion GM DTSDKBuild - 19B90 + 18E219 DTSDKName - macosx10.15 + macosx10.14 DTXcode - 1130 + 1020 DTXcodeBuild - 11C29 + 10E1001 IOKitPersonalities as.vit9696.VirtualSMC @@ -381,8 +381,6 @@ - LSMinimumSystemVersion - 10.8 NSHumanReadableCopyright Copyright © 2017 vit9696. All rights reserved. OSBundleCompatibleVersion diff --git a/EFI/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC b/EFI/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC index dc3b0f5..7d48a4f 100755 Binary files a/EFI/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC and b/EFI/OC/Kexts/VirtualSMC.kext/Contents/MacOS/VirtualSMC differ diff --git a/EFI/OC/Kexts/VirtualSMC.kext/Contents/_CodeSignature/CodeResources b/EFI/OC/Kexts/VirtualSMC.kext/Contents/_CodeSignature/CodeResources deleted file mode 100755 index d5d0fd7..0000000 --- a/EFI/OC/Kexts/VirtualSMC.kext/Contents/_CodeSignature/CodeResources +++ /dev/null @@ -1,115 +0,0 @@ - - - - - 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/OC/OpenCore.efi b/EFI/OC/OpenCore.efi old mode 100755 new mode 100644 index fb11463..9a9fe63 Binary files a/EFI/OC/OpenCore.efi and b/EFI/OC/OpenCore.efi differ diff --git a/EFI/OC/Tools/BootInstall/BootInstall.command b/EFI/OC/Tools/BootInstall/BootInstall.command new file mode 100755 index 0000000..ad8395a --- /dev/null +++ b/EFI/OC/Tools/BootInstall/BootInstall.command @@ -0,0 +1,44 @@ +#!/bin/bash + +cd "$(dirname "$0")" +diskutil list +echo "Enter disk number to install to:" +read N + +if [[ ! $(diskutil info disk${N} | sed -n 's/.*Device Node: *//p') ]] +then + echo Disk $N not found + exit +fi + +FS=$(diskutil info disk${N}s1 | sed -n 's/.*File System Personality: *//p') +echo $FS + +if [ "$FS" != "MS-DOS FAT32" ] +then + echo "No FAT32 partition to install" + exit +fi + +# Write MBR +sudo fdisk -f boot0af -u /dev/rdisk${N} + +diskutil umount disk${N}s1 +sudo dd if=/dev/rdisk${N}s1 count=1 of=origbs +cp -v boot1f32 newbs +sudo dd if=origbs of=newbs skip=3 seek=3 bs=1 count=87 conv=notrunc +sudo dd if=newbs of=/dev/rdisk${N}s1 +diskutil mount disk${N}s1 + +cp -v boot "$(diskutil info disk${N}s1 | sed -n 's/.*Mount Point: *//p')" + +if [ $(diskutil info disk${N} | sed -n 's/.*Content (IOContent): *//p') == "FDisk_partition_scheme" ] +then +sudo fdisk -e /dev/rdisk$N <<-MAKEACTIVE +p +f 1 +w +y +q +MAKEACTIVE +fi diff --git a/EFI/OC/Tools/BootInstall/README.md b/EFI/OC/Tools/BootInstall/README.md new file mode 100644 index 0000000..3081c8c --- /dev/null +++ b/EFI/OC/Tools/BootInstall/README.md @@ -0,0 +1,7 @@ +BootInstall +=========== + +This tool installs legacy DuetPkg environment on GPT-formatted disk +to enable UEFI environment on BIOS-based systems. + +Source code: https://sourceforge.net/p/cloverefiboot diff --git a/EFI/OC/Tools/BootInstall/boot b/EFI/OC/Tools/BootInstall/boot new file mode 100755 index 0000000..8fe927f Binary files /dev/null and b/EFI/OC/Tools/BootInstall/boot differ diff --git a/EFI/OC/Tools/BootInstall/boot0af b/EFI/OC/Tools/BootInstall/boot0af new file mode 100644 index 0000000..41a173f Binary files /dev/null and b/EFI/OC/Tools/BootInstall/boot0af differ diff --git a/EFI/OC/Tools/BootInstall/boot1f32 b/EFI/OC/Tools/BootInstall/boot1f32 new file mode 100644 index 0000000..414722c Binary files /dev/null and b/EFI/OC/Tools/BootInstall/boot1f32 differ diff --git a/EFI/OC/Tools/CleanNvram.efi b/EFI/OC/Tools/CleanNvram.efi old mode 100755 new mode 100644 index 7850a7b..2aea4a6 Binary files a/EFI/OC/Tools/CleanNvram.efi and b/EFI/OC/Tools/CleanNvram.efi differ diff --git a/EFI/OC/Tools/LogoutHook/LogoutHook.command b/EFI/OC/Tools/LogoutHook/LogoutHook.command index 666aad7..c463e6c 100755 --- a/EFI/OC/Tools/LogoutHook/LogoutHook.command +++ b/EFI/OC/Tools/LogoutHook/LogoutHook.command @@ -1,11 +1,19 @@ #!/bin/sh # -# Copyright © 2019 Rodion Shingarev. All rights reserved. +# Copyright © 2020 Rodion Shingarev. All rights reserved. # Slight optimizations by PMheart and vit9696. # -if [ ! -x /usr/bin/dirname ] || [ ! -x /usr/sbin/nvram ] || [ ! -x /usr/bin/grep ] || [ ! -x /bin/chmod ] || [ ! -x /usr/bin/sed ] || [ ! -x /usr/bin/base64 ] || [ ! -x /bin/rm ] || [ ! -x /bin/mkdir ] || [ ! -x /bin/cat ] || [ ! -x /bin/dd ] || [ ! -x /usr/bin/stat ] || [ ! -x /usr/libexec/PlistBuddy ] || [ ! -x /usr/sbin/ioreg ] || [ ! -x /usr/bin/xxd ] || [ ! -x /usr/sbin/diskutil ] || [ ! -x /bin/cp ] || [ ! -x /usr/bin/wc ] || [ ! -x /usr/bin/uuidgen ]; then +if [ "$1" = "install" ]; then + SELFNAME=$(basename "$0") + SELFDIR=$(dirname "$0") + cd "$SELFDIR" || exit 1 + sudo defaults write com.apple.loginwindow LogoutHook "$(pwd)/${SELFNAME}" + exit 0 +fi + +if [ ! -x /usr/bin/dirname ] || [ ! -x /usr/sbin/nvram ] || [ ! -x /usr/bin/grep ] || [ ! -x /bin/chmod ] || [ ! -x /usr/bin/sed ] || [ ! -x /usr/bin/base64 ] || [ ! -x /bin/rm ] || [ ! -x /bin/mkdir ] || [ ! -x /bin/cat ] || [ ! -x /bin/dd ] || [ ! -x /usr/bin/stat ] || [ ! -x /usr/libexec/PlistBuddy ] || [ ! -x /usr/sbin/ioreg ] || [ ! -x /usr/bin/xxd ] || [ ! -x /usr/sbin/diskutil ] || [ ! -x /bin/cp ] || [ ! -x /usr/bin/wc ] || [ ! -x /usr/bin/uuidgen ] || [ ! -x /usr/bin/hexdump ]; then abort "Unix environment is broken!" fi @@ -45,20 +53,28 @@ cd "${uuidDump}" || abort "Failed to enter dump directory!" "${nvram}" -xp > ./nvram1.plist || abort "Failed to dump nvram!" -getKey '8BE4DF61-93CA-11D2-AA0D-00E098032B8C:Boot0080' > ./Boot0080 -if [ ! -z "$(/bin/cat ./Boot0080)" ]; then - getKey 'efi-boot-device-data' > efi-boot-device-data || abort "Failed to retrieve efi-boot-device-data!" +getKey "8BE4DF61-93CA-11D2-AA0D-00E098032B8C:Boot0080" > Boot0080 +getKey "efi-boot-device-data" > efi-boot-device-data +if [ ! -z "$(/bin/cat "Boot0080" | /usr/bin/hexdump)" ] && [ ! -z "$(/bin/cat "efi-boot-device-data" | /usr/bin/hexdump )" ]; then /bin/dd seek=24 if=efi-boot-device-data of=Boot0080 bs=1 count=$(/usr/bin/stat -f%z efi-boot-device-data) || abort "Failed to fill Boot0080 with efi-boot-device-data!" /usr/libexec/PlistBuddy -c "Import Add:8BE4DF61-93CA-11D2-AA0D-00E098032B8C:Boot0080 Boot0080" ./nvram.plist || abort "Failed to import Boot0080!" fi -for key in BootOrder BootCurrent BootNext Boot008{1..3}; do +for key in BootOrder BootNext Boot008{1..3}; do getKey "8BE4DF61-93CA-11D2-AA0D-00E098032B8C:${key}" > "${key}" - if [ ! -z "$(/bin/cat "${key}")" ]; then + if [ ! -z "$(/bin/cat "${key}" | /usr/bin/hexdump)" ]; then /usr/libexec/PlistBuddy -c "Import Add:8BE4DF61-93CA-11D2-AA0D-00E098032B8C:${key} ${key}" ./nvram.plist || abort "Failed to import ${key} from 8BE4DF61-93CA-11D2-AA0D-00E098032B8C!" fi done +# Optional for security reasons: Wi-Fi settings for Install OS X and Recovery +# for key in current-network preferred-count; do +# getKey "36C28AB5-6566-4C50-9EBD-CBB920F83843:${key}" > "${key}" +# if [ ! -z "$(/bin/cat "${key}" | /usr/bin/hexdump)" ]; then +# /usr/libexec/PlistBuddy -c "Import Add:36C28AB5-6566-4C50-9EBD-CBB920F83843:${key} ${key}" ./nvram.plist || abort "Failed to import ${key} from 36C28AB5-6566-4C50-9EBD-CBB920F83843!" +# fi +# done + /usr/libexec/PlistBuddy -c "Add Version integer 1" ./nvram.plist || abort "Failed to add Version!" /usr/libexec/PlistBuddy -c "Add Add:7C436110-AB2A-4BBB-A880-FE41995C9F82 dict" ./nvram.plist || abort "Failed to add dict 7C436110-AB2A-4BBB-A880-FE41995C9F82" /usr/libexec/PlistBuddy -c "Merge nvram1.plist Add:7C436110-AB2A-4BBB-A880-FE41995C9F82" ./nvram.plist || abort "Failed to merge with nvram1.plist!" diff --git a/EFI/OC/Tools/LogoutHook/README.md b/EFI/OC/Tools/LogoutHook/README.md old mode 100755 new mode 100644 index a8a3391..039b1b4 --- a/EFI/OC/Tools/LogoutHook/README.md +++ b/EFI/OC/Tools/LogoutHook/README.md @@ -4,5 +4,9 @@ LogoutHook ## Installation ```sudo defaults write com.apple.loginwindow LogoutHook /path/to/LogoutHook.command``` +or + +```/path/to/LogoutHook.command install``` + ## Notes `LogoutHook.command` highly depends on macOS `nvram` utility supporting `-x` option, which is unavailable on 10.12 and below. (Our `nvram.mojave` somehow fixes that issue by invoking it instead of system one) \ No newline at end of file diff --git a/EFI/OC/Tools/VerifyMsrE2.efi b/EFI/OC/Tools/VerifyMsrE2.efi old mode 100755 new mode 100644 index 15c291f..ebffe92 Binary files a/EFI/OC/Tools/VerifyMsrE2.efi and b/EFI/OC/Tools/VerifyMsrE2.efi differ