[Guide] Lenovo ThinkPad X240

Not open for further replies.


Jan 5, 2016
HP Elite 8300 SFF
Intel HD 3000 | GTX 1650 LP
  1. MacBook Pro
Mobile Phone
  1. iOS


Welcome to my Lenovo Thinkpad X240 guide, this guide is based on the latest macOS Sierra.
for macOS High Sierra guide, you can click the link down below to go to my Lenovo Thinkpad X240 macOS High Sierra guide:
This laptop is a solid Hackintosh machine since it offers almost 100% real MacBook Experience & Functionality.
The entire guide is based on Hotpatch ACPI patching method via UEFI Clover and @RehabMan fork of Clover Bootloader.

Note: i don't own a Lenovo Thinkpad X240 laptop, the entire guide is build based on X240 users that requested help on my existing guides for other Thinkpad laptops & tonymacx86 forums.
Lenovo Thinkpad laptops are similar on hardware with each other but on ACPI structure, they have small enough differences that require a whole different guide for the other model.
(specific example is Lenovo Thinkpad T440 ; Lenovo Thinkpad T440P ; Lenovo Thinkpad T440S)
Although they are very similar, i needed to create specific guide & files for each other so everyone can have a working one.

My laptop Specs (Lenovo Thinkpad L440)
Intel HM86 Series Chipset.
Intel Core i7 4700MQ 2.4GHz (Turbo Boost up to 3.4GHz).
Intel HD4600 Integrated Graphics.
8GB Ram (DDR3) clocked at 1600MHz
Realtek ALC3232 Audio Codec
FHD IPS Display Panel "B140HAN01.3" (Upgraded, OEM was 1366x768 LCD)
DW1560 Wireless/Bluetooth Card "BCM94352Z" (Upgraded, OEM was Intel AC7260)
Lenovo Thinkpad T460 Touchpad with "Physical Buttons" (Upgraded, OEM was flat surfaced)

BCM94352Z Wireless / Bluetooth Card:
IPS FHD "1080P" Display Panel (B140HAN01.3):
Thinkpad T460/T560 Trackpad:

Lenovo ThinkPad X240 Guide

What doesn't work / Partially works

As far as reported from X240 users, everything else is working fine except of these issues that i listed down below:

Might be able to make it work, so far haven't seen a HD4200/4400/4600 available patch for it, also something that i didn't have time to experiment with, might attempt a fix/patch when i get some time to play with it, but not important for me at all.


The Trackpoint does work very well with the Tluck fork of VoodooPS2Controller.kext since it has support for it, but there's a rare issue where the trackpoint doesn't work on some cold boots, a restart or two should fix it.
Will check Synpatics documentation when i get time for it to see if i can fix it or propably will be fixed by an update from Tluck.

PCI Card Reader

There is a development going on for PCI Card Readers on Insanelymac forums from Sinetek, there's a working kext which works decently, except that it has an issue where if laptop sleeps, the kext stops working and the Card Reader doesn't work anymore,
a restart of the laptop should fix it and avoiding letting it sleep.

For more information follow the development thread below, i will update the attached kext & guide if a change happens.

These laptops have the so called WHITELIST which restricts using another Wireless/Bluetooth Card, in order to install supported Wireless / Bluetooth Card you are required to do a BIOS Mod in order to bypass that.

Whitelist Removal
In order to remove whitelist you will need to buy these tools which they are really cheap, also you are required to disassemble your laptop so you can reach the EEPROM chip for Bios Dump ; Sent Patch Request ; Erase ; Write new Modded Bios

Tools required:
  • CH341a Flash Programmer
  • SOIC8 Test Clip
After you received the tools, assuming you disassembled your laptop you have to Dump your current Bios which you should do a backup of it just in case something goes wrong, you can revert it back to normal.
You zip the Bios Dump and sent to the forum:
Specifically for more details go to:

You should request for:
  • Whitelist Removal
  • Unlock Advanced Menu
For me someone Answered in 30min with a BIOS Mod, after you receive the mod Erase the EEPROM and Write the New Bios Mod
Install new Wireless Card and you are done !

  • Disable Security Chip
  • Disable Anti Theft Module
  • Disable TPM

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.

Special note regarding Clover Bootloader
Recently RehabMan added his own fork of Clover Bootloader into his Github, which does include a lot of ACPI Patching changes / fixes / added features that makes hotpatching ACPI much more easier.
In result: Rehabman Fork of Clover bootloader is recommended by default now, if you want to use this guide and the files on my guide you have to use his Clover Bootloader.

Link to his Fork of Clover Bootloader:

Link to his Prebuilt Clover Installer:

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:

  • Download latest MacOS Sierra from AppStore
  • Download Latest Clover Bootloader
  • Create Installer USB

Clover Bootloader installer options to choose:
  • Install for UEFI Booting Only
  • Install Clover in ESP
  • Drivers64UEFI > OsxAptioFixDrv-64

Into EFI/Clover/kexts/Other add these kexts since they will be mandatory for macOS Installation:

Post Installation
After you reached desktop, now it's time to install Clover Bootloader into HDD/SSD, Install with Clover with same settings as above, now its time add files into their correct locations and proceed with finalizing the laptop.

Install kexts into HDD/SSD (use your favorite kext installer,i personally use Terminal like described below)
Install into "System/Library/Extensions" or "Library/Extensions" , the choice is yours.
For me i install into /Library/Extensions as Apple recommends it.
Copy all the kext into a folder on desktop name like "kext"
Open Terminal
cd desktop/kext
sudo cp -R *.kext /Library/Extensions/
With this command all the kexts will be installed into Library/Extensions.

List of the kexts:
  • FakeSMC.kext + ACPIsensors.kext + LPCsensors.kext + CPUsensors.kext.
  • VoodooPS2Contoller.kext (Tluck fork kext attached since it does support TrackPoint).
  • IntelMausiEthernet.kext
  • ACPIBatteryManager.kext
  • FakePCIID.kext + FakePCIID_Intel_HD_Graphics.kext + FakePCIID_HDMI_Audio.kext + FakePCIID_Broadcom_WIFI.kext
  • (Broadcom_Wifi.kext only if you have replaced Intel Wireless / Bluetooth card with the supported DW1560 BCM94352Z)
  • 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 (attached at the end of the guide)
  • Sinetek-rtsx.kext (Card Reader kext - attached at the end of the guide)
  • AirPortBrcmFixUp.kext (if you live outside of US and have trouble with 5GHz Connections & slow speeds).

Rebuild Caches with:
sudo kextcache -i /
All the other kexts listed that are not attached can be found at @RehabMan Github:

Hotpatching ACPI
For ACPI patching we use the Hotpatch method which is a newer way of patching and the future for hackintosh.
- Its more generic (can use same patch on same laptop model, while static requires to patch your own).
- More Update Proof (both software & hardware), etc
I attached the ACPI Folder into the guide which contains all SSDTs that have patches/fix for everything to work correctly.

Copy Include folder into desktop, open terminal and into the terminal window enter the command(s):
cd desktop/include
iasl SSDT-X240.dsl
This will create the finalized "assembled" SSDT-X240.aml which you should copy it into HDD/SSD EFI/Clover/ACPI/Patched

I also attached a prebuilt SSDT-X240.aml for you that don't need any change and if you follow/install everything as explained here from this guide.

For a better understanding read the guide:

Setup config.plist according to your Laptop
Now copy my config.plist into "EFI/Clover/" of your HDD/SSD Partition which does have everything already setup, except that you have 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.

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:

JayMonkey - How to Fix iMessage:

For audio i created a audio injector "ALC3232.kext" which i patched on my own from my CodecDump from Ubuntu.
Audio is implement via SSDT-HDEF & SSDT-HDAU + config.plist = Kernel and Kext Patches
In my guide we will use LayoutID28 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.
I 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 install "ALC3232.kext" which will be installed with all other kexts mentioned above in the kext section of the guide.
  • Copy alc_fix folder into desktop and open terminal and enter:
cd desktop/alc_fix

  • After you entered the command, open the alc_fix folder on desktop and drag the and drop in terminal window and then press enter, it will install alc_fix into his proper location.
  • SSDT-ALC3232: is the Custom Codec Commander Profile for ALC3232 which contains configuration for the codec, which get's installed / assembled into the SSDT-X240.aml (already available on the pre-built SSDT-X240.aml) so no need for it.
Audio installation done !

Keyboard is fully mapped and all buttons are working including Brightness keys and Rest of the Keyboard & FN Buttons.
All other Fn Buttons do work, you just have to assign them as shortcuts on Sysprefs > Keyboard > Shortcuts like:
  • F4 (Mic On/Off) i mapped this one to Siri shortcut
  • F7 (Projector) i mapped this one to Video/Mirror Toggle
  • F8 (Radio On/Off) i mapped this one to Notification Center
  • F9 (Settings) i mapped this one as System Preferences
  • F10 (Cortana/Search) i mapped this one to Spotlight Search
  • F11 (Open Apps/AltTab) i mapped this one to Mission Control
  • F12 (Start Menu) i mapped this one to Launchpad
To see whats going on and how they are implemented you can have a look at SSDT-KBD attached on ACPI folder.

The TrackPad does work very well with the Tluck fork of VoodooPS2Controller.kext which i attached at the end of the guide.
It also includes support for TrackPoint and Physical Buttons like Left,Middle & Right Click Buttons.
Also 3 fingers scrolling is supported which is excellent as i use these to switch left and right into desktops with mission control.
These gestures are assignable via SysPrefs > Keyboard > Shortcuts > Mission Control.
i Personally have customized these gestures like this on my laptop:
  • 3 fingers swipe up for "Application Windows"
  • 3 fingers swipe down for "Show Desktop"
  • 3 fingers swipe right for "Move left a space" (to move to the desktop on the left side)
  • 3 fingers swipe left for "Move right a space" (to move to the desktop on the right side).

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 :
"DW1560 BCM94352Z" or "BCM943602BAED" which has native IDs but requires installation of 1 extra antenna.

Wireless will work with the installation of only these two kexts: FakePCIID.kext & FakePCIID_Broadcom_WiFi.kext
Bluetooth will work with the installation of : BrcmFirmwareRepo.kext & BrcmPatchRam2.kext.

If you live outside of US, you may want to use the Country Code Patch as it adds some bands that are not available on US.
There is a working config.plist /Kernel and Kext Patches - Patch for Country Code #a.
If you need it, you can enable it into config.plist.

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
  • Including the others that i forgot to list "etc".
Are all fixed/patched & prebuilt on config.plist & Hotpatch SSDTs which are assembled on a single SSDT-X240.aml SSDT.

A fully working hackintosh laptop also requires to have his Full real look in the system for eye satisfaction.

For that i created 3 Lenovo Thinkpad 440 Series SystemLogo's for About This Mac section for 3 recent MacOS Versions.
  • Lenovo Thinkpad 440 Series Laptop Logo with El Capitan Wallpaper into the Display
  • Lenovo Thinkpad 440 Series Logo with Sierra Wallpaper into the Display
  • Lenovo Thinkpad 440 Series Logo with High Sierra Wallpaper into the Display

Same logo as the one on the top of the guide but different display wallpaper which reflects each version of MacOS.

  • Rename HighSierra.tiff logo to "SystemLogo.tiff
  • 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 X240 Logo on “About this mac” !

Laptop/PC Name & Model /CPU Name/Model/Frequency/Displays/ETC
All of these customizations are covered on this page:

Problem Reporting
(Before posting any Problem you must read this and provide all the files request in this post of @RehabMan as he described.)

It is impossible to diagnose a problem without data that shows how your system is configured.

Also, impossible to analyze any data that you might provide without a clear understanding of your hardware. So make sure your profile is filled as per the first question in this FAQ, "Q. Where do I start?".

If you can't boot, a bare minimum is:
- Boot verbose, attach photo
- Attach EFI/Clover folder as ZIP (press F2 then F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Note: Some laptops swap Fn+Fx for Fx. For those laptops, press Fn+F2 then Fn+F4. If you're not sure, press F2, then F4, then Fn+F2, then Fn+F4. You can also verify by pressing F1 (or Fn+F1) to see which one brings the menu.

If you can boot, but are having some other problem, describe the problem clearly and provide data...

Download patchmatic:
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code (Text):

if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Note: It is easier if you use copy/paste instead of typing the commands manually.

Attach contents of Downloads/RehabMan directory as ZIP.

Attach ioreg as ZIP: Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of

Provide output (in Terminal):
Code (Text):

kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda

Attach EFI/Clover folder as ZIP (press F2 then F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Note: Some laptops swap Fn+Fx for Fx. For those laptops, press Fn+F2 then Fn+F4. If you're not sure, press F2, then F4, then Fn+F2, then Fn+F4. You can also verify by pressing F1 (or Fn+F1) to see which one brings the menu.

Attach output of (in Terminal):
Code (Text):

sudo touch /System/Library/Extensions && sudo kextcache -u /

Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.

Automatic script to Generate Problem Reporting files
Black.Dragon74 created a script to automatically collect all the problem reporting files which does also automatically Mask serial number;UUID;MLB & ROM
Link to the script:

@RehabMan Everything, making it possible for us to use macOS on laptops like on real MacBooks.
@mnmmnm testing & feedback


  • config.plist
    16.5 KB · Views: 1,684
  • SSDT-X240.aml
    8.9 KB · Views: 1,503
    19.3 KB · Views: 1,018
    19.5 KB · Views: 1,014
    2.8 KB · Views: 857
    10.4 KB · Views: 1,225
    11.5 KB · Views: 1,145
  • (TLUCK)
    88.6 KB · Views: 951
  • Card
    39.1 KB · Views: 909
    876.4 KB · Views: 756
  • ThinkPad Theme for
    1 MB · Views: 818
no hard drive after loading clover.. help please..
using Samsung ssd 850 pro
Last edited:
but i'am install Sierra not high Sierra ..
but i'am install Sierra not high Sierra ..
Then you didn’t include HFSplus.efi

Download it from this link below:

Copy it into EFI/Clover/Drivers64Uefi/

If you still have problems attach problem reporting files.

This also makes clear that you didn’t read the guide for making usb installer.

Go read it here,Rehabman explained every step there:
@RehabMan i have a problem with high sierra .
when i use given ssdt-x240.aml it shows error . my bios version on lenovo x240 is 2.42
can i get new ssdt-x240.aml? for my laptop. thanks
Last edited:
@RehabMan Please help me.
My USB ports aren't working properly, i can't sync my iPhone 6s on iTunes, just charge it. iPhone 4s works fine tho. USB 3.0 pendrive works just fine too.

Lenovo x240 - High Sierra 10.13.6
Intel i5 4300u


    1.9 MB · Views: 380
Last edited:
@RehabMan Please help me.
My USB ports aren't working properly, i can't sync my iPhone 6s on iTunes, just charge it. iPhone 4s works fine tho. USB 3.0 pendrive works just fine too.

Lenovo x240 - High Sierra 10.13.6
Intel i5 4300u

Your USB configuration is not correct. UsbConnector values are clearly wrong. Expect 1:1 correspond between HSxx UsbConnector=3 and SSxx UsbConnector=3.
Read this guide:
Not open for further replies.