1
0
Fork 0
mirror of https://github.com/tylernguyen/x1c6-hackintosh.git synced 2025-02-05 09:33:13 -06:00

Updated OpenCore to 0.5.5 and Updated kexts

This commit is contained in:
Tyler Nguyen 2020-02-04 14:57:09 -06:00
parent ee482f5b86
commit 67affba3c4
No known key found for this signature in database
GPG key ID: DB5B102B914991DA
39 changed files with 224 additions and 67 deletions

Binary file not shown.

View file

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.4.5</string>
<string>1.4.6</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,7 +25,7 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.4.5</string>
<string>1.4.6</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
@ -48,36 +48,6 @@
<string>com.apple.driver.AppleHDAHardwareConfigDriver</string>
<key>HDAConfigDefault</key>
<array>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>CodecID</key>
<integer>283902610</integer>
<key>Comment</key>
<string>baesar0 -ALC 292 for e6540 with dock</string>
<key>ConfigData</key>
<data>
ASccEAEnHQEBJx6mAScfkAE3HPABNx0AATce
AAE3H0ABRxxAAUcdAQFHHhcBRx+QAUcMAgFX
HFABVx1AAVceKwFXHwIBVwwCAWccgAFnHUAB
Zx4BAWcfAgFnDAIBhxzwAYcdAAGHHgABhx9A
AZccIAGXHZABlx6BAZcfAgGnHHABpx0QAace
qwGnHwIBtxzwAbcdAAG3HgABtx9AAdcc8AHX
HQAB1x4AAdcfQAHnHPAB5x0AAeceAAHnH0A=
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>55</integer>
<key>WakeConfigData</key>
<data>
AUcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
@ -620,6 +590,32 @@
<key>LayoutID</key>
<integer>7</integer>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>ALC215 for HP 830 G6 for 965987400abc</string>
<key>CodecID</key>
<integer>283902485</integer>
<key>ConfigData</key>
<data>
AUccEAFHHQEBRx4XAUcfmQIXHCACFx0QAhce
IQIXHwECFwwCASccMAEnHRgBJx6BAScfAQGX
HEABlx0BAZcepgGXH5kBRwwC
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>18</integer>
<key>WakeConfigData</key>
<data>
AUcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
@ -1191,6 +1187,32 @@
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>MacPeet - Realtek ALC235 for ASUS GL553VD</string>
<key>CodecID</key>
<integer>283902517</integer>
<key>ConfigData</key>
<data>
AhccIAIXHRACFx4rAhcfAAG3HDABtx0AAbce
pwG3H5ABlxwwAZcdEAGXHosBlx8BAUccQAFH
HQABRx4XAUcfkAFHDAI=
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>16</integer>
<key>WakeConfigData</key>
<data>
AUcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
@ -4958,6 +4980,36 @@
<key>LayoutID</key>
<integer>32</integer>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>CodecID</key>
<integer>283902610</integer>
<key>Comment</key>
<string>baesar0 -ALC 292 for e6540 with dock</string>
<key>ConfigData</key>
<data>
ASccEAEnHQEBJx6mAScfkAE3HPABNx0AATce
AAE3H0ABRxxAAUcdAQFHHhcBRx+QAUcMAgFX
HFABVx1AAVceKwFXHwIBVwwCAWccgAFnHUAB
Zx4BAWcfAgFnDAIBhxzwAYcdAAGHHgABhx9A
AZccIAGXHZABlx6BAZcfAgGnHHABpx0QAace
qwGnHwIBtxzwAbcdAAG3HgABtx9AAdcc8AHX
HQAB1x4AAdcfQAHnHPAB5x0AAeceAAHnH0A=
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>55</integer>
<key>WakeConfigData</key>
<data>
AUcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
@ -6333,7 +6385,7 @@
<integer>283903744</integer>
<key>ConfigData</key>
<data>
AZceYQGXByU=
AZceYQGXByUBtx4R
</data>
<key>FuncGroup</key>
<integer>1</integer>

View file

@ -17,13 +17,13 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>1.0.1</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<string>1.0.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>

View file

View file

View file

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.1.0</string>
<string>1.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,7 +25,7 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.1.0</string>
<string>1.1.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>

View file

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.1.0</string>
<string>1.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,7 +25,7 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.1.0</string>
<string>1.1.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>

View file

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.1.0</string>
<string>1.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,7 +25,7 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.1.0</string>
<string>1.1.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>

View file

@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>VoodooPS2Controller</string>
<key>CFBundleGetInfoString</key>
<string>2.1.0, Copyright Apple Computer, Inc. 2000-2003, David Elliot 2007, RehabMan 2012-2013</string>
<string>2.1.1, Copyright Apple Computer, Inc. 2000-2003, David Elliot 2007, RehabMan 2012-2013</string>
<key>CFBundleIdentifier</key>
<string>as.acidanthera.voodoo.driver.PS2Controller</string>
<key>CFBundleInfoDictionaryVersion</key>
@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,7 +25,7 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
@ -135,7 +135,7 @@
</dict>
</dict>
<key>OSBundleCompatibleVersion</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOACPIFamily</key>

