Skip to content

sh0umik/Lenovo-Legion-5pro-Hackintosh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 

Repository files navigation

Hackintosh LENOVO LEGION 5 PRO AMD 6TH GEN

Static Badge Static Badge GitHub issues

HARDWARE

Component
CPU AMD Ryzen 7 5800h (8 cores 16 threads)
dGPU NVIDIA RTX 3070 8GB
iGPU AMD Vega 8
RAM 16GB 3200mhz DDR4
SSD CRUCIAL P5 PLUS nvme
USB 3.2 XHC0 XHC1
AUDIO Realtek ALC 287 48khz
ETHERNET Realtek RTL8111E
WIFI + BT Intel AX210 NGW
DISPLAY CSO 165HZ IPS HDR
CAMERA 720p Sonix
KEYBOARD USB
TRACKPAD I2C HID
BATTERY 80Wh

SELECT LANGUAGUE

ESPAÑOL 🇪🇸 (HAZ CLICK)

NO ENCONTRARAS NINGUNA EFI PARA DESCARGAR , TE PUEDO AYUDAR A REALIZAR LA TUYA (mas abajo tienes una seccion de AYUDA ), gracias


[!IMPORTANT] NUEVA ACTUALIZACION (27/11/2023), AHORA VENTURA, se han realizado cambios en los kexts

Índice



¿QUE FUNCIONA Y QUE NO?

GENERAL

Componente Compatibilidad
CPU
iGPU
DGPU
RAM
ETHERNET
USB
DISPLAY HDR Mode ✅
60-165hz ✅
BATERIA
TECLADO y teclas de FN
TRACKPAD

MULTIMEDIA

Componente Compatibilidad
HDMI, TIPO C (DP) ❌ (PORQUE ESTAN CONECTADOS A LA DGPU)
AUDIO
MICROFONO
CAMERA

FUNCIONES

Función Compatibilidad
LUZ TECLADO
LUZ LOGOTIPO
APAGAR/REINCIAR
SUSPENDER ✅ (POR FIN SI FUNCIONA)
DISPLAY: CONTROL DE BRILLO HDR Mode ✅
Normal Mode ❌
AIRDROP ✅, SOLO DE ANDROID A MAC (WARPSHARE)

si quieres que pruebe mas funciones, abre una ISSUE preguntado acerca de la funcion y la probaré..


SSDT USADOS

SSDT Descripción
SSDT-EC Crea un dispositivo Embedded Controller falso para que macOS funcione correctamente, pero no desactiva el EC original, ya que los portátiles lo necesitan para el estado de la batería, las teclas FN, etc.
SSDT-PLUG-ALT Establece la propiedad plugin-type a 1 en el primer núcleo de CPU, habilitando X86PlatformPlugin, que permite (Intel) CPU Power Management y AGPM (Apple GPU Power Management). También redefine los procesadores con objetos Processor en lugar de objetos Device si es necesario, ya que macOS no soporta el nuevo estándar.
SSDT-PNLF Crea un dispositivo PNLF falso con un _UID seleccionable por el usuario (básicamente el perfil que utiliza) para permitir el control nativo del brillo en portátiles.
SSDT-ALS0 Simula la presencia del sensor de luz ambiental es necesaria para el funcionamiento del brillo en laptops.
SSDT-SMBUS-MCHC Sirve para la comunicación con la fuente de alimentación para las instrucciones ON/OFF y más. La funcionalidad exacta y las interfaces de hardware varían según los proveedores.
SSDT-XOSI Hace creer que estamos usando Windows, permitiendo que cualquier periférico bloqueado detrás de no macOS esté activo en macOS.
SSDT-NODGPU*** Es un ssdt especial creado por @ExtremeXT para la desactivacion de la dGPU, hay laptops que en el metodo off tienen codigo que llama al dispositivo EC, con este ssdt se evita ese codigo, añadiendolo en el metodo _REG, de esta manera se puede desactivar la dgpu de manera correcta sin fallos, tambien se usa el metodo Bumbleeblee.
SSDT-USBX Crea un dispositivo USBX que contiene las propiedades de alimentación USB necesarias para funcionar correctamente. Esto también requiere un dispositivo EC válido.

*** Para adaptar este ssdt a tu sistema escribeme al telegram y te ayudare, referencia: tonymacx86


KEXTS USADOS

(Advertencia: Algunos de estos Kexts son solo para macOS Ventura, para otras versiones de mac necesitaras otros kext y otras configuraciones)

KEXT Descripción
NootedRed Proporciona aceleración gráfica para iGPU AMD Vega.
AirportItlwm Admite la mayoría de las tarjetas Intel Wi-Fi. AirportItlwm utiliza la pila Wi-Fi de macOS.
AMDTscSync En su lugar se NECESITA TSCTIMEOUT (UEFI > QUIRKS) CPUTSCSYNC BY SEEY6 Sincroniza el contador de marca de tiempo (TSC): generalmente solo es útil para APU AMD que serían tremendamente lentas sin él. Por algun motivo el anterior kext no funciona en esta laptop para Ventura, lo ideal es usar la opcion propia de OPENCORE con un valor de 500.000 (SE ESTA TRABAJANDO EN NUEVO KEXT TSC, POR AHORA ESTA ES LA UNICA SOLUCIÓN) NUEVO FIX, AHORA GRACIAS A ESTO FUNCIONA SUSPENDER Y DESPERTAR DE MANERA CORRECTA
AppleALC Parchea la pila de audio de Apple ( AppleHDA/ AppleGFXHDA) para permitir códecs de audio y audio HDMI no compatibles.
BrightnessKeys Brinda soporte para notificaciones de cambio de brillo ACPI (que generalmente provienen de las teclas de función (FN) del teclado).
ECEnabler Permite que macOS lea campos EC de más de 8 bits, eliminando la necesidad de dividirlos manualmente.
FeatureUnlock Extensión de Lilu Kernel para habilitar: Sidecar, NightShift, AirPlay to Mac, Universal Control, Continuity Camera.
GenericUSBXHCI Soluciona el problema de USB3 encontrado en algunos hackintosh basados en APU Ryzen.
IntelBluetoothFirmware Admite la mayoría de las tarjetas Intel Wi-Fi. En macOS 11 y versiones anteriores, debes usar los 3 kexts incluidos. En macOS 12+ necesitas usar IntelBluetoothFirmware, IntelBTPatcher y BlueToolFixup.
IntelBluetoothInjector (BigSur -) Se encuentra dentro de IntelBluetoothFirmware, solo para BigSur y menos de BigSur.
IntelBTPatcher Se encuentra dentro de IntelBluetoothFirmware.
Lilu Realiza parches arbitrarios de kext, bibliotecas y programas dentro de macOS.
NVMeFix Parchea la pila NVMe (IONVMeFamily) para admitir la transición de estado de energía autónoma (APST) y para solucionar problemas de pánico del kernel por tiempo de espera en algunos controladores NVMe.
RealtekRTL8111 Controlador RTL8111 (1GBe Realtek), portado desde Linux.
RestrictEvents Corrige el nombre de la CPU en About This Mac y las advertencias de memoria y PCI en MacPro7,1 SMBIOS. También permite obligar a VMM a corregir actualizaciones OTA en T2 SMBIOS en macOS Sonoma+, entre otras características.
SMCBatteryManager Supervisa el estado de la batería de la computadora portátil.
SMCLightSensor Agrega compatibilidad con el sensor de luz ambiental ACPI.
USBMap (En mi caso UsbToolBox no funciona, usen la opción nativa de USBToolBox para no tener que usar el kext USBToolBox).
VirtualSMC Emula el SMC de Apple.
VoodooI2C (AMD) Controlador para dispositivos de entrada I2C. La que está vinculada es una versión preliminar con soporte adicional para controladores AMD I2C.
VoodooI2CHID Esta dentro de VoodooI2C.
YogaSMC Permite soporte a funciones especiales de Lenovo, modo Conservación Batería, USB siempre activo...
AppleIntelMCEReporter (Monterey +) Desactiva AppleIntelMCEReporter el pánico en los sistemas AMD e incluso en algunos sistemas Intel.

