Home

Awesome

<p align="center"> <h2 align="center">macOS on Lenovo Legion 5 17ACH6H - AMD Ryzen 5800H &amp; NVIDIA RTX 3060</h2> </p> <p align="center"> <img src="images/legion.png" width="720"/> </p> <h4 align="center">OpenCore config for Hackintosh on Lenovo Legion 5 17ACH6H</h4> <p align="center"> <img src="https://img.shields.io/badge/macOS-Sonoma 14.5-emerald"/> <img src="https://img.shields.io/badge/OpenCore-1.0.1-blue"/> </p>

Table of Contents

Specifications

TypeSpecStatus
ModelLegion 5 17ACH6H Type 82JY
BIOSGKCN65WW
CPUAMD Ryzen 7 5800H 8 Cores / 16 Threads
iGPUAMD Radeon Graphics 2GB
dGPUNVIDIA GeForce RTX 3060 Laptop GPU 6GB
RAM2x 8GB Samsung DDR4 3200 MHz (also tested with 2x16GB Crucial DDR4 3200 MHz)
NVMeSamsung SSD 512GB for macOS / Samsung SSD 980 1TB for Windows and Ubuntu Desktop
Wi-FiIntel Wi-Fi 6E AX210 (laptop was originally equipped with a Realtek Wi-Fi adapter)
BluetoothWith Intel Wi-Fi 6E AX210
EthernetRealtek RTL8168/8111
AudioRealtek ALC287
Display17,3 FHD IPS 144Hz
Opencore1.0.1
SMBIOSMacBookPro16,3 (serial number generated with GenSMBIOS)
OSmacOS Sonoma 14.5

What's Working

TypeNotesStatus
CPUWith AMD Vanilla OpenCore kernel patches
iGPUWith NootedRed.kext
Brightness ControlWith BrightnessKeys kext
USBWith GUX-RyzenXHCIFix.kext and USBMap.kext
KeyboardWith VoodooPS2Controller.kext
TouchpadWith Touchpad Fix from MinecraftNerrd1337
AudioWith AppleALC.kext and boot argument "alcid=21"
P2 MicWorking with AppleALC 1.8.8
CameraIt just worked lol
EthernetWith RealtekRTL8111.kext
Intel Wi-FiWith itlwm kexts
BluetoothWith IntelBluetoothFirmware kexts
Battery StatusWith SMCBatteryManager.kext
AppleTV + DRMWith CFG_LINK_FIXED_MAP=1
iServicesAppStore, Messages, FaceTime, iCloud
Shutdown / Reboot

What's not Working

TypeNotesStatus
dGPUApple dropped support for NVIDIA GPUs (you will have to turn hardware acceleration off)
HDMIConnected to dGPU
Sleep / Wake

BIOS Settings

Kexts Used

KextDescription
AirportItlwm.kextPatches Intel Wi-Fi
AMDRyzenCPUPowerManagement.kextEnables power management and monitoring for AMD CPUs
AppleALC.kextEnables native macOS HD audio for not officially supported codecs
AppleMCEReporterDisabler.kextDisables AppleIntelMCEReporter which causes panics on AMD CPUs
BlueToolFixup.kextPatches Bluetooth
BrightnessKeys.kextEnables brightness keys
ForgedInvariant.kextEnables TSC synchronization
GUX-RyzenXHCIFixFixes USB3
IntelBluetoothFirmware.kextPatches Bluetooth
IntelBTPatcher.kextPatches Bluetooth
itlwm.kextPatches Intel Wi-Fi
Lilu.kextKernel extension bringing a platform for arbitrary kext, library, and program patching throughout macOS
NootedRed.kextPatches AMD iGPU
NoTouchID.kextDisables Touch ID support
NVMeFix.kextImproves compatibility with non-Apple SSDs
RealtekRTL8111.kextPatches Ethernet
RestrictEvents.kextBlocks unwanted processes causing compatibility issues and unlocks the support for certain restricted features
SMCAMDProcessor.kextEnables power management and monitoring for AMD processors
SMCBatteryManager.kextEnables battery status
USBMap.kextScript for mapping USB ports in macOS and creating a custom injector kext
USBWakeFixupFixes USB wake up issue on macOS
VirtualSMC.kextAdvanced Apple SMC emulator in the kernel
VoodooI2C.kextEnables keyboard and touchpad
VoodooI2CHID.kextEnables keyboard and touchpad
VoodooPS2Controller.kextEnables keyboard and touchpad

SSDTs Used

Created with SSDTTime on Windows 11

TableDescription
SSDT-ECAdds a fake Embedded Controller device
SSDT-HPETPatches out IRQ conflicts (removed afterwards to fix the touchpad)
SSDT-PLUG-ALTFixes CPU definitions
SSDT-PNLFSets up a PNLF device for laptop backlight control
SSDT-USBXEnables USB Power Management
SSDT-XOSISpoof macOS to Windows for some ACPI features

Boot Arguments Used

boot-argInfo
-vEnables verbose
-wegnoegpuDisables dGPU
alcid=21Layout ID for AppleALC kext

Screenshots

<img src="images/screenshot-1.png"/> <img src="images/screenshot-2.png"/> <img src="images/screenshot-3.png"/>

Useful Software

SoftwareDescription
macrecovery.pyTool that helps to automate recovery interaction. It can be used to download diagnostics and recovery as well as analyse MLB
GenSMBIOSScript to generate SMBIOS
SSDTTimeTool designed to make creating SSDTs simple
ProperTreeCross platform GUI plist editor
USBMapScript for mapping USB ports in macOS and creating a custom injector kext
MountEFIScript for mounting any EFI partition on macOS
HackintoolThe Swiss army knife of vanilla Hackintoshing
OpenCore Legacy PatcherTool for creating bootable macOS drive and post-installing root patches
AMD Power GadgetTool for monitoring CPU frequency and temperature. Automaticly adjusts CPU speed
WinDiskWriterWindows bootable drive creator for macOS

Credits

Legal Disclaimer

This material is provided solely for educational and testing purposes. The author does not condone or encourage any illegal activities, including but not limited to the violation of software license agreements, terms of service, or copyright laws. Building or using a Hackintosh — a non-Apple computer running macOS — may violate Apple's End User License Agreement (EULA) and could be illegal in certain jurisdictions.

By following this material, you understand that you assume full responsibility for any legal consequences, technical issues, or damages that may arise, including but not limited to violations of Apple's terms of service, potential breaches of applicable laws, and the invalidation of warranties. The author is not liable for any losses, damages, legal actions, or technical malfunctions resulting from the use of this guide.

The author explicitly does not endorse or encourage the illegal use of macOS or other software in any way that infringes upon intellectual property rights, terms of service, or other legal agreements. The material is intended to be used for testing in environments where such use is permitted.

Before proceeding, users are strongly advised to consult with a legal professional to understand the legality of building or using a Hackintosh in their specific region or jurisdiction. All actions undertaken by the reader are done at their own risk and discretion.

By using this material, you agree that any risks involved are your own responsibility, and you indemnify the author from any legal or financial consequences that may arise from your actions.