View file

@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>CFBundleVersion</key>
<string>2.1.0</string>
<string>2.1.1</string>
</dict>
</plist>

View file

@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>VoodooPS2Keyboard</string>
<key>CFBundleGetInfoString</key>
<string>2.1.0, Copyright Apple Computer, Inc. 2000-2003, RehabMan 2012-2013</string>
<string>2.1.1, Copyright Apple Computer, Inc. 2000-2003, RehabMan 2012-2013</string>
<key>CFBundleIdentifier</key>
<string>as.acidanthera.voodoo.driver.PS2Keyboard</string>
<key>CFBundleInfoDictionaryVersion</key>
@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,7 +25,7 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
@ -596,7 +596,7 @@
<key>OSBundleLibraries</key>
<dict>
<key>as.acidanthera.voodoo.driver.PS2Controller</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>com.apple.iokit.IOHIDFamily</key>
<string>1.0.0b1</string>
<key>com.apple.kpi.bsd</key>

View file

@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>CFBundleVersion</key>
<string>2.1.0</string>
<string>2.1.1</string>
</dict>
</plist>

View file

@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>VoodooPS2Mouse</string>
<key>CFBundleGetInfoString</key>
<string>2.1.0, Copyright Apple Computer, Inc. 2000-2004, Slice 2010, RehabMan 2012-2013</string>
<string>2.1.1, Copyright Apple Computer, Inc. 2000-2004, Slice 2010, RehabMan 2012-2013</string>
<key>CFBundleIdentifier</key>
<string>as.acidanthera.voodoo.driver.PS2Mouse</string>
<key>CFBundleInfoDictionaryVersion</key>
@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,7 +25,7 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
@ -178,7 +178,7 @@
<key>OSBundleLibraries</key>
<dict>
<key>as.acidanthera.voodoo.driver.PS2Controller</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>com.apple.iokit.IOHIDFamily</key>
<string>1.0.0b1</string>
<key>com.apple.kpi.iokit</key>

View file

@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>CFBundleVersion</key>
<string>2.1.0</string>
<string>2.1.1</string>
</dict>
</plist>

View file

@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>VoodooPS2Trackpad</string>
<key>CFBundleGetInfoString</key>
<string>2.1.0, Copyright Apple Computer, Inc. 2002-2003, mackerintel 2008, RehabMan 2012-2013</string>
<string>2.1.1, Copyright Apple Computer, Inc. 2002-2003, mackerintel 2008, RehabMan 2012-2013</string>
<key>CFBundleIdentifier</key>
<string>as.acidanthera.voodoo.driver.PS2Trackpad</string>
<key>CFBundleInfoDictionaryVersion</key>
@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,7 +25,7 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
@ -434,7 +434,7 @@
<key>OSBundleLibraries</key>
<dict>
<key>as.acidanthera.voodoo.driver.PS2Controller</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>com.apple.iokit.IOHIDFamily</key>
<string>1.0.0b1</string>
<key>com.apple.kpi.iokit</key>

Binary file not shown.

View file

