Jump to content

Guide for Installing OS X on Lenovo IdeaPad Y510p


ahmed_ais
 Share

1,428 posts in this topic

Recommended Posts

On 3/11/2018 at 10:05 AM, Koray Hatırnaz said:

Is the moded bios in the default settings? What should we change in modded bios settings?

for the kext in my post usbinjectall.kext is not needed,

for the modded bios, i didn't change anything (i never used the settings added in the moded bios), the moded bios was used only to remove the whitelist of wifi adaptor,

 

sorry for taking long to respond which you good luck

Link to comment
Share on other sites

  • 2 months later...

I see you guys were able to upgrade to High Sierra, BUT did anyone use the guide with High Sierra from the beginning? I need to make a clean installation and finding an older version of Sierra is a bother :p

 

Edited by etcetc
Link to comment
Share on other sites

  • 3 weeks later...
On 10/2/2017 at 12:38 PM, samuel123450 said:

So, Here is how to update to HighSierra(10.13):
Download the EFI folder from here https://mega.nz/#F!lrowGCrI!e8wi2AQXAGHIgmmDHOpcZg.Paste it inside the EFI partition.

Download the High Sierra app from the app store.

Open it and follow the instructions in the app. You will be prompted to restart.

Restart the system you will now see a new "Install macOS High Sierra" option. Press enter.

Now the installation will begin it will take around 1 - 1.5 hours. Your keyboard and trackpad won't work so plug it a usb keyboard/ mouse if you want to see the installation progress(Display will turn off after a certain period of time). 

 

After the installation finishes the system will Reboot. 

You will be prompted to share analytic data with developers and the next slide will be setting up mac(functionality of the keyboard and trackpad will be restored).

You will now have a perfectly working mac with highSierra

 

About the update:

The first 3 - 4 cold boots will be slow and the OS itself will feel slower but everything will heal with the passage of time.

The audio won't work out of the box so use sudo touch /System/Library/Extensions && sudo kextcache -u / in the terminal and reboot. This will restore the audio.

Apart from that everything else works.

 

 

Hello there

I did as you told and my boot progress with apple logo goes to mid and then suddenley it goes to a black screen and nothing else afterwards, can you suggest anything?

thanks for your time 

Link to comment
Share on other sites

On 12/11/2014 at 8:30 AM, ahmed_ais said:

bd2b11fd2cdad10a.png

 

 

Overview:

  • This guide is intended to help Lenovo Y510p users to try OS X for educational purposes. You should buy Apple computer to be able to use Apple software legally in compliance with Apple's macOS EULA.
  • It is very possible to install any OS X version from Yosemite (10.10.x) up to the most recent version Sierra (10.12.x). However, I only evaluate the most recent version on my system so I won't be able to support old versions.
  • As some may have different partition layout or different hardware, it should be noted this is not a definite guide and you must adapt according to the situation you have
  • For every step there might be other ways to do it better (or worse). The experts here in this forum may not agree with some of the steps mentioned here. This is what I had to do to get it working for my liking but comments and suggestions are very welcome indeed.
  • This guide will always be incomplete (this is not a mac anyway) and I will refine it overtime time as needed
  • The work introduced here is gathered and collected from many sources. My contribution is the least of all and I will try to give credit where it belongs as much as I remember. For any work I forgot to give credit I apologize for not remembering the source.

Disclaimer:


Although no one ever reported broken Y510p because of this guide, I still hold no responsibility for broken systems. Proceed at your own risk,
read, read again, and ask before attempting something you are not OK with. Whoever is going to use part or all of this guide, please backup
everything you are going to tinker with first.

What Works and What Does not
Simply put, almost everything works if the post-installation fixes are followed carefully. In summary:

What Works  :thumbsup_anim: 

  • Graphics with full acceleration QE/CI (using Intel GPU only) + HDMI Video
  • Audio using AppleHDA
  • HDMI Audio
  • Ethernet (LAN)
  • WiFi / Bluetooth (after replacing the Intel card (incompatible) with a compatible one like Broadcom BCM4352 for example
  • Sleep (also sleep on Lid Close)
  • Brightness
  • Battery
  • Keyboard / Touchpad
  • CPU Power Management
  • Web-Cam
  • All USB ports

Issues and What does not work  :thumbsdown_anim: 

  • Intel GPU / Restart issue: There is a problem related to graphics occurs when display goes off then on, like when system sleeps and wake or when changing display resolution for example, which results in no display on restart. These events requires re-initialization for the graphic driver but it seems the driver re-initialize incorrectly. As a result, the graphics related memory hold wrong data for some graphic registers which indirectly affects the restart functionality. Once the system is restarted in any of these scenarios, the POST (where Lenovo logo should appear) has no display and so is Clover and beyond if an OS is selected and booted using keyboard blindly. However, this is a graphic driver issue and has nothing to do with power or reboot function itself. Workarounds:

    • If you did not trigger the graphic-restart issue (no display off/on switch) then use Restart function as you wish.

    • If you triggered the graphic-restart issue then use Shutdown instead of Restart and Power on again. It is a good advice anyway not to hot-reboot between different OS's as some devices do not initialize properly.

    • If you triggered the graphic-restart issue and used Restart already and stuck in a black screen, calm down and do not panic. Just know you are on Clover bootloader and control it using keyboard:

      • If you were planning to boot OS X, blindly choose it using keyboard and hit Enter. Now press Ctrl+Shift+Eject to set the display to sleep then press any key and the display will return. [Eject key is mapped to Insert for VoodooPS2Controller.kext users]

      • If you were planning to boot Windows, blindly choose it using keyboard and hit Enter and wait until Windows boots completely. Now press Fn+F1 to set Windows to sleep, then press any key to wake up the machine and display will be back on.
  • VGA port: This will not work at all. A workaround when projecting to VGA display is to buy and use (male)HDMI-to-(female)VGA adapter. This adapter however have to be Active and NOT Passive to work.
  • Wake on LID open: Currently is not working but I believe this one can be fixed.
  • Nvidia GPU (built-in): This will have to be disabled as OS X does not support Optimus technology.
  • Nvidia GPU (external/ultrabay, for those who have it): This will have to be removed before using OS X. It was possible to boot with this GPU and the built-in Nvidia GPU without Intel GPU like it is possible in Windows / Linux. However, there are issues prevents configuring those Nvidia GPUs correctly. There is a work started in this thread to try booting OS X with this graphics configuration but the work is in very early stage and seem halt as well as the interest of the community is quiet low for this regard.
  • [sierra 10.12 ONLY] Keyboard Issues: This is not specific to Y510p but a general Sierra problem. Apple introduced a lot of changes for keyboard in the latest update 10.12 resulted in the following problems:
    • Controlling volume and brightness using FN+Arrows is no longer functioning
    • Caps-Lock is unreliable. I'm using SmartTouchpad kext and I find Caps-Lock works now by double pressing the key. I.e. double pressing Caps-Lock turn it on and another double press turn it off. Not sure if VoodooPS2Controller work the same now.
    • Karabiner is not functioning anymore. The developer is aware and is currently developing the next generation of his software called Karabiner-Element.

1. Introduction

  Reveal hidden contents


   This guide intends to help installing any version of OS X (starting from Yosemite) on Lenovo IdeaPad Y510p. There are many ways to install OS X on this machine but I will focus only on vanilla installation and only UEFI. So no myHack, no niresh, no iAtkos, no U-Beast, no what so ever with all respect to the developers behind these tools and distributions.

   Lenovo Y510P released with different configurations and is adjustable. My model have the built-in Hard Disk Drive (SSHD 1TB+8GB Cache SSD integrated) in addition to second Nvidia graphics card in the caddy. In Windows with the second Nvidia GPU present we see no trace of Intel card which means the first Nvidia (the built-in not the external) is apparently attached to the display in a configuration that OS X do not know so the only option for now is to skip both Nvidia GPUs altogether. Therefor, the external Nvidia GPU must be removed and the switchable Nvidia GPU (Optimus) should be disabled, to prevent other problems, either via BIOS or by DSDT/SSDT patches.

   There are many ways to dual boot Windows and OS X on Lenovo Y510p (and in general). In this guide I will stick with having Windows installed first in UEFI mode because this what any one would have initially once he buy this computer. At the beginning when I start writing this guide I only had the HDD and wrote that those who have SSD inside should not have any problem to adapt. Now that I have an SSD and booting off from it I will add it to the guide as well although nothing much would change.

   For those who think of doing like me (i.e. to get an SSD to put both Windows 8.1 and OS X and their apps on it and keep the HDD for data only), you first have to put the SSD in place of the HDD inside (to benefit from the connector speed). Normally you either don't have a place for the HDD or you are using a caddy but in all cases I suggest and advice to leave the HDD outside and work with the SSD only for now. Now you can proceed with the guide just as if installing on HDD with only one exception which is to fix TRIM after installation (explained later in the guide).

   Since Lenovo Y510P have Windows installed in UEFI mode, I will simply install OS X in EFI mode and use Clover EFI bootloader to be able to boot either OS since both would be installed in EFI. A problem that we might have for such type of configuration (both Windows and OS X in EFI on the same HDD) is that OS X needs bigger EFI partition than that created by Windows (assuming Windows is installed first). In this case, OS X installer will refuse to format the partition we prepared for OS X installation. We have to sort this problem out before trying to install OS X at all.
 
   This guide is split into several parts. First we create a space to install OS X in. Next we modify the size of EFI partition to remedy the mentioned problem. We then prepare a USB installer for OS X and use it to install. Finally we do some post-installation fixes to squeeze more juice from the system.
 
Are you ready? Let's go ...


2. Preparing a Partition for OS X

  Reveal hidden contents


   There are many ways to do this, the easiest is to use Disk Management in Windows to shrink the last partition and create a new one in the space. Any other partitioning tool can be used for that matter.
   My HDD was partitioned to have EFI partition, MS reserved partition, MS recovery partition, Windows partition, and Data partition. I used Disk Management in Windows to shrink a partition and free some space, then formatted that partition and labeled it “MacOSX”. The size of that partition is optional but I suggest to have it no less than 50GB to allow space for apps to be installed later on OS X. The label is optional too, we just need to keep record of that label so we don’t accidentally ruin any important partition later. Once we have the partition formatted (either fat32, exFat, or NTFS), we can proceed to the next step.


3. Increasing EFI Partition Size

  Reveal hidden contents


   As I said above, there’s a problem when trying to format the created partition for OS X while trying to install it. OS X will fail to format the created partition (we labeled it “MacOSX”) as HFS+ because of small EFI partition size since OS X requires big ‘enough’ EFI partition. So before attempting to install OS X, we’ll have to increase the size of that partition.

   A default install of Windows 8.1 creates ~300MB Recovery partition, ~100MB EFI partition, and 128MB MSR (Microsoft Reserved) partition. This process (originally by RehabMan and slightly modified by me) removes the mentioned partitions and creates bigger EFI:

  • Boot Windows installer USB (you should have one ready of course)
  • Press Shift+F10 for recovery command line
  • Type: diskpart
  • Type: list disk (verify the disk number you want to work with, let's say it is 0)
  • Type: select disk 0
  • Type: list part (you should see all partitions)
  • Type: select part 2 (assuming part 2 is EFI part)
  • Type: assign
  • Type: list vol (to find out the drive letter assigned to EFI and Windows partitions, lets assume they were E: and C: respectively)
  • press Shift+F10 for another command prompt
  • Type: robocopy e:\efi c:\efi.bak /mir
  • Switch back to original command prompt (the one running diskpart)
  • Type: select part 1
  • Type: delete part override
  • Type: select part 2
  • Type: delete part override
  • Type: select part 3
  • Type: delete part override
  • Type: create part efi size=528 (the space left by removing all three partitions Recovery, EFI, and MSR)
  • Type: format quick fs=fat32 label="EFI"
  • Type: assign
  • Type: list vol (to find out new drive letter, assume it is F: )
  • Switch back to other command prompt window (the one just running cmd)
  • Type: robocopy c:\efi.bak f:\EFI /mir
  • Type: exit
  • Switch to original command prompt (the one running diskpart)
  • Type: exit
  • Type: exit
  • Hit: Alt+F4 at the Windows installer to quit

 Steps from 1 to 12 create backup of EFI partition contents so we can restore the contents after creating a bigger EFI and have Windows bootable. Then 13-18 it removes all three partitions Recovery, EFI, and MSR. Step 19 creates a new EFI partition with arbitrary size (put 528 which is the sum of previous EFI, Recovery, and MSR sizes). Step 20 format and label the new EFI partition, and finally step 24 restores EFI partition contents from the backup we created earlier.

   At this point, you should verify that Windows still boots and it should.


4. Preparing OS X USB Installer

  Reveal hidden contents


   There are many guides on the web to do it, I will use virtual installation of OS X on windows to create the USB installer. If you have a working OS X somewhere else you could use that too. The USB should be no less than 8GB and you should have downloaded OSX Installer App from AppStore, ShowHiddenFiles app, Clover EFI bootloader, CloverConfigurator, HFSPlus.efi, FakeSMC.kext, and VoodooPS2Controller.kext / SmartTouchpad.kext. All these are available in Downloads section near the end of the thread.

   The following are the steps to create the USB installer:

  • Plug the USB in and mount it in OS X.
  • Open Disk Utility, select the USB from the list, click on Partition tab, choose 1 partition in Partition Layout, click options button, choose GUID Partition Table, and click Apply. You can format the created partition in the USB as Mac OS Extended and label it as “MacOSX Installer”. Selecting GUID scheme creates a hidden EFI partition on the USB so the USB actually contains 2 partitions with only 1 visible.
  • Run ShowHiddenFiles app and click “Show Special Files”
  • Go to Applications folder and right click the OS X Installer App > Show package Contents > Contents > SharedSupport > and mount InstallESD.dmg. This will mount a disk labeled “OS X Install ESD”.
  • From the new window appeared, right click BaseSystem.dmg and choose Open. The image will be mounted as “OS X Base System”.
  • Go back to Disk Utility and Restore the disk “OS X Base System” to our created USB partition “MacOSX Installer”. Close Disk Utility once it is done, we are not going to need it anymore.
  • On the desktop there will be 2 disks with the label “OS X Base System”. One of them is mounted from BaseSystem.dmg and the other belongs to our USB which is the larger one. Rename the larger one to “MacOSX Installer”.
  • Now open the disk labeled “OS X Install ESD” on desktop and copy both files BaseSystem.chunklist and BaseSystem.dmg to the root of “MacOSX Installer”. Also copy the folder “Packages” to “MacOSX Installer” > System > Installation after removing the link with the same name there.
  • Finally, download and unzip the USB Installer EFI folder (link in downloads section) and put the resulting EFI folder in the USB EFI partition (you may need to use Terminal to mount it first).
  • Now the USB installer is ready for prime time.

 


5. Installing OS X

  Reveal hidden contents


   In this section we shall use the USB to install OS X but first make sure you have disable secured booting in BIOS. Power on the laptop and press F12 once Lenovo logo appears.

  • Select the USB from the Boot menu that will appear.
  • Clover will load in seconds, select “Boot from MacOSX Installer” and hit enter.
  • In a minute or two the installer will be ready. Format the partition prepared earlier as “Mac OS Extended (Journaled)” and install OS X. The computer will restart after installation is finished.
  • Boot again from the USB and this time select to boot from “MacOSX” entry.
  • The installed OS X will run and you should have touchpad and keyboard working. Use them to finish the first time initialization and creating the account.
  • Download CLOVER zip from Downloads section and unzip it into your HDD/SSD EFI partition (you may need to use Terminal to mount it first) 
  • Restart and boot from USB again, select “Clover Boot Options”, and choose “Add Clover boot options for all entries”.
  • Restart without USB and Clover will boot off the EFI partition and you can boot straight into MacOSX.

 


6. Post Installation
Once logged in, you will have a working system with full resolution 1920x1080 but with glitches and only 7MB (check Apple-Menu > About This Mac) which makes the experience awful. Also no Sound, no WiFi, no Brightness Control, no Battery Management, no Sleep, and more. Follow the steps below to fix most of the issues and have a better working system.
 
Many of these steps will require DSDT/SSDT patching to get things working and unfortunately it is wrong for one to use patched tables of another one so an easy way to patch tables was needed. Our forum member intruder16 came out with a brilliant tool to automatically patch the tables for us which made the installation process very easy for a lot of users.
 
As with everything, there will always be updates and new better ways to do things. Recently, there were some work initiated by the infamous Rehabman to revolutionize the DSDT/SSDT patching process in what is called SSDT-HACK. This method work by creating some patches through Clover's config.plist and using additional SSDT's to complement the native DSDT and SSDT's without touching them. This mean, using SSDT-HACK method allow us to share the same files without worry and no need to extract the native tables and patch them anymore. I have adapted this method and prepared the files to use which are already included in the CLOVER zip in the downloads section.
 
So here's a summarization of what to do to fix everything:

  •  
  • Have the CLOVER zip (attached in Downloads section) unzipped into EFI folder of your EFI partition. This will ensure you have the proper config.plist (including all kexts & acpi hot-patches among other important settings) in addition to the SSDT-HACK tables.
  • Install all recent versions of the following kexts (links in Downloads section) in /S/L/E using EasyKext Utility:
    07dc0618e55f283e.png
  • Get native Audio by fixing AppleHDA. Go to this page and follow the instructions. 
  • Done !

Note: The rest of this guide contain a lot of details about the post installation process for those who want to understand and learn. If you read on, you don't need to apply anything there as it will be already done and you may break things. Moreover, the some of the information given below might be outdated (newer patches are found or additional patches are needed). I was about to remove all that to keep the guide up-to-date but I thought to keep the whole thing FOR REFERENCE ONLY. 
 
6.1 Graphics

  Reveal hidden contents


Apple hvae removed support for Intel Mobile HD4600 and to make it work we have to fake OS X to pretend it is another supported graphics card and this can be achieved in several ways. The most recent and clean method to use is OS-X-Fake-PCI-ID by RehabMan and I advice everyone to read about it in this topic and carefully apply the method. In brief, this is what should be done to fix the graphics and enable QE/CI:

  • Download, decompress, and install FakePCIID.kext and FakePCIID_Intel_HD_Graphics.kext in /S/L/E.
  • Add 9MB cursor framebuffer patch in Clover (as described in the linked topic) to fix few glitches that often appear when using ig-platform-id = 0x0a260006.
  • Setting FakeID for IntelGFX of 0x04128086 either in Clover or by patching DSDT (as described in the linked topic).

In addition, there are two additional things that should be covered here to fix some graphic glitches.
 
6.1.1 Fixing 16-bit colour (gradients)
Normally, OS X will run in good colors after enabling QE/CI. However, it was found that anything sets the display off then on results in dirty graphics that have color gradients as described in this topic. To fix the 16-bit colour gradient issue, our forum member vusun123 suggested using a custom EDID (google EDID if you don't know what it is) and his suggestion worked brilliantly. 



<key>Graphics</key>
<dict>
    <key>InjectEDID</key>
    <true/>
    <key>CustomEDID</key>
    <data>
    AP///////wAw5BYEAAAAAAAXAQSQIxN4ChXVnllQmCYOUFQAAAABAQEBAQEB
    AQEBAQEBAQEBGjaAoHA4H0AwIDUAWcIQAAAZAAAAAAAAAAAAAAAAAAAAAAAA
    AAAA/gBMRyBEaXNwbGF5CiAgAAAA/gBMUDE1NldGMS1UTEMyAGw=
    </data>
    .. .. .. .. ..
</dict>

Note: The config.plist in the linked CLOVER zip contain that custom EDID already for you so nothing more to do.
 
6.1.2 Fixing OS X boot graphic glitch
The following patch for IOGraphicsFamily.kext is required to fix a graphics glitch on second boot screen for Yosemite (10.10.2+) :



<dict>
    <key>Comment</key>
    <string>Boot graphics glitch, 10.10.2+</string>
    <key>Find</key>
    <data>
    QYjE6xE=
    </data>
    <key>Name</key>
    <string>IOGraphicsFamily</string>
    <key>Replace</key>
    <data>
    QYjE6zE=
    </data>
</dict>

This one is for El Capitan 10.11.x:



<dict>
	<key>Comment</key>
	<string>Boot graphics glitch, 10.11</string>
	<key>Find</key>
	<data>
	AQAAdRc=
	</data>
	<key>Name</key>
	<string>IOGraphicsFamily</string>
	<key>Replace</key>
	<data>
	AQAAdBc=
	</data>
</dict>

This is for Sierra 10.12.x:



<dict>
	<key>Comment</key>
	<string>Boot graphics glitch, 10.12.x</string>
	<key>Find</key>
	<data>
	AQAAdSU=
	</data>
	<key>Name</key>
	<string>IOGraphicsFamily</string>
	<key>Replace</key>
	<data>
	AQAA6yU=
	</data>
</dict>

Note:
   There will still be a glitch in the transition between first and second boot stages which there is no fix for it at the moment. The only improvement that can be made is to enable Legacy Support in BIOS which will replace the transition glitch with black screen. Beware that enabling Legacy Support will trigger incorrectly initialization to graphic driver for OS X which will result in no display upon rebooting from OS X.


6.2 Audio

  Reveal hidden contents


6.2.1 Enabling native AppleHDA
There are two methods to fix audio in OS X. The first is to use VoodooHDA which is a generic audio driver that support wider range of sound chips out of the box (acceptable with issues). The second method is to patch AppleHDA.kext for our audio chip to have native sound (better and clearer) which is a complicated process. Now that we have AppleHDA working perfectly, the guide will only offer using AppleHDA.

Getting AppleHDA.kext patched to work correctly for our Y510p indeed toke much time reading guides and trying things. I have to give Mirone the credit he deserve for his awesome guide and the patched kext he provided that enabled most of the audio features but not external mic support. Our forum member intruder16 did his best and succeeded to get this the right way. Basically what have to be done is:

  • Patching the binary of AppleHDA to support our audio chip (either in place or in Clover's config.plist)
  • Adding the correct audio codecs to AppleHDA either directly or by using a helper kext to have all audio functions
  • Making a change in DSDT or in Clover's config.plist to use the proper audio layout
  • There is also an additional kext to install to help restoring audio after sleep/wake

For those who want to learn (I recommend all to learn because this is why we are all here), you can find some good information in this post. Otherwise, head over Y510p-OSX-AppleHDA and use that script to create and install the helper kext. You will also find instructions on how to properly configure Clover so the audio solution is complete. From now on, these information will not be available in this guide to keep everything organized.
6.2.2 Fixing HDMI & HDMI Audio
Connecting the laptop to an external display through HDMI means the display will be responsible for audio output instead of the laptop audio system. This feature is broken on many hackintoshes (ours included) and here you will find the procedure to fix it:

  • Make sure AppleHDA is working
  • Patch the DSDT/SSDT that have the device at address 0x00030000 to rename it from B0D3 to HDAU. (The patch is included in Auto-Patcher so skip this step)
  • Put FakePCIID_Intel_HDMI_Audio.kext in Clover's kexts folder (optionally can be installed in /S/L/E)
  • Patch AppleIntelFramebufferAzul.kext for HDMI-audio in Clover's config.plist (there are other patches for other configurations if this one did not work for you)
    
    
    <dict>
        <key>Comment</key>
        <string>HDMI-audio, port 0105, 0x0a260005 0x0a260006, 0x0d220003, 0x0a2e000a, 0x0a26000a</string>
        <key>Find</key>
        <data>
        AQUJAAAEAACHAAAA
        </data>
        <key>Name</key>
        <string>AppleIntelFramebufferAzul</string>
        <key>Replace</key>
        <data>
        AQUJAAAIAACHAAAA
        </data>
    </dict>
  • Set this option in clover's config.plist:
    
    
    <key>Devices</key>
    <dict>
        ....
        <key>UseIntelHDMI</key>
        <true/>
    </dict>
  • Clear cache and reboot
  • Now when you connect the laptop to an external display through HDMI you will find new entry in System Preferences > Sound > Output for HDMI which means sound is now controlled by the external display.

HDMI Issues and workarounds:

  • If HDMI display is connected after OS X is booted (hot plug), the display will be distorted on the built-in display. This may need a new patch for AppleIntelFramebufferAzul.kext to get fixed but a workaround is to use the external display to change the built-in display resolution to anything then back to 1920x1080 again.
  • If HDMI display is turned off (or display mode is switched from HDMI) while OS X is running, OS X will freeze for second every few seconds. Turning the external display on (or switching to HDMI mode) again, or disconnecting the HDMI cable will fix the freezing and everything will be normal.

 


6.3 Ethernet (LAN)

  Reveal hidden contents


To fix Ethernet we can utilize the solution by Mieze by first downloading the driver AtherosE2200Ethernet.kext (link in downloads section) then following the steps from his topic:

  • Goto /S/L/E and delete ALXEthernet.kext. (If you don't have this it is OK)
  • Recreate the kernel cache.
  • Open System Preferences and delete the corresponding network interface, e. g. en0.
  • Reboot.
  • Install the new driver and recreate the kernel cache. I recommend to use Kext Wizard or a similar utility for the installation.
  • Reboot
  • Open System Preferences again, select Network and check if the new network interface has been created automatically or create it manually now.
  • Configure the interface.

 


6.4 Wi-Fi

  Reveal hidden contents


The built-in WiFi card in Lenovo Y510P won’t work with OS X and I had to replace mine with Broadcom BCM4352 AC WLAN BT4.0 Wi-Fi card that is compatible with Y510P and OS X. For this card to work, OS X needs to see this card as one of those defined in AirPortBrcm4360.kext (inside IO80211Family.kext). Also, the same kext have to be patched to enable 5GHz.

PS: if you have other chip than mine or the given patch didn't work for you, I advice you to visit Toleda's topic to find all the up-to-date information.

6.4.1 Broadcom Airport Extreme
Install FakePCIID_Broadcom_WiFi.kext in in /S/L/E.

6.4.2 Enable AC (5GHz)
There are 3 different Clover patches to try depending on the WiFi chip country. For me, the required patch is:



<dict>
    <key>Comment</key>
    <string>10.10-BCM94352-5GHz-US-FCC-dv</string>
    <key>Find</key>
    <data>
    QYP8/3QsSA==
    </data>
    <key>Name</key>
    <string>AirPortBrcm4360</string>
    <key>Replace</key>
    <data>
    ZscGVVPrKw==
    </data>
</dict>

After putting the patch in config.plist, nothing more is needed but a reboot.


6.5 Bluetooth

  Reveal hidden contents


   In order to use BCM4352 Bluetooth with OS X, we will use BrcmPatchRAM to activate it. Head over Rehabman's fork of BrcmPatchRAM (link in download section) and read how to install it. Basically, you will need to download BrcmPatchRAM and install two kexts from the archive depending on OS X version and install location.

  • For Yosemite 10.10.x: install both BrcmPatchRAM.kext and BrcmFirmwareRepo.kext in /S/L/E
  • For El Capitan 10.11 and Sierra 10.12.x: install both BrcmPatchRAM2.kext and BrcmFirmwareRepo.kext in /S/L/E

Ignore the rest of the kexts in the archive.


6.6 Proper CPU Power Management

  Reveal hidden contents


This is important as it affects many aspects of the system specially sleep. To get proper CPUPM, either download and use the latest version of ssdtPRGen.sh to produce CPUPM SSDT.aml (Secondary System Description Table), or, use the one generated by AutoPatcher. Either way, put the resulting SSDT.aml into EFI/Clover/ACPI/patched among other patched tables.


6.7 Sleep

  Reveal hidden contents


At this moment the system might not sleep for many reasons like problems with USB, Network interrupting sleep, and not having AppleLPC.kext loaded on startup. If you are going to use AutoPatcher (recommended) then it will do everything for you and you can skip the rest of this section.
 
If you will go manually and still reading, I’ll try to cover all the requirements for perfect sleep but this will involve DSDT patches so you should be familiar with the process. You have to know how to use MaciASL, extract native ACPI tables (from Clover), disassemble tables using iasl, and fix common problems while patching.
The Laptop Patch Repository by Rehabman is a must have with MaciASL. Add it and it won’t harm to add his Debugging Patch Repository too.

6.7.1 AppleLPC.kext is not loading
This kext is essential for sleeping. To test if it is loaded or not fire off Terminal and issue the command kextstat then look for com.apple.driver.AppleLPC in the output. If it is there then the kext is loaded and nothing to do in this section. If not, make sure you used Auto-Patcher correctly to patch your DSDT then reboot and use kextstat again to confirm AppleLPC.kext is loaded fine.

6.7.2 Fix EHC1/EHC2 Kernel Assertions
You can test if there are problems prevents sleep using the command pmset -g assertions. If you got anything with EHC1 or EHC2 then it probably USB related problem and you need to make sure you used Auto-Patcher correctly to patch your DSDT.

6.7.3 Workaround for EHC1/EHC2/XHC Instant-Wake
If you got OS X to sleep but found it to wake immediately then look for wake reason in system.log using Console app. If the reason is found related to either EHC1, EHC2, or XHC then the easy workaround is to delete/comment the code related to powering on/off to these devices from DSDT which is the name _PRW for each of them. (Auto-Patcher already do this for you)

6.7.3 Sleep on LID close
Out of the box LID open/close is not functioning. A workaround is available in Rehabman's laptop patch repository and also in AutoPatcher that remove _PRW for LID but this method completely break the functionality of Wake on LID open. Since Wake on LID open is not working at the moment either way, this workaround is all what we have now.


6.8 Brightness

  Reveal hidden contents


Getting brightness to work perfectly is a two step process that I’ll cover in order of importance:

6.8.1 Patching DSDT or SSDT
Skip this if you have used Auto-Patcher OR PREFERABLY USED THE NEW SSDT-HACK. Either DSDT or one of the SSDTs (whichever contains IGPU definition) have to be patched with "Brightness fix (Haswel)" from Rehabman's Laptop Repository. Doing this correctly will result in having the brightness slider visible in System Preferences > Displays.

6.8.2 [Deprecated] ACPIBacklight.kext
6.8.2 IntelBacklight.kext
This is a must have kext that gets the job done assuming DSDT/SSDT is already patched. With this kext the brightness slider will function normally.


6.9 Battery Management

  Reveal hidden contents


This one is important but easy to fix, just download the latest version of “ACPIBatteryManager.kext” and put it in Clover’s kexts folder, reboot.


6.10 Keyboard and Touchpad

  Reveal hidden contents


In this section I will cover how to activate the keyboard and touchpad. Moreover, I will show how to control brightness using Fn+Up and Fn+Down.
6.10.1 Activating Keyboard and Touchpad
There are two variants of Ideapad Y510p with regards to Touchpad so each variant will require different Kext to enable PS2Controller:

  • The first one with Synaptics touchpad and basically VoodooPS2Controller kext by RehabMan is great and reliable. In addition, EMlyDinEsH updated his SmartTouchpad kext so now it works very nice with Synaptics Clickpad available on Y510p with more features and it is worth checking out (both links in downloads)
  • The other one with Elantech touchpad and the driver by EMlyDinEsH is the only option which is great anyway for this hardware (link in downloads)

6.10.2 Controlling brightness using Fn+Up and Fn+Down [bROKEN FOR SIERRA 10.12]
At the moment, you can control the brightness using the slider in System Preferences > Display. To get the default key combination for Y510P working we cannot use Karabiner or OS X shortcuts as the events are buried deep down. Therefore, the DSDT have to be patched and ACPIKeyboard kext by RehabMan may be required in addition. (link in Downloads)

  • If you are using the SSDT-HACK method, make sure to ONLY use the relevant table in EFI/CLOVER/ACPI/patched folder. I.e., VoodooPS2Controller users should put SSDT-HACK-VoodooPS2.aml and SmartTouchpad users should put SSDT-HACK-SmartTouchpad.aml instead. YOU DON'T NEED TO EDIT config.plist FOR THAT.
  • If you are still using Auto-Patcher to patch tables:
    • If you have Synaptics touchpad and are using VoodooPS2Controller then choose VoodooPS2Controller when prompted by the Auto-Patcher script. You don't need ACPIKeyboard kext in this case as the needed functionality is built into VoodooPS2Controller already.
    • If you have Synaptics or ELAN touchpad and are using SmartTouchpad kext by EMlyDinEsH then choose SmartTouchpad when prompted by the Auto-Patcher script. In this case, however, you will need ACPIKeyboard kext as the needed functionality is not built into SmartTouchpad.

 


6.11 Enabling SSD TRIM

  Reveal hidden contents


   For those who are using SSD the OS should support TRIM which is a technology to removes any deleted file completely to enhance SSD performance and increase its lifespan. It is said that newer SSD have their own built-in technology to do this without any effort from the OS but not-so-new SSD's does not have this. To get OS X Yosemite to offer TRIM support to our SSD, we have to put this patch in Clover's config.plist:
And reboot the system.


6.12 USB 3.0

  Reveal hidden contents


[Yosemite] Both USB 3.0 ports will work OOB but may not power on again after wake from sleep (at least with 10.10). To fix this issue, we will patch AppleUSBXHCI, the native usb driver, with just one patch through clover:



<dict>
    <key>Comment</key>
    <string>Enable USB3 after wake for Intel 8 series chipset</string>
    <key>Find</key>
    <data>
    xoDIAAAAAQ==
    </data>
    <key>Name</key>
    <string>AppleUSBXHCI</string>
    <key>Replace</key>
    <data>
    xoDIAAAAAA==
    </data>
</dict>

 


Links & Downloads

  Reveal hidden contents


This section contains all links to all the downloads required to get the best installation for Lenovo Y510p so far.

  • ShowHiddenFiles app: Link
  • Clover EFI bootloader: Link
  • CloverConfigurator: Link
  • HFSPlus.efi: Link
  • RehabMan / FakeSMC: Link
  • RehabMan / OS-X-ACPI-Backlight: Link
  • RehabMan / OS-X-Intel-Backlight: Link
  • RehabMan / OS-X-ACPI-Battery-Driver: Link
  • RehabMan / BrcmPatchRAM: Link
  • RehabMan / OS-X-Fake-PCI-ID: Link
  • RehabMan / OS-X-EAPD-Codec-Commander: Link
  • RehabMan / VoodooPS2Controller: Link
  • EMlyDinEsH / SmartTouchPad: Link (register in the forum and download attachment on first post)
  • RehabMan / OS-X-ACPI-Keyboard: Link
  • Ahmed_ais / Y510p-OSX-AppleHDA: Link
  • Mieze / AtherosE2200Ethernet: Link
  • USB Installer EFI folder:
    • Yosemite 10.10: Link
    • El Capitan 10.11: Link
    • Sierra 10.12: Link [i believe this one should work for 10.10 and 10.11 as well] [Link is updated 3/10/2016]
  • Installed System Clover (Whole folder). This have almost everything needed for 10.10, 10.11,10.12. It lacks SMBIOS serial number. Choose any of the SSDTs provided depending on the keyboard&touchpad kext you use and put that SSDT into patched folder. [NOTE: due to the keyboard problem for Sierra, it won't matter which SSDT table you choose as keyboard shortcuts for volume and brightness will be broken anyway, until a fix is up]
    • Clover_FULL_EFI_10.10-10.12_SSDT-HACK: Link
  • Modified CloverEFI theme ios7: Link

 


Need HELP??  :help: 

  Reveal hidden contents

 

  • Make sure you have CAREFULLY READ the entire guide. I have the same laptop as yours (mostly) so it is unexpected to have unique issue unless you have a faulty machine.
  • Search the topic (and the web in general) for the things you have questions about before asking. The answer for your question may be few posts away so save your time and other's.
  • If you still want to ask for help, you are welcome but you have to know that no one here have super powers to sense the problems without details. Some problems are well-known and small amount of evidence is enough for diagnosing them but many problems are not. Therefore, in general, this is my advice whenever you try to report a problem or ask for help:
    • Introduce the problem in clear words
    • Provide as much information as you can in form of logs, screenshots and/or dumps
    • State whether the issue is reproducible and list some of the ways to reproduce it.
    • State the things you have tried and the results you found

 


Credits
Sfairat, Mirone, intruder16, useletters, Rehabman, Mieze, vusun123, EMlyDinEsH, many more ....

Change Log

  Reveal hidden contents

 

  • 26/9/2016
    • Added support for macOS Sierra 10.12
    • Included SSDT-HACK method and files in a step to make it mainstream to remove the manual/automatic ACPI tables patching in future
    • Refined the guide so the most relevant information are on top. Other details are left for READING but might be removed in future
    • Replaced OS-X-ACPI-Backlight with OS-X-Intel-Backlight which needs a small PNLF patch rather than the big and clumsy patch needed for OS-X-ACPI-Backlight. It is also designed to overcome changes made be Apple and is more supported now.
  • 27/2/2016
    • Added a workaround to use external VGA-only display/projector.
  • 26/12/2015
    • Removed the modified version of Auto-Patcher as the author has his git up-to-date
    • Some clean-ups
  • 18/11/2015
    • Modified version of Auto-Patcher is added to Downloads section (until its author update his git)
    • Added EFI folder for USB installer (both 10.10 and 10.11) in Downloads section
    • More things have been removed/edited to update information
  • 14/10/2015
    • Guide updated to support El Capitan
    • Many things have been removed/edited to update information
  • 07/07/2015
    • Added a section "Before Asking for HELP" to get the best out of this topic.
    • Modified SMBIOS options after installing OS X to reflect the current situation.
    • Updated Second boot stage glitch patch according to that topic.
    • Updated the section "Enabling Keyboard and Touchpad" to include SmartTouchpad kext by EMlyDinEsH.
    • Updated the section "Getting Fn+Up and Fn+Down to Control Brightness" to include instructions for SmartTouchpad kext users.
  • 05/06/2015
    • Updated Graphics fix section to include 16-bit colour gradients issue that happen whenever the display is turned off then on.
    • Updated What works and What doesn't section to represent the current situation of graphics-related problems.
    • Updated config.plist to include the custom EDID for fixing the 16-bit colour gradients issue.
  • 18/04/2015
    • Updated config.plist to include SortedOrder for SSDT's & other small edits. (The SortedOrder matches my SSDT's names, make sure to edit them to match yours)
    • Removed my previously linked DSDT and SSDT's
  • 12/04/2015
    • Added section for sleep on LID close
    • Corrected the current issues section to exclude sleep on LID close.
  • 11/04/2015
    • Removed the details on Enabling AppleHDA (and previous download links) and linked instead to intruder16's work (both description post and download page)
    • Abstracted graphics fix details as they are better maintained in the original topic by the-darkvoid which is linked
  • 10/04/2015
    • Added What's working and What's does not section
    • Some cleanups and rearrangements
  • 07/04/2015
    • Replaced FakeSMC.kext with Rehabman's version which includes a fix for the powerd[27]: Failed to read current rating(0xe00002f0) issue.
    • Removed both Audio fixes VooodooHDA and non-update-safe patched AppleHDA, only the update-safe AppleHDA patch remains.
    • Removed VoodooHDA and Patched AppleHDA.kext Links from downloads section.
    • Removed boot glitch fix for Yosemite versions before 10.10.2, most of us are on latest version anyway.
    • Removed nv_disable=1 boot-arg, not needed with Nvidia cards are disabled by other means.
    • Removed -gux_defer_usb2 boot-arg, not needed while GenericUSBXHCI USB 3.0 Driver is not in use.
    • Replaced manual BCM4352 patches with Fake-PCI-ID method + Clover patch (still not update safe).
    • Modified SMBIOS setting for Installation section.
    • Added section to fix Ethernet (LAN).
    • Removed Fixing Home and End Keys using KeyBindings, not needed anymore I guess.
    • Added BrcmPatchRAM method to bluetooth fix section and downloads
  • 05/04/2015
    • Added a section for enabling the keyboard and touchpad for both Synaptics and Elan variants and the corresponding links in download section.
    • Added a paragraph for using SSD instead of HDD in Introduction for those who have (or plan to get) one
    • Added a section to enable TRIM support in Yosemite for SSD
    • Added a section to fix USB 3.0
  • 28/03/2015
    • Updated the patched ACPI files to include the missing CPUPM SSDT which was accidentally replaced by another useless SSDT.
    • Updated Wrapping Up section to highlight the current state of the setup.
    • Removed the Appendix, useless anyway.
  • 17/03/2015
    • Removed all DSDT/SSDT patches from the guide in favour of Auto-Patcher by intruder16
    • Updated the already patched ACPI files (some useless tables are removed, and one table is included to allow Optimus disable)
  • 27/02/2015
    • Updated section 6.2 Sound by adding update-safe method for a working AppleHDA
    • Updated section 6.2 Sound by adding HDMI Audio fix
    • Major clean up
  • 25/02/2015
    • Updated section 6.2 Sound by adding sound fix using AppleHDA.kext.
    • Added the patched AppleHDA.kext to Downloads section.
    • Gave credit to who deserve it
  • 19/02/2015
    • Regenerated CPUPM SSDT using the latest ssdtPRGen.sh script to achieve better power management and updated Downloads section.
  • 16/02/2015
    • Updated Clover 0x0a260006 9MB cursor bytes patch in section 6.1 Graphics to the latest.
    • Removed Clover r2999 recommendation as I gave latest release r3168 a try and it seems working normally (thought not as straight forward as r2999).
  • 10/02/2015
    • Revamped the Keyboard section 6.9 to include system shortcuts and detailed information about Karabiner
  • 08/02/2015
    • Added a modified version of Clover EFI theme ios7 originally created by forum members Ukr55 and Winlog
  • 03/02/2015
    • Added more stuff in Downloads section. Now DSDT, SSDT's, config.plist, patched kexts, and extra kexts are all up!
  • 01/02/2015
    • Edited section "6.1 Graphics" to added IOGraphicsFamily 10.10.2 patches to fix Boot graphics glitch in addition to those for 10.10.0 and 10.10.1.
    • A lot of cleaning.
  • 30/01/2015
    • Fixed 5GHz Wi-Fi patch for BCM4352 with 10.10.2.
    • Few cleaning.
  • 10/01/2015:
    • Added the new Fake-PCI-ID to by Rehabman to "Downloads" section.
    • Edited section "6.1 Graphics" section to replace old graphics patching methods (manual and clover) with the new one using OS-X-Fake-PCI-ID.
    • Removed unnecessary HDMI Clover patch since it is achievable using FakePCIID_Intel_HDMI_Audio.kext from OS-X-Fake-PCI-ID.
    • Few cleaning.
  • 09/01/2015:
    • Added a "Downloads" section contains links to all required kexts, additional .efi files, auxiliary apps. I will later update it with links to patched kexts, patched DSDT and SSDT, and Clover's config.plist.
    • Edited section "4. Preparing OS X Yosemite USB Installer" to remove OsxAptioFix2Drv-64 from Drivers64UEFI selection while installing Clover (since v2999 does not have that option) and also to remove downloads from there.
    • Edited section "5. Installing OS X Yosemite" to set SMBIOS in installation's Clover to iMac14,2. This fixes Firefox's issue with Flash player (I don't know why).
    • Fixed custom keyboard issue in section "7. Wrapping up" by using the software properly.
  • 30/12/2014:
    • Edited section "6.1 Graphics" section to remove not required patch for AppleIntelFramebufferAzul.kext and rearrange the procedure.
  • 11/12/2014:
    • Initial version :thumbsup_anim:

 

 

Hello 

I did everything as you described with both Sierra and Highsierra but post installation fails in boot, can't get to Mac with your CLOVER.zip files, It reboots at apple logo and when I enable drop all OEM in ACPI it just goes about 75 percent of the booting progress and hangs there forever till I manually reboot the system and boot from installer efi into system
any help is much appreciated, I only have problem with my sound and graphic, but graphic is much more important than the sound I got a USB Sound card so that puts audio issues away for now

Link to comment
Share on other sites

  • 2 weeks later...
On 6/10/2018 at 1:12 PM, poveissi1991 said:

Hello 

I did everything as you described with both Sierra and Highsierra but post installation fails in boot, can't get to Mac with your CLOVER.zip files, It reboots at apple logo and when I enable drop all OEM in ACPI it just goes about 75 percent of the booting progress and hangs there forever till I manually reboot the system and boot from installer efi into system
any help is much appreciated, I only have problem with my sound and graphic, but graphic is much more important than the sound I got a USB Sound card so that puts audio issues away for now

 

Hi ...

I know this won't be a helpful reply but I'm away from macOS and hackintosh scene since long ago. I did experimental installs with 10.12 personally and it should work but I'm not sure if the guide is correct enough at the moment and after all the updates Sierra received. What I'm sure of is that I did not attempt using High Sierra at all and I have no idea about fixing things for it to work fine on our notebook.

 

With that said, I have plans to try Mojave once it is released and hopefully we all could get it to work great. 

 

Sorry for the late reply,

Ahmed

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

Hi everyone! Firstly a HUGE thanks to all of the hard work done by everyone in here, especially Ahmed and Rehab. I'd like to add my two cents on how I got 10.13 (almost) fully working on my y510p, from a clean install. It was a steep learning process. The first post by Ahmed I found to be a bit confusing since it includes a lot of now irrelevant data, and it sidetracked me or led me astray. The worst one specifically was the now-obsolete DSDT-SSDT-hack package (or something like that), which is now superseded by the Clover hotpatch method and is (as far as I can tell, at least) obsolete.

 

Note that this is my hardware:

Internal GT750m (now disabled in BIOS), no ultrabay graphics card

BIOS 3.05 crack, broadcom pci wifi on the way in the mail

 

Step 1:
Creating the USB from the original post does NOT produce a usable install disk anymore. It creates a bootable disk, but the installer claims it is missing dependencies. After partitioning the disk as GPT, I needed to follow the instructions here (although slightly modified in that I used this utility to download the updater image, as the whole reason I needed to convert my y510p to a hackintosh is because my iMac does not support High Sierra, it's stuck on El Capitan). The usb CLOVER worked well as I recall, but I ultimately ended up updating CLOVER to the most recent version. I honestly do not remember whether I had to do this in order to make the USB boot properly or not. As a compromise I will include my current USB_CLOVER folder as I know that it definitely works now. Now we have a bootable version of the High Sierra installer. Great!

 

Step 2:

Before installing OSX, be sure to format the partition you will use as HFS+. APFS failed multiple times for me (it would reboot after initial install and the USB CLOVER would not detect it, though it might have been that I was using the old CLOVER at the time, feel free to try APFS for yourself with my updated USB_CLOVER.zip folder in your usb's EFI partition). Also please do note that all the filenames are mangled in my USB_CLOVER.zip folder; this is because the EFI partition on the usb drive appears to have been formatted with a FAT format that only supports 8.3 char filenames by macOS. For example, config.plist is stored as config.pli. All I know is that the folder works, lol. I don't question it.

 

Step 3:

Follow the guide all the way up to CLOVER install in system EFI. If the screen goes black from a reboot, fully power off and on again. If the screen gets garbled, I would just press Fn+F1 and then move/click the mouse immediately. The screen would go dark and come back un-garbled. For 10.13 you need a new config.plist and modern version of CLOVER. This config.plist was thankfully provided in an earlier post by Samuel123450 however, that post also suggested replacing your entire EFI folder. I don't recommend that. I would highly recommend just creating or replacing your CLOVER folder with the attached CLOVER.zip that works for me. Note that the contained config.plist also already includes the HDA audio hotpatch. Great news!

 

Step 4:

With my CLOVER folder in place in the EFI partition, you may have to manually add CLOVER to the EFI boot list in the bios (like I did) Follow the third post. Once CLOVER is in the UEFI boot list, you should be able to turn off "boot from usb" in the BIOS to help speed up boot times a bit. NOTE: Whether you use my CLOVER folder or the other EFI folder you MUST be using the latest version of CLOVER and the config.plist file or once you perform Step 5 your system will NOT BOOT unless in safe mode or single user mode, and that is no fun. I wasted hours in this limbo until I actually looked in the later posts for the updated config.plist (I readily admit I am no expert on modifying this stuff, I'm just putting the puzzle pieces together).

 

Step 5:

Finally, install all of the relevant kexts using EasyKext Utility, as seen in the original post by Ahmed. I will include all of the packages I used as a definitely working setup, INCLUDING the ethernet kext (for those of you who don't want to compile it yourself/join the forum to get the kext), EasyKext, and an updated version of the HDA patcher which allows it to run on 10.13. I apologize for the packages all having weird names, but again. The format utility only gave me an 8.3 namespace to work with (these were all stored on an msdos partition on my usb stick with the OSX installer), so I made sure that every kext was stored in a zip file. I also have the install instructions for osx (installg.htm) and the HDA (applehda.htm) saved so you can view the text without an internet connection.

 

In theory, that's it!

 

The only things I have not working right now are wifi (card in the mail), and for some reason though I can get brightness sliders and hotkeys to change, they don't actually change my laptop's brightness; it is stuck at 100%. I think I actually WILL have to do a DSDT patch for that to work. Wish me luck.

Let me know if I was too vague or didn't give enough credit where it's due.

 

Other notes:

My Clover implementation uses the Voodoo2 version of the keyboard/mouse drivers. It works well except for multi finger gestures (including scrolling). Also, Ctrl=Ctrl, Fn=Fn, WIN=Option, Alt=Command by default.

When rebooting from another OS (Windows or Linux), on my machine it would cause chaotic mouse behaviour such that the system was unusable. The ONLY way to prevent this was to fully power down the machine every time I wanted to switch OS to macOS.

 

Link to relevant files here:

https://mega.nz/#F!1FJTTCAA!Mb8LvMN1Jj2QZAJf-2LIcA

 

Edited by astrosynthesist
Link to comment
Share on other sites

Quote

I did everything as you described with both Sierra and Highsierra but post installation fails in boot, can't get to Mac with your CLOVER.zip files, It reboots at apple logo and when I enable drop all OEM in ACPI it just goes about 75 percent of the booting progress and hangs there forever till I manually reboot the system and boot from installer efi into system
any help is much appreciated, I only have problem with my sound and graphic, but graphic is much more important than the sound I got a USB Sound card so that puts audio issues away for now

My CLOVER.zip file should solve this issue. It was the exact issue I was faced with after installing the kexts and it was fixed by Samuel123450.

Edited by astrosynthesist
Link to comment
Share on other sites

5 hours ago, astrosynthesist said:

Hi everyone! Firstly a HUGE thanks to all of the hard work done by everyone in here, especially Ahmed and Rehab. I'd like to add my two cents on how I got 10.13 (almost) fully working on my y510p, from a clean install. It was a steep learning process. The first post by Ahmed I found to be a bit confusing since it includes a lot of now irrelevant data, and it sidetracked me or led me astray. The worst one specifically was the now-obsolete DSDT-SSDT-hack package (or something like that), which is now superseded by the Clover hotpatch method and is (as far as I can tell, at least) obsolete.

 

Note that this is my hardware:

Internal GT750m (now disabled in BIOS), no ultrabay graphics card

BIOS 3.05 crack, broadcom pci wifi on the way in the mail

 

Step 1:
Creating the USB from the original post does NOT produce a usable install disk anymore. It creates a bootable disk, but the installer claims it is missing dependencies. After partitioning the disk as GPT, I needed to follow the instructions here (although slightly modified in that I used this utility to download the updater image, as the whole reason I needed to convert my y510p to a hackintosh is because my iMac does not support High Sierra, it's stuck on El Capitan). The usb CLOVER worked well as I recall, but I ultimately ended up updating CLOVER to the most recent version. I honestly do not remember whether I had to do this in order to make the USB boot properly or not. As a compromise I will include my current USB_CLOVER folder as I know that it definitely works now. Now we have a bootable version of the High Sierra installer. Great!

 

Step 2:

Before installing OSX, be sure to format the partition you will use as HFS+. APFS failed multiple times for me (it would reboot after initial install and the USB CLOVER would not detect it, though it might have been that I was using the old CLOVER at the time, feel free to try APFS for yourself with my updated USB_CLOVER.zip folder in your usb's EFI partition). Also please do note that all the filenames are mangled in my USB_CLOVER.zip folder; this is because the EFI partition on the usb drive appears to have been formatted with a FAT format that only supports 8.3 char filenames by macOS. For example, config.plist is stored as config.pli. All I know is that the folder works, lol. I don't question it.

 

Step 3:

Follow the guide all the way up to CLOVER install in system EFI. If the screen goes black from a reboot, fully power off and on again. If the screen gets garbled, I would just press Fn+F1 and then move/click the mouse immediately. The screen would go dark and come back un-garbled. For 10.13 you need a new config.plist and modern version of CLOVER. This config.plist was thankfully provided in an earlier post by Samuel123450 however, that post also suggested replacing your entire EFI folder. I don't recommend that. I would highly recommend just creating or replacing your CLOVER folder with the attached CLOVER.zip that works for me. Note that the contained config.plist also already includes the HDA audio hotpatch. Great news!

 

Step 4:

With my CLOVER folder in place in the EFI partition, you may have to manually add CLOVER to the EFI boot list in the bios (like I did) Follow the third post. Once CLOVER is in the UEFI boot list, you should be able to turn off "boot from usb" in the BIOS to help speed up boot times a bit. NOTE: Whether you use my CLOVER folder or the other EFI folder you MUST be using the latest version of CLOVER and the config.plist file or once you perform Step 5 your system will NOT BOOT unless in safe mode or single user mode, and that is no fun. I wasted hours in this limbo until I actually looked in the later posts for the updated config.plist (I readily admit I am no expert on modifying this stuff, I'm just putting the puzzle pieces together).

 

Step 5:

Finally, install all of the relevant kexts using EasyKext Utility, as seen in the original post by Ahmed. I will include all of the packages I used as a definitely working setup, INCLUDING the ethernet kext (for those of you who don't want to compile it yourself/join the forum to get the kext), EasyKext, and an updated version of the HDA patcher which allows it to run on 10.13. I apologize for the packages all having weird names, but again. The format utility only gave me an 8.3 namespace to work with (these were all stored on an msdos partition on my usb stick with the OSX installer), so I made sure that every kext was stored in a zip file. I also have the install instructions for osx (installg.htm) and the HDA (applehda.htm) saved so you can view the text without an internet connection.

 

In theory, that's it!

 

The only things I have not working right now are wifi (card in the mail), and for some reason though I can get brightness sliders and hotkeys to change, they don't actually change my laptop's brightness; it is stuck at 100%. I think I actually WILL have to do a DSDT patch for that to work. Wish me luck.

Let me know if I was too vague or didn't give enough credit where it's due.

 

Other notes:

My Clover implementation uses the Voodoo2 version of the keyboard/mouse drivers. It works well except for multi finger gestures (including scrolling). Also, Ctrl=Ctrl, Fn=Fn, WIN=Option, Alt=Command by default.

When rebooting from another OS (Windows or Linux), on my machine it would cause chaotic mouse behaviour such that the system was unusable. The ONLY way to prevent this was to fully power down the machine every time I wanted to switch OS to macOS.

 

Link to relevant files here:

https://mega.nz/#F!1FJTTCAA!Mb8LvMN1Jj2QZAJf-2LIcA

 


That's really helpful. I will make sure to re-read your post in future when I decide to return to the macOS scene. And you are definitely correct about the guide being outdated now.

  • Thanks 1
Link to comment
Share on other sites

13 hours ago, ahmed_ais said:


That's really helpful. I will make sure to re-read your post in future when I decide to return to the macOS scene. And you are definitely correct about the guide being outdated now.

Thank you! I look forward to having you back into the project (as then I may be able to be lazier again :D)

 

Meantime, I can confirm that I can fix brightness control with the fix in post 2. Unfortunately I have only made it work as a static patch so far. Trying to figure out how to hotpatch now. Will see how it goes. If I make it work I'll update my repo with the new associated .aml and config.plist. Fair warning I may give up due to lack of time! :)

Link to comment
Share on other sites

Just a quick update for everyone:

I tried to make a hotpatch for the brightness controls, but it was too difficult and I had to give up unfortunately.

I have had some weird glitches, one of which resulted in an unresponsive macOS and static snow on my screen. Not sure what caused them, not sure how to replicate it. Certainly weird to see snow coming out of a digital output.

I now know that HDMI audio does NOT work with the FAKEPCIID HDMI audio fix anymore. I don't even know where to begin on that one, though in my particular usage case I could use that fix if anyone else wants to try tackling it.

Link to comment
Share on other sites

On 6/30/2018 at 10:38 AM, astrosynthesist said:

My CLOVER.zip file should solve this issue. It was the exact issue I was faced with after installing the kexts and it was fixed by Samuel123450.

Thanks for sharing your experience,
I did steps as follows:
1-Installed High Sierra
2-Installed Kexts in your packages directory via easy kext

3-Ran AppleHDA Script

4-Extracted Your CLOVER.ZIP file in EFI partition

but still when booting, in the middle of process, apple logo would disappear and screen goes blackish gray and FN+F1 trick of yours doesn't work here, what I missed dude?

Thanks for your time

Edited by poveissi1991
Link to comment
Share on other sites

  • 2 months later...
On 9/26/2018 at 11:17 PM, andrej55 said:

I just successfully update to Mojave. Unfortunately, I am getting some weird graphical glitches (QE / CI is working) and I have to re patch audio.

That's good to know, good job !!

Looking forward to try Mojave too but very busy at the moment :wallbash:

Link to comment
Share on other sites

  • 2 weeks later...
On 10/8/2018 at 7:19 PM, sarthak_aditya said:

were you able to solve these problems ?

Only Audio. About graphic, I think that must be something with incompatible patches, probably rebuild clover would solve this. Unfortunately I don't have time and knowledge :-/

 

On 10/10/2018 at 1:41 AM, mamislimen said:

please can you share how you do this ?

Well its actualy very simple just download it from store.

Open app and install it. 

Instalation takes about 1-1.30h. 

During installation computer will restart few times. 

After instalation you will see many more new boot options. Select one without addons. 

Your mac partition wil be  converted to new format. Due compatiblity problems I sugess you to the convert APFS partition back to HFS+J with this application: https://www.paragon-software.com/home/apfs-hfs-converter/

 

For audio you can try: sudo touch /System/Library/Extensions && sudo kextcache -u /

If this doesn't work simply install lates voodoHDA

Screenshot 2018-10-09 at 17.55.00.png

Edited by andrej55
Link to comment
Share on other sites

On 10/18/2018 at 1:14 AM, andrej55 said:

Only Audio. About graphic, I think that must be something with incompatible patches, probably rebuild clover would solve this. Unfortunately I don't have time and knowledge :-/

 

Well its actualy very simple just download it from store.

Open app and install it. 

Instalation takes about 1-1.30h. 

During installation computer will restart few times. 

After instalation you will see many more new boot options. Select one without addons. 

Your mac partition wil be  converted to new format. Due compatiblity problems I sugess you to the convert APFS partition back to HFS+J with this application: https://www.paragon-software.com/home/apfs-hfs-converter/

 

For audio you can try: sudo touch /System/Library/Extensions && sudo kextcache -u /

If this doesn't work simply install lates voodoHDA

Screenshot 2018-10-09 at 17.55.00.png

 

For graphics I'm using whatevergreen kext with -wegbeta -lilubetaall boot flags and was able to solve the glitches problem but after restarting unless i use "sudo touch /System/Library/Extensions && sudo kextcache -u /" my sound doesnt work and glitches are there too

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...
  • 4 weeks later...
On 10/20/2018 at 11:32 AM, sarthak_aditya said:

 

For graphics I'm using whatevergreen kext with -wegbeta -lilubetaall boot flags and was able to solve the glitches problem but after restarting unless i use "sudo touch /System/Library/Extensions && sudo kextcache -u /" my sound doesnt work and glitches are there too

It looks like installing lates FakePCIID+FakePCIID Intel HD solve problem with graphic glitches. 

 

UPDATE 1: You need to turn of SIP if you want to FakePCIID work.

On 1/9/2019 at 5:03 PM, shanttu said:

I was about to start installation but noticed the brightness problem. Can you change the brightness from mac settings or is permanently glowing full 100%? 

 

I already have a usb wifi card so thats not an issue.

Simply download app Brightness  

Edited by andrej55
Link to comment
Share on other sites

  • 5 months later...
  • 3 weeks later...
  • 1 month later...
On 8/16/2019 at 1:08 AM, artas182x01 said:

As this guide is a bit outdated I decided to refresh guide with new better kexts, patches. My configuration works on latest macOS Catalina DP5 and Mojave.

https://github.com/artas182x/Y510p-OS-X

SMBIOS MacbookPro 11.1 don't work this config. I have changed MacbookPro 11.2 it's ok. Can you share clover? I'll compare settings.

Link to comment
Share on other sites

  • 3 weeks later...
 Share

×
×
  • Create New...