diff --git a/3_README-BIOSsettings.md b/2_README-BIOSsettings.md similarity index 100% rename from 3_README-BIOSsettings.md rename to 2_README-BIOSsettings.md diff --git a/2_README-installMEDIA.md b/3_README-installMEDIA.md similarity index 88% rename from 2_README-installMEDIA.md rename to 3_README-installMEDIA.md index 1b1a114..581e436 100644 --- a/2_README-installMEDIA.md +++ b/3_README-installMEDIA.md @@ -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. diff --git a/4_README-POSTinstallation.md b/4_README-POSTinstallation.md new file mode 100644 index 0000000..d682911 --- /dev/null +++ b/4_README-POSTinstallation.md @@ -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 diff --git a/5_README-ACPIpatching.md b/5_README-ACPIpatching.md new file mode 100644 index 0000000..6c9ad1a --- /dev/null +++ b/5_README-ACPIpatching.md @@ -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. diff --git a/ACPI/patch-files/3_Fn_Keys.txt b/ACPI/patch-files/3_Fn_Keys.txt deleted file mode 100755 index 09dda5b..0000000 --- a/ACPI/patch-files/3_Fn_Keys.txt +++ /dev/null @@ -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; diff --git a/ACPI/patched/SSDT-UIAC.aml b/ACPI/patched/SSDT-UIAC.aml new file mode 100755 index 0000000..3b44a7d Binary files /dev/null and b/ACPI/patched/SSDT-UIAC.aml differ diff --git a/ACPI/patched/SSDT-XCPM.aml b/ACPI/patched/SSDT-XCPM.aml new file mode 100644 index 0000000..5d1631a Binary files /dev/null and b/ACPI/patched/SSDT-XCPM.aml differ diff --git a/ACPI/patched/[TESTING] SSDT-UIAC_powerInjection.aml b/ACPI/patched/[TESTING] SSDT-UIAC_powerInjection.aml new file mode 100644 index 0000000..eed456e Binary files /dev/null and b/ACPI/patched/[TESTING] SSDT-UIAC_powerInjection.aml differ diff --git a/IORegistryPrints/after-hdmi_plug.ioreg b/IORegistryPrints/after-hdmi_plug.ioreg new file mode 100755 index 0000000..c8c21f6 Binary files /dev/null and b/IORegistryPrints/after-hdmi_plug.ioreg differ diff --git a/IORegistryPrints/before-hdmi_plug.ioreg b/IORegistryPrints/before-hdmi_plug.ioreg new file mode 100755 index 0000000..2a72f2b Binary files /dev/null and b/IORegistryPrints/before-hdmi_plug.ioreg differ diff --git a/README-kexts.md b/README-kexts.md deleted file mode 100644 index b358baf..0000000 --- a/README-kexts.md +++ /dev/null @@ -1,9 +0,0 @@ -FakeSMC -VoodooPS2Controller -AppleALC -USBInjectAll -Lilu -IntelGraphicsFixup -IntelMausiEthernet -BrcmFirmwareRepo -BrcmPatchRAM2 diff --git a/README-utilities.md b/README-utilities.md index a3f89ec..98d3a59 100644 --- a/README-utilities.md +++ b/README-utilities.md @@ -1,7 +1,7 @@ -Clover Configurator -PlistEdit Pro -MaciASL -IORegistryExplorer -DarwinDumper -FixEDID +Clover Configurator +PlistEdit Pro (Interchangeable with Xcode) +IORegistryExplorer, for patching ACPI tables. +MaciASL, also for patching ACPI tables. +DarwinDumper +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