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

More documentation updates. Removed patch compiled folder.

This commit is contained in:
Tyler Nguyen 2020-03-29 16:54:08 -05:00
parent 5a74323c57
commit c62a08551e
No known key found for this signature in database
GPG key ID: DB5B102B914991DA
20 changed files with 59 additions and 36 deletions

View file

@ -22,14 +22,14 @@
##### Recent | [Changelog Archive](https://github.com/tylernguyen/x1c6-hackintosh/docs/CHANGELOG.md) ##### Recent | [Changelog Archive](https://github.com/tylernguyen/x1c6-hackintosh/docs/CHANGELOG.md)
> ### 2020-3-29 > ### 2020-3-29
#### Added #### Added
SSDT-ALS0 hotpatch for faking ambient light sensor ALS0 per Catalina's brightness preservation. * SSDT-ALS0 hotpatch for faking ambient light sensor ALS0 per Catalina's brightness preservation.
SSDT-GPRW hotpatching for fixing instant wake (0D/6D patch). * SSDT-GPRW hotpatching for fixing instant wake (0D/6D patch).
#### Changed #### Changed
SSDT-Keyboard with the exception of F7 and F12, now maps all hotkeys to a Fn value that can be remapped within macOS. In addition, PrtSc is now remapped to F13. * SSDT-Keyboard with the exception of F7 and F12, now maps all hotkeys to a Fn value that can be remapped within macOS. In addition, PrtSc is now remapped to F13.
SSDT-PLNF to a cleaner version. * SSDT-PLNF to a cleaner version.
Similarly, battery patch has been simplified. * Similarly, battery patch has been simplified.
#### Removed #### Removed
Some unused patches within OpenCore config.plist has now been removed. * Some unused patches within OpenCore config.plist has now been removed.
> ## SUMMARY: > ## SUMMARY:
@ -58,6 +58,7 @@ Once you are ready, follow the series of README files included `docs/`.
**2_README-installMEDIA**: Creating the macOS install drive. **2_README-installMEDIA**: Creating the macOS install drive.
**3_README-POSTinstallation**: Settings and tweaks post installation. **3_README-POSTinstallation**: Settings and tweaks post installation.
**4_README-ACPIpatching**: The hardest and most time consuming part, patching the system ACPI table for battery status, brightness, sleep, thunderbolt, thunderbolt hotplugging, etc... **4_README-ACPIpatching**: The hardest and most time consuming part, patching the system ACPI table for battery status, brightness, sleep, thunderbolt, thunderbolt hotplugging, etc...
**5_README-other.md**: for other notices
* While you can plug-and-play most of my hotpatches if you have an x1c6, I still suggest that you dump and disassemble your own DSDT. This is imprortant as your DSDT maybe different from mine. And furthermore, you get to learn more about what's actually going on. * While you can plug-and-play most of my hotpatches if you have an x1c6, I still suggest that you dump and disassemble your own DSDT. This is imprortant as your DSDT maybe different from mine. And furthermore, you get to learn more about what's actually going on.

View file

@ -8,9 +8,11 @@ However, there exists other alternatives:
- Dell DW1820A, the "CN-08PKF4" model is reported to have the most successes, so make sure to look for that specifically. - Dell DW1820A, the "CN-08PKF4" model is reported to have the most successes, so make sure to look for that specifically.
### M.2 Hard Drive Replacements: ### M.2 Hard Drive Replacements:
macOS cannot be installed on the factory installed PM981 drive. * macOS cannot be installed on the factory installed PM981 drive. Replace macOS-incompatible factory Samsung PM981 with preferably another M.2 drive.
* NVMeFix](https://github.com/acidanthera/NVMeFix) is still in its early stage. However, it has dramtically improved NVMe power management. In my personal experience, it is no longer far from SATA power consumption. I now recommend that you go with an NVMe SSD for the faster speed.
* An additional hard drive can be installed in the WAN slot. It can be used for a cleaner dual boot experience, or simply as a backup or storage drive.
Replace factory Samsung PM981 with preferably a SATA M.2 SSD, as it is [more power efficient and plays nicer with APFS than an NVMe M.2 SSD](https://www.tonymacx86.com/threads/solved-lenovo-x1-carbon-6th-gen-battery-life.254508/#post-1768978). However, if you absolute need the speed, Samsung NVMe drives are fast and are macOS compatible out of the box.
> ## BIOS: > ## BIOS:
| Main Menu | Sub 1 | Sub 2 | Sub 3 | | Main Menu | Sub 1 | Sub 2 | Sub 3 |

View file

@ -8,7 +8,7 @@
*Refer to my uploaded EFI folder for my current kext list. *Refer to my uploaded EFI folder for my current kext list.
5. Refer to the table below for the other post installtion configurations for each particular issue. Some issues are easy to fix, simply requiring a kext installtion or running a script, while others are my involved and require SSDT patching. 5. Refer to the table below for the other post installtion configurations for each particular issue. Some issues are easy to fix, simply requiring a kext installtion or running a script, while others are my involved and require SSDT patching.
6. For those other, more complicated issues, proceed to `5_README-ACPIpatching.md` 6. For those other, more complicated issues, proceed to `4_README-ACPIpatching.md`
| Feature | Status | Dependency | Remarks | | Feature | Status | Dependency | Remarks |
| :----------------------------------- | ------ | ------------------------------------------------------------ | ------------------------------------------------------------ | | :----------------------------------- | ------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
@ -27,21 +27,20 @@
| Battery Percentage Indication | ✅ | `SSDT-OCBAT0-TP_re80_tx70-80_x1c5th-6th_s12017_p51.aml` | Use [MaciASL](https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/) | | Battery Percentage Indication | ✅ | `SSDT-OCBAT0-TP_re80_tx70-80_x1c5th-6th_s12017_p51.aml` | Use [MaciASL](https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/) |
| CPU Power Management (SpeedShift) | ✅ | `XCPM` and `CPUFriend.kext`, generate your own CPUFriendDataProvider with [CPUFriendFriend](https://github.com/corpnewt/CPUFriendFriend_ or [one-key-cpufriend](https://github.com/stevezhengshiqi/one-key-cpufriend). | - | | CPU Power Management (SpeedShift) | ✅ | `XCPM` and `CPUFriend.kext`, generate your own CPUFriendDataProvider with [CPUFriendFriend](https://github.com/corpnewt/CPUFriendFriend_ or [one-key-cpufriend](https://github.com/stevezhengshiqi/one-key-cpufriend). | - |
| IGPU Power Management | ✅ | `XCPM` | - | | IGPU Power Management | ✅ | `XCPM` | - |
| Filesystem (APFS/HFS+) | ✅ | Use SATA M.2. SSD or a Compatiable M.2. PCIe SSD | No NVMe Power Management | | PCIe Ethernet | ✅ | `IntelMausi.kext` | - | |
| PCIe Ethernet | ✅ | `IntelMausi.kext` | - | | Audio Recording | ✅ | `AppleALC.kext` with Layout ID = 21 | - |
| AirPort Extreme (Wi-Fi) | ✅ | Swapping Intel WLAN card with Dell DW1560 | - | | Audio Playback | ✅ | `AppleALC.kext` with Layout ID = 21 | - |
| Audio Recording | ✅ | `AppleALC.kext` with Layout ID = 11 | - |
| Audio Playback | ✅ | `AppleALC.kext` with Layout ID = 11 | - |
| Full Graphics Accleration (QE/CI) | ✅ | `WhateverGreen.kext` | - | | Full Graphics Accleration (QE/CI) | ✅ | `WhateverGreen.kext` | - |
| Brightness Adjustments | ✅ | `WhateverGreen.kext` and `SSDT-PNLF-SKL_KBL.aml` | - | | Brightness Adjustments | ✅ | `WhateverGreen.kext` and `SSDT-PNLF-SKL_KBL.aml` | - |
| Micro SD Card Reader | ✅ | Patched `AppleUSBCardReader.kext` | - | | Micro SD Card Reader | ✅ | Custom `USBPorts.kext` See current OpenCore-EFI kext folder. | - |
| USB 3.1 | ✅ | `USBInjectAll.kext` , `SSDT-UAIC.aml` | - | | USB 3.1 | ✅ | Custom `USBPorts.kext` See current OpenCore-EFI kext folder. | - |
| DisplayPort on Thunderbolt 3 Dock | ⚠️ | `SSDT-TB3.aml`, `IOElectrify.kext` | The charging Type-C port **does not** support DisplayPort | | DisplayPort on Thunderbolt 3 Dock | ⚠️ | `SSDT-TB3.aml`, `IOElectrify.kext` | [More details](https://github.com/tylernguyen/x1c6-hackintosh/issues/24#issuecomment-603183002)|
| Thunderbolt 3 Dock (Port Replicator) | ✅ | `SSDT-TB3.aml`, `IOElectrify.kext` | - | | Thunderbolt 3 Dock (Port Replicator) | ✅ | `SSDT-TB3.aml`, `IOElectrify.kext` | - |
| Thunderbolt 3 Hotplug | ⚠️ | `SSDT-TB3.aml`, `IOElectrify.kext` | The charging Type-C port **does not** support Hotpluging | | Thunderbolt 3 Hotplug | ⚠️ | `SSDT-TB3.aml`, `IOElectrify.kext` | [More details](https://github.com/tylernguyen/x1c6-hackintosh/issues/24#issuecomment-603183002)|
| ThinkPad TB3 Dock (40AC) Ethernet | ✅ | `AppleRTL815XComposite109.kext`, `AppleRTL815XEthernet109.kext` | [Item page](https://support.lenovo.com/au/en/solutions/acc100356) | | ThinkPad TB3 Dock (40AC) Ethernet | ✅ | `AppleRTL815XComposite109.kext`, `AppleRTL815XEthernet109.kext` | [Item page](https://support.lenovo.com/au/en/solutions/acc100356) |
| CalDigit TS3 Plus Dock | ✅ | | [Item page](https://www.apple.com/shop/product/HMX12ZM/A/caldigit-ts3-plus-dock) | | CalDigit TS3 Plus Dock | ✅ | | [Item page](https://www.apple.com/shop/product/HMX12ZM/A/caldigit-ts3-plus-dock) |
| HiDPI *(Optional)* | ✅ | [xzhih/one-key-hidpi](https://github.com/xzhih/one-key-hidpi) | Scaling issues post-sleep fixed with AAPL, ig-platform `BAAnWQ==` | | HiDPI *(Optional)* | ✅ | [xzhih/one-key-hidpi](https://github.com/xzhih/one-key-hidpi) | Scaling issues post-sleep fixed with AAPL, ig-platform `BAAnWQ==` |
| Battery life | ✅ | Non-NVME SSD, proper power management setup (CPU Power Management, GPU Power Management) | Drops 10% per hour for light programming tasks | | Battery life | ✅ | Non-NVME SSD, proper power management setup (CPU Power Management, GPU Power Management) | Drops 10% per hour for light programming tasks |
| NVMe Drive Battery Management | ✅ | `NVMeFix.kext`| |
| Hibernation | ❌ | [DISABLED](https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/) | With the developement of acidanthera/HibernationFixup and OpenCore, hibernation may be fixed in the future. | | Hibernation | ❌ | [DISABLED](https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/) | With the developement of acidanthera/HibernationFixup and OpenCore, hibernation may be fixed in the future. |
| Sierra Wireless EM7455 | ❌ | `Legacy_Sierra_QMI.kext` | No internet | | Sierra Wireless EM7455 | ❌ | `Legacy_Sierra_QMI.kext` | No internet |

View file

@ -3,6 +3,7 @@
2. Dump your original ACPI tables. There are a number of ways to do this, using Clover, Hackintool, Linux. 2. Dump your original ACPI tables. There are a number of ways to do this, using Clover, Hackintool, Linux.
3. In Terminal, disassemble the copied ACPI tables with "iasl-stable -dl DSDT.aml". For our purpose, the only file that really matters is DSDT.dsl 3. In Terminal, disassemble the copied ACPI tables with "iasl-stable -dl DSDT.aml". For our purpose, the only file that really matters is DSDT.dsl
- Your DSDT file will be used as a reference table in determining that needs to be patched and what patches need to be added. - Your DSDT file will be used as a reference table in determining that needs to be patched and what patches need to be added.
4. Refer to `PATCHES.md`, most of my compiled hotpatches and can be copied straight to your setup. However, some patches may require certain directories or variables to be changed depending on your hardware (examine your own disasemebled DSDT). For these, edit the .dsl patch files. Also, note that some SSDT patches also require accompanying OpenCore/ Clover ACPI patches to work. 4. Refer to my OpenCore-EFI folder to see which patches are currently being used by me.
4. Refer to `PATCHES.md` for hotpatching documentation, most of my compiled hotpatches and can be copied straight to your setup. However, some patches may require certain directories or variables to be changed depending on your hardware (examine your own disasemebled DSDT). For these, edit the .dsl patch files. Also, note that some SSDT patches also require accompanying OpenCore/ Clover ACPI patches to work.
Special thanks to [daliansky](https://github.com/daliansky) and [jsassu20](https://github.com/jsassu20) for their work. Special thanks to [daliansky](https://github.com/daliansky) and [jsassu20](https://github.com/jsassu20) for their work.

3
docs/5_README-other.md Normal file
View file

@ -0,0 +1,3 @@
> ## Dual Booting:
* I recommend that you dual boot using another drive in the WAN slot.
* I've found that dual booting with OpenCore can be quite troulesome. Instead, what I recommend is to use rEFInd Boot Manager should you need to dual boot Windows or Linux.

View file

@ -4,29 +4,46 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
> ### 2020-3-29 > ### 2020-3-29
#### Added #### Added
SSDT-ALS0 hotpatch for faking ambient light sensor ALS0 per Catalina's brightness preservation. * SSDT-ALS0 hotpatch for faking ambient light sensor ALS0 per Catalina's brightness preservation.
SSDT-GPRW hotpatching for fixing instant wake (0D/6D patch). * SSDT-GPRW hotpatching for fixing instant wake (0D/6D patch).
#### Changed #### Changed
SSDT-Keyboard with the exception of F7 and F12, now maps all hotkeys to a Fn value that can be remapped within macOS. In addition, PrtSc is now remapped to F13. * SSDT-Keyboard with the exception of F7 and F12, now maps all hotkeys to a Fn value that can be remapped within macOS. In addition, PrtSc is now remapped to F13.
SSDT-PLNF to a cleaner version. * SSDT-PLNF to a cleaner version.
Similarly, battery patch has been simplified. * Similarly, battery patch has been simplified.
#### Removed #### Removed
Some unused patches within OpenCore config.plist has now been removed. * Some unused patches within OpenCore config.plist has now been removed.
> ### 2020-3-26
#### Changed
* Switched to AppleALC layout 21.
> ### 2020-3-23
#### Changed
* Upgraded OpenCore to 0.5.6
> ### 2020-2-04
#### Changed
* Upgraded OpenCore to 0.5.5
* Upgraded kexts.
> ### 2020-1-18
#### Changed
* Upgraded OpenCore to 0.5.4
* Upgraded kexts.
> ### 2019-12-22 > ### 2019-12-22
#### Added #### Added
Project website: https://tylernguyen.github.io/x1c6-hackintosh/ * Project website: https://tylernguyen.github.io/x1c6-hackintosh/
ACPI dump for `BIOS-v1.43`. * ACPI dump for `BIOS-v1.43`.
CHANGELOG.md to keep track of the project's developments. * CHANGELOG.md to keep track of the project's developments.
OpenCore bootloader, version `0.5.3`. * OpenCore bootloader, version `0.5.3`.
Better SSDT patching with hotpatches under `patches`. Making sure to read `patches/README`. * Better SSDT patching with hotpatches under `patches`. Making sure to read `patches/README`.
#### Changed #### Changed
Switched completely to hotpatching through OpenCore. Credits to [daliansky](https://github.com/daliansky) and [jsassu20](https://github.com/jsassu20). * Switched completely to hotpatching through OpenCore. Credits to [daliansky](https://github.com/daliansky) and [jsassu20](https://github.com/jsassu20).
Updated main README, made it look more visually appealing and organized. * Updated main README, made it look more visually appealing and organized.
#### Deprecated #### Deprecated
Clover bootloader. Clover r5100 is the last version I used on this machine. Moving forward, OpenCore is my preferred bootloader. See `EFI-Clover/README.md`. * Clover bootloader. Clover r5100 is the last version I used on this machine. Moving forward, OpenCore is my preferred bootloader. See `EFI-Clover/README.md`.
Reorganized folder/project structure. Setup instructions and references now under `docs`. * Reorganized folder/project structure. Setup instructions and references now under `docs`.
#### Removed #### Removed
Old static patches. * Old static patches.
Old IORegistryExplorer dump. * Old IORegistryExplorer dump.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.