Code Monkey home page Code Monkey logo

lenovo-t530-hackintosh-opencore's Introduction

Lenovo ThinkPad T530 Hackintosh OpenCore

T530 OpenCore Clover Version MacOS release
10103711

TABLE of CONTENTS

About

OpenCore and Clover EFI Folders for running macOS High Sierra to Sonoma on the Lenovo ThinkPad T530.

⚠️ Important Status Updates
Sequoia can be installed and patched with n[ightly build of OpenCore Legacy Patcher from Sequoia Develoment branch!
](dortania/OpenCore-Legacy-Patcher#1137 (comment))

Noteworthy Features

  • Contains Patches and Kexts from OpenCore Legacy Patcher (OCLP), such as:
    • Booter Patches, NVRAM parameters and RestrictEvent.kext to install and run macOS Big Sur and newer with the MacBookPro10,x SMBIOS (More)
    • Native SMC CPU Power Management in macOS 13+ for optimal CPU Power Management (More).
    • Fully working graphics acceleration for the Intel HD 4000 in macOS 12+ (requires Post-Install root patching with OCLP)
    • Working legacy Broadcom Wi-Fi and Bluetooth in macOS 14 (requires Post-Install root patching with OCLP)
    • Ability to boot macOS 12+ with AMFI enabled thanks to AMFIPass.kext.
  • No patched DSDT – only SSDT hotpatches were used for maximum ACPI-compliance!
  • Working battery status read-outs without additional DSDT/ACPI patches thanks to ECEnabler.kext
  • 3D Globe in Maps in macOS 12+ thanks to AdvancedMaps.kext
  • IRQ patches fully realized via a custom SSDT – zero binary renames required!
  • Custom AppleALC Layout to support the Audio Jacks of Lenovo Mini Docking Stations 4337 and 4338. It uses Layout-ID 39 and has been integrated into AppleALC since version 1.7.3
  • Working Hibernation

Specs

Component Details
Model Lenovo ThinkPad T530, Model# 2429-62G
Chipset Intel QM77 Express
BIOS Version 2.77, unlocked with 1vyRain
Processor Intel Core i7 3630QM
Memory 16GB Samsung DDR3 1600MHz, Dual-Channel
Minimum: 8GB
Hard Disk Samsung 840 Evo 250GB
Integrated Graphics Intel HD Graphics 4000, 2048 MB RAM assigned
Display 15.6" HD+ TFT Display (1600x900 px)
Audio Realtek ALC269VC Rev.3 (Layout-id:39)
Ethernet Intel 82579LM Gigabit Network Connection
WiFi and Bluetooth Broadcom BCM94352HMB DW1550, 802.11 a/b/g/n/ac
Multicard Reader Ricoh 4-in-1 reader (MMC, SD, SDHC, SDXC)
ExpressCard/34 slot disabled
Docking Station Lenovo ThinkPad 4338 Mini Dock plus Series 3

DOCS

macOS-incompatible Components

  • NVIDIA Optimus GPU must be disabled in BIOS - otherwise no boot!
  • Fingerprint Reader
  • VGA Port – not supported since macOS Mountain Lion: Intel HD Graphics VGA Support

EFI Folder Content (OpenCore)

Click to reveal
EFI
├── BOOT
│   └── BOOTx64.efi
└── OC
    ├── ACPI
    │   ├── SSDT-ALS0.aml
    │   ├── SSDT-BAT1-Disable.aml
    │   ├── SSDT-EXT4.aml
    │   ├── SSDT-EXT5.aml
    │   ├── SSDT-IRQ_FIXES.aml
    │   ├── SSDT-NBCF.aml
    │   ├── SSDT-PM.aml
    │   ├── SSDT-PNLF.aml
    │   ├── SSDT-PRW0.aml
    │   ├── SSDT-PTSWAKTTS.aml
    │   ├── SSDT-SBUS-MCHC.aml
    │   └── SSDT-TEMPToFans.aml
    ├── Drivers
    │   ├── AudioDXE.efi (disabled)
    │   ├── HfsPlus.efi
    │   ├── OpenCanopy.efi
    │   ├── OpenRuntime.efi
    │   └── ResetNvramEntry.efi
    ├── Kexts (loaded based on Min/Max Kernel settings)
    │   ├── AdvancedMap.kext (macOS 12+)
    │   ├── AirportBrcmFixup.kext
    │   ├── AMFIPass.kext (macOS 12+)
    │   ├── AppleALC.kext
    │   ├── AppleIntelCPUPowerManagement.kext (macOS 13+)
    │   ├── AppleIntelCPUPowerManagementClient.kext (macOS 13+)
    │   ├── BlueToolFixup.kext (macOS 12+)
    │   ├── BrcmBluetoothInjector.kext
    │   ├── BrcmFirmwareData.kext
    │   ├── BrcmPatchRAM2.kext
    │   ├── BrcmPatchRAM3.kext 
    │   ├── BrightnessKeys.kext
    │   ├── CryptexFixup.kext (macOS 13+)
    │   ├── ECEnabler.kext
    │   ├── HibernationFixup.kext
    │   ├── IntelMausi.kext
    │   ├── IO80211FamilyLegacy.kext (macOS 14+)
    │   ├── IOSkywalkFamily.kext (macOS 14+)
    │   ├── Lilu.kext
    │   ├── NoTouchID.kext (macOS 10.13 and 10.14)
    │   ├── RestrictEvents.kext (macOS 11+)
    │   ├── SMCBatteryManager.kext
    │   ├── VirtualSMC.kext
    │   ├── VoodooPS2Controller.kext
    │   ├── VoodooSDHC.kext
    │   └── WhateverGreen.kext
    ├── OpenCore.efi
    ├── Resources (NOTE: shows sub-folders only, no files)
    │   ├── Font
    │   └── Image
    │       └── Acidanthera
    │       │   ├── Chardonnay
    │       │   ├── GoldenGate
    │       │   └── Syrah
    │       └── Blackosx
    │       │   └── BsxM1
    │       └── velickovicdj
    │       │   └── EnterTwilight
    │       └── Label
    └── config.plist

Deployment

Please read the following instructions carefully before deploying my EFI folder. Depending on your T530 model, the used WiFi/BT card and macOS version you want to run, adjustments to the config.plist and used kexts may be necessary to adapt the config to your system.

Note

Although this EFI might work with T430 and X230, is was not intended for these ThinkPad models. So don't misuse issue reports for support requests!

Preparing the config.plist

Download the EFI Folder from the Releases section and unpack it. Make sure to read the included Changelog.md as well, since it contains useful explanations.

Open the config.plist and adjust the following settings depending on your system:

  1. ACPI Section:

    • Disable SSDT-PM.aml (unless you have an i7 3630QM as well). Generate your own with ssdtPRGen in Post-Install.
  2. Booter Section (optional):

    • The entries in the MMIO Whitelist are memory regions used by my firmware. Since I don't know if these are used by all T530 BIOSes, I disabled them and the corresponding DevirtualiseMmio Quirk
    • To figure out which one(s) your system use(s), you can follow this guide
    • This is not a necessity, just some fine-tuning.
  3. DeviceProperties: Enable the correct Framebuffer-Patch for your display. The T530 comes with either one of the following display panels: HD+ or HD, supporting different resolutions. Each requires a different framebuffer patch (AAPL,ig-platform-id) with different connector patches:

    AAPL,ig-platform-id 04006601 = HD+ = WSXGA and FullHD. Resolution: ≥ 1600x900 px. (Default)
    AAPL,ig-platform-id 03006601 = HD = SD. Resolution: ≤ 1366x768 px.

    If your T530 has an SD panel, do the following;

    • Go to DeviceProperties
    • Disable the entry PciRoot(0x0)/Pci(0x2,0x0) by placing # in front of it.
    • Enable #PciRoot(0x0)/Pci(0x2,0x0) 1366x768 px by deleting the leading # and the description 1366x768 px, so that it looks this: PciRoot(0x0)/Pci(0x2,0x0).

    💡 HINT: If your screen turns off during boot, you are using the wrong Framebuffer-Patch!

  4. Audio (optional):

    • If you need digital Audio over HDMI/DP, disable/delete No-hda-gfx from the Audio Device Properties in PciRoot(0x0)/Pci(0x1B,0x0).
    • My EFI contains a custom build of AppleALC.kext which only contains layouts 18 and 39 (default) and therefore only is 95 KB in size (instead of 3.6 MB). If you are using a docking station, leave it at 39. If you don't, change it to 18.
    • Bootchime: If you want the bootchime to play, do the following:
      • Under UEFI/Drivers, enable AudioDxe.efi
      • Under EUFI/Audio, enable AudioSupport
      • Make sure ConnectDrivers is enabled
  5. SIP (optional): Under NVRAM/Add/7C436110-AB2A-4BBB-A880-FE41995C9F82, adjust csr-active-config according to the macOS version you want to use. Lowering SIP is mandatory if you want to run macOS 12 and newer in order to install and load Intel HD 4000 Drivers! If you have issues running OCLP in Post-Install, change csr-active-config to FE0F0000 (almost fully disabled).

    • SIP enabled: 00000000 (macOS Big Sur and older only!)
    • SIP disabled:
      • For Big Sur and newer: 03080000(0x803)
      • For macOS Mojave/Catalina: EF070000(0x7EF)
      • For macOS High Sierra: FF030000 (0x3FF)
  6. SMBIOS: Under SystemProductName, select the correct SMBIOS for your CPU and generate a serial, etc. for it. My EFI utilizes Patches and kexts from OpenCore Legacy Patcher which allow using the correct SMBIOS for Ivy Bridge CPUs on macOS 11.3 and newer (Darwin Kernel 20.4+), so native Power Management and OTA System Updates are working oob which wouldn't be possible otherwise past macOS Catalina.

    • For Intel i7: MacBookPro10,1 (Default)
    • For Intel i5: MacBookPro10,2
  7. WiFi and Bluetooth (Read carefully!)

    • Case 1: Intel Wifi/BT Card. In stock configuration, the T530 comes with an Intel WiFi/Bluetooth card, so you need different kexts for WiFi and Bluetooth. It may work with OpenIntelWireless kexts.
      • Check the compatibility list to find out if your card is supported.
      • Remove all kexts containing "Brcm" in the name.
      • Add the required Kexts for your Intel card to EFI/OC/Kexts folder and config.plist before attempting to boot with this EFI!
    • Case 2: 3rd Party WiFi/BT Cards. These require the 1vyrain jailbreak to unlock the BIOS to disable the WiFi Whitelist (not required if the 3rd party card is whitelisted).
      • I use a WiFi/BT Card by Broadcom, so my setup requires AirportBrcmFixup for WiFi and BrcmPatchRAM and additional satellite kexts for Bluetooth. Read the comments in the config for details.
      • BrcmFirmwareData.kext is used for injecting the required firmware for Broadcom devices. Alternatively, you can use BrcmFirmwareRepo.kext which is more efficient but has to be installed into System/Library/Extensions since it cannot be injected by Bootloaders.
      • If you use a WiFi/BT Card from a different vendor than Broadcom, remove the Brcm Kexts and add the Kext(s) required for your card to the kext folder and config.plist before deploying the EFI folder!
  8. Kernel Section

    • Kernel/Patch: If you have an HDD caddy for the DVD drive bay, you can add this kernel patch to your config to enable SATA hot plugging.
    • Kernel/Quirks:
      • If you are using a stock BIOS, you need to enable AppleCpuPmCfgLock Quirk.
      • If you are using the 1vyrain BIOS, CFG-Lock will be disabled by default (not the case for the T430). In this case, you don't need the AppleCpuPmCfgLock Quirk.
      • To figure out if the MSR 0xE2 register of your BIOS is unlocked, add ControlMsrE2.efi to EFI/OC/Tools and your config.plist (under Misc/Tools) and run it from the BootPicker. The output should look like this:
        UNLOCKED_MSR
  9. Misc Section

    • Misc/Boot: HideAuxiliary is enabled. This hides additional items like Recovery and resetting NVRAM. You can reveal them by pressing the space bar in BootPicker. If you want all items to show by default, disable HideAuxiliary.
  10. NVRAM Section

    • Boot-args: (under GUID 7C436110-AB2A-4BBB-A880-FE41995C9F82)
      • brcmfx-country=#a: Sets Wifi Country Code (#a = generic) for Broadcom WiFi cards using AirportBrcmFixup. If you are using an Intel Card, delete this boot argument. Otherwise replace the generic country code with the one for your country listed here. This is recommended to avoid connectivity issues and getting AirDrop to work properly (which I don't use).
  11. PlatformInfo/Generic Section

    • Generate and add Serials and stuff for MacBookPro10,1 with OpenCore Auxiliary Tools or GenSMBIOS, so Facetime will work
  12. Add/enable alternative/optional Kexts:

    • itlwm: Kext for Intel WiFi Cards. Use instead of AirportBrcmFixupif you don't use a Broadcom WiFi Card
    • IntelBluetoothFirmware: Kext for Intel Bluetooth Cards. Use instead of BrcmPatchRam and Plugins if you don't use a Broadcom BT Card
    • NoTouchID: only required for macOS 10.13 and 10.14 so the boot process won't stall while checking for a Touch ID sensor.
    • Feature Unlock: Unlocks additional features like Sidecar, AirPlay to Mac and Continuity Camera.
  13. Increase Max Backlight Brightness Level (optional):

    • Add boot-arg applbkl=0 for increased maximum brightness of the display as defined in SSDT-PNLF.aml instead of letting Whatevergreen handle it. Also available as device property (see Whatevergreen documentation for details).

Used boot arguments and NVRAM variables

  • Boot-args:
    • gfxrst=1: Draws Apple logo at 2nd boot stage instead of framebuffer copying → Smoothens transition from the progress bar to the Login Screen/Desktop when an external monitor is attached.
    • ipc_control_port_options=0: Fixes issues with Firefox not working and electron-based Apps like Discord in macOS 12+ when SIP is lowered.
  • NVRAM variables:
    • OCLP Settings -allow_amfi: Does the same as boot-arg amfi_get_out_of_my_way=0x1 but only when the OpenCore Patcher App is running. Otherwise you can't run the root patcher. But this didn't work the last time I tried this setting might be deprecated.
    • hbfx-ahbm: Lets the system hibernate instead of using regular sleep. Requires HibernationFixup.kext. More details here
    • revblock:media: Blocks mediaanalysisd on Ventura+ (for Metal 1 GPUs). Required so apps like Firefox don't crash. Requires RestrictEvents.kext
    • revpatch:
      • sbvmm: Forces VMM SB model, allowing OTA updates for unsupported models on macOS 11.3 and newer. Requires RestrictEvents.kext.
      • memtab: Adds Memory tab to "About this Mac" section (macOS ≤ 12 only). Requires RestrictEvents.
      • f16c: Disables f16c instruction set reporting in macOS 13.3 or newer to prevent CoreGraphics crashing on Ivy Bridge CPUs

EFI How To

Once you're done adjusting the config.plist, mount your system's ESP and do the following:

  • Backup your current EFI folder on a FAT32 formatted USB flash drive
  • Paste in my EFI folder
  • Restart
  • Perform an NVRAM Reset (in BootPicker, hit Space Bar to reveal the tool)
  • Select macOS to boot

Note

The system may crash the first time when booting macOS Ventura or newer. That's normal. After that, it should work as expected.

BIOS Settings

Click to reveal

Latest BIOS Version: 2.77 DOWNLOAD

Tab Submenu Function Setting
Config USB
  • UEFI BIOS Support
  • USB 3.0 Mode
Enabled
Enabled
Display
  • Boot Display Device:
  • OS Detection for NVIDIA Optimus:
ThinkPad LCD
Disabled
SATA
  • SATA Controller Mode
AHCI
CPU
  • Core Multi-Processing
  • Intel (R) Hyper-Threading Technology
Enabled
Enabled
Security
  • Security Chip
Disabled
UEFI BIOS Update Options
  • Flash BIOS Updating by End-Users
  • Secure Rollback Prevention: Enabled
Enabled
Enabled
  • Memory Protection
Enabled
Virtualization
  • Intel Virtualization Technology
Enabled
I/O Port Access
  • Wireless WAN
  • ExpressCard Slot
  • eSATA Port
  • Fingerprint Reader
  • Antitheft and Computrace
  • Secure Boot
Disabled
Startup
  • UEFI/Legacy Boot
UEFI Only
  • CSM Support
Disabled
  • Boot Mode
Quick
  • Boot Order Lock
Enabled

[!NOTE]

Enable Boot Order Lock after you've set-up the order of the Boot Drives. This prevents WindowsBootManager from taking over the first slot of the boot drives. This way, you don't need to enable the LauncherOption in OpenCore!

Installing macOS

Coming from Windows/Linux: Follow the installation guide by Dortania.

Note

No support from my end is provided for issues related to UBS Installers created in Windows or Linux or when using a Virtual Machine!

Coming from macOS:

  • If you already have macOS installed, you can either download macOS from the App Store, with OCLP or with ANYmacOS. Both can download macOS and create a USB Installer as well.
  • IMPORTANT: When upgrading from macOS Catalina or older to Big Sur and newer, additional preparations are required. Follow my macOS install instructions.

Recommended macOS version

Until recently, my recommendation was macOS Catalina. While testing my own instructions for upgrading from macOS Catalina (or older) to Big Sur, I noticed that Big Sur feels snappier and more responsive overall (although benchmarks are slightly lower).

Big Sur is also the best choice if you're planing to upgrade to macOS Monterey or newer. Because macOS 11.3 introduced a virtualization technology which can be used to trick macOS into thinking that it is running in a VM. This allows installing and booting macOS 12+ with an unsupported SMBIOS designed for Ivy Bridge CPUs which improves CPU Power Management and also allows installing System Updates which wouldn't be possible otherwise.

Post-Install

Apply Root Patches with OpenCore Legacy Patcher (macOS 12+)

If you areinstalling macOS 12 or newer, you need to apply post-install root patches with OpenCore legacy Patcher so that on-board graphics and Wi-Fi/Bluetooth work. Instructions can be found in the macOS Install section.

Disable Gatekeeper (optional)

I disable Gatekeeper on my systems because it is annoying and wants to stop you from running scripts from github etc. To do so, enter sudo spctl --master-disable in Terminal.

This command no longer works in macOS Sequoia – it requires a different method to disable Gatekeeper.

Strengthen Security

Once macOS is up and running, you may want to change the following settings to make your system more secure:

  • Misc/Security/SecureBootModel:
    • macOS Big Sur and older: Default
    • macOS Monterey: Disabled (otherwise insta-crash)
    • macOS Ventura: Default (I don't know why but Default works – which it shouldn't…)
  • csr-active-config: 00000000 (macOS 11.x and older only – leave on 03080000 if your system requires root patches!)
  • UEFI/APFS: change MinDate and MinVersion from -1 (disabled) to 0 (default) or use specific values for different versions of macOS.
  • Enable Hibernation (use Terminal or change in Hackintool):
    • Disable PowerNap: sudo pmset -a powernap 0
    • Change Hibernatemode to 25: sudo pmset -a hibernatemode 25

Note

  • Enter nvram 94b73556-2197-4702-82a8-3e1337dafbfb:AppleSecureBootPolicy to check the security level. It should return %01 for medium security. More info here
  • SIP: If you're planning to install macOS Monterey or newer, System Integritiy Protection must be lowered! Because installing the necessary graphics drivers breaks macOS' security seal and the system will crash during boot if it is enabled!
  • MinDate/MinVersion: You should keep a working backup of your EFI folder on a FAT32 formatted USB flash drive before changing these settings, because if they are wrong, the APFS driver won't load and you won't see your disk(s) in the BootPicker!

Fixing CPU Power Management

Follow this guide to generate an SSDT-PM.aml to fix CPU Power Management. CPU Power Management should work fine after that.

Optionally, install Intel Power Gadget to check whether or not the CPU runs within specs. You don't need SMCProcessor and SMCSuperIO kexts to monitor the CPU if you use Intel Power Gadget, btw.

NOTES:

  • Generating an SSDT-PM is necessary if you use a different CPU than i7 3630QM
  • Pre-generated SSDTs for other CPU models used in the T530 can be found here
  • You can add modifiers to the terminal command for building SSDT-PM. For example, you can drop the low frequency from the default 1200 MHz to 900 MHz in 100 MHz increments, but no lower than that. Otherwise the system crashes during boot. I suggest you experiment with the modifiers a bit.

ACPI Power Management in macOS 13+

With the release of macOS Monterey, Apple dropped the plugin-type check for handling CPU Power Management. Since then, the X86PlatformPlugin (Plugin-type 1) is loaded by default – prior to Monterey, plugin-type 0 (ACPI_SMC_PlatformPlugin) was the default. For Haswell and newer this is great because you no longer need SSDT-PLUG to enable Plugin-Type 1. But for Ivy Bridge and older, you now not only need SSDT-PM to inject C-States and P-States but also to declare Plugin-Type 0 usage. But using ACPI CPU Power Management is still possible. For macOS Ventura, it's a different story…

In macOS Ventura, Apple removed the actual ACPI_SMC_PlatformPlugin binary from the kext itself rendering SSDT-PM generated for 'plugin-type' 0 useless, since it can't address a plugin which doesn't exist any more. Instead, the X86PlaformPlugin is loaded. This results in CPU Power Management not working correctly out of the box (no Turbo states, etc.).

So when switching to macOS Ventura or newer, injecting additional kexts to re-enable ACPI CPU Power Management (Plugin-Type 0) is necessary. My EFI is already configured to boot macOS Ventura and use ACPI CPU Power Management, so you don't have to worry about it.

Fixing Sleep issues

If you have issues with sleep, run the following commands in Terminal:

sudo pmset hibernatemode 0
sudo rm /var/vm/sleepimage
sudo touch /var/vm/sleepimage
sudo chflags uchg /var/vm/sleepimage

Other Settings:

If the system still wakes from sleep on its own, check the wake reason. Enter:

pmset -g log | grep -e "Sleep.*due to" -e "Wake.*due to"

If the wake reason is related to RTC (Alarm), do the following:

  • Enter System Settings
  • Open Energy Settings
  • Disable "Wake on LAN"
  • Disable "Power Nap"
  • In Bluetooth Settings, "Advanced Options…" disable the 3rd entry about allowing Bluetooth devices to exit sleep

Note

  • To exit from Sleep you can press a Mouse button. But to wake from Hibernation, you have to press the Fn key or the Power Button.

Reducing boot time

In UEFI/Drivers, disable ConnectDrivers. This reduces the timeout between the LENOVO logo and the BootPicker by 5 to 8 seconds.

Warning

  • Before installing macOS from a USB flash drive, ConnectDrivers needs to be re-enabled, otherwise you won't see it in the BootPicker.
  • With ConnectDrivers disabled, the bootchime cannot be played back since AudioDXE.efi is not loaded.

Swapping Command ⌘ and Option ⌥ Keys

Prior to version 0.7.4 of my OpenCore EFI Folder, the [Command] and [Option] keys were set to "swapped" in the info.plist of VoodooPS2Keyboard.kext by default. So in macOS, the [WINDOWS] key was bound to the [Option] key function and the [ALT] Key was bound to the [Command] key function which felt weird. Therefore, users had to swap these Keys back around in the System Settings so everything worked as expected.

Since then, I've undone the key swap inside the VoodooPS2Keyboard.kext plugin so that the Key bindings are working as expected out of the box. So if you are updating from 0.7.3 or lower to 0.7.4, reset the Keyboard Modifier Keys back to Default in System Settings > Keyboard so everything is back to normal.

If the "<", ">" and "^" Keys are switched/reversed, change Use ISO layout keyboard from false to true in the info.plist of VoodooPS2Keyboard.kext.

Changing Themes

Besides the 3 default themes by Acidanthera included in the OpenCore package, I've added an additional theme by Blackosx called BsxM1 which is set as default. To change the theme to something else, do the following:

  • Open config.plist in OpenCore Auxiliary Tools
  • Go to Misc/Boot
  • Select a different theme from the dropdown menu in PickerVariant
  • Save config.plist and reboot to apply the theme.

To revert these changes, enter Acidanthera\GoldenGate as PickerVariant and change the Flavor for the NVRAM Reset Tool back to Auto.

Eject Button

macOS locks the optical drive sometimes so that you can't open it with the physical eject button – even if no media is present. To fix this you have 2 options:

  • Option 1: Go to System/Library/CoreServices/Menu Extras and double-click on Eject.menu. This adds an Eject button Icon to the Menu Bar.
  • Option 2: Press and hold the INS button (right below the Power Button) until the Eject Icon appears on the screen and the CD tray opens.

Fixing issues with AirportBrcmFixup (Broadcom WiFi Cards only)

I've noticed recently that a lot of crash reports for com.apple.drive.Airport.Brcm4360.0 and com.apple.iokit.IO80211Family are being generated (located under /Library/Logs/CrashReporter/CoreCapture).

This issue is related to Smart Connect, a feature of WiFi routers which support 2,4 gHz and 5 gHz basebands to make the WiFi card switch between the two automatically depending on the signal quality. In my case, turning off Smart Connect resolved the issue.

CPU Benchmark

Screenshot
Benchmark Results

Credits and Thank Yous

lenovo-t530-hackintosh-opencore's People

Contributors

5t33z0 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lenovo-t530-hackintosh-opencore's Issues

Brightness Question!

Hello to start off I want to say thankyou so much for your guide! I would never be able to fix sleep withought your binary patching guide! I have a t431s thinkpad and my brightness at boot is always around 75% of the actual brightness even when it says its full. But when I close the lid and sleeps (thx to you :) and I open it the brightness actually goes to 100%. I was wondering if this crossed with the brightness issue on your end as well. When I get home im going to try to use your boot-arg to see if it fixes anything!

Improving Ventura Support on the Lenovo T530

I have a T430 and I've been testing Ventura for around a month and these are my findings (More like OCLP findings lol)

  • Ventura dropped the legacy AppleIntelCPUPowerManagement.kext, so the cpu is gonna be stuck in base clock, one solution is injecting the legacy kexts again via OC dortania/OpenCore-Legacy-Patcher@964697a. I couldn't get this to work in my T430, It always kernel panics, some problem with the P-states or something. but I found an alternative. enabling Xcpm, with the help from your guide https://github.com/5T33Z0/Lenovo-T530-Hackintosh-OpenCore/tree/main/ACPI/Enable_XCPM and so far everything has been stable.
  • There is a system crash that happens with Metal 1 GPUs like the HD4000 related to mediaanalysisd, it can be fixed with the latest build of RestrictEvents and the boot-arg revblock=media
  • Root patch without disabling AMFI, this is desirable because having AMFI disabled breaks random stuff around the system. Screenshot 2022-12-19 at 3 19 41 PM
  • Add the boot-arg ipc_control_port_options=0 to fix some crashing problems with Electron apps like Discord

Improving Sonoma support for the Lenovo T530

What works

  • Installing and booting works with latest EFI release.
  • Setup-Assistant works a lot snappier without iGPU acceleration than in Monterey and Ventura.
  • Broadcom Bluetooth still works since BrcmPatchRAM is still compatible
  • Intel WiFI and BT should still work if you have a card supported by itlwm.kext.
  • Ethernet works fine.
  • Firefox works fine
  • Graphics Accelleration (since OCLP 068)
  • Broadcom WiFI (requires additional post-install root pacthes as described here

Supported macOS

  • macOS 14.2 RC. ⚠️ Requires nightly build of OCLP 1.3.0 or newer for root patching. Otherwise you "brick" macOS and have to revert patches.

What else

  • This upgrade was definitely much, much, much easier than switching from Monterey to Ventura.
  • More Info: dortania/OpenCore-Legacy-Patcher#1076
  • ⚠️ Any Off-Topic posts which are not about the Lenovo T530 will be DELETED IMMEDIATELY!!!

DeviceProperties for 1366x768 px on Monterey

First of all: thanks for sharing your EFI.

I tried this on a Lenovo X230 tablet and ran into a problem with my 1366x768 LCD. Half way during the booting it seemed to stuck at the Apple logo and the progress bar at about 50%. With a fresh install of Monterey beta 4 there was an indication that it got further than that: the system started talking about voice activation.

Installing Big Sur and importing from a TimeMachine backup went fine, but after upgrading to Monterey the same thing happened: seemingly stuck during booting. I was in luck that screen sharing was already activated in Big Sur and that it still worked after the upgrade. So I could still use the system with any VNC client!

I went to Settings > Display and found this:
x230-monterey

Screen resolution was set at 1280x1080, which my 1366x768 display could not handle. Choosing 'Default for display' or 1024x768 did not help either. After some trial and error I found the culprit: the device_type in the DeviceProperties was set to VGA compatible controller. Removing #device_type made my system boot like it should.

Please remove ot disable the device_type in '#PciRoot(0x0)/Pci(0x2,0x0) 1366x768 px'.

Add Sata hotplug

Hey. I've been testing this patch for com.apple.driver.AppleAHCIPort that enables hotplug capabilities for the dvd drive bay I have connected and disconnected various hard drives and stuff and it's working fine.

The patch goes in Kernel/Patch

Screenshot 2023-04-14 at 10 36 04 PM

Sound over HDMI

Hello how can I configure the sound via HDMI. I only get the sound through the internal speakers.
Many Thanks

Slow on Ventura and Sonoma

I have been able to install Ventura and Sonoma with this EFI, but the system is terribly slow. And I would like to know where to start checking for solutions.
Thanks.

Logitech HD Pro Webcam C920 not working in 3rd party Apps (Zoom, Microsoft Teams)

So, I have this issue I don't know how to resolve: my C920 works fine in Photobooth and Facetime on my Lenovo T530. But when using any 3rd party apps like Zoom or Microsoft Teams, the cam won't turn on because I can't grant the apps access to it. The cam is working fine on my desktop pc in Ventura which is even weirder:

Bildschirmfoto 2023-04-30 um 11 53 40

Teams and Zoom both ask me to change the Security settings so access to the cam is granted (screenshot from Zoom):

Bildschirmfoto 2023-04-29 um 10 10 26

But on the Notebook, the apps don't show up in the Security/Privacy settings :

Syssettings

I tried mapping USB ports which is not a necessity on this system but it had no effect. Changing SIP to EF0F0000 didn't have any effect either. I think the issue is related to this: https://superuser.com/questions/1441270/apps-dont-show-up-in-camera-and-microphone-privacy-settings-in-macbook

I'v tested it in Mojave, Big Sur, Monterey and Ventura – same result. Any suggestions on how to fix this would be highly appreciated.

Issues with Trackpoint on an X230

Hello.

Since banhbaoxamlan's X230 repo hasn't been updated in a while, and had some issues with sleep, I've been running your repo on a X230 with a clean Monterey install.

Everything works flawlessly (including sleep) except for the Trackpoint, which is not working at all (as if it were not recognised).

I looked around the VodooPS2Controller.kext included in this package and it seems to be missing the VoodooPS2Mouse.kext module, might that be the reason for the non-working Trackpoint?

I've read around the other issues, and it seems you're running a modified 1.9.2 version, not sure if the mods required missing the Trackpoint for it to work on Opencore.

Otherwise, could you perhaps point me into the direction of trying to fix it?

Thank you.

Ventura unsupported Mac

Hello! ive been trying to get Ventura working on the Thinkpad T530. It already has Catalina installed but i would like to go to Ventura.

My specs are listed as :

CPU : i5 3210M
GPU : Intel HD 4000
RAM : 4GB
SSD : Netac S535N 128GB
Display : 1600x900

After doing the instructions shown in the guide. I always stop at this part.
IMG_0966

I don't know if i have done anything wrong, and any help would be appreciated!

Broadcom bcm4322 and macOS 10.15+

Hello, thank you for sharing your great job, in my case after removing whitelist, I installed a dw1510 wifi card (bcm4322), it was ok on Mojave, but I dont see the wifi on Catalina, Big Sur or Monterrey installation of after I install... I read that you can force a kext, unader kernel section but I dont fully understand instructions.... Can please help with it?

Dw1510 on Big Sur and up

Im using your clover efi On my x230t with some tweaking, Im running Catalina 10.5.3 with it, my wifi is DW 1510 bcm94322hm8l, I would like to know how to make it work on Big Sur and/or Monterey if I update or clean install, can you please suggest how to do it....

Note: I use this wifi card, because I dual boot MacOs and Windows

Thanks in advance!

SATA Controller Mode

Hello, in BIOS on this point:
SATA > SATA Controller Mode: XHCI
I have only two choise:ACPI or Combined.
How to fix it? Install custom bios?

YogaSMC

I created this issue to say thank you, thank you for your contribution to the hackintosh user community, you have worked so hard on this repo. I use it on Thinkpad T430 everything works very well and stable, just need create a new SSDT-PM. Could you consider integrating YogaSMC into this EFI? I tried it but YogaSMC only works with Voodoops2controller from acidanthera. When switching to Voodoops2controller from acidanthera, the trackpad does not work well. Looking forward to your response.

Thinkpad T530 - 2429 model - Helper Docs

This isn't an issue so much as some helpful hints for anyone with a fairly stock T530 and like me a Hackintosh newbie and struggling with getting MacOS (Sonoma) onto the laptop using this OC/EFI solution.

Firstly 5T33ZO has clearly done a lot of work on this build and has extensive documentation, so read that first.

BOOT-ARGS

First thing is add -v to boot-args. You need to know why the MacOS boot or install is failing. However don't expect too much help from the error messages or googling. it's a dark art and luck and guesswork seem to be the route to a successful MacOS install.

                <key>boot-args</key>
                <string>-v gfxrst=1 ipc_control_port_options=0 #-lilubetaall</string>

BIOS
The release build assumes you have a BIOS modded with 1vyrain. It says that in the pre-reqs.
However a stock BIOS (2.77 in my case) has MSR 0xE2 CPU register locked, and the kernel quirks are not enabled so MacOS will never boot successfully.

You have a choice. Mod BIOS with 1vyrain and enable CFG or add the 2 quirks:

            <key>AppleCpuPmCfgLock</key>
            <true/>
            <key>AppleXcpmCfgLock</key>
            <true/>

Optical Ultratray - DVD

I don't understand this one, and think I randomly stumbled upon a google search after looking up the usual incoherent MacOS error messages and kernel panics. But before Sonoma install you must eject the optical Ultrabay DVD drive or you'll never get through the install. After install you can put the drive back and it works fine, but during install it will just not allow the install to complete.

Screen Resolution

If you have 1366x768 SD resolution screen, make sure you follow the instructions to enable the correct Deviceproperties and disable the default HD device. You might even want to delete the HD section completely.

AUDIO

Can't imagine why you wouldn't want audio over DP, so go ahead and delete the No-hda-gfx from device PciRoot(0x0)/Pci(0x1B,0x0)
That worked for me anyway.

WIFI AND BLUETOOTH

I have a stock Centrino Advanced-N 6205 Wifi card in my T530. The default build here is for Broadcom devices so won't work for Intel Wifi cards. I used the itlwm drivers here: https://github.com/OpenIntelWireless/itlwm You need to copy the kext to the /EFI/OC/Kexts folder and add the kernel section of the config.plist:

            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>itlwm.kext</string>
                <key>Comment</key>
                <string>V2.3.0</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/itlwm</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>

Note that you also need to install the HeliPort app in MacOS to configure WiFi. It doesn't use the normal WiFi applet: https://openintelwireless.github.io/HeliPort/

However you can edit the Info.plist inside the itlwm.kext and hard code the SSID and password which means WiFi will work and connect at install/boot etc.

Make sure you remove all the Broadcom Wifi kexts from config.plist. They usually start with Brcm

On Bluetooth, you need the drivers here: https://openintelwireless.github.io/IntelBluetoothFirmware/

As per the docs:

Install IntelBTPatcher.kext (Depends on Lilu v1.6.2 or newer)
Make sure IntelBluetoothFirmware.kext v2.2.0 or newer is used.
Remove/Exclude IntelBluetoothInjector.kext for macOS Monterey and newer from the Bootloader's config
Install BlueToolFixup.kext

Note that for me IntelBluetoothFirmware.kext caused Sonoma to bootloop and panic. So do not load this kext

I never got Bluetooth working. I'm not sure if I have a hardware issue, or maybe some USB mapping issue or just that bluetooth on this laptop is not supported.

POST INSTALL STUFF

Follow ST33ZO's guide for post install. Certainly instal the most recent OpenCore Patcher GUI app and apply all the root kernel patches to make the accelerated graphics work etc.

Apple ID, iMessages, Facetime

I followed the dortania guide here: https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html#using-gensmbios

I used Gensmbios to generate and inject the correct Platform NVRAM ID's into the config.plist.

Can log into my Apple ID, but not managed to get iMessage or Facetime working, just keeps asking to authenticate (????)

Not sure if its something to do with EN0 being the ethernet port and EN1 being wireless. I did add the Intel Wifi card into the config.plist and added "built-in" but didn't work:

            <key>PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,1/0,0</string>
                <key>built-in</key>
                <data>AQ==</data>
                <key>device_type</key>
                <string>Network controller</string>
                <key>model</key>
                <string>Centrino Advanced-N 6205 [Taylor Peak]</string>
            </dict>

ROM is generated from gensmbios and doesn't match the hardware EN0 or EN1. issue??

Thats about it. I've included my working config.plist. It's possible I made other changes I forgot about.

Finally thanks to ST33Z0. Above is no criticism, just to help idiots like me.

config.plist.zip

Trying to fix Hibernation

@5T33Z0 After spending a lot of time trying to find guides or any info on hibernation in modern hackintosh (OpenCore). I managed to fix hibernation, before these fixes I was only getting a black screen or a restart when trying to wake from hibernation hibernatemode=25 the main problem was some RTC memory regions getting overwritten when starting the machine again, there were other small issues too. I tested with Catalina and Sonoma and its been reliable so far

To fix hibernation you will the kexts HibernationFixup and RTCMemoryFixup

  • Add rtcfx_exclude=80-AB to boot-args
  • Set HibernateMode to NVRAM in Misc/Boot
  • Set RebuildAppleMemoryMap to False in Booter/Quirks
  • Use the following ReservedMemory entry
    Screenshot 2023-12-02 at 8 22 21 PM
    ReservedMemory.plist.zip
  • Optionally set HibernateSkipsPicker in Misc/Boot to true for a more seamless hibernation wake

To fix a black screen that happens after hibernating and waking once and then try to hibernate again

  • Enable the DiscardHibernateMap Booter quirk
  • Reset NVRAM

Originally posted by @jozews321 in #43 (comment)

Questions about Intel ManagementEngine, Coreboot and Linux

Hello,

first of all, thanks for providing such an amazing guide on how to get a Hackintosh on this nice piece of hardware and for keeping it up to date :-)

My first question would be whether it is possible to run this install/the OS with Intel ME disabled. So far I have not read a lot about this and only comments of others but no concrete evidence. And since everyone only asks how to disable the ME with 1vyrain, I have no idea whether you can then re-enable it in case it doesn't work anymore but from what 1vyrain uses it might work.

My second question goes a bit deeper. I am planning on corebooting my T530 (and depending on the outcome of question one I'm also interested in removing/disabling the Intel ME).
Besides that, I'd like to dual-boot this machine, with macOS installed on the mSATA drive and Linux using the regular SATA.
I am fully aware that this is outside of the scope or your guide, but I was interested on your opinion on this topic.

Ventura: Update cannot be installed on this computer

Hello dear 5T33Z.
Firstly I would like to thank you for the EFI releases I have been using on my x230 for a year. MacOS from 10.14 to 12.4 started with minimal edits (screen resolution, ssdt-pm, gensmbios). But there is something wrong with the latest releases. I first discovered this by installing Ventura, the macOS installer wrote that my Mac was not supported.
But later I discovered that now even the stable Big Sur refuses to install with the same error:
photo_2023-01-16_13-45-47

Can you tell me what might be the problem? Or open for download previous releases. Thanks.

Booting is super slow with Mojave on X230

I'm using this for my X230, because everything else I'm finding has some sort of bug that I can't find anything about online. This is the only OpenCore config I've found that can boot from the internal drive. Booting the installer (and the internal drive after its fully installed), the bar starts to very slowly crawl after around the 2/3rd mark, slowly filling until it finally boots. While it's in this state, there's no drive activity going by the light. The second boot (first from internal SSD) freezes with the bar only 1/25th filled or so, until after a few minutes or so jumping forward and beginning the second stage of the install. I checked NoTouchID, and it appears to be included in the release EFI, so I don't think it's that. Is there some other thing that I missed or isn't in the config? (I'm new to hackintoshing, I probably missed something obvious.) (Also I want Mojave for compatibility with older jailbreaking tools (existence of iTunes, x86 apps, etc) and newer jailbreaking tools. (most are minimum High Sierra))

Hard Drive in Ultrabay Slim SATA 2nd Hdd Hard Drive Caddy Module can`t read and write

My Thinkpad T530, i put a Ultrabay Slim SATA 2nd Hdd Hard Drive Caddy Module in my dvdrom space.

In migftw/ThinkPad-T530-Hackintosh clover efi, the hard drive in that place can be read and write right,but in your opencore efi ,it can`t.

The Cataline system can find the hard disk in ,but it can`t read right or format it。

Hope you could find out the reason and let it work。 Thank you very much.

Well,another problem is,when i use your opencore efi,my dp port still can`t find and work,in mini-dp port or in dp port in dock either.

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.