Contribute
Register

[Guide] Lenovo ThinkPad L440

Status
Not open for further replies.

Sniki

Moderator
Joined
Jan 5, 2016
Messages
2,313
Motherboard
HP Elite 8300 SFF
CPU
i7-3770
Graphics
Intel HD 3000 | GTX 1650 LP
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
High Sierra.jpg


Overview

Welcome to my Lenovo Thinkpad L440 detailed guide, this guide is based on the latest upcoming macOS High Sierra.
This laptop is a solid Hackintosh machine since it offers almost 100% real Macbook Pro experience & functionality.
The entire guide is based on Hotpatch which is a newer method of patching and the future for hackintosh
a quick list of the advantages of hotpatch over static MaciASL patching is:
- More Generic (you can use same patch on your L440, while Static Patching requires to patch your own ACPI Tables)
- Update Proof (you do it once, you won't need to do it again unless the future leads us to a newer/better method)
- Offers more flexibility in case you want to update something or add new stuff or remove.


My Laptop Specs

Intel HM86 Chipset Seriers
Intel Core i5 4300M 2.6GHz (turbo boost up to 3.2GHz)
Intel HD 4600 Graphics
Samsung MZ7TE128HMGR - 120GB Solid state drive
8GB DDR3 Ram Clocked at (1600MHz)
Realtek ALC3232 Audio (Realtek ALC292)
LCD Display 1366x768 14" (Upgraded to IPS B140HAN01.3 1920x1080 Display)
Intel AC7260 Wireless/Bluetooth Card (Replaced with DW1560 - BCM94352Z Wireless / Bluetooth Card)
Flat Surface Touchpad/TrackPad (Upgraded to T460 Model since it has Physical Buttons)


What doesn't work
(Looking at this list you will understand that everything does work except those listed below)

- VGA Port (Old Port, won't need it personally & doesnt function very well on MacOS, might be able to make it work)
- Fn + F11 / F11 (not currently mapped to something, will fix on next update).
- PrtSc (PrintScreen - to be mapped at screenshot feature on next update)
- PCI Card Reader (there's a Development going on for this, there's a semi working kext out there but sleep is not supported, the kext will stop working if laptop sleeps, you will have to reboot everytime laptop does sleep if you want to use the SD Card).

For more information follow the development thread below:
http://www.insanelymac.com/forum/topic/321080-sineteks-driver-for-realtek-rtsx-sdhc-card-readers/


Upgrades

BCM94352Z Wireless / Bluetooth Card:
https://www.aliexpress.com/item/BCM...32487923741.html?spm=2114.13010608.0.0.CuOUjG

IPS B140HAN01.3 - 1080P Display:
https://www.aliexpress.com/item/Ori...32617060415.html?spm=2114.13010608.0.0.ak8RR8

Thinkpad T460/560 Trackpad:
https://www.aliexpress.com/item/For...32427424309.html?spm=2114.13010608.0.0.k2vYwc


Precautions

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: https://www.bios-mods.com
Specifically for more details go to: https://www.bios-mods.com/forum/Thread-Guide-Whitelist-remove-for-2014-Lenovo-thinkpad

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 !


BIOS

- 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.


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
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:
- VoodooPS2Controller.kext: https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller
- FakeSMC.kext: https://github.com/RehabMan/OS-X-FakeSMC-kozlek
- IntelMausiEthernet.kext: https://github.com/RehabMan/OS-X-Intel-Network
- ACPIBatteryManager.kext: https://github.com/RehabMan/OS-X-ACPI-Battery-Driver
- Copy my Install_config.plist into EFI/Clover/ and rename it to config.plist (replace the old one)

This should be enough to allow you to reach desktop "Finnish 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 Kext Wizard) into System/Library/Extensions or /Library/Extensions , the choice is yours.

- FakeSMC.kext
- VoodooPS2Contoller.kext (if you have Upgraded T460 Trackpad go for Tluck Fork kext attached on the end of the guide).
- 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
- AppleBacklightInjector.kext (Built from Rehabman - Attached at the end of the guide)
- CodecCommander.kext
- ALC292.kext (Attached at the end of the Guide)

Rebuild Caches with:
Code:
sudo kextcache -i /

All the other kexts listed that are not attached can be found at @RehabMan Github:
https://github.com/RehabMan?tab=repositories


Hotpatching ACPI

In order to have everything working correctly we have to patch ACPI, thanks to @RehabMan for his genius work, we have moved to a better patching process which we already mentioned earlier - HOTPATCH.
I attached the ACPI Folder into the guide which contains all SSDTs that have patches/fix for everything to work correctly.

Copy ACPI folder into desktop, open terminal and into the terminal window enter the command(s):
Code:
cd desktop/ACPI

iasl SSDT-L440.dsl
This will create the finalized "assembled" SSDT-L440.aml which you should copy it into HDD/SSD EFI/Clover/ACPI/Patched

I also attached a prebuilt SSDT-L440.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:
https://www.tonymacx86.com/threads/guide-using-clover-to-hotpatch-acpi.200137/


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 Intel Wireless / Bluetooth Card you have to disable Country Code Patch.
- If you have standard Bios and have standard 32/64 DVMT-prealloc you should use the 9MB Cursor byte patch.
- If you have set 128MB DVMT-prealloc in Bios then that patch is already enabled by default on config.plist.


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/


Power Management

Power Management is already implemented with SSDT-PluginType1 , it's a new Method on Haswell+ which works by injecting PluginType1 in use with OEM CPU SSDTs, this new method is Generic and should work on all CPU Models Haswell or higher.
Therefore the SSDT with Piker Alpha`s script generation is not needed anymore.

For further troubleshooting and better understanding read the guide:
https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/

Audio

Audio is patched correctly from the Linux Codec Dump on Latest Ubuntu release.
It's the only fully patched Injector/AppleHDA for ALC292 with Combo Jack, i tested every single one on the web that i found, none of them had properly working External Mic via Combo Jack.

- Speakers (High volume, same as on Windows)
- Headphones (Nice crisp Sound)
- Internal Mic (Nice Sound,High Input Sound)
- External Mic (Better input volume than on Windows)
- HDMI Audio (via Mini DisplayPort - in my case "MiniDP to HDMI/VGA/DVI adapter")


Installation

- ALC292.kext which will be installed with all other kexts mentioned above in the kext section
- ALC_Fix - copy alc_fix folder into desktop and open terminal and enter:
Code:
cd desktop/alc_fix
- After you entered the command, open the alc_fix folder on desktop and drag the install.sh and drop in terminal window and then press enter, it will install alc_fix into his proper location.
- SSDT-ALC292: is the Custom Codec Commander Profile for ALC292 which contains configuration for the codec, which get's installed / assembled into the SSDT-L440.aml


USB

USB Ports are already fixed, they should work for all Lenovo L440 models since i think that all of them have 1 configuration with HM86 Chipsets, just with different CPU, Storage Options, WiFi Cards, etc.
All ports are moved into XHC which Rehabman recommends into his guide and we disable EHCI Controllers since we have no use of them and also reduces energy consumption - "Longer Battery Life"

In case you have problems with my current USB Injector "SSDT-USB" which is assembled into SSDT-L440.aml:
Follow @RehabMan guide:
https://www.tonymacx86.com/threads/guide-10-11-usb-changes-and-solutions.173616/


Wireless & Bluetooth

For Wireless and Bluetooth to work properly the above mentioned kexts FakePCIID, FakePCIID_Broadcom_WiFi, BrcmFirmwareRepo, BrcmPatchRam2 is everything we need for WiFi & Bluetooth to work.
With High Sierra we don't need the -fcvo & BT4LE/Handoff/Hotspot patch thanks to Apple for the changes/fixes that they did.

The single customization part which you can do in this case is the Country Code Patch

Name: AirPortBrcm4360
Find: 4183fcff 7435488d 55d0
Replace: 66c70623 61eb348d 55d0

Just change into Replace: "23 61" to your country code (Hex) "which 23 61 from hex to ASCII is: #a" (Generic)

For the converting read & use this:
http://www.rapidtables.com/convert/number/hex-to-ascii.htm

For further discussion/development/Troubleshooting go to the guide:
https://www.tonymacx86.com/threads/guide-airport-pcie-half-mini-v2.104850/


Customization

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

SystemLogo
For that i created 3 Lenovo Thinkpad L440 SystemLogo's for About This Mac section for 3 recent MacOS Versions.
- Lenovo Thinkpad L440 Laptop Logo with El Capitan Wallpaper into the Display
- Lenovo Thinkpad L440 Laptop Logo with Sierra Wallpaper into the Display
- Lenovo Thinkpad L440 Laptop 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.

Installation:
- 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 L440 Logo on “About this mac” !

Laptop/PC Name & Model /CPU Name/Model/Frequency/Displays/ETC
All of these customizations are covered on this page:
http://www.idownloadblog.com/2017/01/13/how-to-modify-about-this-mac-hackintosh/



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: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
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: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

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.



Changelog

- Initial release


Future Updates/Changes

- Add code for Fan Speed and other Possible Sensor reading features for HWMonitor + ACPISensors.kext
- ReMap PrtSc "PrintScreen Button" to work as Screenshot button on MacOS.
- ReMap F11 (or FN+11 if you use F1-F12 as standard buttons) to have a assignable function in Sysprefs>Keyboard>Shortcuts.
- Move PinConfigurations data into SSDT-ALC292 or SSDT-HDEF for more flexibility and Easier Management.

Credits

- @RehabMan - for his guides, help, assistance, "Everything till this laptop became complete"
- @InsanelyDeepak - for patching Audio
- @tonymacx86 - for the best hackintosh community & staff & members.
 

Attachments

  • ALC292.kext.zip
    11.9 KB · Views: 522
  • alc_fix.zip
    11.2 KB · Views: 465
  • ACPI.zip
    21.5 KB · Views: 566
  • SSDT-L440.aml
    4.3 KB · Views: 799
  • SystemLogo.zip
    876 KB · Views: 415
  • (TLUCK)VoodooPS2Controller.kext.zip
    88.5 KB · Views: 402
  • AppleBacklightInjector.kext.zip
    1.3 KB · Views: 399
  • config.plist
    18.4 KB · Views: 877
  • ThinkPad(Clover Theme).zip
    1 MB · Views: 488
Last edited:
< reserved future post #1 >
 
My laptop is Lenovo T440P, audio is ALC292, it doesn't work following your guide. I also try some other ways, but never make it work. So I have to use VoodooHDA. Another issue is brightness control, I can't make it work.
 
My laptop is Lenovo T440P, audio is ALC292, it doesn't work following your guide. I also try some other ways, but never make it work. So I have to use VoodooHDA. Another issue is brightness control, I can't make it work.

Read post #1, "Problem Reporting"
 
My laptop is Lenovo T440P, audio is ALC292, it doesn't work following your guide. I also try some other ways, but never make it work. So I have to use VoodooHDA. Another issue is brightness control, I can't make it work.
I have the guide ready for T440P, will write it max sunday.
Will post the SSDT-T440P.aml & config.plist for you tonight after i get back home from work”Until i write the guide”.
Audio should work,just not properly patched.

My guide is based on Hotpatch “advanced acpi patching method” and as far as i know i only need to map “PrtSc” & “Fn+F11/F11” to a unused key for them to map at sysprefs>shortcuts.
Everything else is working as far as i know.
 
I have the guide ready for T440P, will write it max sunday.
Will post the SSDT-T440P.aml & config.plist for you tonight after i get back home from work”Until i write the guide”.
Audio should work,just not properly patched.

My guide is based on Hotpatch “advanced acpi patching method” and as far as i know i only need to map “PrtSc” & “Fn+F11/F11” to a unused key for them to map at sysprefs>shortcuts.
Everything else is working as far as i know.

Cool! Waiting your guide!
 
Cool! Waiting your guide!
Here are the files, install same kexts as on this guide, just the ACPI (SSDT-T440P) and config.plist is different.

All you have to change on config.plist is the kernel & kext patches according to your macOS High Sierra or Sierra

And of course, generate your own SMBIOS Data like Serial Number,MLB,Rom & UUID
 

Attachments

  • config.plist
    20.8 KB · Views: 372
  • SSDT-T440P.aml
    8.4 KB · Views: 492
Hi @Sniki i just want to ask aboit upgrading the screen to 1080p as Im interested to upgrade my screen to 1080p also. Is there any pros and cons associated with the upgrade? Any suggestions or tips when upgrading? My current resolution is 1366x768 and i hate it. Thank you
 
Hi @Sniki i just want to ask aboit upgrading the screen to 1080p as Im interested to upgrade my screen to 1080p also. Is there any pros and cons associated with the upgrade? Any suggestions or tips when upgrading? My current resolution is 1366x768 and i hate it. Thank you
Upgrading the screen is very easy on this laptop,google for the steps and you can find plenty videos on how to replace screen.
Pros:
- Better Resolution 1080p
- Better Colors
- More space for content on the screen

Cons:
- you have to pay (nothing is free)
- the battery lasts a bit less since higher resolution on the display.

My suggestion:
Just do it ! (If you have the money for it)
The oem screen (1366x768) is trash.
 
Status
Not open for further replies.
Back
Top