Skip to content

null2264/L460-Hackintosh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hackintosh for Thinkpad L460

Warning

I am not responsible for any damages you may cause

This repository's main goal is to document my accomplishment, issues, and solutions I found when making this EFI. It is not meant to provide a out-of-the-box experience on doing hackintosh! If you're new to Hackintosh please make your own EFI by following Dortania's Guide instead

If you insist on using my EFI, use it with your own risk, you may report issues related to patches that you came across, but I won't give any support on installation issues

💻 Hardware

  • CPU: Intel Core i5-6300U
  • GPU: Intel HD 520 (Spoofed as HD 620)
  • RAM: 8GB
  • Storage: 256GB SSD SATA (SSDSC2KF256H6L)
  • Screen Resolution: 1920x1080
  • Audio Codec: Realtek ALC3245/ALC293
  • LAN: Intel i219
  • WLAN/Bluetooth: Intel(R) Dual Band Wireless-AC 8260

BIOS Config

TODO

Tips

Useful configuration you can do after you successfully installed macOS

Enable Apple Services

Note

If you (still) can't login to iMessage you may need to contact Apple Support to unblacklist your AppleID (You can try opening the Message app from terminal to check the log to see if you're getting a Customer Code error, which is an indication that your AppleID got blacklisted. See more info here)

  1. Download (or clone) GenSMBIOS and run it in terminal
  2. Type 3 to generate SMBIOS, then press Enter
  3. Type MacBookPro14,1 5, then press Enter
  4. Open EFI/Config.plist (I highly recommend using ProperTree) and navigate to PlatformInfo -> Generic
  5. Add one of the script's result to MLB, SystemSerialNumber, and SystemUUID
  6. Replace ROM with your MAC Address (System Preferences -> Network -> Ethernet -> Advanced -> Hardware -> MAC Address, then remove all the colons :). Or you can also try using a real Apple MAC Address
  7. Save and Reboot
  8. Check the Serial Number validity. Repeat step 5 and choose different result (or generate new set of SMBIOS) if you saw Valid Purchase Date

Disable S3/S4

This is the stupid simple way to fix sleep related issues, simply disable S3/S4:

sudo pmset -a hibernatemode 0
sudo pmset -a proximitywake 0
sudo pmset -a standbydelayhigh 0
sudo pmset -a ttyskeepawake 0
sudo pmset -a gpuswitch 0
sudo pmset -a halfdim 0
sudo pmset -a womp 0
sudo pmset -a acwake 0
sudo pmset -a networkoversleep 0
sudo pmset -a tcpkeepalive 0

I personally don't do this since it's no fun but also doesn't actually fix the issue, just disabling some problematic features

Bluetooth Workaround

  1. Get your Bluetooth Controller's MAC Address,
    • Method 1:
      Run this command in a terminal and copy the result:
      system_profiler SPBluetoothDataType | grep "Address:" | head -1 | sed "s/ *Address: \(.*\)/\1/g"
    • Method 2:
      1. Click the Apple logo at the top-left corner then click About This Mac
      2. Go to System Report,
        • On Monterey or older, just click System Report
        • On Ventura or newer, click More Info, scroll all the way down then click System Report
      3. Navigate to Bluetooth menu (Hardware > Bluetooth)
      4. Under Bluetooth Controller copy the MAC Address
  2. Add this line to the /etc/zshenv (or /etc/bashrc) file:
    export BT_DEVICE_ADDRESS="PASTE:YOUR:MAC:ADDRESS:HERE"
  3. Reboot to apply the changes
  4. Get into S3/S4 sleep then try connecting to a device via Bluetooth

🔧 Status

Note

Your experience may vary

  • Working = Doesn't affecting workflow that much or straight up working out-of-the-box
  • Partially Working = Working but sometimes require reboot to fix
  • Not Working = Doesn't work at all or delibrately disabled by me
  • Not Tested = Can't be tested at the moment

✔️ Working

  • CPU (Power Managament)
  • GPU (Acceleration)
    • Glitches and Flickers, can be fixed by adding AAPL,GfxYTile property. It still sometimes happened under certain circumstances such as:
      • Using HiDPI
      • Connect to an external monitor (Maybe because my monitor's (native) resolution is under 1080, I don't have a 1080p monitor so I can't test it further)
      • Using resolution higher or lower than the internal monitor native resolution
    • KabyLake's color-banding issue, the only fixes related to this require spoofing GPU to SkyLake (My external monitor doesn't have this issue, so maybe it's hardware)
      • Some says injecting fake EDID could fix this issue, but it doesn't work for me
  • Restart + S3/S4 Sleep + Shutdown
  • Audio + Combo Jack (using OpenALC)
  • Brightness (and brightness control hotkeys)
  • Trackpad + Trackpoint + Clickpad
  • Wired Ethernet (using Mausi)
    Note: If your connection keep disconnecting, you may need to connect your Ethernet cable before turning on your laptop atleast once. After that it should work perfectly fine even after unplugging and plugging the cable in again
  • Bluetooth (Try Bluetooth Workaround if you get "Volume Hash Mismatch" error after waking from sleep, if it doesn't work you can always reboot to fix it)
  • USB Ports
  • VGA (is DP internally, so it's natively supported)
  • WiFi (using AirPortOpenBSD or AirportItlwm/itlwm)
    • Can't connect to WiFi with hidden SSID
      • Use AirPortOpenBSD
        • Sometimes it doesn't want to connect, I recommend not using hidden SSID at all when you don't actuallly need it
      • Use itlwm+HeliPort instead to fix this
    • (AirPortOpenBSD) WiFi sometimes doesn't show up, this could be caused by WLAN channel overlaps
      • Try changing your Access Point's WLAN Channel to something else to fix it
      • (Only for AirPortOpenBSD - v2.3.0 or newer) You try turning on and off the wifi connection on macOS
      • (Only for AirPortOpenBSD - v2.3.0 or newer) You can also try clicking "other" and manually connect to the WiFi
        • If it says "network couldn't be found", try turning off and on again the WiFi (your device's wifi connect and/or your access point), then try again

⚠️ Partially Working

  • _Qxx EC Query not firing after sleep, caused FN Hotkeys and some battery update functions to stop working, reboot is required to fix it. A common issue on E-Series and L-series ThinkPad
  • DRM
    • iGPU-only DRM is completely broken, but you still can use third-party browsers to watch DRM videos
    • Some iGPU-only Laptop users reported that unfairgva=4 fixed it, you may test it on your device, but this workaround doesn't seems to be working on my Laptop

❌ Not Working

❓ Not Tested

  • MiniDP
    • Need MiniDP adapter since none of my devices use MiniDP

📋 TODO

  • Dump ACPI into this repo

📂 Other Repositories

ℹ️ Credits

🔗 External Links

About

Public Repo for my LENOVO ThinkPad L460 Hackintosh setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages