diff --git a/3_README-installMEDIA.md b/3_README-installMEDIA.md index 581e436..82573f5 100644 --- a/3_README-installMEDIA.md +++ b/3_README-installMEDIA.md @@ -2,9 +2,8 @@ 2. Erase the installation media as HFS, named "Install macOS (MacOS version)" - Example: Install macOS High Sierra. 3. Use 'createinstallermedia' command to copy installer to install media. [guide](https://support.apple.com/en-us/ht201372) 4. Install CLOVER onto the installation media, use tonymacx86 UEFI Clover Builds. [Download](https://www.tonymacx86.com/resources/categories/clover-builds.12/) -5. Rename "config_installMEDIA.plist" to "config.plist" and replace the stock "config.plist" +5. Rename "config_HD615_620_630_640_650.plist" to "config.plist" and replace the stock "config.plist" 6. Place [FakeSMC.kext](https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek/downloads/) and [VoodooPS2Controller.kext](https://bitbucket.org/RehabMan/os-x-voodoo-ps2-controller/downloads/) in 'EFI/CLOVER/kexts/Other/' 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. +8. Complete the installation. +9. 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 index d3d1a8a..573615a 100644 --- a/4_README-POSTinstallation.md +++ b/4_README-POSTinstallation.md @@ -2,17 +2,10 @@ 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 - WhateverGreen - 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. - ACPIBatteryManager - along with DSDT patching, enable battery status +3. Using KextBeast or another kext installer, install the following kexts in L/E/ or EFI/Clover/kexts/Other/. +L/E/ makes it easy to differentiate between custom kexts and default Apple kexts. +EFI/Clover/kexts/Other makes it easy to backup or troubleshoot kexts. +*Refer to my uploaded EFI folder for my current kext list. 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. +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 14,1 as it supports HWP for better power management. 6. Reboot and proceed to 5_README-ACPIpatching.md diff --git a/ACPI/partial-hotpatch/DSDT.aml b/ACPI/partial-hotpatch/DSDT.aml index 6cee87a..fe10720 100755 Binary files a/ACPI/partial-hotpatch/DSDT.aml and b/ACPI/partial-hotpatch/DSDT.aml differ diff --git a/EFI/CLOVER/ACPI/patched/DSDT.aml b/EFI/CLOVER/ACPI/patched/DSDT.aml index 6cee87a..fe10720 100755 Binary files a/EFI/CLOVER/ACPI/patched/DSDT.aml and b/EFI/CLOVER/ACPI/patched/DSDT.aml differ diff --git a/EFI/CLOVER/ACPI/patched/SSDT-ALS0.aml b/EFI/CLOVER/ACPI/patched/SSDT-ALS0.aml new file mode 100755 index 0000000..2ee3b73 Binary files /dev/null and b/EFI/CLOVER/ACPI/patched/SSDT-ALS0.aml differ diff --git a/EFI/CLOVER/kexts/Other/HibernationFixup.kext/Contents/Info.plist b/EFI/CLOVER/kexts/Other/HibernationFixup.kext/Contents/Info.plist deleted file mode 100755 index c855a5e..0000000 --- a/EFI/CLOVER/kexts/Other/HibernationFixup.kext/Contents/Info.plist +++ /dev/null @@ -1,83 +0,0 @@ - - - - - BuildMachineOSBuild - 17D102 - CFBundleDevelopmentRegion - en - CFBundleExecutable - HibernationFixup - CFBundleIdentifier - as.lvs1974.HibernationFixup - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - HibernationFixup - CFBundlePackageType - KEXT - CFBundleShortVersionString - 1.2.3 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1.2.3 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 9F2000 - DTPlatformVersion - GM - DTSDKBuild - 17E189 - DTSDKName - macosx10.13 - DTXcode - 0941 - DTXcodeBuild - 9F2000 - IOKitPersonalities - - as.lvs1974.HibernationFixup - - CFBundleIdentifier - as.lvs1974.HibernationFixup - IOClass - HibernationFixup - IOMatchCategory - HibernationFixup - IOProviderClass - IOResources - IOResourceMatch - IOKit - - - NSHumanReadableCopyright - Copyright © 2017 lvs1974. All rights reserved. - OSBundleCompatibleVersion - 1.0 - OSBundleLibraries - - as.vit9696.Lilu - 1.2.4 - 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/CLOVER/kexts/Other/HibernationFixup.kext/Contents/MacOS/HibernationFixup b/EFI/CLOVER/kexts/Other/HibernationFixup.kext/Contents/MacOS/HibernationFixup deleted file mode 100755 index 23b2980..0000000 Binary files a/EFI/CLOVER/kexts/Other/HibernationFixup.kext/Contents/MacOS/HibernationFixup and /dev/null differ diff --git a/config.plist b/config.plist index d3fd64a..53dc023 100755 --- a/config.plist +++ b/config.plist @@ -240,7 +240,7 @@ #DefaultVolume LastBootedVolume Arguments - nv_disable=1 dart=0 -cdfon -disablegfxfirmware -igfxnohdmi + nv_disable=1 dart=0 -cdfon -disablegfxfirmware -igfxnohdmi lilucpu=9 DefaultVolume LastBootedVolume NeverHibernate @@ -249,6 +249,8 @@ Timeout 2 + XMPDetection + Comment This file is for 10.12.6+ with native KabyLake support @@ -387,8 +389,8 @@ 0x591b0000, 0105 instead of 0306, HDMI #1 framebuffer-con1-alldata - AQUKAAAIAACHAQAAAgQKAAAACAAAhwEAAP8AAAABAAAA - ACAAAAA= + AQUKAAAIAACHAQAAAgQKAAAIAACHAQAA/wAAAAEAAAAg + AAAA #1 framebuffer-con1-enable 1 @@ -396,15 +398,15 @@ 0x591b0000, 0105 instead of 0204, HDMI #2 framebuffer-con1-alldata - AQUKAAAIAACHAQAAAwYKAAAABAAAhwEAAP8AAAABAAAA - ACAAAAA= + AQUKAAAIAACHAQAAAwYKAAAEAACHAQAA/wAAAAEAAAAg + AAAA #2 framebuffer-con1-enable 1 #3 framebuffer-con1-alldata - /wAAAAEAAAAgAAAA/wAAAAABAAAAIAAAAP8AAAABAAAA - ACAAAAA= + /wAAAAEAAAAgAAAA/wAAAAEAAAAgAAAA/wAAAAEAAAAg + AAAA #3 framebuffer-con1-enable 1 @@ -459,9 +461,7 @@ AAgAAA== #hda-gfx - - b25ib2FyZC0xAA== - + onboard-1 AAPL,ig-platform-id AAAbWQ== @@ -483,6 +483,10 @@ PciRoot(0)/Pci(0x1f,3) + #hda-gfx + onboard-1 + #no-controller-patch + 1 layout-id 11 @@ -507,6 +511,8 @@ #ScreenResolution 1920x1080 + EmbeddedThemeType + Dark Hide Preboot @@ -519,7 +525,7 @@ Scan Theme - BGM + embedded Graphics @@ -572,7 +578,7 @@ Comment - Disable panic kext logging on 10.13 release kernel (credit Vandroiy) + Disable panic kext logging on 10.13 release kernel (credit vit9696) Disabled Find @@ -588,7 +594,7 @@ Comment - Disable panic kext logging on 10.14 release kernel (credit Vandroiy) + Disable panic kext logging on 10.14 release kernel (credit vit9696) Disabled Find @@ -604,40 +610,7 @@ KextsToPatch - - - Comment - Disable minStolenSize less or equal fStolenMemorySize assertion, 10.14 Credits (Sniki) - Disabled - - Find - - dkZI/wU= - - InfoPlistPatch - - Name - com.apple.driver.AppleIntelKBLGraphicsFramebuffer - Replace - - 60ZI/wU= - - - - Comment - change F%uT%04x to F%uTxxxx in AppleBacklightInjector.kext (credit RehabMan) - Find - - RiV1VCUwNHgA - - Name - com.apple.driver.AppleBacklight - Replace - - RiV1VHh4eHgA - - - + RtVariables diff --git a/config_HD615_620_630_640_650.plist b/config_HD615_620_630_640_650.plist index 6ad515c..e6e6042 100755 --- a/config_HD615_620_630_640_650.plist +++ b/config_HD615_620_630_640_650.plist @@ -180,7 +180,7 @@ Boot Arguments - dart=0 nv_disable=1 -disablegfxfirmware -igfxnohdmi -cdfon + dart=0 nv_disable=1 -disablegfxfirmware -cdfon -igfxnohdmi lilucpu=9 #DefaultVolume LastBootedVolume NeverHibernate @@ -296,9 +296,11 @@ device-id FlkAAA== #hda-gfx - b25ib2FyZC0xAA== + onboard-1 #AAPL00,override-no-connect + #AAPL00,override-no-edid + # DVMT-prealloc 32MB BIOS, 19MB framebuffer, 9MB cursor bytes (credit RehabMan) framebuffer-patch-enable @@ -365,9 +367,13 @@ PciRoot(0)/Pci(0x1f,3) #layout-id - 2 + 3 #PinConfigurations + #hda-gfx + onboard-1 + #no-controller-patch + 1 USB @@ -480,7 +486,7 @@ Comment - Disable panic kext logging on 10.13 release kernel (credit Vandroiy) + Disable panic kext logging on 10.13 release kernel (credit vit9696) MatchOS 10.13.x Find @@ -490,7 +496,7 @@ Comment - Disable panic kext logging on 10.14 release kernel (credit Vandroiy) + Disable panic kext logging on 10.14 release kernel (credit vit9696) MatchOS 10.14.x Find diff --git a/config_installMEDIA.plist b/config_installMEDIA.plist deleted file mode 100755 index 6ad515c..0000000 --- a/config_installMEDIA.plist +++ /dev/null @@ -1,523 +0,0 @@ - - - - - Comment - This file is for 10.12.6+ with native KabyLake support - ACPI - - AutoMerge - - FixHeaders - - Comment-DisabledAML - Disable other forms of CPU PM due to SSDT/Generate/PluginType=true - DisabledAML - - SSDT.aml - SSDT-XCPM.aml - SSDT-PluginType1.aml - - DSDT - - DropOEM_DSM - - Fixes - - Comment-IRQ Fix - The following fixes may be needed for onboard audio/USB/etc - FixTMR - - FixRTC - - FixIPIC - - FixHPET - - - Patches - - - Comment - change OSID to XSID (to avoid match against _OSI XOSI patch) - Disabled - - Find - T1NJRA== - Replace - WFNJRA== - - - Comment - change _OSI to XOSI - Disabled - - Find - X09TSQ== - Replace - WE9TSQ== - - - Comment - change _DSM to XDSM - Disabled - - Find - X0RTTQ== - Replace - WERTTQ== - - - Comment - change EC0 to EC - Disabled - - Find - RUMwXw== - Replace - RUNfXw== - - - Comment - change H_EC to EC - Disabled - - Find - SF9FQw== - Replace - RUNfXw== - - - Comment - change ECDV to EC - Disabled - - Find - RUNEVg== - Replace - RUNfXw== - - - Comment - change HDAS to HDEF - Find - SERBUw== - Replace - SERFRg== - - - Comment - change HECI to IMEI - Find - SEVDSQ== - Replace - SU1FSQ== - - - Comment - change MEI to IMEI - Find - TUVJXw== - Replace - SU1FSQ== - - - Comment - change GFX0 to IGPU - Find - R0ZYMA== - Replace - SUdQVQ== - - - Comment - change PCI0.VID to IGPU #1 (Thinkpad) - Find - UENJMFZJRF8= - Replace - UENJMElHUFU= - - - Comment - change PCI0.VID to IGPU #2 (Thinkpad) - Find - VklEXwhfQURSDAAAAgA= - Replace - SUdQVQhfQURSDAAAAgA= - - - - DropTables - - - Signature - #MCFG - - - Signature - DMAR - - - Signature - SSDT - TableId - xh_rvp10 - - - SSDT - - DropOem - - Generate - - PluginType - - - NoOemTableId - - - - Boot - - Arguments - dart=0 nv_disable=1 -disablegfxfirmware -igfxnohdmi -cdfon - #DefaultVolume - LastBootedVolume - NeverHibernate - - Secure - - Timeout - 5 - - Devices - - AddProperties - - - Device - NVidia - Key - name - Value - I2Rpc3BsYXkA - Comment - Inject "name" as (data)"#display" to disable graphics drivers on NVidia - - - Device - NVidia - Key - IOName - Value - #display - Comment - Inject "IOName" as "#display" to disable graphics drivers on NVidia - - - Device - NVidia - Key - class-code - Value - /////w== - Comment - Inject bogus class-code to prevent graphics drivers loading for NVidia - - - Device - ATI - Key - name - Value - I2Rpc3BsYXkA - Comment - Inject "name" as (data)"#display" to disable graphics drivers on AMD - - - Device - ATI - Key - IOName - Value - #display - Comment - Inject "IOName" as "#display" to disable graphics drivers on AMD - - - Device - ATI - Key - class-code - Value - /////w== - Comment - Inject bogus class-code to prevent graphics drivers loading for AMD - - - Device - ATI - Key - vendor-id - Value - //8AAA== - Comment - Inject bogus vendor-id to prevent graphics drivers loading for AMD - - - Device - ATI - Key - device-id - Value - //8AAA== - Comment - Inject bogus device-id to prevent graphics drivers loading for AMD - - - Audio - - Inject - 0 - - FakeID - - #Kaby Lake-Comment - To avoid automatic Clover fake device-id (Skylake) injection - #IntelGFX - 0x59168086 - - Properties - - PciRoot(0)/Pci(0x02,0) - - AAPL,ig-platform-id - AAAbWQ== - device-id - FlkAAA== - #hda-gfx - b25ib2FyZC0xAA== - #AAPL00,override-no-connect - - # DVMT-prealloc - 32MB BIOS, 19MB framebuffer, 9MB cursor bytes (credit RehabMan) - framebuffer-patch-enable - 1 - framebuffer-stolenmem - AAAwAQ== - framebuffer-fbmem - AACQAA== - ## @0 LVDS->DP - - #framebuffer-con0-enable - 1 - #framebuffer-con0-type - AAQAAA== - ## @1 HDMI - - #framebuffer-con1-enable - 1 - #framebuffer-con1-type - AAgAAA== - #framebuffer-con1-flags - hwEAAA== - #framebuffer-con1-pipe - EgAAAA== - ## @2 HDMI - - #framebuffer-con2-enable - 1 - #framebuffer-con2-type - AAgAAA== - #framebuffer-con2-flags - hwEAAA== - #framebuffer-con2-pipe - EgAAAA== - ## @3 HDMI - - #framebuffer-con3-enable - 1 - #framebuffer-con3-type - AAgAAA== - #framebuffer-con3-flags - hwEAAA== - #framebuffer-con3-pipe - EgAAAA== - #1 0306->0105 - 0x591b0000, 0105 instead of 0306, HDMI - #1 framebuffer-con1-enable - 1 - #1 framebuffer-con1-alldata - AQUKAAAIAACHAQAAAgQKAAAIAACHAQAA/wAAAAEAAAAgAAAA - #2 0204->0105 - 0x591b0000, 0105 instead of 0204, HDMI - #2 framebuffer-con1-enable - 1 - #2 framebuffer-con1-alldata - AQUKAAAIAACHAQAAAwYKAAAEAACHAQAA/wAAAAEAAAAgAAAA - #3 no external - 0x591b0000, eliminate all external ports (0204 and 0306) - #3 framebuffer-con1-enable - 1 - #3 framebuffer-con1-alldata - /wAAAAEAAAAgAAAA/wAAAAEAAAAgAAAA/wAAAAEAAAAgAAAA - - PciRoot(0)/Pci(0x1f,3) - - #layout-id - 2 - #PinConfigurations - - - - USB - - FixOwnership - - AddClockID - - Inject - - - UseIntelHDMI - - - DisableDrivers - - VBoxHfs - - GUI - - Custom - - Entries - - - Hidden - - Type - OSXRecovery - - - Type - Windows - Title - Windows - - - - Hide - - Preboot - - Mouse - - Enabled - - - Scan - - Entries - - Legacy - - Linux - - Tool - - - #ScreenResolution - 1920x1080 - Theme - BGM - - Graphics - - #EDID - - Inject - - - #ig-platform-id - 0x591b0000 - Inject - - ATI - - Intel - - NVidia - - - - KernelAndKextPatches - - AppleRTC - - DellSMBIOSPatch - - KernelLapic - - KernelPm - - ForceKextsToLoad - - \System\Library\Extensions\IONetworkingFamily.kext - - KextsToPatch - - KernelToPatch - - - Comment - MSR 0xE2 _xcpm_idle instant reboot(c) Pike R. Alpha - Disabled - - Find - ILniAAAADzA= - Replace - ILniAAAAkJA= - - - Comment - Disable panic kext logging on 10.13 release kernel (credit Vandroiy) - MatchOS - 10.13.x - Find - igKEwHRE - Replace - igKEwOtE - - - Comment - Disable panic kext logging on 10.14 release kernel (credit Vandroiy) - MatchOS - 10.14.x - Find - igKEwHRC - Replace - igKEwOtC - - - - RtVariables - - CsrActiveConfig - 0x67 - BooterConfig - 0x28 - - SMBIOS - - ProductName - MacBookPro14,1 - Trust - - - SystemParameters - - InjectKexts - Detect - - -