Contribute
Register

[Guide] Lenovo Legion y530-y540 Laptop on Catalina 10.15

Joined
May 20, 2017
Messages
433
Motherboard
HP ENVY TS 14
CPU
i5-4200u
Graphics
HD 4400
Mobile Phone
  1. Android
CATALINA (10.15) is a work in progress on y530-y540

WORKING EFI https://github.com/xiaoMGitHub/LEGION_Y7000Series_Hackintosh_Clover/releases

The EFI supports 10.13.6-10.15.x
READ FIRST TXT FILE
>TXT FILE TRANSLATED TO EN ATTACHED
>THANKS TO @xiaoM4095

KEEP in MIND patient you must have to be capable to read and follow all the information. PLEASE BE PATIENT AND KEEP CALM


THINGS TO CONSIDERE BEFORE TRY:
Wont work Natively HDMI, NVIDIA GPU, BLUETOOTH and TOUCHPAD (very Tricky)

-YOU CAN UPGRADE NORMALLY JUST MAKE CHANGES ON BIOS ADVANCES OPTIONS
AND FOLLOW TXT FILE STEPS-

Enter BIOS Advanced Mode (for any version of BIOS)
Press FN + o + d at the same time in win / macOS (For foreign machine users, you only need to press FN + o, test by yourself)
After restarting, you can enter the advanced BIOS setting mode
Modify BIOS settings
Advanced> Debug settings> Kernel Debug Serial Port changed to Leagacy UART
Save and restart


FRESH INSTALLATION GUIDE:
SEE POST #2

ALL THE INFORMATION BELOW IS NOT COMPATIBILE WITH VM INSTALLATIONS

Wondering, Whats working and how fix bluetooth and wifi?
POST #3

FOR BEGINNERS (as me)

[OPTIONAL]
Other Guides for y530:
10.14
 

Attachments

  • EN_README.txt
    947 bytes · Views: 1,991
Last edited:
FRESH INSTALLATION GUIDE

Download Clover: https://sourceforge.net/projects/cloverefiboot/files/Installer/

Installing Clover to USB
It is best to use a simple USB2 16GB drive for this purpose. If a USB2 stick doesn't work, try USB3 16GB. The ports which will be working without patching (post install process) is hardware dependent.

I personally use 3.1 16GB because the speed.

Clover and the OS X installer are placed on separate partitions on the USB. There are two options as is relates to USB partitioning:
  • Option 1: MBR with a FAT32 partition for Clover and a separate HFS+J partition for the OS X installer.
  • Option 2: GPT with a single HFS+J partition for the OS X installer (hidden EFI partition automatically created)
I recommend using MBR with two partitions as most computers can boot from it (even with UEFI), and it is convenient that the EFI partition will mount automatically when the USB is inserted.

Although you can use Disk Utility to partition your USB, this guide will use 'diskutil' in Terminal. Disk Utility in 10.11 cannot be used for MBR partitioning.

Before you can partition the USB, you must determine what the disk identifier is. With the USB plugged in to the computer, use 'diskutil list':

In Terminal:
Code:
diskutil list
In my case, it provides this output:
Code:
/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS 10.10.x                 80.0 GB    disk0s2
   3:                  Apple_HFS 10.11.gm1               80.0 GB    disk0s3
   4:       Microsoft Basic Data Win10_TP                79.4 GB    disk0s4
   5:                  Apple_HFS 10.10.test              80.0 GB    disk0s5

[B]/dev/disk1 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                                                   *8.0 GB     disk1[/B]


So I can see that the USB is at /dev/disk1. Be careful with diskutil as you can lose data without a mechanism for recovery if you repartition the wrong disk.

Option 1 (MBR, two partitions):
Code:
# repartition /dev/disk1 MBR, two partitions
# first partition, "CLOVER EFI" FAT32, 200MiB
# second partition, "install_osx", HFS+J, remainder

diskutil partitionDisk /dev/disk1 2 MBR FAT32 "CLOVER EFI" 200Mi HFS+J "install_osx" R


The output of the operation looks like this:
Code:
Started partitioning on disk1
Unmounting disk
Creating the partition map
Waiting for the disks to reappear
Formatting disk1s1 as MS-DOS (FAT32) with name CLOVER EFI
512 bytes per physical sector
/dev/rdisk1s1: 403266 sectors in 403266 FAT32 clusters (512 bytes/cluster)
bps=512 spc=1 res=32 nft=2 mid=0xf8 spt=32 hds=32 hid=2 drv=0x80 bsec=409600 bspf=3151 rdcl=2 infs=1 bkbs=6
Mounting disk
Formatting disk1s2 as Mac OS Extended (Journaled) with name install_osx
Initialized /dev/rdisk1s2 as a 7 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished partitioning on disk1
/dev/disk1 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:     FDisk_partition_scheme                        *8.0 GB     disk1
   1:                 DOS_FAT_32 CLOVER EFI              209.7 MB   disk1s1
   2:                  Apple_HFS install_osx             7.8 GB     disk1s2



