Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by ahmed_ais

  1. 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 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 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 2. Preparing a Partition for OS X 3. Increasing EFI Partition Size 4. Preparing OS X USB Installer 5. Installing OS X 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: 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 6.2 Audio 6.3 Ethernet (LAN) 6.4 Wi-Fi 6.5 Bluetooth 6.6 Proper CPU Power Management 6.7 Sleep 6.8 Brightness 6.9 Battery Management 6.10 Keyboard and Touchpad 6.11 Enabling SSD TRIM 6.12 USB 3.0 Links & Downloads Need HELP?? Credits Sfairat, Mirone, intruder16, useletters, Rehabman, Mieze, vusun123, EMlyDinEsH, many more .... Change Log
  2. That's good to know, good job !! Looking forward to try Mojave too but very busy at the moment
  3. 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.
  4. 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
  5. I don't have a modded bios so I don't know for sure what does the tables (DSDT and SSDTs) look like or how different they are from the stock. You could compare the tables and see if there's any change that affect any patch and if that is the case, you might need a special SSDT-HACK files
  6. Speaking of myself, I stopped updating this guide since Sierra 10.12.x and I'm still using 10.11.6 on my machine. However, many have had success with Sierra and beyond on this computer and as you said you will find useful information hidden. Just read the most recent posts since 10.13 was released and you will be good to go. It is tempting to say that I will give it a try and intend to update the guide one day but as you see this laptop is getting old (almost 5 years old) and a lot of people already moved on to other newer computers.
  7. Hello everyone, I have a laptop(Lenovo Y510p) and I have a problem to get its Nvidia card working with OS X Yosemite. As the hardware configuration is unusual, I will make an introduction of the graphics system on this laptop first. Introduction The laptop mentioned above have three (yes three) graphics cards: Intel HD Graphics 4600 Mobile NVIDIA GeForce GT 755M (internal / built-in) NVIDIA GeForce GT 755M (external and connected through ultrabay) It is important before I go further to describe clearly how these are configured. The laptop is in gaming category and that's why there are two Nvidia cards which are able to work in SLI mode in Windows (I know this is not supported in OS X and I don't ask about it). The laptop can run in three graphics modes (using stock BIOS of course): UMA (Intel card only): this is achievable when the external card is removed and the UMA option is selected in BIOS so the built-in Nvidia card is disabled. Dedicated: this is achievable when the external card is removed and the Dedicated option is selected in BIOS so the built-in Nvidia card is enabled. In this scenario, the built-in Nvidia card works somehow (but not exactly) like Optimus with the display being handled by Intel card. No Intel: this is achievable when the external card is connected so the BIOS will offer no graphics options at all. In this case, the built-in Nvidia card is the main for display and external Nvidia card is only available as a possible way for SLI if activated. Not every configuration of this laptop comes with external graphics card but for those who have it like I do, the third graphic mode above certainly allow for completely disabling Intel card. Therefor, this thread is NOT to discuss Nvidia Optimus and that OS X will never utilize it, this is a totally different case. The easiest way for me to install and use OS X Yosemite was to remove the external card and disable the internal Nvidia card using BIOS (or SSDT) so I rely only on Intel HD4600 which have a fix for Yosemite. Due to a problem we have with that fix for HD4600 that seems impossible to fix, I decided to ditch the Intel card and to try get Nvidia card working with Yosemite. These are few questions (and their answers) that I hope they clarify the situation: Q: What are you seeking? A: To enable Nvidia built-in card (which is not Optimus and is fully connected to display) in OS X Yosemite, in the absence of Intel card Q: Even if you successfully did, what do you expect to get from the external card? A: Nothing. It will not work in SLI mode of course and it is not connected to display. Q: So why do you mention / use this card at all? A: Because it is the only way to disable Intel card completely without flashing a modded BIOS. Q: Can you prove that using the external card will disable Intel card completely? A: Definitely yes. Here's a screenshot from MSI Afterburner software with the mentioned configuration: The two Nvidia cards are almost identical and the differences between them can be seen from the image below. There are not much difference between them AFAIK. The problem with OS X Yosemite So I connected the external card and so Intel card is disabled and booted to Clover. As expected, Clover read only one card (the built-in Nvidia) and no sign of Intel card. I have no clue why the external card does not appear in Clover but OS X will see it after boot as I will show later on. So now I should know the proper Clover configuration for boot-args, graphics injection, and SMBIOS. I am not sure about any of these and it is the main question for this thread. I tried few things to be able to boot and some of them actually worked: Used SMBIOS: iMac 14.2 because one of the macs in this set actually have Nvidia GT 755M so it should be more compatible (frankly Macbook Pro 11.1 worked too). Disabled dropping any ACPI table (i.e. use native tables because Nvidia may not be happy with IGPU patches I used to use before while using the Intel card) Ticked Inject Nvidia (I tried with and without) Ticked Inject EDID (I tried with and without) Set FakeID: 0x10DE0FE9 (other FakeID I tried 0x10DE0FEA and 0x010DE0FE4 and both are for 750M) Add boot-flag: nvda_drv=1, NVidia=False, npci=0x2000 (I tried all combinations) Boot without caches With some of this combinations I was able to boot OS X with Nvidia running the display: Both Nvidia cards were recognised but the built-in card with VRAM = 0 MB the ultrabay card with a whooping VRAM = 2048 MB. This image is for the built-in card (the one connected to display): This one next is for the external (ultrabay) card: Now I don't know why the external one have full VRAM but the built-in card have 0 MB since both are almost the same chip. I think, since the external is correctly configured then I should not use any FakeID since it is natively supported by OS X but then I didn't have success to get the card working without any FakeID. I'm sorry for the lengthy thread and all these images but I thought it is better to give all information I have. I would appreciate any help getting this to work correctly. I attached the native ACPI tables and my IOREG (with the mentioned configuration / no Intel). Thanks in advance. ACPI.zip IOREG.zip
  8. I hope so but I'm afraid it's not that simple. You might wanna take a good read here: http://www.insanelymac.com/forum/topic/304933-help-fixing-lenovo-y510p-nvidia-gt-755m-on-os-x-yosemite-10102/.
  9. With pleasure Just follow the steps mentioned here (https://github.com/ahmed-ais/Y510p-OSX-AppleHDA) and you will have working audio. It's a tried and proven method. This is encouraging, I will try this some time soon. Thanks for the tip! Mentioned in the guide already and no; there is a problem having it fully working. Although macOS can boot using the built-in Nvidia GPU (only for those who have 2nd ultrabay GPU), the driver does not load correctly. Something is missing, and most importantly community interest as such hardware configuration is rare. Take a look here for more information (http://www.insanelymac.com/forum/topic/304933-help-fixing-lenovo-y510p-nvidia-gt-755m-on-os-x-yosemite-10102/) No. Fake means something different than the truth, obviously. The mobile HD4600 GPU has id=0x04168086 which IS NOT supported in macOS. The desktop HD4600 GPU which has id=0x04128086 IS supported, however. This is why we instruct Clover to camouflage our not supported iGPU as another one that is supported. We need to set FakeID as 0x04128086.
  10. Once you realize that this is a hackintosh and that once upon a time this laptop did not even have the basic stuff like proper graphics, you will get over the small things like that. I'm sorry to call it small things but when you say "everything working except audio", I thought you have a problem getting audio to work then it turns out that audio is actually working on your setup but you just don't like the way volume is changed. This is something a real mac user may complain about (or not) but for a hackintosher, I don't think so. Regarding kexts, use whichever one that will give you the nicer results. Totally up to you.
  11. This is unfortunate. However, I suggest you start clean. Reinstall while wiping OS X partition and literally follow the guide here and you will have the results you want. If you have the same hardware as I do, you should expect to have the same output if you follow exactly the same steps. Note: you don't need to make multiple quotes, just quote what is relevant and nothing more to keep the topic clean. Thanks.
  12. Hi, I'm sorry but I'm still on 10.11.x El Capitan and I have decided earlier to skip Sierra. So I can't be much of a help, sorry again, I hope someone else would.
  13. Regarding the VGA port, no. Now for the third monitor, I found this after a primitive search: Plugable USB to VGA Video Graphics Adapter for Multiple Displays up to 1920x1080 Some reports this works under Mac OS as well, not sure about hackintosh though.
  14. Sorry I was busy of late ... do you still have the problem?
  15. I hope you guys have had your problems solved. I'm sorry I'm of no help but I don't use Sierra ....
  16. Yeah and a quick search on eBay showed results for Y510p LVDS cables but not any result for eDP cables. Another search led me here which say the same thing: it is an LVDS. Why would Windows and Linux say otherwise? I really wanna know !! Unless, the graphics source is genuine eDP but the display is LVDS and there's some kind of bridge device that connects between the two. PTN3460 is an example of this: If that's the case, I think it could be related to the problem we have where macOS sees the built-in display as external. It could be that Nvidia driver (for mac) is not working fine with that bridge (why IGPU driver works fine with the bridge? no idea). [just a thought]
  17. It is not only the fan but actually the thermal compound as it is the main reason why temp go high. Mine idles at ~ 5*C without load and fan don't engage at this point so I guess the cleaning service is profitable if I'm brave enough of course. I disagree. ACPI tables are part of BIOS and EC's (including fan control) are often properly implemented and controlled in ACPI. It is a matter of choosing terms which BIOS seems very wide and not too much specific if that is what you mean. I already did some google search and found some promising work for HP (Rehabman's work as usual) but there are other success stories out there. Yea it needs experience in EC and although I don't have such experience, I would still try and dig in even with learning curve ... EDIT: forgot to say, Welcome back .. good to know you are still here
  18. ahmed_ais

    It's time to say Goodbye!

    Sad to read this but I wish you all the best ..
  19. Yea that's bad !! What's worse, I'm afraid I would forget to re-connect something or where to connect it ... just the idea of tearing my precious apart is terrifying !! Just out of curiosity, are you able to even read information about fan (anything not just speed) in any other OS? I can't get any information about it under Windows using AIDA64 or SpeedFan. Like if the sensor for the fan is missing or not properly implemented in BIOS.
  20. Something that I want to do but a bit scared:
  21. I won't comment on the graphics issue because I don't use Sierra as I said before so no idea. For the fan control you can use HWSensors to get information about fan but if you want to override its settings then you could take a good read here (ps: advanced topic).
  22. Hmm ... I'm on stock BIOS ATM. So were you able to boot into OS X this way?
  23. That's very interesting .. would you share more info on how you did that?