SMBIOS Usado

MacBookPro16,3

OPCIONES BIOS

Secure Boot : Disabled
VRAM igpu: 2GB
Graphics : Dynamic

AYUDA

Si necesitas ayudas en el proceso de creacion de tu EFI no dudes en escribirme por telegram (haz clic en la imagen)

Telegram

Se parte de ChefKissInc una comunidad donde hacen posible que todas las laptop AMD puedan usar MAC (haz clic en la imagen)

Telegram


CREDITOS

@ChefKissInc Muchas gracias por la ayuda y hacer todo esto posible, con vosotros se inicia una nueva era para AMD

@Acidanthera Gracias por multiples kext y gracias por Opencore

@OpenIntelWireless Gracias por el soporte a las tarjetas INTEL

@WarpShare Muchas gracias por hacer posible Airdrop entre Android y Mac

@ExtremeXT Muchas gracias por tu paciencia y por toda tu ayuda, eres un genio

@adhocfra Gracias amigo

ENGLISH 🇺🇸 (CLICK)

YOU WON'T FIND ANY EFI TO DOWNLOAD, I CAN HELP YOU CREATE YOUR OWN (see HELP section below), thank you.


[!IMPORTANT] NEW UPDATE (27/11/2023), NOW VENTURA, changes have been made to kexts

Table of Contents



WHAT WORKS AND WHAT DOESN'T?

GENERAL

Component Compatibility
CPU
iGPU
DGPU
RAM
ETHERNET
WIFI + BT
USB
DISPLAY HDR Mode ✅
60-165hz ✅
BATTERY
KEYBOARD and FN keys
TRACKPAD

MULTIMEDIA