@ -1,7 +1,7 @@
# Configurating OpenCore for your x1c6
<img align="right" src="https://i.imgur.com/u2Nukp7.png" alt="Critter" width="200">
## OpenCore is designed for the future of macOS, thus making it the future of Hackintosh. It's just simply better in [many ways](https://khronokernel-2.gitbook.io/opencore-vanilla-desktop-guide/). But since it is still in its infancy, OpenCore still requires a lot of time and personal confgurations to work. So even though I have posted my EFI-OpenCore folder, there are still some work which you have to do before you are able to get it working on your machine.
## OpenCore is better than Clover in [many ways](https://khronokernel-2.gitbook.io/opencore-vanilla-desktop-guide/). But since it is still in its infancy, OpenCore still requires a lot of time and personal confgurations to work. So even though I have posted my EFI-OpenCore folder, there are still some work which you have to do before you are able to get it working on your machine.
### Fortunately, acidanthera has done a great job documenting OpenCore. And while it can be greatly time consuming, I really recommend taking a look at it because it helps so much in: creating, configurating, dianosing, personalizing, and understanding OpenCore configurations.
@ -13,4 +13,8 @@ MLB: Can be generated with MacSerial or use pervious from Clover's config.plist.
ROM: ROM must either be Apple ROM (dumped from a real Mac), or your NIC MAC address, or any random MAC address (could be just 6 random bytes) - Vit9696
SystemSerialNumber: Can be generated with MacSerial or use pervious from Clover's config.plist.
CPUFriendDataProvider: Can be generated with [CPUFriendFriend](https://github.com/corpnewt/CPUFriendFriend_ or [one-key-cpufriend](https://github.com/stevezhengshiqi/one-key-cpufriend). Even if you have the same CPU as me, you may prefer a different Energy Performance Preference (EPP) so do generate your own CPUFriendDataProvider. This is furhtermore important if you have a different CPU than me.
CPUFriendDataProvider: Can be generated with [CPUFriendFriend](https://github.com/corpnewt/CPUFriendFriend_ or [one-key-cpufriend](https://github.com/stevezhengshiqi/one-key-cpufriend). Even if you have the same CPU as me, you may prefer a different Energy Performance Preference (EPP) so do generate your own CPUFriendDataProvider. This is furhtermore important if you have a different CPU than me.
## Important Note:
Unlike Clover, where SSDT patches are only being applied when booting macOS. OpenCore will apply SSDT patches regardless of the operating system. This is critical when multi-booting, since Windows and Linux do not need the additional patches that macOS does. In many cases, if Windows/Linux fails to boot under OpenCore, it is likely that your macOS intended SSDT patch(s) is being applied universally. To prevent OpenCore from doing this, it is important that your SSDT patches specify its intended OS, which in our case is "Darwin."
See highlighted example:

View file

@ -4,7 +4,7 @@
[![BIOS](https://img.shields.io/badge/BIOS-1.43-blue)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
[![MODEL](https://img.shields.io/badge/Model-20KH*-blue)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
[![OpenCore](https://img.shields.io/badge/OpenCore-0.5.4-green)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
[![OpenCore](https://img.shields.io/badge/OpenCore-0.5.5-green)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
[![LICENSE](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
<img align="right" src="https://i.imgur.com/I3yUS4Q.png" alt="Critter" width="300">
@ -23,7 +23,7 @@
|-------------------------------------------------------------------|----------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|
| Wifi and Bluetooth \*need card replacement ⚠️| Fingerprint Reader (not needed, DISABLED at BIOS) ❌| HDMI, currently only outputs at 1080p.Though capable of 4K 4096x2150. ⚠️|
| USB A, USB C, Webcam, Audio Playback/Recording Sleep, Ethernet, Intel Graphics, TrackPoint and Trackpad ✅ | Wireless WAN (DISABLED at BIOS) *ENABLED if you have a 2nd drive connected❌ | Function keys, F1-F6 work. The rest need to be mapped and patched via DSDT/SSDTs. ⚠️|
| iCloud suite: App Store, iMessage, FaceTime, iCloud Drive, etc... ✅ | Hibernation ❌ | Power management, currently 5-6 hours with average usage. Maybe a custom injection with CPUFriend will optimize this? ⚠️|
| iCloud suite: App Store, iMessage, FaceTime, iCloud Drive, etc... ✅ | Hibernation ❌ | Power management and optimizations. See [Issue #28](https://github.com/tylernguyen/x1c6-hackintosh/issues/28) ⚠️|
| HiDPI, Handoff, Sidecar ✅ | | USB power property injection - unsure of real values. ⚠️|
| MicroSD card reader ✅| | Thunderbolt 3 hotplug: proper patch needed. ⚠️|

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 KiB

After

Width:  |  Height:  |  Size: 198 KiB

View file

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>Add</key>
<array>
<dict>
<key>Comment</key>
<string>SSDT-EC (Needs EC to EC0 rename)</string>
<key>Enabled</key>
<true/>
<key>Path</key>
<string>SSDT-EC.aml</string>
</dict>
</array>
<key>Patch</key>
<array>
<dict>
<key>Comment</key>
<string>EC to EC0</string>
<key>Count</key>
<integer>0</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
RUNfXw==
</data>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
</data>
<key>OemTableId</key>
<data>
AAAAAA==
</data>
<key>Replace</key>
<data>
RUMwXw==
</data>
<key>ReplaceMask</key>
<data>
</data>
<key>Skip</key>
<integer>0</integer>
<key>TableLength</key>
<integer>0</integer>
<key>TableSignature</key>
<data>
AAAAAA==
</data>
</dict>
</array>
</dict>
</dict>
</plist>

View file

@ -2,6 +2,8 @@
## **Credits and a huge thank you to [daliansky](https://github.com/daliansky) for the great work and documentation, as well as to [jsassu20](https://github.com/jsassu20) for the excellent translations.**
## Some patches here may be unused. Refer to the current OpenCore-EFI folder to see which one I am currently using.
## Some Thinkpad machines are `LPC` and some are` LPCB`. Please examine your own DSDT and modify patches as needed.
> ### SSDT-OCBAT0-TP_re80_tx70-80_x1c5th-6th_s12017_p51

40
patches/SSDT-EC.dsl Executable file
View file

@ -0,0 +1,40 @@
DefinitionBlock ("", "SSDT", 2, "APPLE ", "SsdtEC", 0x00001000)
{
External (_SB_.PCI0.LPCB, DeviceObj)
External (_SB_.PCI0.LPCB.EC0, DeviceObj)
Scope (\_SB.PCI0.LPCB.EC0)
{
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (_OSI ("Darwin"))
{
Return (0)
}
Else
{
Return (0x0F)
}
}
}
Scope (\_SB.PCI0.LPCB)
{
Device (EC)
{
Name (_HID, "ACID0001") // _HID: Hardware ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (_OSI ("Darwin"))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
}

BIN
patches/compiled/SSDT-EC.aml Executable file

Binary file not shown.