Awesome
<h1 align="center"> macOS on Lenovo Legion 5 15IMH05H </h1> <p align="center"> <img src="https://github.com/yusufklncc/Lenovo-Legion-5-Hackintosh/blob/main/Images/macOS%20Lenovo%20Legion%205.png" width="700"/> </p> <h4 align="center"> OpenCore config for Hackintosh Lenovo Legion 5 15IMH05H </h4> <p align="center"> <a href="https://www.apple.com/macos/sonoma-preview/"> <img src="https://img.shields.io/badge/macOS-Sonoma-green" width="170"/> </a> <a href="https://github.com/acidanthera/OpenCorePkg/releases"> <img src="https://img.shields.io/badge/OpenCore-0.9.3-9cf" width="155"/> </a> <a href="https://github.com/yusufklncc/Lenovo-Legion-5-Hackintosh/releases"> <img src="https://img.shields.io/badge/release-EFI-blue.svg" width="115"/> </a> <a href="https://github.com/yusufklncc/Lenovo-Legion-5-Hackintosh/issues"> <img src="https://img.shields.io/github/issues/yusufklncc/Lenovo-Legion-5-Hackintosh" width="145"/> </a> </p> <p align="center"> <a href="https://t.me/yusufklncc"> <img src="https://img.shields.io/badge/-@yusufklncc-2CA5E0?logo=Telegram&logoColor=white" width="150"/> </a> <a href="https://www.youtube.com/c/yusufklncc"> <img src="https://img.shields.io/badge/-@yusufklncc-red?logo=YouTube&logoColor=white" width="150"/> </a> <a href="https://www.paypal.com/paypalme/sevenpay"> <img src="https://img.shields.io/badge/-@sevenpay-white?logo=PayPal" width="140"/> </a> <a href="https://www.buymeacoffee.com/yusufklncc"> <img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" width="150"/> </a>Contents
- Screenshots
- Original Hardware
- macOS Update History
- What's working
- What's not working
- Kexts Used
- SSDTs Used
- boot-args Used
- Installation Steps
- Credits
- Donate
Screenshots 📷
CPU Frequency and Temperature
-
Normal
<img src="https://github.com/yusufklncc/Lenovo-Legion-5-Hackintosh/blob/main/Images/Normal%20CPU%20Frequency%20and%20Temperature.jpeg" width="300"> -
While Geekbench
<img src="https://github.com/yusufklncc/Lenovo-Legion-5-Hackintosh/blob/main/Images/Max%20CPU%20Frequency%20and%20Temperature.jpeg" width="300">
Geekbench
- CPU
- <img src="https://github.com/yusufklncc/Lenovo-Legion-5-Hackintosh/blob/main/Images/CPU%20Geekbench.png" width="500">
- OpenCL
- <img src="https://github.com/yusufklncc/Lenovo-Legion-5-Hackintosh/blob/main/Images/OpenCL.png" width="500">
- Metal
- <img src="https://github.com/yusufklncc/Lenovo-Legion-5-Hackintosh/blob/main/Images/Metal.png" width="500">
Original Hardware 💻
Type | Spec | Status |
---|---|---|
Model Name | Lenovo Legion 5 15IMH05H | ✅ |
CPU | Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz Comet Lake | ✅ |
RAM | 16 GB 2933 MHz DDR4 | ✅ |
Internal Graphics Card | Intel(R) UHD Graphics 630 (1 GB) | ✅ |
External Graphics Card | NVIDIA GeForce RTX 2060 | ❌ |
Wi-Fi | Intel AX201 Wi-Fi 6 (802.11ax) | ✅ |
Ethernet | Realtek RTL8111H | ✅ |
Audio | Realtek ALC257 | ✅ |
macOS Update History
- ✅ macOS Sonoma 14.0 (not tested)
- ✅ macOS Ventura 13.4
- ✅ macOS Monterey
- ✅ macOS Big Sur
What's working 💻
Type | Status |
---|---|
Turbo boost and CPU frequency stage | ✅ |
Intel UHD Graphics 630 | ✅ |
Brightness control | ✅ |
Audio Realtek ALC257 - layout-id: 11 | ✅ |
Realtek Ethernet RTL8111H | ✅ |
Intel AX201 Wi-Fi and Bluetooth, Handoff, iMessage... | ✅ |
USB 3.0 and Type-C (with Port Map) | ✅ |
Touchpad (14 gestures are working) | ✅ |
Battery status | ✅ |
Camera | ✅ |
S3 Sleep / Wake | ✅ |
S4 Hibernation / Wake | ✅ |
Shutdown / Reboot | ✅ |
Fn shortcut keys | ✅ |
What's not working 💻
Type | Info | Status |
---|---|---|
HDMI | Beacuse it connected to RTX2060 | ❌ |
Airdrop, Sidecar | Beacuse Intel Wi-Fi Doesn't Support | ❌ |
Kexts Used
Kext | Info | MinKernel | MaxKernel |
---|---|---|---|
Lilu | An open source kernel extension bringing a platform for arbitrary kext, library, and program patching throughout the system for macOS. | 8.0.0 | |
VirtualSMC | Advanced Apple SMC emulator in the kernel. Requires Lilu for full functioning. | 8.0.0 | |
SMCBatteryManager | Battery Status Monitoring. | 8.0.0 | |
SMCProcessor | Processor Temp Monitoring. | 11.0.0 | |
WhateverGreen | Various patches necessary for certain ATI/AMD/Intel/Nvidia GPUs. This is needed for Intel UHD 630. | 10.0.0 | |
AppleALC | An open source kernel extension enabling native macOS HD audio for not officially supported codecs without any filesystem modifications. | 8.0.0 | |
VerbStub | Fixes jack headphone audio and microphone. | 8.0.0 | |
CPUFriend | A Lilu plug-in for dynamic power management data injection. | 10.0.0 | |
CpuTscSync | Needed for syncing TSC on some of Intel's HEDT and server motherboards, without this macOS may be extremely slow or even unbootable. | 12.0.0 | |
NoTouchID | Lilu plugin for disabling Touch ID support. | 17.0.0 | 19.5.9 |
NVMeFix | NVMeFix is a set of patches for the Apple NVMe storage driver, IONVMeFamily. | 18.0.0 | 22.9.9 |
FeatureUnlock | Lilu Kernel extension for enabling: Sidecar, NightShift, AirPlay to Mac, Universal Control. | 16.5.0 | |
RestrictEvents | Lilu Kernel extension for blocking unwanted processes causing compatibility issues on different hardware and unlocking the support for certain features restricted to other hardware. | 16.0.0 | |
HibernationFixup | An open source kernel extension providing a sync between RTC variables and NVRAM. | 16.0.0 | |
VoodooI2C | VoodooI2C is a project consisting of macOS kernel extensions that add support for I2C bus devices. | 18.0.0 | |
VoodooI2CHID | Multitouch HID. Can be used with I2C/USB Touchscreens and Trackpads | 18.0.0 | |
VoodooPS2Controller | Contains updated Voodoo PS/2 Controller, improved Keyboard & Synaptics TouchPad. | 15.0.0 | |
itlwm | An Intel Wi-Fi Adapter Kernel Extension for macOS. + Heliport | 23.0.0 | 23.9.9 |
AirportItlwm | An Intel Wi-Fi Adapter Kernel Extension for macOS. | 22.9.9 | |
IntelBTPatcher | Bluetooth modules that support Bluetooth 5.X be able to connect to Bluetooth 4.X devices. | 21.0.0 | |
IntelBluetoothFirmware | Kernel Extension that uploads Intel Wireless Bluetooth Firmware to provide native Bluetooth in macOS. | ||
IntelBluetoothInjector | Injecting bluetooth firmware. | 20.9.9 | |
BlueToolFixup | Injecting bluetooth firmware. | 21.0.0 | |
RealtekRTL8111 | OS X open source driver for the Realtek RTL8111/8168 family. | ||
HoRNDIS9.2 | Android USB Tethering. | ||
USBPorts | Kext to inject mapped USB Ports. |
SSDTs Used
SSDT | Info | Status |
---|---|---|
SSDT-PTSWAK | Comprehensive Sleep and Wake Patch. | Functional |
SSDT-EXT4 | Comprehensive Sleep and Wake Patch. | Functional |
SSDT-AC | Attaches an AC Adapter Device existing in a Laptop's DSDT to the AppleACPIACAdapter service in the IORegistry of macOS. | Cosmetic |
SSDT-ARTC | Adds ARTC device to IORegistry in macOS. | Cosmetic |
SSDT-AWAC | Hotpatches for enabling RTC and disabling AWAC system clock at the same time. | Functional |
SSDT-DGPU | Disables NVIDIA GPU for better battery performance. | Functional |
SSDT-DMAC | Adds Direct Memory Access Controller (DMAC) device to IORegistry. | Cosmetic |
SSDT-EC-USBX | Adds a fake Embedded Controller (SSDT-EC) and enables USB Power Management (SSDT-EC-USBX). | Functional |
SSDT-FWHD | Adds Fake Firmware Hub Device (FWHD) device to the IORegistry in macOS. | Cosmetic |
SSDT-HPET | Fixes IRQ conflicts. Required for on-board sound to work. | Functional |
SSDT-GPRW | Fixes instant wake if either USB or power states change while sleeping. | Functional |
SSDT-I2C | Fixes Touchpad | Functional |
SSDT-OCGPI0-GPHD | The presence of a GPIO device is usually required for a I2C TrackPads to function properly. | Functional |
SSDT-OC-XOSI | OS Check Fix patch to simulate a version of Windows for Darwin. | Functional |
SSDT-PLUG | Allow the kernel's XCPM(XNU's CPU Power Management) to manage CPU's power management. | Functional |
SSDT-PNLF-CFL | Adds Backlight Control for Laptop Screens. DISABLED | Functional |
SSDT-PS2K | Enable Brightness Key Shortcuts. | Functional |
SSDT-SBUS-MCHC | Fixes System Management Bus and Memory Controller in macOS. | Functional |
SSDT-SLPB | Enabling Sleep Button. | Functional |
SSDT-XSPI | Adds Platform Controller Hub (PCH) to IORegistry. | Cosmetic |
boot-args Used
boot-arg | Info |
---|---|
-v | Enables verbose. |
darkwake=2 | |
swd_panic=1 | Avoids issue where going to sleep results in a reboot |
-noDC9 | Fixes sleep issues. |
-lilubetaall | Required for macOS Sonoma right now. |
Installation Steps
Downloading OSX Image
Writing OSX Image
- Unzip the zip file to desktop.
- Download balenaEtcher.
- Open program and click to
Flash from file
. - Select the OSX image
.raw
file from the popup window. - Click to
Select target
and select OSX image. - Click to
Flash!
and allow app in popup window.
- When writing is finished,
remove
the USB stick and plug it back in.
Setting EFI Folder
- When you plug USB back, you can see EFI partition in "My Computer"
- Open EFI partition.
- Delete default files.
- Copy downloaded
EFI
folder toEFI
partititon. - Download compatible AirportItlwm kext and put it
OC/Kexts
folder. - Now you can boot from USB.
Setting BIOS Settings
- Before you start, reset your BIOS settings to default.
Disable
- Secure Boot
- Intel Thermal Framework (DPTF)
Graphic Device
- Dynamic Graphics
macOS Installation
- Now let's turn off our computer and boot from USB. Choose the
Install macOS Monterey
(whatever you have) option on OpenCore menu and go to the installation screen. - <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%201.png">
- What to do on the following screens:
- Select language and continue.
- <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%202.png">
- Open
Disk Utility
from the menu to prepare our disk. - <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%203.png">
- Select
Show All Devices
from theDisplay
option and select the name of our disk and clickErase
. - <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%204.png">
- <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%205.png">
- Rename the disk and erase as
APFS/GUID
. - <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%206.png">
- Now close
Disk Utility
and selectInstall macOS Monterey
then next next next. - <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%208.png">
- Select renamed disk and click continue.
- <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%2010.png">
- When the installation is finished,
macOS Installer
option will be selected automatically every boot step until this option isgone
. - <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%2011.png">
- <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%2012.png">
- <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%2013.png">
- <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%2014.png">
- After last boot, the language selection screen will welcome us. Select language and continue.
- <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%2015.png">
- Don't login
iCloud
account and continue. Because we need to set ourserial numbers and ROM for iCloud and iMessage
. - <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%2016.png">
- Now we can see
Desktop
. - <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/Installation/macOS%2017.png">
Post Installation
- Open config file with
Text Edit
.- Search
HideAuxiliary
and changefalse
value totrue
. - Search
SecureBootModel
and changeDisabled
value toDefault
. - Search
boot-args
and delete-v
argument.
- Search
- Now we have to set our serial numbers and ROM value.
- Download GenSMBIOS and open .command file. If program asks
Download Python
download it. After that select option 3. - <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/GenSMBIOS/GenSMBIOS%201.png">
- Now list 5 SMBIOS first.
- <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/GenSMBIOS/GenSMBIOS%202.png">
- Select and copy first Serial.
- <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/GenSMBIOS/GenSMBIOS%203.png">
- Go check serial number. Your serial should be like this. If not, try second serial.
- <img src="https://github.com/yusufklncc/Lenovo-Thinkpad-E570-Hackintosh/blob/main/Images/GenSMBIOS/Check%20Serial.png">
- Search MacBookPro15,3 and replace
Serial > SystemSerialNumber, Board Serial > MLB and SmUUID > SystemUUID
values. Now we will set our ROM value. - Go
System Setting > Netwotk > Ethernet > Details > Hardware
. If our MAC adress is54:1A:AF:43:70:CA
remove:
characters =541AAF4370CA
. Convert it to Base64. - Now we have
VBqvQ3DK
. Replace this with ROM value and save config file. - Restart computer and press
Space
key on OpenCore menu. Then enterResetNVRAM
. After that BIOS settings may change. Check it and boot macOS. - Now you can login iCloud, iMessage or other apple services and you can use macOS.
- Download GenSMBIOS and open .command file. If program asks
Credits
- Dortania for developing OpenCore.
- Apple for macOS.
- Acidanthera for most of the kexts.
- RehabMan for battery patches.
- Sniki for USB kext.
- Technopat Youtube for Installation images.
- And anyone else that helped to develop and improve hackintoshing.