Skip to content

Instantly share code, notes, and snippets.

@matt-curtis
Last active February 10, 2019 06:05
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save matt-curtis/517a755b395d7c2a891db0fb1d74b884 to your computer and use it in GitHub Desktop.
Lenovo G510 High Sierra Notes

Checklist:

  • ✅ WIFI
  • ✅ Ethernet
  • ✅ Display
  • ✅ Touchpad
  • ✅ USB (2 & 3)
  • ❓ HDMI (Video works, haven't bothered to fix audio yet)
  • ✅ Sleep
  • ✅ Audio (No microphone)

config.plist:

  • Added fix for volume control in menu bar being out of sync with system volume
  • Added AppleBacklight.kext patch as per Rehabman's adding backlight control guide)
  • Added fix for hang/pause/interruptions on login / wake from sleep
  • Also added EDID injection as needed to fix banded gradients
  • SortedOrder needed as we're using custom SSDTs...
  • Added custom SSDT for USBInjectAll.kext to end of SorderOrder

Clover/ACPI:

DSDT Patches:

  • "Remove _DSM methods"
  • "Rename GFX0 to IGPU"
  • "Fix _WAK Arg0 v2"
  • "HPET Fix"
  • "SMBUS Fix"
  • "RTC Fix"
  • "OS Check Fix"
  • "Fix Mutex with non-zero SyncLevel"
  • "Add IMEI"
  • "Haswell LPC"
  • "7-series/8-series USB"
  • "USB _PRW 0x0D (instant wake)"
  • Patches generated by AppleHDA Patcher for working audio

SSDT:

  • SSDT.aml (generated per RehabMan's Native Power Management guide)
  • SSDT-PNLF.aml (generated per RehabMan's adding backlight control guide, make sure to define SortedOrder in config.plist)
  • SSDT-UIAC.dsl (generated per RehabMan's creating an SSDT for USBInjectAll.kext guide, make sure to add SSDT to end of SorderOrder in config.plist)

Kexts installed at EFI/CLOVER/kexts/Other:

  • AtherosE2200Ethernet.kext
  • FakeSMC.kext
  • USBInjectAll.kext
  • VoodooPS2Controller.kext

Kexts installed at /S/L/E:

  • AtherosE2200Ethernet.kext
  • FakePCIID_Intel_HD_Graphics.kext
  • FakePCIID.kext
  • FakeSMC.kext
  • IntelGraphicsFixup.kext
  • Lilu.kext
  • USBInjectAll.kext
  • VoodooPS2Controller.kext
  • ACPIBatteryManager.kext
  • FakePCIID_AR9280_as_BCM943142HM.kext (custom, by me)
  • aDummyHDA.kext (generated by AppleHDA Patcher)

Kexts installed at /L/E:

  • AppleBacklightInjector.kext (added as per RehabMan's backlight guide)
@zhanser1k
Copy link

zhanser1k commented Feb 26, 2018

@matt-curtis I also own a lenovo g510, can you give to download a set of kexts and dsdt ssdt patching instructions. I will be very grateful for the help :)

@zhanser1k
Copy link

@matt-curtis I'm especially interested in this kext FakePCIID AR9280_as_ BCM943142HM.kext

@matt-curtis
Copy link
Author

matt-curtis commented Feb 26, 2018

@zhanser1k

I responded to your message on Twitter, btw:

Hi! This is the forum I used to get my installation up and running. Check out the guides at the top, they'll have all the info you need. https://www.tonymacx86.com/forums/high-sierra-laptop-support.192/

For setting up the installer USB, start with this guide: https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

I recommend using my notes here as a reference in case you get stuck, but not copying them verbatim - my hardware is likely slightly different from yours, and if you make a change I did that you don't need your installation will possibly fail.

FakePCIID_AR9280_as_BCM943142HM.kext is something I needed because this machine has a wifi card whitelist that can't be removed, and none of its whitelisted cards are supported on macOS. To get around that, I rebranded an AR9280 as a BCM943142HM (which is on the whitelist). This is where the kext comes in - it tells macOS to treat the card as the AR9280 it actually is, not the BCM943142HM it identifies itself as.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment