- Joined
- Dec 28, 2014
- Messages
- 147
- Motherboard
- Lenovo X1 Carbon (Gen 3 20BS) - Clover
- CPU
- i7-5600U
- Graphics
- HD 5500, 1920x1080
Overview
Welcome to my Lenovo Thinkpad X1 Carbon (Gen 3) detailed guide, this guide is based on macOS High Sierra. A significant portion of this guide including content, layout, and supporting files, kexts, ssdt patches, and more have been stolen from @Sniki so I want to give credit to him before continuing. This laptop is a solid Hackintosh machine since it offers almost 100% real Macbook Pro experience & functionality.
The X1C is very similar to the T440, L440, L440s… if you have questions/problems feel free to ask in this thread but your problem may already be covered in one of those if you want to quickly take a look.
My Laptop Specs
Intel Core i7 5600U 2.6GHz (turbo boost up to 3.2GHz)
Intel HD 5500 Graphics
Samsung 860 EVO SATA M.2 - 500GB Solid state drive
8GB DDR3 Ram Clocked at (1600MHz)
Realtek ALC3232 Audio (Realtek ALC292)
LCD Display 1920x1080 14"
Intel AC7265 Wireless/Bluetooth Card (Replaced with DW1830 – BCM943602BAED Wireless / Bluetooth Card)
Trackpoint/Trackpad with physical buttons for Trackpoint
What Doesn't Work
(Looking at this list you will understand that everything does work except those listed below)
- Docking Port (Completely untested, assume it’s not working and never will.)
- Wifi/Bluetooth After Restart (Works fine after a shutdown, but not restart.)
Upgrades
BCM943602BAED Wireless / Bluetooth Card – Specifically a Dell DW1830
The Intel Wifi/Bluetooth card that comes with the X1 Carbon will NOT WORK within OSX, therefore you must upgrade your wireless card if you want native wifi.
I tried multiple DW1560s AND the Lenovo BCM94352 variant, they worked fine in OSX but did not work at all in Windows or Linux… The DW1830 works for me, try other cards at your own risk.
As far as I know this machine does not have any whitelist whatsoever, therefore there is no need to try to patch the bios.
Lenovo ThinkPad X1 Carbon Guide
Please note, this guide is for the 3rd Generation, 2015 model X1C. Following this guide with older or newer hardware may result in a non-functional machine.
Please note, this guide is for the 3rd Generation, 2015 model X1C. Following this guide with older or newer hardware may result in a non-functional machine.
BIOS
- Disable Security Chip
- Disable Anti Theft Module
- Disable TPM
- USB3 Mode -> Enabled
All of these settings if left enabled will cause problems with the macOS and especially with sleep, in order to have a fully functional setup you are required to disable those settings in BIOS.
Creating USB Installer
Everything is covered at @RehabMan guide on how to create a USB Installer, go read his guide first then come back here to continue with the creation of USB Installer. Link to his guide:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
Download latest MacOS High Sierra from AppStore
Download Latest Clover Bootloader (use Rehabman’s build!) - Link
Create Installer USB
Clover Bootloader customizations to choose:
- Install for UEFI Booting Only
- Install Clover in ESP
- Drivers64UEFI > OsxAptioFixDrv-64
- BGM Theme
Finally, we need one EFI driver not included in the Clover installer, HFSPlus.efi:
- it can be downloaded from here: https://github.com/JrCs/CloverGrowerPro/raw/master/Files/HFSPlus/X64/HFSPlus.efi.
- copy it to /EFI/Clover/drivers64UEFI
Note: Please, DO NOT forget HFSPlus.efi. Without it, you won't see any HFS+ partitions, including the HFS+ partition that the OS X installer is on.
Into EFI/Clover/kexts/Other add these kexts since they will be mandatory for macOS Installation:
- VoodooPS2Controller.kext
- FakeSMC.kext
- IntelMausiEthernet.kext
- ACPIBatteryManager.kext
- USBInjectAll.kext
Read this and decide whether or not you want to us APFS. If so you need to install APFS.efi file into the Clovers/Drivers64UEFI folder, if not then you don’t need that file but when installing OSX you will have to take extra steps.
https://www.tonymacx86.com/threads/...n-high-sierra-update-or-fresh-install.232855/
Reaching the High Sierra Installer
Follow steps 1, 2, and 3 in Rehabman’s guide here to reach the High Sierra installer. For the record, I used the createinstallmedia method to create the usb stick.
Partitioning the Disk (if you want to double/triple boot):
Open Disk Utility before proceeding with the install. Let’s setup our partitions. Create 3 partitions for each of the operating systems you want to have. The format of the Hackintosh partition should be HFS + J. You cannot create a NTFS partition right now for Windows, so make your Windows partition ExFat (this will be changed later). Finally, if you want a Linux OS then create one more partition for Linux now.
Organize your partitions in such a way that the most important/most permanent partitions are first. (This is because if you get rid of the least important you can expand the more important partitions can reclaim the empty space.) In my case I still prefer Windows over OSX and then OSX over Linux. Due to this my partition layout and order is as follows:
Windows (320gb) -> High Sierra (120gb) -> Ubuntu (30gb)
Installing High Sierra
Continue following Rehabman’s steps 4 through 9 in the guide here to complete the High Sierra installation. I recommend sticking with the HFS + J file system for your High Sierra partition so follow his steps regarding how to bypass the automatic APFS conversion.
You should be able to reach the desktop now.
Dual/Triple Boot Note
If you’re also going to install Windows or Linux I recommend doing so now! If something is going to go wrong you’d prefer for it to happen now instead of after we finish setting up our hack. I installed Windows 10 + Ubuntu 17…. I originally tried Centos 7 but it didn’t ship with a working wifi driver by default for the DW1830 and installing Ubuntu seemed preferable to me than trying to fix that.
Windows Notes
If you replaced the Intel wifi chip with the DW1830 you might find that the default/auto installed driver doesn’t work very well. This driver is working great for me. (Will also attach to this post just in case Dell were to take their page down.)
You will also need to edit a field in the registry so the time doesn’t get messed up when switching between OSX and back to Windows. See here.
Post Install Steps
From this point forward we will be looking at the required steps in order to get our hack working well. We need to bring bluetooth online, get brightness controls working, remove the horrible graphic lag, and more.
Disable Blocking of Apps from Unknown Sources
It’s irritating when I cannot run the apps that I download, this quick terminal command will allow apps to run from anywhere.
Code:
sudo spctl --master-disable
Then go to System Preferences > Security & Privacy > General and "Allow apps downloaded from:" to Anywhere.
Install Clover to Boot Disk
After you reached desktop, now it's time to install Clover Bootloader into HDD/SSD, Install with Clover with same settings as above. Again, make sure to use Rehabman’s build here:
https://bitbucket.org/RehabMan/clover/downloads/
Clover Bootloader customizations to choose:
- Install for UEFI Booting Only
- Install Clover in ESP
- Drivers64UEFI > OsxAptioFixDrv-64
- BGM Theme
Finally, we need one EFI driver not included in the Clover installer, HFSPlus.efi:
- it can be downloaded from here: https://github.com/JrCs/CloverGrowerPro/raw/master/Files/HFSPlus/X64/HFSPlus.efi.
- copy it to /EFI/Clover/drivers64UEFI
Note: Please, DO NOT forget HFSPlus.efi. Without it, you won't see any HFS+ partitions, including the HFS+ partition that the OS X installer is on.
Install Required Kexts
Use your favorite kext installer, I personally use Terminal like described below.
Install into "Library/Extensions". Copy all the kext into a folder on desktop name like "kext".
Open Terminal
Code:
cd ~/Desktop/kexts
sudo cp -R *.kext /Library/Extensions/
List of the kexts:
- FakeSMC.kext + ACPIsensors.kext + LPCsensors.kext + CPUsensors.kext
- VoodooPS2Contoller.kext
- IntelMausiEthernet.kext
- ACPIBatteryManager.kext
- FakePCIID.kext + FakePCIID_Intel_HD_Graphics.kext + FakePCIID_HDMI_Audio.kext
- FakePCIID_Broadcom_WIFI.kext but only if you have replaced Intel Wireless / Bluetooth card with the supported DW1830 BCM943602BAED)
- IntelGraphicsFixUp.kext
- Shiki.kext
- Lilu.kext
- USBInjectAll.kext
- BrcmPatchRam2.kext + BrcmFirmwareRepo.kext (for Bluetooth if you have compatible card installed)
- AppleBacklightInjector.kext (Built from Rehabman - Attached at the end of the guide)
- CodecCommander.kext
- ALC3232.kext (Can be found at the bottom of in Sniki’s T440 Guide)
- AirPortBrcmFixUp.kext (if you live outside of US and have trouble with 5GHz Connections & slow speeds).
Rebuild Caches with:
Code:
sudo kextcache -i /
Hotpatching ACPI
For ACPI patching we use the hotpatching. It's my understanding that hotpatches are files that describe what changes Clover should make to your DSDT/SSDTs at runtime. I could write a long guide on how to patch your DSDT/SSDTs but I could never share a pre-patched file because they change based on model numbers, firmware versions, etc. Hotpatches will do the patching for you based on DSDT/SSDTs for your device. This is so much better than static patching, just follow the steps below and we'll be done:
You will need a recent build of iasl to disassemble them properly. There is an appropriate version available here: https://bitbucket.org/RehabMan/acpica/downloads/. It is a good idea to copy the iasl binary to your path (eg. /usr/bin), so it is easily accessed from Terminal.
For example, if you downloaded it to ~/Downloads/iasl.zip, you can extract and copy it in Terminal:
Code:
cd ~/Downloads
unzip iasl.zip
sudo cp iasl /usr/bin
Download my patches.zip attachment and throw the containing files into a folder on the desktop called “patches”.
Open terminal and into the terminal window enter the command(s):
Code:
cd ~/Desktop/patches
Code:
iasl SSDT-X1CG3.dsl
For more information about hotpatching and to better understand it you are welcome to read the guide:
https://www.tonymacx86.com/threads/guide-using-clover-to-hotpatch-acpi.200137/
Copy over the config.plist provided for your laptop:
Now copy my config_post_install.plist into "HD/EFI/Clover/" of your HDD/SSD Partition which does have everything already setup. Make sure you rename the file to config.plist and overwrite the config.plist that’s there. You will need to choose the patch according to your laptop at Kernel & Kext Patches section:
For example:
- If you have standard Bios and have standard 32/64 DVMT-prealloc then the patch is enabled by default on config.plist
- If you have set 128MB DVMT-prealloc in Bios then that patch is already present but you will have to enable it manually, while disabling the 9mb cursor patch.
Restart Time!
Once clover it installed on the boot disk, the new config.plist is in place, the kexts and hotpatches are installed we need to restart a few times. (At least twice). Everything should start to come online, the mouse should work, and more! Everything from this point on will be about perfecting our system.
Disable Hibernation
Type the following commands in terminal in order to disable hibernation as it is not supported on Hackintosh.
Code:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
Generate your own SMBIOS data for iMessage & FaceTime
Every device does have it's unique ID's and it's manadatory to create your Unique ID's before accessing Apple Services.
For more details i will add the links to the two respective guides from @jaymonkey & @P1LGRIM for iMessage
P1LGRIM -An idiot's guide to iMessage:
https://www.tonymacx86.com/threads/an-idiots-guide-to-imessage.196827/
JayMonkey - How to Fix iMessage:
https://www.tonymacx86.com/threads/how-to-fix-imessage.110471/
Audio
For audio we’re using an audio injector "ALC3232.kext" which @Sniki patched on his own from CodecDump in Ubuntu. Audio is implement via SSDT-HDEF & SSDT-HDAU + config.plist which contains Kernel and Kext Patches. In my guide we will use LayoutID 28 which is already injected on SSDT-HDEF & SSDT-HDAU - (for MiniDP Audio)
This kext should work for all the other Thinkpad Laptops that do have ALC3232 (ALC292) Audio Codec.
For this codec, it's required to use ALCplugFix in order to fix External Mic "Line-In".
What it does, it does automatically detect when you plug in headphones and does switch to the required verb for it.
Sniki also built a CustomSSDT for CodecCommander "SSDT-ALC3232" which is required for fixing issues after wake from sleep.
Audio is 100% working, All Inputs, Outputs & Even after wake from sleep.
- Speakers
- Internal Mic
- Headphones
- External Mic (Line-In) "even with headsets that have built in mic like EarPods etc without any issue.”
Audio Installation
We have already installed "ALC3232.kext” and installed the DSDT/SSDT changes, the config_post_install.plist file already has the config.plist changes required for audio. The only remaining step is installing a sleep/wakeup fix. Download the alc_fix from @Snikis guide here.
- Copy alc_fix folder into desktop and open terminal and enter:
Code:cd ~/Desktop/alc_fix ./install.sh
Keyboard
Keyboard is fully mapped and all buttons are working including audio/brightness keys, the print screen key and fn buttons. Most of these keys won’t do anything yet, here is how I assigned mine:
- F4 (Mic On/Off) - Open Siri (Under SysPrefs -> Siri)
- F7 (Projector) – Video/Mirror Toggle (Under SysPrefs -> Displays -> Arrangements [Only visible when a secondary monitor is plugged in.])
- F8 (Radio On/Off) – Opens Notification Center (Under SysPrefs -> Keyboard -> Shortcuts -> Mission Control)
- F9 (Settings) – Opens System Preferences (See the top answer here to see how)
- F10 (Cortana/Search) – Opens Spotlight Search (Under SysPrefs -> Keyboard -> Shortcuts -> Services -> Searching)
- F11 (Open Apps/AltTab) – Shows/Hides Dock (Under SysPrefs -> Keyboard -> Shortcuts -> Launchpad & Dock)
- F12 (Start Menu) – Opens Launchpad (Under SysPrefs -> Keyboard -> Shortcuts -> Launchpad & Dock)
- PrtSc (Print Screen) – Save Screen Cap to Desktop (Under SysPrefs -> Keyboard -> Shortcuts -> Screen Shots)
Touchpad/TrackPad/TrackPoint
Rehabman’s official VoodooPS2Controller.kext finally plays nice with Thinkpads, or more specifically, the Trackpoint and its left, middle, and right physical buttons. There are flags that VoodooPS2Controller must read from the DSDT/SSDT patches, you can see the flags we use in SSDT-KBD.dsl file.
Wireless & Bluetooth
Wireless & Bluetooth won't work unless you replace your Wireless/Bluetooth card with a compatible one. As this laptop does use NGFF card you may want to look for "DW1830 BCM943602BAED" which has native IDs.
The DW1830 expects 3 antennas whereas the X1 Carbon only has 2, I am using the DW1830 with only 2 antennas is and it working great.
I tried to install multiple DW1560s. They both worked great in OSX but no matter what I did I could not get them to work in Linux or Windows. If you only want OSX then the DW1560 might be suitable, it just never worked for me.
You should already have the kexts installed to make these cards work.
Note: I have not tested universal clipboard, handoff, etc – those features don’t matter to me very much but I can’t think of a reason why they couldn’t be made to work (if they don’t already – search this site for more info if you are having trouble)
Rest of the "Important" fixes/patches
- Power Management
- Battery Status
- Dual Battery Support
- LED Blink after wake from Sleep
- USB Ports
- MiniDP Port & MiniDP Audio
- Brightness/Backlight
- Practically everything else
Are all fixed/patched & prebuilt on config.plist & hotpatches which are assembled on a single SSDT-X1CG3.aml SSDT.
Customization
A fully working hackintosh laptop also requires to have his Full real look in the system for eye satisfaction.
SystemLogo
I created a X1 Carbon SystemLogo for the About This Mac screen. This is the same logo at the top of this guide.
Installation:
- Download SystemLogo.tiff from this posts attachments
- Copy it and go to Applications/Utilities/System Information/ right click on it and click on "show package contents"
- go to /Contents/Resources and paste the new logo there, Replace with the existing one, Enjoy your X1C Logo on “About this mac”!
Clover Theme
I am not a big fan of the BGM theme that we started with. I found a nice Lenovo/Thinkpad theme (pictured below) which appears to be by Kogen Mantis and modified or maintained by tluck. (Someone inform me if I'm wrong.) Anyways, if you want to use this theme (or find one online) feel free.
Download Thinkpad_Clover_Theme.zip and extract it (or the theme of your choice from elsewhere). Mount your EFI partition and put the theme folder in the EFI/Clover/Themes directory.
Finally in the config.plist file change the Theme from BGM to ThinkPad or whichever theme you opt to use.
Problem Reporting
If you need help make sure you post your problem in detail below and include the required problem reporting files. Here is the easiest way to make sure you include everything we need to help you! If you don't include these files you probably won't receive any help!
Black.Dragon74's script to automatically compile problem reporting files.
Credits
@RehabMan: Everything, making it possible for us to use macOS on laptops like on real MacBooks. Special thanks for working with me to bring in extra Thinkpad specific code into his VoodooPS2Controller kext!
@Sniki: His T440 guide got me 95% of the way to a working Hackintosh alone.
@CoBrA2168: For testing changes I made to VoodooPS2Controller.kext prior to Rehabman pulling those changes into the official builds.
@Jos1984: for helping Sniki with USB Ports capture & testing.
Updates
Version 1.0 (April 30, 2018)
- Copied the heck out of @Sniki's T440S guide to create this post
- Basic X1C Hackintosh Guide is now available.. I will be making improvements over time and adding in customization notes.
Attachments
-
thinkpad x1 carbon.png438.5 KB · Views: 2,089
-
config_install.plist13.2 KB · Views: 1,496
-
patches.zip13.8 KB · Views: 1,469
-
AppleBacklightInjector.kext.zip1.2 KB · Views: 829
-
config_post_install.plist14.5 KB · Views: 1,221
-
Windows Dell DW1830 Driver.zip26.2 MB · Views: 703
-
SystemLogo.zip241.7 KB · Views: 631
-
ThinkPad Clover Theme.zip694.8 KB · Views: 859
Last edited: