Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OpenCore EFI folder for running macOS Sequoia (with AirportItlwm) and newer on the Lenovo ThinkPad T490.

NotificationsYou must be signed in to change notification settings

5T33Z0/Thinkpad-T490-Hackintosh-OpenCore

Repository files navigation

OpenCoremacOSrelease
10053604


TABLE of CONTENTS


About

OpenCore EFI folder and config for running macOS Sonoma and newer on the Lenovo ThinkPad T490. Read the following documentation carefully in order to install/boot macOS successfully!

Before you begin

⚠️ The built-in Samsung PM981a NVMe that comes with the system is NOT compatible with macOS. Youmust use a different NVMe!

Notable Features

  • Compatible with macOS Sonoma and Sequoia (works with older versions of macOS as well, but requires different WiFi-Kexts and config adjustments)
  • Woorking Thunderbolt 3 over USB-C
  • New USB Port Mapping with support for docking station
  • Optimized Framebuffer Patch for smoother handshake with external displays via HDMI
  • Working clamshell mode (when connected to A/C and external display)
  • Working MicroSD Card Reader
  • Working 3D globe in Maps app (macOS 12+)
  • No injection ofPlatformInfo data into Microsoft Windows.
  • YogaSMC support for additional features like CPU fan control, performance bias, handlingFn Keyboard shortcuts, additional OSD overlays, etc.
  • Lean EFI folder with slimmed kexts (20 MB instead of 62 MB overall):
    • AirportItlwm_Sonoma: 1,8 instead of 16 MB. Only contains Firmware for Intel AC 9560.
    • AppleALC: 86 Kb instead of 2,3 MB. Only contains layout97.
    • IntelBluetoothFirmware: 560 KB instead of 11,5 MB.
    • itlwm (1.5 mb instead of 16 mb). Only Contains Firmware for Intel AC 9560.

Known Issues

  • Hibernation Mode 25 does not work properly
  • Fingerprint sensor does not work under macOS since there is currently no way to emulate Touch ID.
  • The audio combo jack creates an unpleasant buzz/noise during driver initialization. So it's best to connect headphonesafter booting.

Important

  • Before reporting any issues, ensure that your system uses the latest available UEFI and EC Firmware.
  • Don't install macOS on an external disk or flash drive – use a compatible internal disk.

Future Developments

  • Adding USB ports of docking station to the USB port kext
  • Creating an AppleALC Layout-ID for audio output on Docking Station
  • Adjusting Framebuffer Patch so HDMI/DP Ports on docking stations can be utilized

System Specs

CategoryDescription
ModelLenovo ThinkPad T490
Variant20N3
BIOSUEFI: v1.83 (2024-06-20)
Embedded Controller: v1.27
CPUIntelIntel Core i5 8265U (Quad Core)
RAM16 GB:
  • 8 GB Samsung DDR 4 @2666 Mhz (soldered)
  • 8 GB Samsung DDR 4 @2666 Mhz (RAM Slot)
StorageSamsung PM981a NVMe (unusable)
Western Digital PC SN530 NVMe SSD
DisplayFull HD (1080p) (Non-Touch)
iGPUIntel(R) Grpahics UHD 620 (spoofed as Iris 655, BusID:2)
dGPUNone
AudioRealtek ALC257 (using Layout97)
ThunderboltTitan Ridge Thunderbolt 3 Connector (USB-C)
Tested with i-tecUSB-C Metal Nano Docking Station
EthernetIntel I219-V
WiFiIntel AC-9560
Firmware:iwm-9000-46 (Screenshot)
BluetoothDevice: Intel Wireless Bluetooth
BT Version: 5.1
VID:0x8087,PID:0x0aaa
Firmware:ibt-17-16-1.sfi,ibt17-16-1.ddc
USB Port:HS10
TrackpadSynaptics
Device-id:pci8086,9de8. Controlled via SMBus.
SD Card ReaderRealtek MicroSD Card Reader
DockThinkPad Ultra Docking Station

BIOS Settings

After powering on the machine, spamF1 until you hear a beep to enter the BIOS. Change the following settings:

CategorySetting
ConfigDisplay
  • Shared Display Priority:HDMI
  • Total Graphics Memory: irrelevant for macOS
CPU
  • Intel Hyperthreading Technology:ON
SecurityFingerprint
  • Predesktop Authentication:OFF
Security Chip
  • Security ChipON orOFF (enable for Windows 11)
Memory Protection
  • Execution Prevention:ON
Virtualization
  • Kernel DMA Protection:ON (enablesVT-D by design)
I/O Port Access
  • Ethernet LAN:ON
  • Wireless LAN:ON
  • Bluetooth:ON
  • USB Port:ON
  • Memory Card Slot:ON
  • Smart Card Slot:OFF
  • Integrated Camera:ON
  • Integrated Audio:ON
  • Microphone:ON
  • Fingerprint Reader:ON (works in Windows only) orOFF
  • Thunderbolt 3:ON
Absolute Persistance Module
  • Absolute Persistance Module Activation:Disabled
Secure Boot Configuration
  • Secure Boot:OFF
Intel SGX
  • Intel SGX Control:Disabled
Startup
  • UEFI/ Legacy Boot:UEFI Only
  • Boot Mode:Quick (Skips Diagnostics)

EFI Folder Content

Click to reveal
EFI├── BOOT│   └── BOOTx64.efi├── OC│   ├── ACPI│   │   ├── DMAR.aml│   │   ├── SSDT-ALS0.aml│   │   ├── SSDT-AWAC.aml│   │   ├── SSDT-ECRW.aml│   │   ├── SSDT-EXT1-FixShutdown.aml│   │   ├── SSDT-EXT3-LedReset-TP.aml│   │   ├── SSDT-EXT4-WakeScreen.aml│   │   ├── SSDT-GPRW.aml│   │   ├── SSDT-MCHC.aml│   │   ├── SSDT-PLUG.aml│   │   ├── SSDT-PNLF.aml│   │   ├── SSDT-PORTS.aml│   │   ├── SSDT-PTSWAK.aml│   │   ├── SSDT-T490-KBRD.aml│   │   ├── SSDT-THINK.aml│   │   └── SSDT-USBX.aml│   ├── Drivers│   │   ├── AudioDxe.efi│   │   ├── HfsPlus.efi│   │   ├── OpenCanopy.efi│   │   ├── OpenRuntime.efi│   │   └── ResetNvramEntry.efi│   ├── Kexts (Loading managed by MinKernel/MaxKernel settings)│   │   ├── AdvancedMap.kext│   │   ├── AirportItlwm_Sequoia.kext│   │   ├── AirportItlwm_Sonoma.kext│   │   ├── AMFIPass.kext│   │   ├── AppleALC.kext│   │   ├── BlueToolFixup.kext│   │   ├── BrightnessKeys.kext│   │   ├── CPUFriend.kext│   │   ├── CPUFriendDataProvider.kext│   │   ├── ECEnabler.kext│   │   ├── HibernationFixup.kext│   │   ├── IntelBluetoothFirmware.kext│   │   ├── IntelBluetoothInjector.kext│   │   ├── IntelBTPatcher.kext│   │   ├── IntelMausiEthernet.kext│   │   ├── IO80211FamilyLegacy.kext│   │   ├── IOSkywalkFamily.kext│   │   ├── itlwm.kext│   │   ├── Lilu.kext│   │   ├── NVMeFix.kext│   │   ├── RealtekCardReader.kext│   │   ├── RealtekCardReaderFriend.kext│   │   ├── RestrictEvents.kext│   │   ├── RTCMemoryFixup.kext│   │   ├── SMCBatteryManager.kext│   │   ├── SMCProcessor.kext│   │   ├── SMCSuperIO.kext│   │   ├── USBMap.kext│   │   ├── VirtualSMC.kext│   │   ├── VoodooPS2Controller.kext│   │   │   └── Contents│   │   │       └── PlugIns│   │   │           ├── VoodooInput.kext (disabled)│   │   │           ├── VoodooPS2Keyboard.kext│   │   │           ├── VoodooPS2Mouse.kext (disabled)│   │   │           └── VoodooPS2Trackpad.kext│   │   ├── VoodooRMI.kext│   │   │       └── PlugIns│   │   │           ├── RMII2C.kext (disabled)│   │   │           ├── RMISMBus.kext│   │   │           └── VoodooInput.kext│   │   ├── VoodooSMBus.kext│   │   ├── WhateverGreen.kext│   │   └── YogaSMC.kext│   ├── OpenCore.efi│   ├── Resources│   │   ├── Audio│   │   │   └── OCEFIAudio_VoiceOver_Boot.mp3│   │   ├── Font│   │   │   ├── Font_1x.bin│   │   │   ├── Font_1x.png│   │   │   ├── Font_2x.bin│   │   │   └── Font_2x.png│   │   ├── Image│   │   │   ├── Acidanthera (removed icons from tree view)│   │   │   │   ├── Chardonnay│   │   │   │   ├── GoldenGate│   │   │   │   └── Syrah │   │   │   └── Blackosx│   │   │       └── BsxM1 (removed icons from tree view)│   │   └── Label (removed files from tree view)│   └── Config.plist└── OC Changelog.md

Preparations

Config Adjustments

  • Download thelatest Release of my EFI folder and unzip it
  • Open theconfig.plist with a plist editor (e.g. ProperTree or OCAT) and adjust the following settings based on the used version of macOS and personal preferences:
    • Graphics
      • Devices/Properties/Add/PciRoot(0x0)/Pci(0x2,0x0)
        • For macOS ≤ 13.3, disable/deleteenable-backlight-registers-alternative-fix and useenable-backlight-registers-fix instead to fix black screen issues.
        • If other issues occur, try another framebuffer patch. I collected addtitional ones which be foundhere
    • Wi-Fi: Decide, which Wi-Fi kext you want to use (→ seeAirportItlwm vs. itlwm):
      • By default, Sonoma usesAirportItlwm_Sonoma
      • By default, SequoiarequiresItlwm. But with the help of OpenCore Legacy Patcher,AirportItlwm can be used as well. And that's what I configured my config for.
    • Kernel/Quirks
      • AppleXcpmCfgLock is not required on my system. Try for yourself if your T490 needs it to boot.
    • NVRAM/Add/7C436110-AB2A-4BBB-A880-FE41995C9F82
      • Optional: addboot-args-v,debug=0x100 andkeepsyms=1 for debugging if you face issues.
    • UEFI/APFS
      • ChangeMinVersion andMinDate to-1 if you want to run macOS Catalina or older.
    • Platforminfo/Generic: SMBIOS
      • GenerateMLB,Serial andROM forMacBookPro15,2 using GenSMBIOS or OCAT.
  • Save the changes

Caution

  • Don't change the SMBIOS or the USB port mapping injected byUSBMap.kext won't be applied and Bluetooth won't work either! If you change the SMBIOS, then you also need to change themodel property in theinfo.plist contained in the kext to match the selected SMBIOS (instructions).
  • If your T490 model uses a different WiFi/BT card than the stock Intel AC-9560 card, use the officialitlwm.kext instead because mine only contains the firmware for the AC-9560, so it won't work with other cards.

AirportItlwm vs. itlwm WiFi kext

Although the Intel AC-9560 Card is compatible with both kexts (use either one or the other), there are Pros and Cons to both of them (check theFAQs for other differences):

  • AirportItlwm: (used in macOS Sonoma, requires root patches in Sequoa)

    • Pro: Can be used during macOS Setup/Recovery which is not possible withitlwm.kext
    • Pro: Supports Location Services and "Find My Mac"
    • Pro: Connects faster to Wi-Fi Hotspots thanitlwm.kext
    • Con: Doesn't perform as well asitlwm.kext
    • Con: Can't connect to hidden WiFi Networks
    • Con: Requires the correct kext per macOS version, so running multiple version of macOS requires multiple versions of this kext controlled viaMinKernel andMaxKernel settings
    • Con: iMessage and FaceTime don't work when using AirportItlwm (→ SeeIssue 14)
  • itlwm.kext (used in macOS Tahoe)

    • Pro:itlwm.kext works acrossmultiple versions of macOS
    • Pro: Loading webpages feels a lot quicker than withAirportItlwm
    • Pro: Can connect to hidden WiFi Networks
    • Pro: Does work with iMessage and FaceTime
    • Con: RequiresHeliPort app to connect to Wi-Fi hotspots, so it can't be used during macOS Setup/Recovery
    • Con: Doesn't support Location Services
  • Pre-compiled WiFi kexts for other versions of macOS can be found in theAdditional Files section! You will need them if you want to run older versions of macOS!

