- Joined
- May 28, 2018
- Messages
- 126
- Motherboard
- Dell XPS 8930
- CPU
- i7-8700
- Graphics
- RX 580
Update 12/22/2020: OpenCore guide updated to include Big Sur.
Update 12/20/2020: Finally switched to OpenCore. See this new post
Update 12/24/2019: Update to Catalina 10.15.2 was as smooth as it were a real MacBook.
This is a rewrite of my previous guide that outlined High Sierra installation. I haven't used this machine in a while and recently I decided to pull it out again to work on installing Catalina. Most of the steps are the same
Model: Lenovo G50-80 80L0
CPU: i3 4030u
Graphics: Intel HD4400
Ram: 16GB
Hard drive: TeamGroup SATA SSD GX2 512GB
Audio: Conexant CX20751/2
Ethernet: RTL8111
Install macOS version: 10.15.1
Thank you @RehabMan for all your help on debugging my hackintosh process and all the excellent guides and tools. Also thank you @vanluu for the excellent guides on Lenovo G50-80 on El Capitan and Sierra. I decided I would post my experience here to share with everyone and for myself in the future to reference back to.
Please gather the latest versions of these tools online. I’m sure you can find the latest version just by googling the names.
Tools needed:
Step 2: install macOS Catalina
What works: USB, Bluetooth, Camera, Disk Burning (didn’t test),
Step 3: install Clover onto Macintosh HD
My system works out of the box with Rehabman's Clover Config. In case it does not, follow these two guides
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
Step 9: backlight brightness
Step 10: DSDT Patches summary
These are the DSDT patches I used. Clover config offers several hot patches that can replace some of these DSDT patches
Deprecated:
https://www.tonymacx86.com/threads/guide-10-11-usb-changes-and-solutions.173616/
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/
HS03 = Left side USB 2.0
HS02 = Left side USB 3.0 (running as 2.0)
SSP1 = Left side USB 3.0
HS04 = Card Reader
HS06 = Webcam
HS07 = Bluetooth
Step 12 USB Wifi dongle
https://www.tonymacx86.com/threads/...ing-when-installing-windows-and-linux.272807/
Step 14 Update to 10.15.2
Update 12/20/2020: Finally switched to OpenCore. See this new post
Update 12/24/2019: Update to Catalina 10.15.2 was as smooth as it were a real MacBook.
This is a rewrite of my previous guide that outlined High Sierra installation. I haven't used this machine in a while and recently I decided to pull it out again to work on installing Catalina. Most of the steps are the same
Model: Lenovo G50-80 80L0
CPU: i3 4030u
Graphics: Intel HD4400
Ram: 16GB
Hard drive: TeamGroup SATA SSD GX2 512GB
Audio: Conexant CX20751/2
Ethernet: RTL8111
Install macOS version: 10.15.1
Thank you @RehabMan for all your help on debugging my hackintosh process and all the excellent guides and tools. Also thank you @vanluu for the excellent guides on Lenovo G50-80 on El Capitan and Sierra. I decided I would post my experience here to share with everyone and for myself in the future to reference back to.
Please gather the latest versions of these tools online. I’m sure you can find the latest version just by googling the names.
Tools needed:
- macOS Catalina bootable USB drive (created with another macOS computer)
- A USB wifi adaptor (optional, you can use ethernet instead)
- Apps (please google and download the latest version)
- Clover Configurator
- Hackintool
- KextBeast
- MaciASL
- Rehabman’s Fork (RehabMan / OS-X-MaciASL-patchmatic / Downloads — Bitbucket)
- RehabMan’s patches (https://github.com/RehabMan/Laptop-DSDT-Patch)
- IORegistry Explorer 2.1
- DSDT/SSDT
- SSDT-EC
SSDT-PNLF(I chose config.plist method to enable backlight with WhateverGreen)- custom SSDT-UIAC
- custom DSDT
- EFI Drivers:
- apfsdriverloader.efi
- AptioMemoryFix.efi
- AudioDxe.efi (came preinstalled with Clover by default)
- DataHubDxe.efi (came preinstalled with Clover by default)
- FSInject.efi (came preinstalled with Clover by default)
- HFSPlus.efi
- SMCHelper.efi (came preinstalled with Clover by default)
- Kexts:
- /EFI/Clover/kexts/other
- AppleALC (doesn't work if in /L/E)
AppleBacklightInjector(Now handled by Whatevergreen)- ApplePS2SmartTouchPad
FakePCIID_Intel_HD_Graphics(Now handled by Whatevergreen)FakePCIID_Intel_HDMI_Audio(Now handled by Whatevergreen)FakePCIID(Now handled by Whatevergreen)- FakeSMC
- Lilu
- RealtekRTL8111 (For LAN support in recovery mode)
- WhateverGreen
- /Library/Extensions
- ACPIBatteryManager
- FakeSMC_ACPISensors
- FakeSMC_CPUSensors
- FakeSMC_GPUSensors
- FakeSMC_SMMSensors
- RtWlanU (For USB dongle, see step 12)
- RtWlanU1827 (For USB dongle, see step 12)
- Clover config
- RehabMan’s config_HD4600_4400_4200.plist, available here:
- /EFI/Clover/kexts/other
- Unibeast has not been updated to support Catalina yet, so we will be making it manually
- Format a 16+GB USB Flash drive with Disk Utilities and chose HFS+, rename it to USB
- Download Catalina from the App Store on a Mac
- Open Terminal, and type in the following command
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled -- /Applications/Install\ macOS\ Catalina.app
- Download Clover, and be sure to install it onto the "Install macOS Catalina" Drive instead of your "Macintosh HD"
- Install Clover Configurator to mount EFI of the newly created installation drive
- Overwrite the existing config.plist with RehabMan's config_HD4600_4400_4200.plist mentioned above
- Put SSDT-EC.aml into EFI/Clover/ACPI/patched
Step 2: install macOS Catalina
- Plug the USB drive into the machine you want to install hackintosh onto
- Boot into bios and make the suggested changes according to this previously mentioned guide: https://www.tonymacx86.com/threads/...ierra-on-any-supported-intel-based-pc.235474/
- Boot using the EFI installation drive
- Follow the macOS installation wizard
What works: USB, Bluetooth, Camera, Disk Burning (didn’t test),
Step 3: install Clover onto Macintosh HD
- Download and install Clover and install it onto Macintosh HD, not your USB installation drive!
- Make sure you also copy SSDT-EC.aml to your Macintosh HD's EFI/Clover/ACPI/patched
- Overwrite the existing config.plist with RehabMan's config_HD4600_4400_4200.plist mentioned above
- Download and install Clover Configurator, open the config.plist and make these edits:
- Devices -> Properties tab (near bottom, next to Arbitrary), choose PciRoot(0)/Pci(0x1b,0) on the left, remove "#" from "#layout-id"
(This is to enable Audio with AppleALC) - SMBIOS -> put in your own Board Serial Number, System Serial Number, and SmUUID
(for iMessage)
- Devices -> Properties tab (near bottom, next to Arbitrary), choose PciRoot(0)/Pci(0x1b,0) on the left, remove "#" from "#layout-id"
- Download and install the above mentioned kexts and UEFI drivers in your EFI partition
My system works out of the box with Rehabman's Clover Config. In case it does not, follow these two guides
- https://www.tonymacx86.com/threads/applehda-hdmi-audio-guide.234735/
- I used method 2 Intel - RehabMan/FakePCIID, this guide gives you a very general overview
- https://www.tonymacx86.com/threads/...o-sandy-ivy-haswell-broadwell-skylake.189495/
- This is a more in-depth guide for method 2
- Don’t miss this line! “…you can rename #AddProperties in config.plist/Devices to AddProperties and it will enable the needed "hda-gfx" and other audio injections required.”
- Clover ACPI may not be necessary because we will be using DSDT patches. I suppose it will not hurt though to apply fixes on both ends. All patches are preloaded in RehabMan’s clover config, you may just have to uncheck the “Disabled” box
- My system’s HDMI is on frambuffer@1, coupled with the Graphics ig-platform-id of 0x0a0260006, I only enabled the codec patch in Clover Configurator for “HDMI-audio, port 0105, 0x0a260005, 0x0a260006…”
- Make sure system definition is a battery-equiped Mac. Took me a long time to figure out iMac definitions would obviously not be showing a battery percentage
- Install ACPIBatteryManager.kext into /System/Library/Extensions
- Use MaciASL and apply the [bat] Lenovo G50-70 fix. It works on the G50-80 as well.
- Use MaciASL and apply [sys] OS Check Fix (Windows 10) (may not be necessary, but I never tried it without)
- Use MaciASL and apply [sys] RTC fix - allows computer to wake properly instead of rebooting on wake
- Prevent sleep to prevent reboot
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
Step 9: backlight brightness
- Method 1: Put the attached SSDT-PNLF in /EFI/Clover/ACPI/patched
- Method 2: Check these boxes in clover configurator:
- ACPI -> Fixes -> Page 2 -> AddPNLF
- Devices -> SetIntelBacklight & SetIntelMaxBacklight
Follow this guide: https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/I stopped after doing “sudo kextcache -i /“. System remembers brightness level across reboot out of the box.- After doing either Method 1 or 2, patch DSDT using the follow patch to enable keyboard brightness control. Q11 refers to F11 key and Q12 F12
Code:
into method label _Q11 replace_content
begin
// Brightness Down\n
Notify (PS2K, 0x20)\n
end;
into method label _Q12 replace_content
begin
// Brightness Up\n
Notify (PS2K, 0x10)\n
end;
Step 10: DSDT Patches summary
These are the DSDT patches I used. Clover config offers several hot patches that can replace some of these DSDT patches
- [audio] Audio Layout 3
- Required for patched AppleHDA for audio output
- Clover hot patch Devices->Audio->Inject 3
- Maybe also Devices ->Audio->Add Properties->HDA,layout-id,03000000,DATA
- [bat] Lenovo g50-70
- Allows battery percentage
- [igpu] Rename B0D3 to HDAU
- For graphics and HDMI audio
- Clover hot patch ACPI->Patches
- [igpu] Rename GFX0 to IGPU
- For graphics and HDMI audio
- Clover hot patch ACPI->Patches
- [sys] HPET Fix
- For Rebooting after wake from sleep
- [sys] IRQ Fix
- For audio
- [sys] OS Check Fix (Windows 10)
- Maybe for battery percentage
- [sys] FTC fix
- Allows computer to wake properly instead of reboot on wake
- [usb] 7-series/8-series USB
- [usb] USB3 _PRW 0x6D (instant wake)
- Custom patch for keyboard screen brightness control:
Code:
into method label _Q11 replace_content
begin
// Brightness Down\n
Notify (PS2K, 0x20)\n
end;
into method label _Q12 replace_content
begin
// Brightness Up\n
Notify (PS2K, 0x10)\n
end;
Deprecated:
- [igpu] Brightness fix (Haswell/Broadwell)
- Follow guide using AppleBacklight instead
- Allows brightness changes in System Preferences/Display
- [igpu] Haswell HD4400/HD4600/HD5000
- Will cause boot up problems
- For graphics hardware acceleration
- Clover hot patch Graphics->ig-platform-id: 0x0a260006
- And Devices -> Add Properties -> IntelGFX, hda-gfx, 6F6E626F6172642D3100, Data
- And Devices -> Add Properties -> HDA, hda-gfx, 6F6E626F6172642D3100, Data
- Fix _WAK Arg0 v2
- Causes immediate reboot upon sleep
The New Beginner's Guide to USB Port Configuration
Important Update: June 2023 From Big Sur 11.3 on the built-in OpenCore XhciPortLimit quirk no-longer worked as described. This became a known "bug", though in reality it was Apple changing their internal code, making a simple "peek and poke" to keep it operating, a difficult task. However, with...
www.tonymacx86.com
- Follow the above guide and map all USB ports using Hackintool
- Generate SSDT-EC, SSDT-UIAC, and USBPorts.kext in Hackintool. Install the SSDTs in /EFI/Clover/ACPI/Patched/ and USBPorts.kext in /EFI/Clover/kexts/other
In Clover Configurator -> ACPI, enable patches “change EHC1 to EH01” and “change EHC2 to EH02”
HS03 = Left side USB 2.0
HS02 = Left side USB 3.0 (running as 2.0)
SSP1 = Left side USB 3.0
HS04 = Card Reader
HS06 = Webcam
HS07 = Bluetooth
Step 12 USB Wifi dongle
- This driver seems to support many dongles listed. I have a TP-Link 723N that's not listed but still works https://github.com/chris1111/Wireless-USB-Adapter-Clover
https://www.tonymacx86.com/threads/...ing-when-installing-windows-and-linux.272807/
- Keep Windows from hijacking Clover every time Windows update
- Follow the above link. I ended up using the UEFI Shell option.
Step 14 Update to 10.15.2
- Just update from system preference. Machine will reboot a few times. After about 30 minutes you will be updated. Be sure to apply the hibernation patch again.
- I have been getting this kernel panic when I leave my system to sleep for an extended amount of time
-
Code:
IOSCSIPeripheralDeviceType05::setPowerState(0xffffff801a69c2e0 : 0xffffff7f88af218a, 1 -> 4) timed out
- Appears to be a problem with the optical drive interfering with hard disk sleep
- Seems like OpenCore has a fix. However with clover we have to do it manually. See below
- Alternative is to go to Energy Saver in System Preferences
- Enable "Prevent computer from sleeping automatically when the display is off
- Disable "Put hard disks to sleep when possible"
- See thread https://www.tonymacx86.com/threads/shutdown-issue-catalina.285072/
-
try add patch manually on KernelToPatch
Find : 636F6D2E 6170706C 65005F5F 6B65726E 656C5F5F 00
Replace : 6E6F742E 6170706C 65005F5F 6B65726E 656C5F5F 00
Comment : Disable power state change timeout kernel panic (10.15+)
MatchOS : 10.15.x
this is based on OpenCore github commit :
OcAppleKernelLib: Add PowerTimeoutKernelPanic option · acidanthera/OcSupportPkg@5e0f400
OpenCore common libraries. Contribute to acidanthera/OcSupportPkg development by creating an account on GitHub.github.com
Thanks to @ben9923 's tip here
- Wifi does not work, as expected. use a dongle
- TV app will not play purchased video, and Netflix won’t play in Safari
- I don’t watch video from iTunes store so I don’t care
- Chrome plays Netflix just fine
Attachments
Last edited: