# T480-OpenCore-Hackintosh **Status: Unmaintained** Sorry, I no longer use macOS on my T480. If a maintained fork is formed, it will be listed here 🚨 **UPDATE**: Maintained repo by [@valnoxy](https://github.com/valnoxy) https://github.com/valnoxy/t480-oc T480 macOS [![OpenCore](https://img.shields.io/badge/OpenCore-0.6.9-blue.svg)](https://github.com/acidanthera/OpenCorePkg) [![macOS-Previous](https://img.shields.io/badge/macOS-10.14.6-brightgreen.svg)](https://github.com/EETagent/T480-OpenCore-Hackintosh/issues/11) [![macOS-Stable](https://img.shields.io/badge/macOS-10.15.7-brightgreen.svg)](https://www.apple.com/macos/catalina/) [![macOS-Unstable](https://img.shields.io/badge/macOS-11.2.2-brightgreen.svg)](https://www.apple.com/macos/big-sur) **DISCLAIMER:** Read the entire README and Dortania guides before you start. I am not responsible for any damage. When you encounter bug or want to improve this repo, consider opening issue or pull request. If you find this bootloader configuration useful, consider giving it a star to make it more visible. ## Introduction
General knowledge & credits - To install macOS follow the guides provided by [Dortania](https://dortania.github.io/getting-started/) - Useful tools by [CorpNewt](https://github.com/corpnewt) and [headkaze](https://github.com/headkaze/Hackintool) - [CREDITS](CREDITS.md) file
Hardware
[![UEFI](https://img.shields.io/badge/UEFI-N24ET61W-lightgrey)](https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t480-type-20l5-20l6/downloads/ds502355) | Category | Component | Note | | --------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | | CPU | Intel Core i5-8250U | 20L50000MC | | GPU | Intel UHD 620 | | | SSD | Samsung 970 Evo 512GB | Replaced cursed PM 981 which stil doesn't work reliably | | Memory | 12GB DDR4 2400Mhz | | | Battery | Dual battery | | | Camera | 720p Camera | | | Wifi & BT | Intel Wireless-AC 8265 | Use AirportItlwm for your macOS version and enjoy native Wi-Fi control, or use Heliport app. | | Input | PS2 Keyboard & Synaptics TrackPad | [YogaSMC](https://github.com/zhen-zen/YogaSMC) for media keys like microphone switch, etc. PrtSc is mapped as F13. |
Main software
| Component | Version | | -------------- | -------------- | | macOS Catalina | 10.15.7 (19H2) | | macOS Big Sur | 11.2.2 (20D80) | | OpenCore | v0.6.9 |
Kernel extensions
| Kext | Version | |:---------------------- | -------------- | | AirportItlwm | 1.3.0 | | AppleALC | 1.6.0 | | BrightnessKeys | 1.0.1 | | CPUFriend | 1.2.3 | | CPUFriendDataProvider | i5-8250U | | HibernationFixup | 1.4.0 | | HoRNDIS | Disabled, 9.2 | | IntelBluetoothFirmware | 1.1.2 | | IntelBluetoothInjector | 1.1.2 | | IntelMausi | 1.0.6 | | Lilu | 1.5.3 | | NoTouchID | 1.0.4 | | NVMeFix | 1.0.7 | | RTCMemoryFixup | 1.0.8 | | VirtualSMC | 1.2.3 | | VoltageShift | Disabled, 1.22 | | VoodooPS2Controller | 2.2.3 | | VoodooRMI | 1.3.3 | | VoodooSMBus | 3.0.0 | | WhateverGreen | 1.4.9 | | YogaSMC | 1.4.3 |
UEFI drivers
| Driver | Version | |:---------------:| ----------------- | | AudioDxe.efi | OpenCorePkg 0.6.9 | | HfsPlus.efi | OcBinaryData | | OpenCanopy.efi | OpenCorePkg 0.6.9 | | OpenRuntime.efi | OpenCorePkg 0.6.9 |
Neofetch screenshots

Neofetch Catalina Neofetch Catalina

## Before installation
UEFI settings
**Security** - `Security Chip` **Disabled** - `Memory Protection -> Execution Prevention` **Enabled** - `Virtualization -> Intel Virtualization Technology` **Enabled** - `Virtualization -> Intel VT-d Feature` **Enabled** - `Anti-Theft -> Computrace -> Current Setting` **Disabled** - `Secure Boot -> Secure Boot` **Disabled** - `Intel SGX -> Intel SGX Control` **Disabled** - `Device Guard` **Disabled** **Startup** - `UEFI/Legacy Boot` **UEFI Only** - `CSM Support` **No** **Thunderbolt** - `Thunderbolt BIOS Assist Mode` **Disabled** - `Wake by Thunderbolt(TM) 3` **Disabled** - `Security Level` **User Authorization** - `Support in Pre Boot Environment -> Thunderbolt(TM) device` **Enabled**
Own prev-lang-kbd
Either add as a string or as a data ( HEX data [(ProperTree)](https://github.com/corpnewt/ProperTree) ) Format is lang-COUNTRY:keyboard - 🇺🇸 | [0] en_US - U.S --> en-US:0 --> 656e2d55 533a30 - 🇨🇿 | [30776] cs - Czech --> cs-CZ:30776 --> 63732d43 5a3a3330 373736 - 🇨🇿 | cs-CZ:0 --> 63732d43 5a3a30 etc. [AppleKeyboardLayouts.txt](https://github.com/acidanthera/OpenCorePkg/blob/master/Utilities/AppleKeyboardLayouts/AppleKeyboardLayouts.txt)
Secure Boot (Optional)
1. Set Secure Boot to Setup Mode. Secure Boot should be reported as off by UEFI main tab 2. Create FAT32 formatted USB 3. Create EFI folder in the root of the newly formatted flash drive and move there content of SecureBoot/KeyTool 4. Boot flash drive via F12 boot menu 5. Choose **Edit keys** Main menu 6. Start by **replacing** Signature Database. Select .auth file Select key to manipulate with Select .auth file 7. Do the same for Key Exchange Keys Database (KEK) and Platform Key (PK) **in this order** 8. Exit and shutdown your machine 9. Boot into the UEFI settings and check if Secure Boot is reported as `on` 10. Boot you favorite OS with Secure Boot enabled [More detailed information here](https://habr.com/en/post/273497) ```diff ! Still quite experimental ```
## Post-Install
Colour banding
If you encounter some serious colour banding issues ( Keep in mind that T480 1080p stock panel colour accuracy is not really good, cca 50-60% sRGB), your only solution is to replace GPU properties as bellow or replace the stock panel with one from T490 (400 nits, Low power). ``` AAPL,ig-platform-id AAAWGQ== device-id FhkAAA== ``` Do not use these any additional boot arguments! Get custom WhateverGreen version instead from Other folder You can check your screen in gradient test [here](https://www.eizo.be/monitor-test/) or just by simple look at Launchpad background.
Generate your own SMBIOS
[GenSMBIOS](https://github.com/corpnewt/GenSMBIOS) - MacBookPro14,1 - MacBookPro15,2
CPUFriend power management
Generate CPUFriendDataProvider for your machine [here](https://github.com/fewtarius/CPUFriendFriend) or use at your own risk files provided in the Other folder.
VoltageShift undervolt
It is possible to use VoltageShift directly from the EFI folder instead of disabling SIP. You need to use specific version provided in the Other folder. ```diff ! If you want to use this feature, enable it in config.plist ```
Android USB Tethering | HoRNDIS
> **Important:** Mac computers can't tether with Android. I don't think so Google. 1. Using a USB cable, connect your phone to the other device. A "Connected as a…" notification shows at the top of the screen. 2. Open your phone's Settings app. 3. Tap Network & internet ![And then](https://lh3.googleusercontent.com/WD3LKKej34vq3cZXwilgeahIPOiokN2uarmkDxtMqKMFg4SSys8BkOBJbn4_4R930gE=h18 "And then") Hotspot & tethering. 4. Turn on USB tethering. You should see new Ethernet connection in the network settings. Works with USB Type C and USB A. ```diff ! If you want to use this feature, enable it in config.plist ``` Problems with recreating new `en` device every time are now solved on latest macOS versions with patched version of this kext. If it does not work for you, revert to official version.
## Status
What's working ✅ - [x] Battery percentage - [x] Bluetooth - Intel Wireless-AC 8265 (0x0A2B) - [x] Boot chime - [x] Boot menu `OpenCanopy` - [x] CPU power management / performance `Now on par with Windows without XTU undervolt.` - [x] FireVault 2 `No config.plist changes needed` - [x] GPU UHD 620 hardware acceleration / performance - [x] HDMI `Closed and opened lid. With audio.` - [x] iMessage, FaceTime, App Store, iTunes Store. **Generate your own SMBIOS** - [x] Intel I219V Ethernet port - [x] Keyboard `Volume and brightness hotkeys. Another media keys with YogaSMC.` - [x] Microphone `With keyboard switch using ThinkPad Assistant.` - [x] Realtek® ALC3287 ("ALC257") Audio - [x] SD card reader `Fortunately, USB connected.` - [x] Sidecar wired `Works with 15,2 SMBIOS.` - [x] Sleep/Wake - [x] TouchPad `1-5 fingers swipe works. Emulate force touch using longer and more voluminous touch.` - [x] TrackPoint `Works perfectly. Just like on Windows or Linux.` - [x] USB Ports `USB Map is different for devices with Windows Hello camera.` - [x] Web camera - [x] Wifi - Intel Wireless-AC 8265 `Use HeliPort app for Wi-Fi control` - [x] DRM `Widevine, validated on Firefox 82. WhateverGreen's DRM is broken on Big Sur`
What's not working ⚠️ - [ ] Fingerprint reader `There is finally after many years working driver for Linux (python-validity), don't expect macOS driver any time soon.` - [ ] PM 981 `Still unstable. Could work for some, not for others.` - [ ] Sidecar wireless `If you want to use this feature, buy a compatible Broadcom card!` - [ ] Windows/Linux from OC boot menu `It's best practice to not boot from OC when planning to perform firmware upgrade`
Untested - [ ] Thunderbolt `No device to test.`
## UEFI modding
CFG Lock | Advanced menu
SPI_Programmer_CH341a.jpg It's possible to unlock Advanced menu thus disable CFG Lock natively in UEFI + Other Advanced menu benefits. SPI Programmer CH341a is required
https://www.reddit.com/r/thinkpad/comments/ffqqx5/currently_testing_skyra1n/ [T480 consuming 60w (~85w total) - unlimited TDP : thinkpad](https://www.reddit.com/r/thinkpad/comments/g8fk51/t480_consuming_60w_85w_total_unlimited_tdp/) [ThinkPad discord](discord.gg/Ybdz7AS)