From 81725b6394f0765dbbe0978c80a84d7a073d040e Mon Sep 17 00:00:00 2001 From: Tyler Nguyen Date: Wed, 27 Jun 2018 19:15:14 -0500 Subject: [PATCH] June 27 2018 --- 1_README-hardware.md | 2 + 2_README-installMEDIA.md | 9 + 3_README-BIOSsettings.md | 1 + ACPI/patch-files/2_battery_Lenovo-X230i.txt | 127 ++++ ACPI/patch-files/2_system_HPET.txt | 23 + ACPI/patch-files/2_system_IRQ.txt | 21 + ACPI/patch-files/2_system_Mutex.txt | 34 + ACPI/patch-files/2_system_RTC.txt | 5 + ACPI/patch-files/2_system_SMBUS.txt | 24 + ACPI/patch-files/2_system_WAK2.txt | 35 ++ README-kexts.md | 18 +- README-references.md | 6 +- config_installMEDIA.plist | 650 ++++++++++++++++++++ 13 files changed, 943 insertions(+), 12 deletions(-) create mode 100644 1_README-hardware.md create mode 100644 2_README-installMEDIA.md create mode 100644 3_README-BIOSsettings.md create mode 100755 ACPI/patch-files/2_battery_Lenovo-X230i.txt create mode 100755 ACPI/patch-files/2_system_HPET.txt create mode 100755 ACPI/patch-files/2_system_IRQ.txt create mode 100755 ACPI/patch-files/2_system_Mutex.txt create mode 100755 ACPI/patch-files/2_system_RTC.txt create mode 100755 ACPI/patch-files/2_system_SMBUS.txt create mode 100755 ACPI/patch-files/2_system_WAK2.txt create mode 100755 config_installMEDIA.plist diff --git a/1_README-hardware.md b/1_README-hardware.md new file mode 100644 index 0000000..9b148f8 --- /dev/null +++ b/1_README-hardware.md @@ -0,0 +1,2 @@ +1. Stock Samsung PM981 should be replaced to avoid installation problems with macOS. It should be noted that since there is no NVMe power management, a SATA m.2 SSD drive will drastically increase battery life [Reference](https://www.tonymacx86.com/threads/solved-lenovo-x1-carbon-6th-gen-battery-life.254508/#post-1768978). +2. Stock Intel Wifi/Bluetooth card must be replaced with a macOS compatible card. See [Broadcom Wifi/Bluetooth Guide](https://www.tonymacx86.com/threads/broadcom-wifi-bluetooth-guide.242423/#post-1664577). diff --git a/2_README-installMEDIA.md b/2_README-installMEDIA.md new file mode 100644 index 0000000..1b1a114 --- /dev/null +++ b/2_README-installMEDIA.md @@ -0,0 +1,9 @@ +1. Download macOS installer from the App Store. +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" +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. diff --git a/3_README-BIOSsettings.md b/3_README-BIOSsettings.md new file mode 100644 index 0000000..0247eeb --- /dev/null +++ b/3_README-BIOSsettings.md @@ -0,0 +1 @@ +asdas diff --git a/ACPI/patch-files/2_battery_Lenovo-X230i.txt b/ACPI/patch-files/2_battery_Lenovo-X230i.txt new file mode 100755 index 0000000..d4b2e11 --- /dev/null +++ b/ACPI/patch-files/2_battery_Lenovo-X230i.txt @@ -0,0 +1,127 @@ +#Maintained by: RehabMan for: Laptop Patches +#battery_Lenovo-X230i.txt + +# Created by Jarett, 2015-06-15 +# some fixes by Rehabman +# added Thinkpad X1 Carbon support based on submittal by dealecth +# added Thinkpad P50 (Skylake) support based on info from msharaf + +# Works for: +# Lenovo ThinkPad X230i +# Lenovo ThinkPad X1 Carbon (5th gen) +# Lenovo ThinkPad P50 (6th gen) +# Lenovo Thinkpad P51 (KabyLake) (per szclsya) +# Lenovo E580 (per jamesst20) +# Lenovo Thinkpad X1 Carbon (6th gen) (per jhonizzle) + +# Note: This DSDT requires "Fix Mutex with non-zero SyncLevel" + +# Note: disable secondary battery +# *** remove this line if you have a second battery installed) +into method label _STA parent_label BAT1 replace_content begin Return(0) end; + +into method label B1B2 remove_entry; +into definitionblock code_regex . insert +begin +Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) }\n +end; + +into method label B1B4 remove_entry; +into definitionblock code_regex . insert +begin +Method (B1B4, 4, NotSerialized)\n +{\n + Store(Arg3, Local0)\n + Or(Arg2, ShiftLeft(Local0, 8), Local0)\n + Or(Arg1, ShiftLeft(Local0, 8), Local0)\n + Or(Arg0, ShiftLeft(Local0, 8), Local0)\n + Return(Local0)\n +}\n +end; + +into method label RE1B parent_label EC remove_entry; +into method label RECB parent_label EC remove_entry; +into device label EC insert +begin +Method (RE1B, 1, NotSerialized)\n +// Arg0 - offset in bytes from zero-based EC\n +{\n + OperationRegion(ECOR, EmbeddedControl, Arg0, 1)\n + Field(ECOR, ByteAcc, NoLock, Preserve) { BYTE, 8 }\n + Return(BYTE)\n +}\n +Method (RECB, 2, Serialized)\n +// Arg0 - offset in bytes from zero-based EC\n +// Arg1 - size of buffer in bits\n +{\n + ShiftRight(Arg1, 3, Arg1)\n + Name(TEMP, Buffer(Arg1) { })\n + Add(Arg0, Arg1, Arg1)\n + Store(0, Local0)\n + While (LLess(Arg0, Arg1))\n + {\n + Store(RE1B(Arg0), Index(TEMP, Local0))\n + Increment(Arg0)\n + Increment(Local0)\n + }\n + Return(TEMP)\n +}\n +end; + +# Change EC register declarations bigger than 8 bit +into device label EC code_regex HWAK,\s+16, replace_matched begin AK00,8,AK01,8, end; +into device label EC code_regex SBRC,\s+16, replace_matched begin RC00,8,RC01,8, end; +into device label EC code_regex SBFC,\s+16, replace_matched begin FC00,8,FC01,8, end; +into device label EC code_regex SBAC,\s+16, replace_matched begin AC00,8,AC01,8, end; +into device label EC code_regex SBVO,\s+16, replace_matched begin BV00,8,BV01,8, end; +into device label EC code_regex SBBM,\s+16, replace_matched begin SB00,8,SB01,8, end; +into device label EC code_regex SBDC,\s+16, replace_matched begin DC00,8,DC01,8, end; +into device label EC code_regex SBDV,\s+16, replace_matched begin DV00,8,DV01,8, end; +into device label EC code_regex SBSN,\s+16 replace_matched begin SN00,8,SN01,8 end; +into device label EC code_regex SBCH,\s+32 replace_matched begin CH00,8,CH01,8,CH02,8,CH03,8 end; +into device label EC code_regex (SBMN,)\s+(128) replace_matched begin BMNX,%2,//%1%2 end; +into device label EC code_regex (SBDN,)\s+(128) replace_matched begin BDNX,%2,//%1%2 end; + +# SBCC added for newer Lenovo laptops, such as X1 Carbon +into device label EC code_regex SBCC,\s+16 replace_matched begin CC00,8,CC01,8, end; +# HWAC added for newer Lenovo laptops, such as X1 Carbon +into device label EC code_regex HWAC,\s+16, replace_matched begin AC10,8,AC11,8, end; +into method label _L17 code_regex \(\\_SB\.PCI0\.LPCB\.EC\.HWAC, replaceall_matched begin (B1B2(\\_SB.PCI0.LPCB.EC.AC10,\\_SB.PCI0.LPCB.EC.AC11), end; +into method label OWAK code_regex \(\\_SB\.PCI0\.LPCB\.EC\.HWAC, replaceall_matched begin (B1B2(\\_SB.PCI0.LPCB.EC.AC10,\\_SB.PCI0.LPCB.EC.AC11), end; +# HWAK in OWAK added for Thinkpad E580 +into method label OWAK code_regex \(\\_SB\.PCI0\.LPCB\.EC\.HWAK, replaceall_matched begin (B1B2(\\_SB.PCI0.LPCB.EC.AK00,\\_SB.PCI0.LPCB.EC.AK01), end; +# HWAK in _L43 also for Thinkpad E580 +into method label _L43 code_regex \(\\_SB\.PCI0\.LPCB\.EC\.HWAK, replaceall_matched begin (B1B2(\\_SB.PCI0.LPCB.EC.AK00,\\_SB.PCI0.LPCB.EC.AK01), end; +# added for P50 +into method label _WAK code_regex \(\\_SB\.PCI0\.LPC\.EC\.HWAC, replaceall_matched begin (B1B2(\\_SB.PCI0.LPC.EC.AC10,\\_SB.PCI0.LPC.EC.AC11), end; +into method label \_WAK code_regex \(\\_SB\.PCI0\.LPC\.EC\.HWAC, replaceall_matched begin (B1B2(\\_SB.PCI0.LPC.EC.AC10,\\_SB.PCI0.LPC.EC.AC11), end; +into method label _L17 code_regex \(\\_SB\.PCI0\.LPC\.EC\.HWAC, replaceall_matched begin (B1B2(\\_SB.PCI0.LPC.EC.AC10,\\_SB.PCI0.LPC.EC.AC11), end; +# added for X1 Cabon 6th gen +into method label AJTP code_regex \(SBRC, replaceall_matched begin (B1B2(RC00,RC01), end; + +#put 8-bit variable together +into method label _L1D code_regex \(\\_SB\.PCI0\.LPC\.EC\.HWAK, replaceall_matched begin (B1B2(\\_SB.PCI0.LPC.EC.AK00,\\_SB.PCI0.LPC.EC.AK01), end; +into method label GBST code_regex \(SBRC, replaceall_matched begin (B1B2(RC00,RC01), end; +into method label GBIF code_regex \(SBFC, replaceall_matched begin (B1B2(FC00,FC01), end; +into method label GBST code_regex \(SBAC, replaceall_matched begin (B1B2(AC00,AC01), end; +into method label GBST code_regex \(SBVO, replaceall_matched begin (B1B2(BV00,BV01), end; +into method label GBIF code_regex \(SBBM, replaceall_matched begin (B1B2(SB00,SB01), end; +into method label GBIF code_regex \(SBDC, replaceall_matched begin (B1B2(DC00,DC01), end; +into method label GBIF code_regex \(SBDV\) replaceall_matched begin (B1B2(DV00,DV01)) end; +into method label GBIF code_regex SBDV, replaceall_matched begin B1B2(DV00,DV01), end; +into method label GBIF code_regex \(SBSN, replaceall_matched begin (B1B2(SN00,SN01), end; +into method label GBIF code_regex \(SBCH, replaceall_matched begin (B1B4(CH00,CH01,CH02,CH03), end; +into method label GBIF code_regex \(SBMN, replaceall_matched begin (RECB(0xA0,128), end; +into method label GBIF code_regex \(SBDN, replaceall_matched begin (RECB(0xA0,128), end; + +#GBIX added for newer Lenovo such as Lenovo X1 Carbon +into method label GBIX code_regex \(SBFC, replaceall_matched begin (B1B2(FC00,FC01), end; +into method label GBIX code_regex \(SBBM, replaceall_matched begin (B1B2(SB00,SB01), end; +into method label GBIX code_regex \(SBCC, replaceall_matched begin (B1B2(CC00,CC01), end; +into method label GBIX code_regex \(SBDC, replaceall_matched begin (B1B2(DC00,DC01), end; +into method label GBIX code_regex \(SBDV\) replaceall_matched begin (B1B2(DV00,DV01)) end; +into method label GBIX code_regex SBDV, replaceall_matched begin B1B2(DV00,DV01), end; +into method label GBIX code_regex \(SBSN, replaceall_matched begin (B1B2(SN00,SN01), end; +into method label GBIX code_regex \(SBCH, replaceall_matched begin (B1B4(CH00,CH01,CH02,CH03), end; +into method label GBIX code_regex \(SBMN, replaceall_matched begin (RECB(0xA0,128), end; +into method label GBIX code_regex \(SBDN, replaceall_matched begin (RECB(0xA0,128), end; diff --git a/ACPI/patch-files/2_system_HPET.txt b/ACPI/patch-files/2_system_HPET.txt new file mode 100755 index 0000000..dd60603 --- /dev/null +++ b/ACPI/patch-files/2_system_HPET.txt @@ -0,0 +1,23 @@ +#Maintained by: RehabMan for: Laptop Patches +#system_HPET.txt + +# If you have panic "No HPETs available..." or have a abrubt restart +# after waking from sleep, you may need this patch. +# The patch makes sure the HPET device is always available. + +# HPET fix to avoid AppleIntelCPUPowerManagement panic +into method label _STA parent_hid PNP0103 remove_entry; +into device name_hid PNP0103 code_regex Name\s\(_STA\,\s+0x0F\) remove_matched; +into device name_hid PNP0103 insert +begin +Name (_STA, 0x0F)\n +end; + +into method label _CRS parent_hid PNP0103 remove_entry; +into device name_hid PNP0103 insert +begin +Method (_CRS, 0, NotSerialized)\n +{\n + Return (BUF0)\n +}\n +end; diff --git a/ACPI/patch-files/2_system_IRQ.txt b/ACPI/patch-files/2_system_IRQ.txt new file mode 100755 index 0000000..9f681d0 --- /dev/null +++ b/ACPI/patch-files/2_system_IRQ.txt @@ -0,0 +1,21 @@ +#Maintained by: RehabMan for: Laptop Patches +#system_IRQ.txt + +# This can fix non-working audio and also has an affect on HPET. +# +# Use this if you have issues with patched AppleHDA (required on almost all laptops) +# or if you have issues with HPET (restart after wake). + +# IRQ fix +into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; +into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; +into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; +into device name_hid PNP0103 code_regex IRQNoFlags\s\(\)\n\s+\{.*\} removeall_matched; +into device name_hid PNP0103 code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\).*\n\s+\{((?:.|\n)*)\}\) replace_matched +begin +Name (%1, ResourceTemplate()\n +{\n + IRQNoFlags() { 0, 8, 11, 15 }\n +%2 +})\n +end; diff --git a/ACPI/patch-files/2_system_Mutex.txt b/ACPI/patch-files/2_system_Mutex.txt new file mode 100755 index 0000000..606445a --- /dev/null +++ b/ACPI/patch-files/2_system_Mutex.txt @@ -0,0 +1,34 @@ +#Maintained by: RehabMan for: Laptop Patches +#system_Mutex.txt + +# +# Some DSDTs use Mutex objects with non-zero a SyncLevel. Evidently, +# OS X has some difficulty with this part of the ACPI spec, either that +# or the DSDTs are, in fact, codec incorrectly and Windows is ignoring +# it. + +# The common result of a non-zero SyncLevel is failure of methods at the +# point of Acquire on the mutext in question. This can result in strange +# behavior, failed battery status, or other issues. +# +# This patch corrects all Mutex objects declared with a non-zero +# SyncLevel to use zero. +# + +# 2x as there is some sort of MaciASL bug... +# (code_regex_not seems broken) +#into_all all code_regex_not Mutex\s+\([^,]*,\s+0x00\) code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; +#into_all all code_regex_not Mutex\s+\([^,]*,\s+0x00\) code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; + +# 10x as workaround for MaciASL bug... +into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; +into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; +into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; +into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; +into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; +into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; +into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; +into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; +into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; +into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; + diff --git a/ACPI/patch-files/2_system_RTC.txt b/ACPI/patch-files/2_system_RTC.txt new file mode 100755 index 0000000..def3d69 --- /dev/null +++ b/ACPI/patch-files/2_system_RTC.txt @@ -0,0 +1,5 @@ +#Maintained by: RehabMan for: Laptop Patches +#system_RTC.txt + +# RTC fix +into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end; diff --git a/ACPI/patch-files/2_system_SMBUS.txt b/ACPI/patch-files/2_system_SMBUS.txt new file mode 100755 index 0000000..a75ab56 --- /dev/null +++ b/ACPI/patch-files/2_system_SMBUS.txt @@ -0,0 +1,24 @@ +#Maintained by: RehabMan for: Laptop Patches +#system_SMBUS.txt + +# SMBUS fix +into device label BUS0 parent_adr 0x001F0003 remove_entry; +into device name_adr 0x001F0003 insert +begin +Device (BUS0)\n +{\n + Name (_CID, "smbus")\n + Name (_ADR, Zero)\n + Device (DVL0)\n + {\n + Name (_ADR, 0x57)\n + Name (_CID, "diagsvault")\n + Method (_DSM, 4, NotSerialized)\n + {\n + If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n + Return (Package() { "address", 0x57 })\n + }\n + }\n +}\n +end; + diff --git a/ACPI/patch-files/2_system_WAK2.txt b/ACPI/patch-files/2_system_WAK2.txt new file mode 100755 index 0000000..9681c7d --- /dev/null +++ b/ACPI/patch-files/2_system_WAK2.txt @@ -0,0 +1,35 @@ +#Maintained by: RehabMan for: Laptop Patches +#system_WAK2.txt + +# +# In 10.8.5 and perhaps later versions of OS X, DSDT method _WAK +# called after resuming from S3 suspend (Sleep, or suspend to RAM), +# is called with garbage in Arg0, where it should be a value +# representing the sleep state being left (1-5). +# +# This causes problems for code in DSDT _WAK method which expects +# and checks against Arg0==3 for wake from sleep to turn on various +# devices or restore internal state to a working state. +# +# This patch adds code at the very beginning of the method to +# force an an out-of-range Arg0 to 3. +# +# See system_WAK1.txt for an alternate patch +# +# Note regarding Yosemite: +# At least in Yosemite 10.10.2, this bug appears to be fixed. +# I didn't notice/verify on other versions of Yosemite +# + +into method label _WAK code_regex ([\s\S]*) replace_matched +begin +If (LOr(LLess(Arg0,1),LGreater(Arg0,5))) { Store(3,Arg0) }\n +%1 +end; + +into method label \_WAK code_regex ([\s\S]*) replace_matched +begin +If (LOr(LLess(Arg0,1),LGreater(Arg0,5))) { Store(3,Arg0) }\n +%1 +end; + diff --git a/README-kexts.md b/README-kexts.md index ed0df27..b358baf 100644 --- a/README-kexts.md +++ b/README-kexts.md @@ -1,9 +1,9 @@ -FakeSMC -VoodooPS2Controller -AppleALC -USBInjectAll -Lilu -IntelGraphicsFixup -IntelMausiEthernet -BrcmFirmwareRepo -BrcmPatchRAM2 +FakeSMC +VoodooPS2Controller +AppleALC +USBInjectAll +Lilu +IntelGraphicsFixup +IntelMausiEthernet +BrcmFirmwareRepo +BrcmPatchRAM2 diff --git a/README-references.md b/README-references.md index f191f4f..2fbd5ee 100644 --- a/README-references.md +++ b/README-references.md @@ -1,6 +1,6 @@ -https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/ -https://www.tonymacx86.com/threads/guide-2015-x1-carbon-yosemite.162391/ -https://www.tonymacx86.com/threads/99-perfect-sierra-10-12-6-on-thinkpad-x1-carbon-5th-gen-with-dual-boot-unchanged-win7.237922/ +[FAQ READ FIRST! Laptop Frequent Questions](https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/) +[GUIDE 2015 X1 Carbon Yosemite](https://www.tonymacx86.com/threads/guide-2015-x1-carbon-yosemite.162391/) +[(99% perfect) Sierra 10.12.6 on Thinkpad x1 carbon 5th-gen with dual-boot unchanged Win7](https://www.tonymacx86.com/threads/99-perfect-sierra-10-12-6-on-thinkpad-x1-carbon-5th-gen-with-dual-boot-unchanged-win7.237922/) https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/ https://www.tonymacx86.com/threads/laptop-screen-goes-blank-when-plugging-in-external-monitor.226226/ https://www.tonymacx86.com/threads/override-edid-for-display-problem.47200/ diff --git a/config_installMEDIA.plist b/config_installMEDIA.plist new file mode 100755 index 0000000..180c112 --- /dev/null +++ b/config_installMEDIA.plist @@ -0,0 +1,650 @@ + + + + + ACPI + + AutoMerge + + Comment-DisabledAML + Disable other forms of CPU PM due to SSDT/Generate/PluginType=true + DSDT + + DropOEM_DSM + + Fixes + + Comment-IRQ Fix + The following fixes may be needed for onboard audio/USB/etc + FixHPET + + FixIPIC + + FixRTC + + FixTMR + + + 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 + Disabled + + Find + + SERBUw== + + Replace + + SERFRg== + + + + Comment + change HECI to IMEI + Disabled + + Find + + SEVDSQ== + + Replace + + SU1FSQ== + + + + Comment + change MEI to IMEI + Disabled + + Find + + TUVJXw== + + Replace + + SU1FSQ== + + + + Comment + change GFX0 to IGPU + Disabled + + Find + + R0ZYMA== + + Replace + + SUdQVQ== + + + + Comment + change PCI0.VID to IGPU #1 (Thinkpad) + Disabled + + Find + + UENJMFZJRF8= + + Replace + + UENJMElHUFU= + + + + Comment + change PCI0.VID to IGPU #2 (Thinkpad) + Disabled + + Find + + VklEXwhfQURSDAAAAgA= + + Replace + + SUdQVQhfQURSDAAAAgA= + + + + + DisabledAML + + SSDT.aml + SSDT-XCPM.aml + SSDT-PluginType1.aml + + DropTables + + + Signature + #MCFG + + + Signature + DMAR + + + Signature + SSDT + TableId + xh_rvp10 + + + FixHeaders + + SSDT + + DropOem + + Generate + + PluginType + + + NoOemTableId + + + + Boot + + #DefaultVolume + LastBootedVolume + Arguments + dart=0 nv_disable=1 kext-dev-mode=1 -disablegfxfirmware + NeverHibernate + + Secure + + Timeout + 5 + + Comment + This file is for 10.12.6+ with native KabyLake support + Devices + + #AddProperties + + + Comment + hda-gfx=onboard-1 for HDMI audio + Device + IntelGFX + Key + hda-gfx + Value + + b25ib2FyZC0xAA== + + + + Comment + hda-gfx=onboard-1 for HDMI audio + Device + HDA + Key + hda-gfx + Value + + b25ib2FyZC0xAA== + + + + Comment + layout-id=3 + Device + HDA + Key + layout-id + Value + + AwAAAA== + + + + Device + HDA + Key + PinConfigurations + Value + + + + + AddProperties + + + Comment + Inject "name" as (data)"#display" to disable graphics drivers on NVidia + Device + NVidia + Disabled + + Key + name + Value + + I2Rpc3BsYXkA + + + + Comment + Inject "IOName" as "#display" to disable graphics drivers on NVidia + Device + NVidia + Disabled + + Key + IOName + Value + #display + + + Comment + Inject bogus class-code to prevent graphics drivers loading for NVidia + Device + NVidia + Disabled + + Key + class-code + Value + + /////w== + + + + Comment + Inject "name" as (data)"#display" to disable graphics drivers on AMD + Device + ATI + Disabled + + Key + name + Value + + I2Rpc3BsYXkA + + + + Comment + Inject "IOName" as "#display" to disable graphics drivers on AMD + Device + ATI + Disabled + + Key + IOName + Value + #display + + + Comment + Inject bogus class-code to prevent graphics drivers loading for AMD + Device + ATI + Disabled + + Key + class-code + Value + + /////w== + + + + Comment + Inject bogus vendor-id to prevent graphics drivers loading for AMD + Device + ATI + Disabled + + Key + vendor-id + Value + + //8AAA== + + + + Comment + Inject bogus device-id to prevent graphics drivers loading for AMD + Device + ATI + Disabled + + Key + device-id + Value + + //8AAA== + + + + Audio + + Inject + 0 + + FakeID + + #Kaby Lake-Comment + To avoid automatic Clover fake device-id (Skylake) injection + IntelGFX + 0x59168086 + + USB + + AddClockID + + FixOwnership + + Inject + + + UseIntelHDMI + + + DisableDrivers + + VBoxHfs + + GUI + + #ScreenResolution + 1920x1080 + Custom + + Entries + + + Disabled + + Hidden + + Ignore + + NoCaches + + Type + OSXRecovery + + + Disabled + + Ignore + + Title + Windows + Type + Windows + + + + Hide + + Preboot + + Mouse + + Enabled + + + Scan + + Entries + + Legacy + + Linux + + Tool + + + Theme + BGM + + Graphics + + EDID + + Inject + + + Inject + + ATI + + Intel + + NVidia + + + ig-platform-id + 0x12345678 + + KernelAndKextPatches + + AppleRTC + + DellSMBIOSPatch + + ForceKextsToLoad + + \System\Library\Extensions\IONetworkingFamily.kext + \System\Library\Extensions\AppleIntelKBLGraphicsFramebuffer.kext + + KernelLapic + + KernelPm + + KernelToPatch + + + Comment + MSR 0xE2 _xcpm_idle instant reboot(c) Pike R. Alpha + Disabled + + Find + + ILniAAAADzA= + + Replace + + ILniAAAAkJA= + + + + KextsToPatch + + + Comment + 0x591b0000, 32MB BIOS, 19MB framebuffer 9MB cursor bytes (credit RehabMan) + Disabled + + Find + + AABgAgAAUAE= + + InfoPlistPatch + + Name + com.apple.driver.AppleIntelKBLGraphicsFramebuffer + Replace + + AAAwAQAAkAA= + + + + Comment + 0x591b0000, 0105 instead of 0306, HDMI + Disabled + + Find + + AgQKAAAIAACHAQAAAwYKAAAEAACHAQAA/wAAAAEAAAAg + AAAA + + InfoPlistPatch + + Name + com.apple.driver.AppleIntelKBLGraphicsFramebuffer + Replace + + AQUKAAAIAACHAQAAAgQKAAAIAACHAQAA/wAAAAEAAAAg + AAAA + + + + Comment + 0x591b0000, 0105 instead of 0204, HDMI + Disabled + + Find + + AgQKAAAIAACHAQAAAwYKAAAEAACHAQAA/wAAAAEAAAAg + AAAA + + InfoPlistPatch + + Name + com.apple.driver.AppleIntelKBLGraphicsFramebuffer + Replace + + AQUKAAAIAACHAQAAAwYKAAAEAACHAQAA/wAAAAEAAAAg + AAAA + + + + Comment + 0x591b0000, eliminate all external ports (0204 and 0306) + Disabled + + Find + + AgQKAAAIAACHAQAAAwYKAAAEAACHAQAA/wAAAAEAAAAg + AAAA + + InfoPlistPatch + + Name + com.apple.driver.AppleIntelKBLGraphicsFramebuffer + Replace + + /wAAAAEAAAAgAAAA/wAAAAEAAAAgAAAA/wAAAAEAAAAg + AAAA + + + + + RtVariables + + BooterConfig + 0x28 + CsrActiveConfig + 0x67 + + SMBIOS + + ProductName + MacBookPro14,1 + Trust + + + SystemParameters + + InjectKexts + Detect + + +