Giter VIP home page Giter VIP logo

lenovo-thinkpad-e570-hackintosh's Introduction

macOS on Lenovo Thinkpad E570

Thinkpad E570

OpenCore config for Hackintosh Lenovo Thinkpad E570

Table of Contents

Screenshots πŸ“·

CPU Usage and Temperature

- Normal

- Maximum

Sonoma

Sonoma

Ventura

Monterey

Big Sur

Catalina

Mojave

High Sierra

Sierra

Original Hardware πŸ’»

Type Spec Status
Model Name Lenovo Thinkpad E570 (20H500C5TX) βœ…
CPU Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz Kaby Lake βœ…
RAM SK Hynix HMA851S6AFR6N-UH 8(4+4) GB 2133 MHz DDR4 βœ…
Internal Graphics Card Intel(R) HD Graphics 620 (1 GB) βœ…
Wi-Fi Qualcomm Atheros QCA9377 ❌
Ethernet Realtek RTL8111/8168/8411 βœ…
Audio Conexant CX20753/4 βœ…
Touchpad SynPS/2 Synaptics TouchPad βœ…
SD Card Reader O2 Micro SD/MMC βœ…
Fingerprint Validity Sensor VFS5011 ❌
Display BOE CQ LCD Monitor(15.5 inch) βœ…
Camera Acer Integrated Camera βœ…

Modifications πŸ”¨

Type Spec Status
Wi-Fi Dell Wireless 1820A ac (BCM4350 + BCM2045A0) βœ…
USB Wi-Fi TL-WN823N βœ…
  • DW1820A not working on macOS Sonoma Beta 1. We have to use Intel Wi-Fi or USB Wi-Fi.
  • You have to install USB drivers for working USB adapter.

macOS Update History

  • βœ… macOS Sonoma 14.0 (Currently testing)
  • βœ… macOS Ventura 13.4 (Currently using)
  • βœ… macOS Monterey 12.6
  • βœ… macOS Big Sur 11.7.3
  • βœ… macOS Catalina 10.15.7
  • βœ… macOS Mojave 10.14.6
  • βœ… macOS High Sierra 10.13.6
  • βœ… macOS Sierra 10.12.6

What's working πŸ’»

Type Status
Turbo boost and CPU frequency stage βœ…
Intel HD Graphics 620 βœ…
Brightness control βœ…
HDMI βœ…
Audio Conexant CX20753/4 βœ…
Realtek Ethernet RTL8111 βœ…
DW1820A Wi-Fi and Bluetooth, Airdrop, Handoff, SideCar, iMessage.. βœ…
USB 3.0 and Type-C (with Port Map) βœ…
Touchpad (14 gestures are working) βœ…
Battery status βœ…
Camera βœ…
Micro SD Card Reader βœ…
S3 Sleep / Wake βœ…
S4 Hibernation / Wake βœ…
Shutdown / Reboot βœ…
Fn shortcut keys βœ…

Kext 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 a member of VirtualSMC that parses battery info. 8.0.0
SMCProcessor a member of VirtualSMC that provides power info of processor temperature. 11.0.0
WhateverGreen Various patches necessary for certain ATI/AMD/Intel/Nvidia GPUs. This is needed for Intel HD 620. 10.0.0
AppleALC.kext An open source kernel extension enabling native macOS HD audio for not officially supported codecs without any filesystem modifications. 8.0.0
NVMeFix NVMeFix is a set of patches for the Apple NVMe storage driver, IONVMeFamily. 18.0.0 22.9.9
CPUFriend A Lilu plug-in for dynamic power management data injection. 10.0.0
CPUFriendDataProvider A CPUFriend plug-in for CPU power management. 10.0.0
FeatureUnlock Lilu Kernel extension for enabling: Sidecar, NightShift, AirPlay to Mac, Universal Control. 16.5.0
HibernationFixup An open source kernel extension providing a sync between RTC variables and NVRAM. 16.0.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
NoTouchID Lilu plugin for disabling Touch ID support. 16.0.0 19.5.9
VoodooPS2Controller Contains updated Voodoo PS/2 Controller, improved Keyboard & Synaptics TouchPad. 15.0.0
BrightnessKeys Automatic handling of brightness keys based on ACPI Specification. 16.0.0
AirportBrcmFixup An open source kernel extension providing a set of patches required for non-native Airport Broadcom Wi-Fi cards.
AirPortBrcm4360_Injector An open source kernel extension providing a set of patches required for non-native Airport Broadcom Wi-Fi cards. 16.9.9
AirPortBrcmNIC_Injector An open source kernel extension providing a set of patches required for non-native Airport Broadcom Wi-Fi cards. 21.9.9
BlueToolFixup Injecting bluetooth firmware. 21.0.0
BrcmBluetoothInjector Injecting bluetooth firmware. 14.0.0 20.9.9
BrcmFirmwareData BrcmPatchRAM kext is a macOS driver which applies PatchRAM updates for Broadcom RAMUSB based devices. 14.0.0
BrcmPatchRAM2 BrcmPatchRAM kext is a macOS driver which applies PatchRAM updates for Broadcom RAMUSB based devices. 15.0.0 18.9.9
BrcmPatchRAM3 BrcmPatchRAM kext is a macOS driver which applies PatchRAM updates for Broadcom RAMUSB based devices. 19.0.0
RealtekRTL8111 OS X open source driver for the Realtek RTL8111/8168 family.
RtWlanU USB Wi-Fi adapter.
RtWlanU1827 USB Wi-Fi adapter.
HoRNDIS9.2 Android USB Tethering.
USBPorts Kext to inject mapped USB ports

SSDT Used

SSDT Info Status
SSDT-PTSWAK Comprehensive Sleep and Wake Patch. Functional
SSDR-EXT5-TP-LED Fixes ThinkPads breathing light of the Power Button LED will not return to normal after waking up. Also fixes an issue where the F4 microphone indicator status is not normal after waking up on older ThinkPad models. 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-BATT Fixes the battery status indicator. 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-FIXSHUTDOWN Fixes Shutdown/Restart. Due to a missing S5 call that powers down the controller. 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-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-PMC It specifically brings back NVRAM support and requires very little configuration for the end user. Functional
SSDT-PNLF Adds Backlight Control for Laptop Screens. Functional
SSDT-PWRB-SLPB_STA0B Enabling Power and Sleep Buttons. Functional
SSDT-RTC_STA0F Force-enable the RTC Device. Functional
SSDT-SBUS-MCHC Fixes System Management Bus and Memory Controller in macOS. Functional

boot-args Used

boot-arg Info
-v Enables verbose.
-no_compat_check macOS Sonoma not support MBP14,1. So we have to use this argument for boot Sonoma.
brcmfx-country=#a Changes the country code to XX (US, CN, #a, ..)
darkwake=0 Disables darkwake.
swd_panic=1 Avoids issue where going to sleep results in a reboot
-noDC9 Fixes sleep issues.
-lilubetaall Required for macOS Sonoma right now.

Changelog

2023-06-07
  • Added
    • Kernel
      • Add
        • USBPorts: For macOS Sonoma.
        • RtWlanU: USB Wi-Fi Adapter for macOS Sonoma.
        • RtWlanU1827: USB Wi-Fi Adapter for macOS Sonoma.
    • NVRAM
      • 7C436110-AB2A-4BBB-A880-FE41995C9F82
        • bluetoothExternalDongleFailed
          • 00 : Bluetooth Support for macOS 13.4 and later.
        • bluetoothInternalControllerInfo
          • 0000000000000000000000000000 : Bluetooth Support for macOS 13.4 and later.
        • boot-args
          • -lilubetaall for macOS Sonoma.
          • -no_compat_check for macOS Sonoma.
  • Changed
    • Kernel
      • Add
        • NVMEFix: Max Kernel 22.9.9. Because macOS Sonoma not supported.
    • NVRAM
      • 7C436110-AB2A-4BBB-A880-FE41995C9F82
        • csr-active-config
          • 03080000 for USB Wi-Fi Adapter.
    • PlatformInfo
      • SMBIOS to MBP15,1 for macOS Sonoma installation. Change to 14,1 after installation.
  • Removed
    • ACPI
      • Add
        • SSDT-KBD.aml: Useless
    • Kernel
      • Add
        • USBToolBox
        • UTBMap
2023-04-25
  • Added
    • Kernel
      • Add
        • USBToolBox: Inject Mapped USB ports.
        • UTBMap: USB port map.
  • Removed
    • Kernel
      • Add
        • USBMap
        • USBMapLegacy
2022-04-25 21:43
  • Added
    • DeviceProperties
      • Ethernet
        • Β΄built-in 01 DATAΒ΄ for en0.
    • Kernel
      • Add
        • Min and Max Kernel Values
        • USBMap: Mapped USB ports for Catalina and newer.
        • USBMapLegacy: Mapped USB ports for Mojave and older.
        • BrcmBluetoothInjector: Bluetooth injection for Big Sur and older.
        • BrcmPatchRAM2: Bluetooth injection from Sierra to Mojave.
  • Changed
    • Kernel
      • Quirks
        • CustomSMBIOSGuide: False
    • Misc
      • Boot
        • LauncherOption: Full
    • PlatformInfo
      • UpdateSMBIOSMode: Create
    • UEFI
      • Input
        • PointerSupport: False
  • Removed
    • Kernel
      • Add
        • VoodooPS2Mouse
2022-03-25 16:25
  • Added
    • Kexts
      • SMCBatteryManager: For true graphic in System Preferences.
      • RestrictEvents: For changed CPU name on About This Mac. (Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz)
      • USBToolBox: Injects UTBMap.kext.
      • UTBMap: Mapped USB Ports.
  • Changed
    • config
      • Edited for CPU name. Don't change CPUType value.
        • Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz.
  • Removed
    • Kexts
      • ACPIBatteryManager: Battery graphic issue on System Preferences.
      • SMCSuperIO: Laptop doesn't have a fan sensor.
      • USBInjectAll: No need anymore.
      • USBPorts: USBToolBox and UTBMap is using now.
2022-03-23 18:35
  • Added
    • Kexts
      • BrightnessKeys: Brightness control on keyboard.
        • ACPI Patch
          • Rename (NBCF, 0x00) to Name (NBCF, 0x01)
  • Disabled
    • ACPI
      • SSDT-CLICKPAD some compabilty problems.
      • SSDT-KBD
        • Using BrightnessKeys.kext and ACPI patch.
        • Disabled Rename _Q14 to XQ14 (TP-up)
        • Disabled Rename _Q15 to XQ15 (TP-down)
2022-03-23 15:15
  • Added
    • ACPI
      • SSDT-AC for AC adapter in IORegistryExplorer.
      • SSDT-CLICKPAD for better touchpad.
      • SSDT-DMAC for DMAC device in IORegistryExplorer.
      • SSDT-EXT5-TP-LED for fix led on power button.
      • SSDT-FWHD for FWHD device in IORegistryExplorer.
      • SSDT-KBD for brightness control from keys.
        • ACPI Patch
          • Rename PNLF to XNLF
          • Rename _Q14 to XQ14 (TP-up)
          • Rename _Q15 to XQ15 (TP-down)
      • SSDT-PMC
      • SSDT-PTSWAK for better sleep and wake.
        • ACPI Patch
          • Name0D-03 to 00
          • Name0D-04 to 00
          • Name6D-03 to 00
          • Name6D-04 to 00
          • Rename _PTS to ZPTS(1,N)
          • Rename _WAK to ZWAK(1,N)
      • SSDT-PWRB-SLPB_STA0B for power and sleep button.
      • SSDT-RTC_STA0F for enable RTC device.
    • Kexts
      • ACPIBatteryManager: For AppleSmartBatteryManager on IORegistryExplorer.
  • Changed
    • ACPI
      • SSDT-XOSI to SSDT-OC-XOSI
        • ACPI Patch
          • Rename _OSI to XOSI (OS)
    • Kexts
      • FeatureUnlock 1.0.7 to 1.0.6 for fix Airplay to Mac.
  • Removed
    • Kexts
      • SMCBatteryManager: Because using ACPIBatteryManager.kext
      • SMCLightSensor: Because laptop doesn't have a sensor.

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 to EFI partititon.
  • Open EFI/OC and set your config file.
    • If you have Qualcomm Wi-Fi card. Delete default config and rename other one.
  • Now you can boot from USB.

Setting BIOS Settings

  • Before you start, reset your BIOS settings to default.
  • Disable
    • Secure Boot
  • Enable
    • CSM

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.
  • What to do on the following screens:
    • Select language and continue.
    • Open Disk Utility from the menu to prepare our disk.
    • Select Show All Devices from the View option and select the name of our disk and click Erase.
    • Rename the disk and erase as APFS/GUID.
    • Now close Disk Utility and select Install macOS Sonoma then next next next.
    • Select renamed disk and click continue.
    • When the installation is finished, macOS Installer option will be selected automatically every boot step until this option is gone.
    • After last boot, the language selection screen will welcome us. Select language and continue.
    • Don't login iCloud account and continue. Because we need to set our serial numbers and ROM for iCloud and iMessage.
    • Now we can see Desktop.

Post Installation


Broadcom Wi-Fi - Sonoma
  • Dowload and Open OCLP. Click Post-Install Root Patch button.
- Click `Start Root Patching`. - Click `Yes` and type password. - Click `Reboot` - Wi-Fi started working.
  • Open config file with Text Edit.
    • Search HideAuxiliary and change false value to true.
    • Search SecureBootModel and change Disabled value to Default.
      • If you have patched your system with OCLP, do not do this step.
    • Search boot-args and delete -v argument.
  • 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.
    • Now list 5 SMBIOS first. MacBookPro14,1
    • Select and copy first Serial.
    • Go check serial number. Your serial should be like this. If not, try second serial.
    • Search MacBookPro15,1 and replace Type > SystemProductName, 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 is 54: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.
    • Delete default USBPorts kext in OC/Kexts and rename other one to USBPorts.
    • Restart computer and press Space key on OpenCore menu. Then enter ResetNVRAM. 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.

How to make it better?

Advanced Resolution

  • Use RDM for 1600x900 resolution which i am using currently.

  • 1366x768

    • 1366x768
  • 1600x900

    • 1600x900

How to Use?

  • Download and open RDM.app. Follow images below.
1680x1050
  • Set resolution 1680x1050.
RDM Edit Button RDM Resolution Settings
  • Set what resolution you want. Click save, enter password and reboot.
1600x900
  • Open RMD and select resolution what you want. This is only once.

Credits

  • Dortania for developing OpenCore.
  • Apple for macOS.
  • Acidanthera for most of the kexts.
  • RehabMan for battery patches.
  • Sniki for USB kext.
  • And anyone else that helped to develop and improve hackintoshing.

Donate - Bağış

lenovo-thinkpad-e570-hackintosh's People

Contributors

yusufklncc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lenovo-thinkpad-e570-hackintosh's Issues

macOS Sierra download

Hello, can you provide the link to download, Sierra Dmg file?

I tried with to install it via wifi with prebooter, but it never started downloading

Sonoma Beta 1 Upgrade

Look, I've tested your stuff and it seemed to be primed already for the Sonoma Beta 1 Upgrade, assuming you have a Phison-controlled NVME (Apple Native NVME like Intel ssdpeknw512g8l or similar) or any SATA SSD that uses a Phison controller like a Patriot Burst.

Try the following:

Pre-installation:

  • change SMBIOS to MacbookPro15,2 (as advised directly to me by a Hackintosh dev in the discord channel)
  • change serial, MLB and SMUUID
  • add "-lilubetaall" to your boot-args
  • update all kexts
  • delete NVMEFixup.kext

Post-installation:
-Login to Apple to finish

PXL_20230607_0312449532

DO NOT attempt this if your NVMe is not Phison-controlled. NVMeFixup is dead starting in macOS 14.

VGA, HDMI, headphones/internal speakers

First of all, thanks Yusuf for providing all the info here.
I currently have two problems:

  1. no external monitor is working - in windows both, the VGA and HDMI port, work fine, Ventura however does not show anything on the external screens, wherever I connect them.
  2. when I plug in a headphone and pull it out later the internal speakers do not make any more sound. My "workaround" is starting again and delete NVRAM, then the speakers work again.

Do you have an idea what I can do to make all that work?

Thank you and best wishes
Richard

Nvidia 940MX reintroduction

I've checked with OCLP and they managed to sneak in support for Nvidia 940MX. You wanna try using the 940MX?

-use OCLP
-disable SIP completely
-disable Intel UHD 620
-force Nvidia Web Drivers with the help of OCLP
-add all necessary bootflags

Problem installing another version Of MacOs

Hello, I installed Big Sur, and it works ok, but when I try to boot High Sierra, Mojave or Catalina, it only restarts, instead of booting installer.... Any sugestion?

The apps Im using now on my Lenovo x230t, work on Mojave and Catalina, better than in Big Sur... Thats why I would like to install Mojave or Catalina

About USB

Hi, thanks for your contributions. I download lastest release EFI, but USB don't work in my computer(thinkpad e570), and the macos version is 12.4(Monterey) .

ACPI-Patch

where can I know what value I should fill in here to replace it
Snipaste_2023-07-12_07-43-24

EFI

Sorry, maybe I'm blind, but I can't source the EFI folder needed for this step:
"Copy downloaded EFI folder to EFI partititon."
Please help me..

Issue with intel wifi card

Hello, I install a 7265 intel wifi card, I load the kexts both in folder and in plist... I can even connect to wifi but it wont let me surf on the internet, when I open the safari browser it says that I dont have internet, by the way, the bluetooth works fine.

Fix For card reader and other

add to config opencore
to device properties :
PciRoot(0x0)/Pci(0x1C,0x4)/Pci(0x0)
compatible
pci14e4,16bc
STRING

Schermata 2022-06-18 alle 09 32 39

fix :)
MacBook Pro ThinkPad E570.ioreg.zip

EFI.zip
my efi oc 0.8.2 dev
work in macos ventura beta
added new kext usb portmap with correct usb port map
added kext for support trackpoint and trakpad (voodormi-vodoosbus) try it :)
added yoga smc and ssdt for thinkpad and other fix :)

What makes the card reader work?

What specific change makes the card reader work? I have a an L570 on Monterey with the same card reader, but have no idea how to make it work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.