Component Compatibility
HDMI, TYPE C (DP) ❌ (BECAUSE THEY'RE CONNECTED TO DGPU)
AUDIO
MICROPHONE
CAMERA

FUNCTIONS

Function Compatibility
KEYBOARD BACKLIGHT
LOGO BACKLIGHT
SHUTDOWN/RESTART
SLEEP ✅ (FIXED BY @SEEY6)
DISPLAY: BRIGHTNESS CONTROL HDR Mode ✅
Normal Mode ❌
AIRDROP ✅, ANDROID TO MAC ONLY (WARPSHARE)
iServices (AppStore,Facetime...)

If you want me to test more functions, open an ISSUE asking about the function, and I will test it.


USED SSDTs

SSDT Description
SSDT-EC Creates a fake Embedded Controller device for macOS to work correctly but does not disable the original EC, as laptops need it for battery status, FN keys, etc.
SSDT-PLUG-ALT Sets the plugin-type property to 1 on the first CPU core, enabling X86PlatformPlugin, which allows (Intel) CPU Power Management and AGPM (Apple GPU Power Management). It also redefines processors with Processor objects instead of Device objects if necessary since macOS does not support the new standard.
SSDT-PNLF Creates a fake PNLF device with a user-selectable _UID (basically the profile it uses) to allow native brightness control on laptops.
SSDT-ALS0 Simulates the presence of the ambient light sensor, necessary for brightness operation on laptops.
SSDT-SMBUS-MCHC Used for communication with the power source for ON/OFF instructions and more. Exact functionality and hardware interfaces vary by providers.
SSDT-XOSI Makes macOS believe we are using Windows, allowing any peripherals locked behind non-macOS to be active in macOS.
SSDT-NODGPU*** This is a special SSDT created by @ExtremeXT for dGPU disabling. Some laptops have code in the off method that calls the EC device. This SSDT avoids that code by adding it to the _REG method, thus allowing proper dGPU disabling without issues. The Bumbleeblee method is also used.
SSDT-USBX Creates a USBX device containing the necessary USB power properties to work correctly. This also requires a valid EC device.

*** To adapt this SSDT to your system, write to me on Telegram, and I will help you. Reference: tonymacx86


USED KEXTS

(Warning: Some of these Kexts are only for macOS Ventura, for other macOS versions, you will need different Kexts and configurations)

KEXT Description
NootedRed Provides graphics acceleration for AMD Vega iGPU.
AirportItlwm Supports most Intel Wi-Fi cards. AirportItlwm uses the macOS Wi-Fi stack.
TSCTIMEOUT (UEFI > QUIRKS) is REQUIRED instead CPUTSCSYNC BY SEEY6 Sync timestamp counter (TSC): generally only useful for AMD APUs which would be tremendously slow without it.For some reason the above kext does not work on this laptop for Ventura, the ideal is to use OPENCORE's own option with a value of 500,000 (NEW KEXT TSC IS BEING WORKED ON, FOR NOW THIS IS THE ONLY SOLUTION) Thanks to this now sleep and wake works!!!
AppleALC Patches the Apple audio stack (AppleHDA/AppleGFXHDA) to allow unsupported audio codecs and HDMI audio.
BrightnessKeys Provides support for ACPI brightness change notifications (usually coming from keyboard function (FN) keys).
ECEnabler Allows macOS to read EC fields over 8 bits, eliminating the need to split them manually.
FeatureUnlock Lilu Kernel extension to enable Sidecar, NightShift, AirPlay to Mac, Universal Control, Continuity Camera.
GenericUSBXHCI Fixes USB3 issue found in some Ryzen-based hackintoshes.
IntelBluetoothFirmware Supports most Intel Wi-Fi cards. On macOS 11 and earlier, you need to use all 3 included Kexts. On macOS 12+, you need to use IntelBluetoothFirmware, IntelBTPatcher, and BlueToolFixup.
IntelBluetoothInjector (BigSur -) Found inside IntelBluetoothFirmware, only for Big Sur and below.
IntelBTPatcher Found inside IntelBluetoothFirmware.
Lilu Performs arbitrary kext, library, and program patching within macOS.
NVMeFix Patches the NVMe stack (IONVMeFamily) to support Autonomous Power State Transition (APST) and fix kernel panic issues in some NVMe drivers.
RealtekRTL8111 Realtek RTL8111 (1GbE Realtek) driver, ported from Linux.
RestrictEvents Corrects CPU name in About This Mac and memory and PCI warnings in MacPro7,1 SMBIOS. Also allows forcing VMM to correct OTA updates on T2 SMBIOS on macOS Sonoma+, among other features.
SMCBatteryManager Monitors laptop battery status.
SMCLightSensor Adds ACPI ambient light sensor support.
USBMap (In my case, UsbToolBox doesn't work, use the built-in USBMap option to avoid using the USBToolBox Kext).
VirtualSMC Emulates Apple SMC.
VoodooI2C (AMD) Driver for I2C input devices. The linked one is a preliminary version with additional support for AMD I2C controllers.
VoodooI2CHID Found within VoodooI2C.
YogaSMC Provides support for Lenovo special functions, Battery Conservation Mode, Always On USB...
AppleIntelMCEReporter (Monterey +) Disables AppleIntelMCEReporter panics on AMD systems and even some Intel systems.

USED SMBIOS

MacBookPro16,3

BIOS OPTIONS

Secure Boot : Disabled
VRAM igpu: 2GB
Graphics : Dynamic

HELP

If you need help with your EFI creation process, don't hesitate to reach out to me on Telegram (click the image below):

Telegram

Join ChefKissInc, a community where we make it possible for all AMD laptops to use macOS (click the image below):

Telegram


CREDITS

@ChefKissInc Many thanks for your help and making all this possible; with you, a new era for AMD begins.

@Acidanthera Thanks for multiple Kexts and thanks for Opencore.

@OpenIntelWireless Thanks for supporting Intel Wi-Fi cards.

@WarpShare Many thanks for making Airdrop possible between Android and Mac.

@ExtremeXT Thank you very much for your patience and all your help; you are a genius.

@adhocfra Thanks, friend.

PHOTOS

About

LENOVO LEGION 5 PRO AMD HACKINTOSH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published