Option 2 (GPT, one partition):
Code:
# repartition /dev/disk1 GPT, one partition
# EFI will be created automatically
# second partition, "install_osx", HFS+J, remainder
diskutil partitionDisk /dev/disk1 1 GPT HFS+J "install_osx" R

The output of the operation looks like:
Code:
Started partitioning on disk1

Unmounting disk

Creating the partition map

Waiting for the disks to reappear

Formatting disk1s2 as Mac OS Extended (Journaled) with name install_osx

Initialized /dev/rdisk1s2 as a 7 GB case-insensitive HFS Plus volume with a 8192k journal

Mounting disk

Finished partitioning on disk1

/dev/disk1 (external, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *8.0 GB     disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                  Apple_HFS install_osx             7.7 GB     disk1s2

Note: If you're using Clover legacy, the USB should must be MBR.
Note: Some BIOS implementations require GPT, some require MBR (many allow both). If you can't get BIOS to recognize your USB for booting, try GPT instead of MBR.

The plist files in this guide require Clover v4658 or newer. For full functionality and best choice.

Download the Clover installer

Current builds are available on sourceforge:
USE EFI V3.0 and beyond
https://github.com/xiaoMGitHub/LEGION_Y7000Series_Hackintosh_Clover/releases

>NOTES FROM .TXT FILE
the unzip password you need to use is: xiaoMGithub_Catalina

After obtaining the Clover installer, first task is to install to the USB "CLOVER EFI" partition.

For Clover UEFI, run the Clover Installer package:
- if using MBR, select the target of the install to "CLOVER EFI" using "Change Install Location"
- if using GPT, select the target of the install to "install_osx" using "Change Install Location"
- select "Customize" (the default is a legacy install -- we need to change it)
- check "Install for UEFI booting only", "Install Clover in the ESP" will automatically select
- check "BGM" from Themes (the config.plist files I provide use this theme)
- the defaults for Drivers64UEFI are recommended
- most systems will work without DataHubDxe-64.efi, but some may require it

Installing to the HDD/SSD after installation is very similar to installing to the USB, except that the install target will be your macOS/OS X system volume. Refer back to this section when you get to that stage.

Enter to BIOS
Press F2 when LEGION logo appear to enter to BIOS
Disable Intel Virtual Technology (VT-Intel)
Turn on option BOOT from USB or External Device

>NOTES FROM .TXT FILE
1. The 2018 model needs to set the BIOS advanced mode, please read the setup tutorial carefully

BIOS ADVANCED OPTIONS
LEGION_Y7000Series_Hackintosh_Clover
"Overview
Because the BIOS settings of the y7000, y7000p, and y530 of the 2018 models are not compatible with the upgrade of 10.15.x, you need to enter the BIOS advanced mode to modify the related settings. Thank you for the BIOS modification solution provided by 965987400abc.

Enter BIOS Advanced Mode (for any version of BIOS)
Press FN + o + d at the same time in win / macOS (For foreign machine users, you only need to press FN + o, test by yourself)
After restarting, you can enter the advanced BIOS setting mode
Modify BIOS settings
Advanced> Debug settings> Kernel Debug Serial Port changed to Leagacy UART
Save and restart"

I RECOMMEND YOU
Use external MOUSE and keyboard connected
AND ETHERNET connected, you won't have WIFI neither BLUETOOTH working, you have to replace the WIFI/BLUETOOTH card

>You won't have WIFI neither BLUETOOTH working, you have to replace the WIFI/BLUETOOTH card
Wifi and bluetooth (you have to change wifi card to BCM94352Z to enable this natively)
or @xiaoM4095 said:
I recently changed the BCM943602cs, wifi/Bluetooth does not need to install the driver. I can't do anything about your problems, haha

Here's a list of broadcom cards Apple has used in Macs.
  • M.2: BCM943602CS - native WiFi/ac and BT4LE (3 antennas)
  • M.2: BCM94360CS2 - native WiFi/ac and BT4LE (2 antennas)
  • M.2: BCM94352Z/AzureWave AW-CE162NF/DW1560 - supports WiFi/ac and BT4LE
  • M.2: BCM94350ZAE/DW1820A - native WiFi/ac and BT4LE
  • Half mini: BCM94360HMB/AzureWave AW-CB160H - native WiFi/ac and BT4LE (3 antennas)
  • Half mini: BCM94352 HMB/AzureWave AW-CE123H - supports WiFi/ac and BT4LE

I have encounter problems connecting bluetooth speakers or headphones, so far the only thing that can help is to install
Try turning off Intel Virtual Technology in the BIOS

Try installing BrcmFirmwareRepo and BrcmPatchRAM2 to L/E.

Boot FROM USB
Press F12 when LEGION logo appear to enter to BOOT SEQUENCE SELECT MENU
Select your USB "install_osx" to boot from it
then set up your mac
on finder follow this steps:

Install Clover on mac
Unmount USB “install_osx”
INSTALL CLOVER ON MAC
INSTALL CLOVER FOLDER INTO EFI PARTITION ON YOU MAC
Use EFI MOUNTER v3 to mount EFI PARTITION on your Mac https://www.tonymacx86.com/resources/efi-mounter-v3.280/
Copy and paste EFI form USB
Replace into EFI PARTITION ON YOU MAC

>NOTES FROM .TXT FILE
Open a terminal and execute the following command
Code:
sudo sh -c "$ (curl -fsSL https://gitee.com/xiaoMGit/Y7000Series_Hackintosh_Fix/raw/master/Script/Optimize.sh)"

4.Shield Samsung PM981 / PM981a
Add hotpatch / SSDT-DNVMe.aml to EFI / CLOVER / ACPI / patched


To watch temps using HWMonitor app
Follow these steps
Download Clover Configurator
Download HWMonitor
Then do this
- Open clover configurator
- mount efi volume
- goto kext installer
- select other in version
- it'll list all kext in efi/clover/kext/other
- install latest lilu.kext and virtualsmc.kext and it'll prompt about plugins as well, select them and install.
- reboot


>NOTES FROM .TXT FILE
3. 2019 open the small keyboard
Code:
sudo sh -c "$ (curl -fsSL https://gitee.com/xiaoMGit/Y7000Series_Hackintosh_Fix/raw/master/Script/FixNumLock.sh)"
 
Last edited:
WORKAROUND
Here is the result's list! :D

Working
Keyboard
  • fn+
  • f1, f2, f3 - Mute, volume down, volume up
  • f5, f6 - Bright down, Bright up
  • f11, disable touchpad
  • fn+Q - Fans maximum speed
  • Num lock on, numpad keys 4,5,6,* - play/pause, stop, next, before

    HOW TO ACTIVATE NUMPAD
  • Fortunately, I found a solution to numpad on github. Looking at this, I have integrated it into the script.
    Code:
    sudo sh -c "$(curl -fsSL https://gitee.com/xiaoMGit/Y7000Series_Hackintosh_Fix/raw/master/Script/Optimize.sh)"
  • Find setleds in / usr / local / bin /,and then open System Preferences -> Security & Privacy -> Find the "Accesibility" section. Unlock the pane by clicking on the padlock symbol, then press the + button to open a file browser. Now navigate to the location and select your setleds binary. Lock the pane by pressing the padlock icon again.
Backlight
iGPU acceleration (intel UHD Graphics 630 1536 MB)
Apple ID
  • Appstore (be able to sign up but can't install apps, after change wifi card this will fix!)
  • Face Time Works
  • iCloud backup
  • iMessage
  • notes
  • iTunes
USB 2.0, 3.0 and 3.1 and USB Type C
Ethernet
Battery Status and energy management (battery last around 2 or 3 hours depending on what are you doing, keep in mind that safari is better than other browser to save energy)
Audio
  • Microphone
  • speakers
  • headphones input
Double boot (I installed a sata 3 solid drive on the lap to be able to do this)
Camera

SideCar
#updated - got the sidecar working beautifully
#SideCar: If anybody having problem with SideCar features isn't enable then here is the quick fix
-Just "Enable" the "IGD multiMonitor" under graphics

[UPDATE August 2019]
ELAN TOUCHPAD
work 70%
3 finger gestures dosent work
Drag and drop is trickey
right button dosent work
2 fingers gestures works
SYNAPTIC Working pretty good
2 fingers & 3 fingers gestures
Drag and drop is trickey
It's a Synaptic Touchpad.
Three and two fingers work, just not dragging with double tipp and holding the finger down, so I use the settings to drag with three fingers, but it's not as convenient as doubletipping. But it's not a big deal for me, as I usually use a mouse. But of course it would be nice if it worked.

Not Working
You won't have WIFI neither BLUETOOTH working, you have to replace the WIFI/BLUETOOTH card
Here's a list of broadcom cards Apple has used in Macs.
>M.2: BCM943602CS - native WiFi/ac and BT4LE (3 antennas)
>M.2: BCM94360CS2 - native WiFi/ac and BT4LE (2 antennas)
>M.2: BCM94352Z/AzureWave AW-CE162NF/DW1560 - supports WiFi/ac and BT4LE
>M.2: BCM94350ZAE/DW1820A - native WiFi/ac and BT4LE
>Half mini: BCM94360HMB/AzureWave AW-CB160H - native WiFi/ac and BT4LE (3 antennas)
>Half mini: BCM94352 HMB/AzureWave AW-CE123H - supports WiFi/ac and BT4LE


I have encounter problems connecting bluetooth speakers or headphones, so far the only thing that can help is to install
Try turning off Intel Virtual Technology in the BIOS

Try installing BrcmFirmwareRepo and BrcmPatchRAM2 to L/E.



HDMI & Mini Display port - Cant be fixed because are connected to GPU. GPU disabled thanks to OPTIMUS. MacOS has not compatibility with NVIDIA OPTIMUS
Q. Is there a way to make Radeon or Nvidia graphics work in my dual-GPU laptop?
Q. Is there a way to make Radeon or Nvidia graphics work in my dual-GPU laptop?

Not if the discrete card is not dedicated (eg. tied to the Intel device).

The discrete graphics capability in a switched dual-GPU configuration is not supported with OS X on hacks. Best you can do is disable the discrete part with SSDT/DSDT patches. See the prior question.

If your discrete device (AMD Radeon or Nvidia) is not routed through the Intel GPU, then it is considered dedicated. Some laptops have the internal display connected to the Intel GPU and the external HDMI/DP port connected to the discrete graphics device. It is rare, but in that case you would be able to get the device to work with the external display with proper kexts and correct configuration, much like a dual-GPU desktop setup.

[UPDATE NOV 2019]
Ways to connect an external MONTIOR. THANKS TO ALL!
You can use USB to DVI/HDMI adapter by DisplayLink. I recently purchased and it works great.
There's cheap(<$5) USB to VGA adapter by "Fresco Logic". It works but for many applications text become angled and 60Hz display feels like 40Hz. Their driver is still in beta since Mojave. DisplayLink updates their drivers frequency and have great performance. I purchased it from aliexpress for $15
Yes, i use USB 3.1 Type C to HDMI, all good so far.

USB-C Adapter that dose not work
It's strange. I've a USB Type-C to multiport adapter like this and it was working fine with my Macbook Pro 2017 but doesn't work with Hackintosh. Curious which Type-C to HDMI works for you without driver
51namKQ%2BX4L._SL1000_.jpg
Thank you. Here is my adapter:
393270-189dd4ef297faebff0e5fcf7f95dbb73.jpg

at the momento these ubs-c adapter dose not work


I hope this can help you!
 
Last edited:
WORKAROUND

Here is the result's list! :D

Working
Keyboard
Numeric pad
Hotkeys (to remap hotkeys I installed karabiner app)
  • fn+
  • f1, f2, f3 - Mute, volume down, volume up
  • f5, f6 - Bright down, Bright up
  • f11, disable touchpad
  • fn+Q - Fans maximum speed
  • Num lock on, numpad keys 4,5,6,* - play/pause, stop, next, before
Backlight
iGPU acceleration (intel UHD Graphics 630 1536 MB)
Apple ID
  • Appstore (be able to sign up but can't install apps, after change wifi card this will fix!)
  • Face Time Works
  • iCloud backup
  • iMessage
  • notes
  • iTunes
USB 2.0, 3.0 and 3.1 and USB Type C
Ethernet
Battery Status and energy management (battery last around 2 or 3 hours depending on what are you doing, keep in mind that safari is better than other browser to save energy)
Audio
  • Microphone
  • speakers
  • headphones input
Double boot (I installed a sata 3 solid drive on the lap to be able to do this)
Camera

[UPDATE August 2019]
ELAN TOUCHPAD
work 70%
3 finger gestures dosent work
Drag and drop gesture is trickey
right button dosent work
2 fingers gestures works
SYNAPTIC Working pretty good


Not Working
You won't have WIFI neither BLUETOOTH working, you have to replace the WIFI/BLUETOOTH card or @xiaoM4095 said:



I have encounter problems connecting bluetooth speakers or headphones, so far the only thing that can help is to install






HDMI & Mini Display port - Cant be fixed because are connected to GPU. GPU disabled thanks to OPTIMUS. MacOS has not compatibility with NVIDIA OPTIMUS

[UPDATE NOV 2019]
Ways to connect an external MONTIOR. THANKS TO ALL!




USB-C Adapter that dose not work



at the momento these ubs-c adapter dose not work


I hope this can help you!
Nice walkthrough and for efforts to put this good up, quick question: is sidecar and Apple TV app working for you ?
 
Enter to Advanced > Debug settings > Kernel Debug Serial Port 修改为 Leagacy UART
Only y530 needs to set advanced BIOS options.
 
One more thing, read the instruction txt carefully before using EFI.

hi, did sidecar walked on yours?
#updated - got the sidecar working beautifully
#SideCar: If anybody having problem with SideCar features isn't enable then here is the quick fix
-Just "Enable" the "IGD multiMonitor" under graphics
 

Attachments

  • SideCar.png
    SideCar.png
    805.5 KB · Views: 528
Last edited:
Back
Top