Note

My config usesAirportItlw by default since it allows accessing the internet during macOS installation (unlikeitlwm.kext, which requires an additional app to do so). Currently,AirportItlwm kexts for macOS Sonoma and Sequoia are included, while macOS Tahoe requiresitlwm.kext.

If you want to useitlwm, disableAirportItlwm (all variants), enableitlwm and adjust theMinKernel setting to match the Kernel version of macOS (currently: 24.0.0 = macOS Sequoia). Next, download theHeliPort app, run it and add it to "Login Items" (in System Settings), so that it starts automatically with macOS.

Deployment

If macOS is installed already

  • Put the EFI folder on a FAT32 formatted USB flash drive
  • Reboot from said USB flash drive for testing
  • If it works, mount your system's ESP, replace the BOOT and OC folders in the EFI folder
  • Continue with Post-Install

If macOS is not installed

  • Follow Dortania'sOpenCore Install Guide to prepare a USB Installer
  • Optional: Once the USB has been created, download the latest version ofHeliPort and copy the .dmg to your USB Installer (only required whenitlwm.kext is used for Wi-Fi)
  • Next, mount the ESP of the USB Installer (you can useMountEFI for this)
  • Put the EFI folder on the EFI partition of the USB installer
  • Reboot from the USB installer
  • Install macOS
  • Once that is completed, continue with Post-Install

Caution

Upgrading from to macOS 14.3.1 to 14.4 or newer viaSystem Update causes a Kernel Panic during install! DisableAiportItlwm and enableitlwm.kext instead. SetSecureBootModel toDisabled, reset NVRAM and run the update again. If this does not work, use thisworkaround to install macOS 14.4 on a new APFS volume. Use Migration Manager afterwards to get your data onto the new volume!

Post-Install

Disable Gatekeeper (optional)

Gatekeeper can be really annoying and wants to stop you from running python scripts from github, etc. Do the following to disable it:

  • Open Terminal and run:sudo spctl --master-disable
  • The process has slightly changed in macOS Sequoia 15.1.1. and newermore info

Fixing On-Board Audio with OCLP Mod (macOS Tahoe beta 2)

Apple deleted the AppleHDA required for on-board audio in macOS 26 beta 2. Since there's no official OCLP version available for macOS Tahoe yet, we are going to useOCLP Mod to apply root patches – which will also install AppleHDA, thereby re-enabling audio. (→Instructions)

WiFi

Option 1: enableAirportItlwm.kext in macOS Sequoia

By default,Itlwm.kext is requird when running macOS 15. But if you want to useAirportItlwm.kext instead, you have to apply "Modern WiFi" patches with OpenCore Legacy patcher:

  • DownloadOpenCore Legacy Patcher (.pkg).
  • RemoveHeliPort from Login-Items (if present) – you won't need it any more.
  • Download my EFI folder and extract it.
  • Place it in your EFI partition.
  • Reboot
  • Reset NVRAM
  • Boot into macOS Sequoia
  • At this stage, WiFi won't work!
  • Install OpenCore legacy patcher and run it
  • Click on "Root Patches"
  • Next, click on "Start Root Patching" to install the required frameworks for "Modern Wi-Fi"
  • Once that's done, reboot
  • Reset NVRAM and start macOS Sequoia.
  • Connect to a WiFi AP via Airport-Utility

More details about this patch can be foundhere

