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

June 28th 2018

This commit is contained in:
Tyler Nguyen 2018-06-28 17:22:48 -05:00
parent 81725b6394
commit 6722a8adf4
12 changed files with 41 additions and 98 deletions

View file

@ -7,3 +7,4 @@
7. Proceed to boot using the installation media and go through the process.
8. *Optional: Since TRIM on NVMe drives cannot be disabled. And APFS with TRIM enabled can result in a slow boot (~30-50 seconds). Skip APFS conversion and use HFS as the default filesystem: boot back into the installation media after installation has completed and rebooted, open the Terminal, and execute "/Volumes/Image\ Volume/No-Convert", then finally reboot.
9. Complete the installation.
10. Once installation has completed, boot into the Hackintosh paritition using the installation media and proceed with post installation configurations.

View file

@ -0,0 +1,17 @@
1. Install CLOVER on the main boot EFI paritition to enable boot without the installation media.
2. Install the following kexts in EFI/CLOVER/kexts/Other/
FakeSMC - system support
VoodooPS2Controller - enable support for keyboard and touchpad
3. Using KextBeast or another kext installer, install the following kexts in L/E/ or S/L/E/. I install it in L/E/ as it allows me to differentiate between custom kexts and default Apple kexts.
AppleALC - also inject audio layout 11 with Clover Configurator, this enables native audio.
USBInjectAll - make sure to create a custom SSDT patch [Guide](https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/), also refer to README-patchingACPI.md
Lilu - support library needed by other kexts
IntelGraphicsFixup - enable support for Intel Graphics.
IntelMausiEthernet - enable Ethernet with the Lenovo adapter. A recommended installation even if you don't use Ethernet as it helps with battery performance.
BrcmFirmwareRepo
BrcmPatchRAM2 - along with BrcmFirmwareRepo, enables Bluetooth.
FakePCIID
FAKEPCID_Broadcom_WiFi - along with FakePCIID, enables WiFi.
4. Rebuild the kextcache with "sudo kextcache -i /"
5. Configure system to enable iMessage, follow this [Guide](https://www.tonymacx86.com/threads/an-idiots-guide-to-imessage.196827/). Make sure to pick system definition MacBookPro 13,1 as it supports HWP for better power management.
6. Reboot and proceed to 5_README-ACPIpatching.md

17
5_README-ACPIpatching.md Normal file
View file

@ -0,0 +1,17 @@
1. During CLOVER boot screen, press Fn+F4, or just F4 to dump original ACPI tables to EFI/CLOVER/ACPI/origin/
2. Copy files that begin with DSDT and SSDT to Desktop.
3. In Terminal, change directory into Desktop and disassemble the copied ACPI tables with "iasl -da -dl DSDT.aml SSDT*.aml".
4. Begin with DSDT patches, open DSDT.dsl using MaciASL and apply the included patches located in 'x1c6-hackintosh/ACPI/patch-files/', make sure the follow the file name order. There should be 0 syntax errors and you will now be able to compile a new DSDT.aml file. Then place the new DSDT.aml fle into 'EFI/CLOVER/ACPI/patched/'. Reboot, the battery status should now appear.
5. Enable native power management using XCPM, follow this [Guide](https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/).
6. Create a custom SSDT for USBInjectALL by following this [Guide](https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/). The USB configuration for the Thinkpad X1C6 is:
HS01: USB2 Left
HS02: USB2 Right
HS03: Power USB C
HS04: USB C Bottom
HS07: Bluetooth
HS08: Integrated Camera
SS01: USB 3 Left
SS02: USB 3 Right
No FakePCIID_XHCIMux needed.
7. Make sure native audio is working, then move on to HDMI audio configuration by following this [Guide](https://www.tonymacx86.com/threads/guide-intel-igpu-hdmi-dp-audio-sandy-ivy-haswell-broadwell-skylake.189495/) - Refer to x1c6-hackintosh/IORegistryPrints/
No FakePCIID needed.

View file

@ -1,83 +0,0 @@
# T460 - based on T440s keys
#
# F1-F3 - use extend scan code
# F1 - Mute e020
# F2 - Volume Down e02e
# F3 - Volume up e030
# F4-F12 specials use _Q methods
# ADB map
# 0x69, // 64 F13
# 0x6b, // 65 F14
# 0x71, // 66 F15
# 0x6a, // 67 F16
# 0x40, // 68 F17
# 0x4f, // 69 F18
# 0x50, // 6a F19
# 0x5a, // 6b F20
# DEADKEY,// 6c F21
# DEADKEY,// 6d F22
# DEADKEY,// 6e F23
# _Q6A (F4 key -> F17) Microphone Mute key
into method label _Q6A replace_content
begin
Notify(\_SB.PCI0.LPCB.PS2K, 0x0168)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x01e8)\n
end;
# _Q15 (F5 key) brightness down key
into method label _Q15 replace_content
begin
Notify(\_SB.PCI0.LPCB.PS2K, 0x0205)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0285)\n
end;
# _Q14 (F6 key) brightness up key
into method label _Q14 replace_content
begin
Notify(\_SB.PCI0.LPCB.PS2K, 0x0206)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0286)\n
end;
# _Q16 (F7 key) Projector / Mirror mode key
into method label _Q16 replace_content
begin
Notify(\_SB.PCI0.LPCB.PS2K, 0x026e)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x02ee)\n
end;
# _Q64 (F8 key -> F18 ) Wireless disable key
into method label _Q64 replace_content
begin
Notify(\_SB.PCI0.LPCB.PS2K, 0x0169)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x01e9)\n
end;
# _Q66 (F9 key -> F19 ) Settings key
into method label _Q66 replace_content
begin
Notify(\_SB.PCI0.LPCB.PS2K, 0x016a)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x01ea)\n
#end;
# _Q67 (F10 -> F20) Spotlight key
into method label _Q67 replace_content
begin
Notify(\_SB.PCI0.LPCB.PS2K, 0x016b)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x01eb)\n
end;
_Q68 (F11 key) App switcher key
into method label _Q68 replace_content
begin
Notify(\_SB.PCI0.LPCB.PS2K, 0x020A)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x028A)\n
end;
# _Q69 (F12 key) Launchpad key
into method label _Q69 replace_content
begin
Notify(\_SB.PCI0.LPCB.PS2K, 0x0209)\n
Notify(\_SB.PCI0.LPCB.PS2K, 0x0289)\n
end;

BIN
ACPI/patched/SSDT-UIAC.aml Executable file

Binary file not shown.

BIN
ACPI/patched/SSDT-XCPM.aml Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,9 +0,0 @@
FakeSMC
VoodooPS2Controller
AppleALC
USBInjectAll
Lilu
IntelGraphicsFixup
IntelMausiEthernet
BrcmFirmwareRepo
BrcmPatchRAM2

View file

@ -1,7 +1,7 @@
Clover Configurator
PlistEdit Pro
MaciASL
IORegistryExplorer
PlistEdit Pro (Interchangeable with Xcode)
IORegistryExplorer, for patching ACPI tables.
MaciASL, also for patching ACPI tables.
DarwinDumper
FixEDID
FixEDID, in case of HDMI video and audio working, but the laptop screen is black and hotplug causes kernal panic, use this and DarwinDumper to Override EDID. [Reference 1](https://www.tonymacx86.com/threads/override-edid-for-display-problem.47200/) [Reference 2](https://www.tonymacx86.com/threads/laptop-screen-goes-blank-when-plugging-in-external-monitor.226226/page-5)
KextBeast