Hello everyone
So far I’ve got almost everything working (I think), except for HDMI Audio, which worked on my last installation. I’ll update the guide once I get it going again.
This guide is a work in progress. Most of it is just linking other guides, so you will have to get familiar with the Hackintosh basics first. I’ll update with more in-depth information as I can.
English is not my main language, so apologies in advance. If something’s unclear don’t hesitate to ask.
NOT WORKING:
HDMI Audio
Wi-Fi (haven’t bought the adapter. My USB adapter works fine)
USB Installer Creation
You will need a Mac for this step.
You have to follow this guide (Thanks RehabMan):
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
Some indications
· Use GPT when creating the installer (as long as you’re already using it on your laptop. I don’t know how an MBR installation would work, so this guide assumes you use GPT and UEFI)
· Use the HD520 config.plist for the installer.
· I use Lilu.kext and IntelGraphicsFixup. Not sure what they’re for, as I had no issues on my last installation, where I didn’t use them.
· I used GenericUSBXHCI. I also used SATA-100-series-unsupported.kext, attached at the bottom of RehabMan’s post.
· You have to use Realtek8100.kext (Thanks to Mieze from InsanelyMac), as this laptop uses Fast Ethernet. I used the 1.0 RC1 version as the latest ones didn’t work for me at all. I had to disable EEE as I was having some issues with it, more on that later.
· For the DMVT-prealloc size issue, I used the alternative for the minStolenSize patch by RehabMan. It’s already in the HD520 plist. Remember than when you use this, everytime you add/remove/modify your kexts you will have to rebuild your kext cache. More on this, after we get to post-installation.
Follow the guide and you’ll have installed macOS on your 5459. Let’s move onto post-installation.
Installing Clover onto your boot drive
Follow RehabMan’s guide. Or just copy the CLOVER folder on your USB drive’s EFI partition. You should be able to boot Clover from your main drive.
Devices and Kexts
For installing Kexts I’ve always used Kext Wizard. You can find it around quite easily.
REMEMBER, ALWAYS: Everytime you install or uninstall a Kext, you have to rebuild your Kext Cache. You can do this from Kext Wizard itself or from the Terminal. This is because you’re relying on Clover to patch the graphics kext, which it can only do if said kext is in the cache. If you do forget it, you can change your platform-id to an invalid one (0xwhatever) from Clover itself, and once you’re inside again you can rebuild the cache)
Power Management.
I won’t get into recommending you using Clover Configurator or a Plist editor. For this step, we’ll use Clover Configurator.
On the SMBIOS tab, choose MacBookPro13,1. It’s the one that works best for me. Save and Reboot.
Once you’ve rebooted and your Hack is recognized as a MacBook Pro, follow this guide (Thanks RehabMan) to implement power management. This is very important, as it manages your CPU power/speed states.
Battery
This one’s easy. I just use RehabMan’s ACPI Battery Driver kext found in here. (Thanks, once again, to RehabMan).
Once you install it (remember to rebuild your kext cache), you’ll get the battery indicator working.
Touchpad
You should have the touchpad working more or less flawlessly with RehabMan’s VooodooPS2Controller you used in the USB Installer. There’s another driver, with more configuration possibilities here. (Thanks to EMlyDinEsH) but it hasn’t been updated since some time ago. The creator is working on an update, so be sure to try that out once he’s done. Meanwhile, I’m still using RehabMan’s. I’ve had some weird issues with sleep, but I haven’t looked into them that much.
If you want to adjust some of the functionalities and the speed/sensitivity of the trackpad, you can install and use this prefPane.
Audio
I use InsanelyDeepak’s patched AppleHDA, which you can find here. Look for the ALC255 version.
You have to inject audio ID 13 on your config.plist. You can do so at the Devices tab of Clover Configurator.
Now that you’ve got audio working, you’ll probably get distorted audio on the headphone jack. I fixed it with the CodecCommander (https://bitbucket.org/RehabMan/os-x-eapd-codec-commander/downloads/) kext.
Backlight control / Lid sleep
Follow this guide.
I didn’t customize the brightness levels, as it works fine for me.
Keyboard / Fn Keys
Some FN keys work sort of out of the box. But I use Karabiner-Elements to bind them as I want, without the need to use the Fn Lock.
DSDT Patching
On my second install, I didn’t need DSDT patching for anything. But if you get into it…
I’m not really sure how it works, and if this applies to everyone with this laptop. But after disassembling my DSDT and trying to build it again after making some changes (I was mistakenly implementing backlight control via DSDT, which was not needed anymore), the only error I had was the one RehabMan helped fix here.
HDMI Audio
As I mentioned earlier, I haven’t been able to get into fixing HDMI audio for this laptop. But on my last installation, I got it working by using a Clover kext patch that I got from ioreknanou at tonymacx86. You can find it here. It’s called “Laptop Intel HD 520 HDMI Audio”. Thanks to him.
Wi-Fi
I haven’t bought a compatible Wi-Fi adapter yet. I’m using a cheapo USB wi-fi adapter.
I’ve heard the Broadcom BCM94352Z is one of the recommended choices for hackintosh. This laptop uses M.2 wifi, so you’ll need to look for one of those.
Ethernet
Ethernet should work with the RTL8100 kext I linked earlier. But I’ve had some weird issues. Sometimes I get disconnected, without being able to get an IP. I can’t get it to work again unless I reboot the laptop. I suspected it was EEE (Energy Efficient Ethernet) which you can disable in the Kext’s plist. The weird part is that it kind of fixes itself sometime after you install it, it kind of “settles in” and works without hiccups.
Also, be sure to check that the Ethernet device shows as en0 (you can check that in DPCIManager among other apps). If it doesn’t, you’ll have trouble with some Apple domains and other stuff. To fix it, everytime you install/reinstall the kext you have to delete the Adapter from the prefPane, and add it again after you install and reboot.
Latin American Keyboard Layout
This is obviously optional. I don’t know if this laptop’s model is Latin American only, but mine has a LATAM Keyboard Layout, which you can get working by using this (Thanks to neosergio). It’s easier to just paste the command on the Github page onto the terminal.
And once again, thanks to everyone I referenced and linked. Without their work, I wouldn’t have been able to get my hackintosh working.
[link] [comments]
Post a Comment