Option 2: ForItlwm.kext users

  • MountHeliPort.dmg, drag the app into the "Programs" folder and run it.
  • Use it to connect to your WiFI hotspot.
  • Add HeliPort to "Login Items", so it stars with macOS and connects to your WiFi network automatically.

Enable YogaSMC (optional, not recommended)

Starting with Release 1.0.5 v1.0 of my OC EFI folder, I've disabled YogaSMC, CPUFriend and the required SSDTs due to reportedCPU performance issues. You can still re-enable it if you want to but I won't support it.

  • Config Settings:
    • EnableSSDT-ECRW.aml,SSDT-THINK.aml andYogaSMC.kext
    • DisableSSDT-T490-KBRD.aml and ACPI patches for the Keyboard Shortcuts
  • DownloadYogaSMC-App and mount it. This is a custom build which fixes the "Failed to open Preferences"issue in Ventura and newer
  • Double-click the YogaSMCprefPane to install it
  • Drag theYogaSMC app into the "Programs" folder and run it
  • Click on the icon (⌥) in the menu bar and select "Start at Login"
  • Now you can control performance profiles, fan speed and other settings

Configure CPUFriend

  • UseCPUFriendFriend to generate your ownCPUFriendDataProvider.kext to optimize CPU Power Management if your T490 uses a different CPU than mine.

Configure Hibernation

  • Disable PowerNap:sudo pmset -a powernap 0
  • Change Hibernatemode to 3:sudo pmset -a hibernatemode 3
  • For more details, have a look at myHibernation Configuration Guide

Important

Currently, Hibernatemode 25 does not work properly since I haven't figured out completely which RTC memory regions to block. I've managed to skip RTC memory checksum errors and restore the system from the sleepimage but it freezes after returning to the desktop after 2 seconds (scrambled image). Any assistence for fixing this would be highly appreciated.

Install MonitorControl (optional)

MonitorControl is a helpful little tool that lets you control the brightness and contrast of external displays from the menubar.

Understanding YogaSMC Settings

Open the YogaSMC preference pane. You will find the following options (among others):

  • DYTC: DYTC stands forDynamic Thermal Control. It allows the OS or firmware to manage the thermal characteristics of a device or component dynamically, adjusting power and performance to maintain safe operating temperatures. 3 profiles are available: "Quiet", "Balanced", and "Performance"
  • If you tick thePSC support, the control for the slider becomes more nuanced. Instead of 3 positions it gets more increments. I thinkPSC refers toPower State Current in theDSDT and is used to control different levels of performance via the slider.

Disabling YogaSMC

If you don't want to use YogaSMC, do the following:

  • In macOS:
    • Open System Preferences
    • Right-Click onYogaSMCPane and remove it
    • Under "Login items" (or similar) remove the YogaSMC App from the list
  • Config.plist:
    • UnderACPI, disableSSDT-THINK.aml andSSDT-ECRW.aml
    • UnderKernel, disableYogaSMC.kext

Note

After disabling YogaSMC, fan and performance controls are no longer available. F-keys besides Volume and Brightness will no longer work either.

Compiling Intel Wi-Fi and Bluetooth Firmware kexts easily

Chris1111 has created a helpful little app calledWifi-Intel-KextsBuilder which automates the process of compiling Intel Wi-Fi and Bluetooth Firmware kexts. It only requires you to have Xcode installed and will handle the rest on its own once you run it.

Wifi-Intel-KextsBuilder downloads the source code of itlwm, IntelBluetoothFirmware, MacKernelSDK and Lilu and then compiles itlwm, AirportItlwm and Intel Bluetooth Firmware kexts. They will be located under "Users/YOUR_USERNAME/Developer/Wifi-Intel-KextsBuilder/ in the "build/Release" folder of each repo.

These kexts won't be slimmed like the ones present in my EFI folders but at least you now have a simple option to compile them on your own in the future. For compiling slimmed kexts, you canfollow my guide to do so.

Credits and Thank Yous

About

OpenCore EFI folder for running macOS Sequoia (with AirportItlwm) and newer on the Lenovo ThinkPad T490.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp