Contribute
Register

[Guide] Lenovo G50-80 80L0 and Catalina 10.15.2

Status
Not open for further replies.
OK done. Seems to still be reading off the laptop...
 

Attachments

  • IMG_2898.JPG
    IMG_2898.JPG
    154.2 KB · Views: 82
What I meant: I reebooted in Verbose mode, and it gives the same result. I cannot boot off the USB stick to get into my laptop. I do not understand why.
 
If this method will not work to upgrade (since nothing is working), I will need to erase this drive and reformat to start from scratch.
Is there a Method/FAQ in this site to do that? Or some other way?
 
If this method will not work to upgrade (since nothing is working), I will need to erase this drive and reformat to start from scratch.
Is there a Method/FAQ in this site to do that? Or some other way?
read post 1?
 
My question is: how do I get past what is right now a default clover login that will not allow me to bypass it?
in what way does't let you by pass it? boot from usb, choose to "Install mac...."
 
My question is: how do I get past what is right now a default clover login that will not allow me to bypass it?
Doesn't look like you were booting from USB. You were booting from your laptop's HDD all along. That's why any changes you did to clover on your USB was not reflected as it was booting the clover from your laptop HDD. You should be booting from USB in UEFI mode not legacy mode. Need to go into your BIOS settings and move your USB to top, or at least above your hard drive. Or I think Lenovo has another way of getting into boot manager to choose what device to boot from one time.

Like I said before updating through several versions is bound to have problems. High Sierra to Mojave was a big change, and Mojave to Catalina is another big change in preferred location of kexts.
 
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)
  • 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
Step 1: create bootable macOS installation USB drive
  1. Unibeast has not been updated to support Catalina yet, so we will be making it manually
  2. Format a 16+GB USB Flash drive with Disk Utilities and chose HFS+, rename it to USB
  3. Download Catalina from the App Store on a Mac
  4. Open Terminal, and type in the following command
  5. sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled -- /Applications/Install\ macOS\ Catalina.app
  6. Download Clover, and be sure to install it onto the "Install macOS Catalina" Drive instead of your "Macintosh HD"
    1. Install Clover Configurator to mount EFI of the newly created installation drive
    2. Overwrite the existing config.plist with RehabMan's config_HD4600_4400_4200.plist mentioned above
  7. Put SSDT-EC.aml into EFI/Clover/ACPI/patched

Step 2: install macOS Catalina
  1. Plug the USB drive into the machine you want to install hackintosh onto
  2. 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/
  3. Boot using the EFI installation drive
  4. Follow the macOS installation wizard
By now you should have a barely usable machine with no graphics hardware acceleration, audio, backlight brightness adjustment, battery status, or wifi. Since we installed the Realtek kext you should have ethernet.

What works: USB, Bluetooth, Camera, Disk Burning (didn’t test),

Step 3: install Clover onto Macintosh HD
  1. Download and install Clover and install it onto Macintosh HD, not your USB installation drive!
  2. Make sure you also copy SSDT-EC.aml to your Macintosh HD's EFI/Clover/ACPI/patched
Step 4: configure Clover
  1. Overwrite the existing config.plist with RehabMan's config_HD4600_4400_4200.plist mentioned above
  2. Download and install Clover Configurator, open the config.plist and make these edits:
    1. 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)
    2. SMBIOS -> put in your own Board Serial Number, System Serial Number, and SmUUID
      (for iMessage)
Step 5: install kexts and UEFI drivers
  1. Download and install the above mentioned kexts and UEFI drivers in your EFI partition
Step 6: audio with HDMI out
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…”
Step 8: battery status
  1. 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
  2. Install ACPIBatteryManager.kext into /System/Library/Extensions
  3. Use MaciASL and apply the [bat] Lenovo G50-70 fix. It works on the G50-80 as well.
  4. Use MaciASL and apply [sys] OS Check Fix (Windows 10) (may not be necessary, but I never tried it without)
  5. Use MaciASL and apply [sys] RTC fix - allows computer to wake properly instead of rebooting on wake
  6. Prevent sleep to prevent reboot
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage

Step 9: backlight brightness
  1. Method 1: Put the attached SSDT-PNLF in /EFI/Clover/ACPI/patched
  2. Method 2: Check these boxes in clover configurator:
    1. ACPI -> Fixes -> Page 2 -> AddPNLF
    2. Devices -> SetIntelBacklight & SetIntelMaxBacklight
  3. Follow this guide: https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/
  4. I stopped after doing “sudo kextcache -i /“. System remembers brightness level across reboot out of the box.
  5. 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
Step 11 USB port configuration
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/
  1. Follow the above guide and map all USB ports using Hackintool
  2. 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
  3. In Clover Configurator -> ACPI, enable patches “change EHC1 to EH01” and “change EHC2 to EH02”
HS01 = Right side USB 2.0
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
Step 13 add clover to UEFI boot menu
https://www.tonymacx86.com/threads/...ing-when-installing-windows-and-linux.272807/
  1. Keep Windows from hijacking Clover every time Windows update
  2. Follow the above link. I ended up using the UEFI Shell option.

Step 14 Update to 10.15.2
  1. 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.
Step 15 Kernel panic when change power state time out
  1. I have been getting this kernel panic when I leave my system to sleep for an extended amount of time
  2. Code:
    IOSCSIPeripheralDeviceType05::setPowerState(0xffffff801a69c2e0 : 0xffffff7f88af218a, 1 -> 4) timed out
  3. Appears to be a problem with the optical drive interfering with hard disk sleep
  4. Seems like OpenCore has a fix. However with clover we have to do it manually. See below
  5. Alternative is to go to Energy Saver in System Preferences
    1. Enable "Prevent computer from sleeping automatically when the display is off
    2. Disable "Put hard disks to sleep when possible"
  6. See thread https://www.tonymacx86.com/threads/shutdown-issue-catalina.285072/

Known problems
  • 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
I’ll wait for your update on Big Sur, I tried but no luck on clover, also can’t get WiFi and Bluetooth to work
 
Status
Not open for further replies.
Back
Top