Skip to content

yanlusu/T480-OpenCore-Mod-Hackintosh

Repository files navigation

T480-OpenCore-Mod-Hackintosh

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.

T480 macOS

OpenCore-Mod macOS-Stable Windows-Stable

Introduction

Hardware

UEFI

Category Component Note
CPU Intel Core i5-8350U
GPU Intel UHD 620
SSD0 Crucial BX500 1000GB SATA NVMeFix.kext removed, you can use NVMe SSD to replace it
SSD1 NE-512 512GB NVMe Windows 10
Memory 8+8GB DDR4 2400Mhz
Battery Dual battery
Camera 720p Camera
Wifi & BT FenVi BCM94352Z Driver Not Needed
Input PS2 Keyboard & Synaptics TrackPad YogaSMC for media keys like microphone switch, etc. PrtSc is mapped as F13.
Main software
Component Version Note
macOS Monterey 12.3.1(21E258) gibMacOS
Windows 10 21H1 windows10
OpenCore-Mod v0.8.1 Mod OpenCore to boot windows with not applying acpi patching
Kernel extensions
Kext Version Note
AirportBrcmFixup 2.1.4 FenVi BCM94352Z, Not Needed
AppleALC 1.7.0 FenVi BCM94352Z, Not Needed
AppleALC 1.7.0 Sound
BrightnessKeys 1.0.2
CPUFriend 1.2.4
CPUFriendDataProvider i5-8350U
HibernationFixup 1.4.5
IntelMausi 1.0.8 Intel Network Interface
Lilu 1.6.0
NoTouchID 1.0.4 disable fingerprint
NVMeFix 1.1.0 If I add it, opencore boot stuck occasionally
RTCMemoryFixup 1.0.8
VirtualSMC 1.2.9
VoltageShift Disabled, 1.22
VoodooPS2Controller 2.2.8
VoodooRMI 1.3.4
VoodooSMBus 3.0.0
WhateverGreen 1.5.8
YogaSMC 1.5.1
UEFI drivers
Driver Version
AudioDxe.efi OpenCorePkg 0.8.0
HfsPlus.efi OcBinaryData
OpenCanopy.efi OpenCorePkg 0.8.0
OpenRuntime.efi OpenCorePkg 0.8.0

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

Format is lang-COUNTRY:keyboard

  • 🇨🇳 | [252] en - ABC --> zh-Hans:252 --> 7A682D48 616E733A 323532
  • 🇺🇸 | [0] en_US - U.S --> en-US:0 --> 656e2d55 533a30

etc.

AppleKeyboardLayouts.txt

Status

What's working ✅
  • Battery percentage, Sometimes cycles count not correct
  • Bluetooth - FenVi BCM94352Z
  • Boot chime, Message: "HDA: Open PCI I/O protocol (try disconnectHda quirk?) - Already started" Twice at booting
  • Boot menu OpenCanopy
  • CPU power management / performance Now on par with Windows without XTU undervolt.
  • FireVault 2 No config.plist changes needed
  • GPU UHD 620 hardware acceleration / performance, H264 and HEVC supported.
  • HDMI Closed and opened lid. With audio.
  • iMessage, FaceTime, App Store, iTunes Store. Generate your own SMBIOS
  • Intel I219V Ethernet port
  • Keyboard Volume and brightness hotkeys. Another media keys with YogaSMC.
  • Microphone With keyboard switch using ThinkPad Assistant.
  • Realtek® ALC3287 ("ALC257") Audio
  • SD card reader Fortunately, USB connected.
  • Sidecar wired Works with 15,2 SMBIOS.but I'm not test it
  • Sleep/Wake
  • TouchPad 1-5 fingers swipe works. Emulate force touch using longer and more voluminous touch.
  • TrackPoint Works perfectly. Just like on Windows or Linux.
  • USB Ports USB Map is different for devices with Windows Hello camera.
  • Web camera
  • Wifi - FenVi BCM94352Z
  • DRM Widevine, validated on Firefox 82. WhateverGreen's DRM is broken on Big Sur
  • Windows 10 boot from moded OC boot menu, same as using F12 boot from Windows Boot Manager
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.

  • Sidecar wireless If you want to use this feature, buy a compatible Broadcom card!

Need help
  • Thunderbolt to DP Can't recognize 4k display, but is normal under windows booting via OC.

Post Install

GenSMBIOS

We use script 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 MacBookPro15,2 as the machine type.
  • Press Q to quit. Your config now should contain the requied serials.
Enter the proper ROM value

Using Plist editor ProperTree to add serials and 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. 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 media.

OC MOD

OC MOD

It's possible to bypass opencore acpi booting process, following steps:

  1. Download OpenCore Source Code zip package;
  2. unzip OpenCore Source Code;
  3. copy patch_no_acpi.py to root directory of OpenCore Source Code;
  4. cd ${OC_Source_Code_Root_Directory}, run patch_no_acpi.py;
  5. build OC using build_oc.tool;

UEFI MOD

CFG Lock

It's possible to unlock Advanced menu thus disable CFG Lock natively in UEFI + Other Advanced menu benefits. SPI Programmer CH341a is required, and following Unlock BIOS Advanced Menu to flash BIOS.

Figure Note
SPI_Programmer_CH341a.jpg SPI CH341A Programmer
BIOS_CHIP_POSITION.jpg BIOS CHIP On MotherBoard
WINBOND-W25Q128BV.jpg Model of BIOS CHIP
Advanced menu
Main Menu Sub1 Sub2 Sub3 Sub4
Advanced >> Intel Advanced Menu >> System Agent (SA) Configuration >> Graphics Configuration DVMT Pre-Allocated 64M
>> Power & Performance >> CPU - Power Management Control >> CPU Lock Configuration (Last item, scroll up/down until you see it) CFG Lock Disabled
config.plist
			<key>AppleCpuPmCfgLock</key>
			<false/>
			<key>AppleXcpmCfgLock</key>
			<false/>

Credits

https://github.com/hexart/T480-OpenCore-Hackintosh

https://github.com/EETagent/T480-OpenCore-Hackintosh

https://github.com/zexry619/Thinkpad-T480-Hackintosh-Dualboot

https://github.com/benbender/x1c6-hackintosh

https://github.com/corpnewt/ProperTree

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published