Skip to content

Latest commit

 

History

History
233 lines (169 loc) · 10 KB

README.md

File metadata and controls

233 lines (169 loc) · 10 KB

Lenovo ThinkPad T440p Hackintosh (OC)

macOS Big Sur running on the T440p

Information

This guide is only for the Lenovo ThinkPad T440p. I am NOT responsible for any harm you cause to your device. This guide is provided "as-is" and all steps taken are done at your own risk.

Note: This repo include support for macOS Monterey, but it is provided as beta and is not recommended for daily usage.

What works:

  • WiFi & Bluetooth (Intel, thanks to itlwn)
  • Brightness/Volume Control
  • Battery Information
  • Audio (Audio Jack & Speaker)
  • USB Ports, Built-in Camera
  • Graphics Acceleration
  • Trackpoint/Touchpad
  • Power management/sleep
  • FaceTime/iMessage
  • DisplayPort
  • Automatic OS updates
  • DVD Drive

Not tested yet:

  • Dock USB ports
  • Dock HDMI, DisplayPort, DVI and VGA

Not working:

  • VGA

Changelog

Version 1.3.0 (08.06.2021)

  • Support macOS Monterey (Beta)

Version 1.2.1 (03.06.2021)

  • Fix Headphones buzzing noise

Version 1.2.0 (02.06.2021)

  • Add UltrabayHDD support
  • Add Intel Bluetooth kext
  • Add AppleALC kext
  • Removed VoodooHDA kext

Version 1.1.0 (21.04.2021)

  • Add new Theme BsxDarkFencePinkPurple1 (you can enable it by changing the value of PickerVariant to BsxDarkFencePinkPurple1_)
  • Add Tool (ResetSystem.efi)
  • Update Kexts and drivers
  • Update OpenCore (REL-069-2021-04-21)

Version 1.0.1 (20.03.2021)

  • Remove Tools
  • Update Introduction

Version 1.0.1 (14.11.2020)

  • Fix Audio Jack

Version 1.0 (14.11.2020)

  • Initial Release.

Download

Latest Release: v.1.3.0

Installation Guide

Requirements

You must have the following stuff:

  • Lenovo ThinkPad T440p (Obviously 😁).
  • Access to a working Windows machine with Python installed.
  • A 16 GB pendrive (Keep in mind, during the preperation we will format the disk to create the install media).
  • an Internet connection via Ethernet.
  • 1-2 hours of your time.

Preperation

Note: If you want to install macOS Monterey, you need to upgrade from Big Sur, or create an offline install media (see down below). Use the config_beta.plist for the installation.

Creating the install media

First of all, you will need the install media of macOS. I will use macrecovery to download and create the macOS Install media.

With macrecovery, the process is the following:

  • Download OpenCorePkg as a ZIP.
  • Extract the OpenCorePkg-master.zip file.
  • Open cmd.exe with Administrator privileges and change the directory to OpenCorePkg-master\Utilities\macrecovery.
  • Enter the following command to download macOS:
# Lion(10.7):
python macrecovery.py -b Mac-2E6FAB96566FE58C -m 00000000000F25Y00 download

# Mountain Lion(10.8):
python macrecovery.py -b Mac-7DF2A3B5E5D671ED -m 00000000000F65100 download

# Mavericks(10.9):
python macrecovery.py -b Mac-F60DEB81FF30ACF6 -m 00000000000FNN100 download

# Yosemite(10.10):
python macrecovery.py -b Mac-E43C1C25D4880AD6 -m 00000000000GDVW00 download

# El Capitan(10.11):
python macrecovery.py -b Mac-FFE5EF870D7BA81A -m 00000000000GQRX00 download

# Sierra(10.12):
python macrecovery.py -b Mac-77F17D7DA9285301 -m 00000000000J0DX00 download

# High Sierra(10.13)
python macrecovery.py -b Mac-7BA5B2D9E42DDD94 -m 00000000000J80300 download

# Mojave(10.14)
python macrecovery.py -b Mac-7BA5B2DFE22DDD8C -m 00000000000KXPG00 download

# Catalina(10.15)
python macrecovery.py -b Mac-00BE6ED71E35EB86 -m 00000000000000000 download

# Big Sur(11)
python macrecovery.py -b Mac-E43C1C25D4880AD6 -m 00000000000000000 download
  • After the download succeeded, type diskpart and wait until you see DISKPART>

  • Plug-in your pendrive and type list disk to see your disk id.

  • Select your pendrive by typing select disk <diskid>

  • Now we are gonna clean the pendrive and convert it to GPT. First, type clean and then convert gpt.

Note: If an error occurred, try to convert again by typing convert gpt.

  • After the pendrive is clean and converted, we will create a new partition where we can put our files on. First, type create partition primary, then select the new partition with select partition 1 and format it format fs=fat32 quick.

  • Finally, mount your pendrive by typing assign letter=J

  • Now, close the Command Prompt and create the folder com.apple.recovery.boot on the pendrive. Copy OpenCorePkg-master\Utilities\macrecovery\BaseSystem.dmg and Basesystem.chunklist into that folder.

Note: If you can't find BaseSystem.dmg, use RecoveryImage.dmg and RecoveryImage.chunklist instead.

After the install media was created, we need to make the USB drive bootable.

Configuring and installing OpenCore

Download the EFI folder from this repo, you will find the latest files under the releases or just download the repo as it is. Move the EFI folder to the root of your pendrive (e.g. J:).

GenSMBIOS

We need a script, called GenSMBIOS, to create fake serial number, UUID and MLB numbers. This step is essential to have working iMessage, so do not skip it!

The process is the following:

  • Download GenSMBIOS as a ZIP, then extract it.
  • Start GenSMBIOS.bat and use option 1 to download MacSerial.
  • Choose option 2, to select the path of the config.plist file. It will be located in EFI -> OC folder.
  • Choose option 3, and enter MacBookPro11,1 as the machine type.

Note: If you want to install macOS Monterey, type as machine type MacBookPro12,1

  • Press Q to quit. Your config now should contain the requied serials.

Enter the proper ROM value

After adding serials to your config.plist, you have to add the computer's MAC address to the config.plist file. This step is also essential to have a working iMessage, so do not skip it. We need a Plist editior, to write the MAC address into the config.plist file. I used ProperTree, since it works on Windows too. You have to change the MAC address value in the config.plist at

PlatformInfo -> Generic -> ROM

Delete the generic 112233445566 value, and enter your MAC address into the field, without any colons. Save the Plist file, and it is now ready to be written out to the EFI partition of your install media.

Install OpenCore

After you've finished with the neccesary tweaks, you have to copy the EFI folder the EFI partition of your pendrive.

Installation

Prepare BIOS

The bios must be properly configured prior to installing MacOS. In Security menu, set the following settings:

  • Security > Security Chip: must be Disabled
  • Memory Protection > Execution Prevention: must be Enabled
  • Internal Device Access > Bottom Cover Tamper Detection: must be Disabled
  • Anti-Theft > Current Setting: must be Disabled
  • Anti-Theft > Computrace > Current Setting: must be Disabled
  • Secure Boot > Secure Boot: must be Disabled

In Startup menu, set the following options:

  • UEFI/Legacy Boot: Both
  • UEFI/Legacy Priority: UEFI First
  • CSM Support: Yes

Now you can go through the install.

Install macOS

  1. Boot from USB and select the USB drive inside of OpenCore.

Note: The first boot may take up to 20 minutes.

  1. Wait for the macOS Utilities screen.
  2. Select Disk Utility, select your disk and click erase. Give a name and choose APFS with GUID Partition Map.
  3. After erasing, go back and select Reinstall macOS and follow the steps on your screen. The installation make take up to 2 hours.

Note: Your PC will restart multiple times. Just boot from USB and select your disk inside of OpenCore. (named macOS Installer or the disk name).

  1. Once you see the Region selection screen, you are good to proceed.
  2. Create your user accound and everything else.

Post-Install

Install EFI

  1. Press ALT + SPACE and open terminal. Type sudo diskutil mountDisk disk0s1 (where disk0s1 corresponds to the EFI partition of the main disk)
  2. Open Finder and copy the EFI folder of your USB device to the main disk's EFI partition.
  3. Unplug the USB device and reboot your laptop. Now you can boot macOS without your USB device.

Fix Audio Jack noise

  1. Copy ALCPlugFix to your desktop.
  2. Press ALT + SPACE and open terminal. Type the following commands:
sudo spctl --master-disable
sudo mkdir /usr/local/bin/
cd Desktop/ALCPlugFix
./install.sh
  1. After that, type hda-verb 0x1a SET_PIN_WIDGET_CONTROL 0x24.

(Optional) Creating a offline install media

In case of reinstalling macOS, a offline install media can save some time. You also don't need an Ethernet connection for the installation. To create a offline install media, you need the following stuff:

  • macOS Installer from the App Store.
  • A 16 GB pendrive (Keep in mind, during the preperation we will format the disk to create the install media).

Press ALT + SPACE and open Disk utility. Select your USB device and click erase. Name it MyUSB and choose Mac OS Extended with GUID Partition Map. After erasing the USB device, close Disk utility.

Now press ALT + SPACE and open terminal. Type the following command:

Big Sur: sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/MyUSB --downloadassets

Catalina: sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/MyUSB --downloadassets

Monterey (Beta): sudo /Applications/Install\ macOS\ 12\ Beta.app/Contents/Resources/createinstallmedia --volume /Volumes/MyUSB --downloadassets

After creating the install media, copy your EFI folder to the EFI partition of your USB device.

Feedback

Did you find any bugs or just have some questions? Feel free to provide your feedback using the Issues tab on GitHub or send me a mail to [email protected].