Hi there, hackintoshers! I've already written a Sierra guide for that laptop, but here's a High Sierra one!
Before we start, I'd like to say a huge "Thank you!" to RehabMan, who helped me to patch my SSDTs to disable the discrete AMD GPU. Without him, I would be still sitting here with Sierra.
Specs of the laptop
Intel Core i5-6200U (working fast and stable)
Intel HD 520 / AMD Unsupported HD GPU (Intel HD 520 working, AMD needs to be disabled in order to boot)
8 GB RAM (Very good for macOS, working without issues)
1 TB SATA HDD (working)
Realtek ALC3234 (working)
Intel 3160 WiFi card (not working and probably never will be)
Realtek 81XX fast Ethernet (working)
Web Cam (I don't know the model but it just works)
2 USB 2.0 ports, 1 USB 3.0 port (all of them working)
SD Card reader (unsupported)
Now, what software works:
Sleep / wake work fine even with native power management
Battery percentage works fine, though batter doesn't last very long
Trackpad gestures aka tap to click, two-fingers scrolling work. Right click doesn't work, but tap with two fingers for right click works fine.
Power management for the CPU works fine with an SSDT generated by ssdtPRGen
Display brightness works out of the box
Let's start!
First, we need to create the USB installer for macOS High Sierra. To do that you'll need:
A real Mac or and existing Hackintosh
Internet connection on the mentioned Mac / Hackintosh
An USB Hard Drive larger than 8 GB
Time and brains, of course
Here's a step-by-step explanation of how to make the USB installer:
Download the Install macOS High Sierra app from the App Store
Format the USB drive with GUID Partition table, macOS Extended (Journaled) filesystem, and name "USB" without quotes
Open the Terminal and paste the following command:
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ macOS\ High\ Sierra.app --nointeraction
After the command in terminal writes "Done.", download the CLOVER bootloader modified by RehabMan from here WARNING: the original CLOVER without RehabMan's modifications will not work for High Sierra.
Use the CLOVER installer to install CLOVER to the USB drive. Be sure to select "Install for UEFI booting only" in the "customize" section of the installer
You'll see a new partition called "EFI" in Finder. Open it, and go to EFI --> CLOVER folder
Now, we'll need to get a config, configuration file which is needed to boot macOS (and edit it a bit). You can download a config for the following laptop from here
Now, edit the config. First, search for "DropOem" in a plist editor (A free one is apple's Xcode available in the App Store) and set its value to false (if using Xcode - set value to NO). Than, search for "AutoMerge" and set its value to true (YES if using Xcode). Finally, search for "LayoutID" in the "Audio" section and set its value to 28. And finallest final, add an entry called "SSDT-DiscreteSpoof.aml" to SSDT --> SortedOrder
Now, since we have a config, let's get "kexts" which are short from "Kernel Extensions" and are actually macOS drivers similar to Windows and Linux ones. Here, I start a new part - kexts.
Kexts
As mentioned before, you'll need to add kexts in order to boot. First, open the "kexts" folder in the CLOVER folder and remove every folder from the "kexts" folder leaving only one named "Other". In the other folder, create a folder called "Post-Install". There, we'll place kexts that are not needed to install macOS, but are needed to boot the already installed macOS. So, in the "Other" folder, we need the following kexts:
And in the "post-install" folder, place the following kexts:
Drivers64UEFI
Now, we're finished with kexts, let's get to drivers for the CLOVER bootloader. In the CLOVER folder, open the Drivers64UEFI folder and delete everything from there instead of OsxAptionFix2Drv.efi. After deleting, put HFSPlus.efi there.
SSDT
Now, add the following files to /CLOVER/ACPI/patched:
BIOS Settings
Yeah, as you guessed we finished preparing our installer. Now, go to BIOS on the laptop, and set "Boot Mode" to "UEFI". That's it.
Let's booooooooot!
Yeah. Boot from the USB and you'll see the CLOVER bootloader welcoming you! Go to its options, graphics injector, and change ig-platform-id to 0x12345678 instead of 0x191B0000 and boot from the "Install macOS High Sierra" USB. You'll see the Apple logo and the installation screen welcoming you!
Installing
On the Welcome screen of the installer, choose your language and open Disk Utility. Format a partition with the macOS Extended (Journaled) filesystem and close disk utility. Now, open the Installer, select the partition, and wait.
After about 3 minutes, your laptop will reboot and you'll see a new boot option in CLOVER called "Boot macOS Install from <your partition name>. Change ig-platform-id to 0x12345678 again, and boot from there. You'll see the macOS installation being finished and than your laptop will reboot again. Finally, boot into the macOS Install using the "Boot macOS from <your-partition-name> boot option in CLOVER (don't forget to change ig-platform-id to 0x12345678!).
Post-installation
Finally, we need to get a lot of stuff to work. Though that's simple. Just move the kexts from the "post-install" folder to the "Other" folder and reboot (change ig-platform-id to 0x12345678, I promise that's the last time to do that). Now, you'll have Audio, Ethernet and Graphics working. Though to fully fix graphics, you need to run the following terminal command:
sudo touch /System/Library/Extensions && sudo kextcache -u /
That will rebuild the kext and kernel caches of macOS. After it's done, reboot without changing the ig-platform-id and hooray, graphics work! Now, final steps:
Download ACPIBatteryManager.kext, and place it to /System/Library/Extensions using the Finder.
Open the Terminal and paste the following:
sudo chmod 755 /System/Library/Extensions/ACPIBatteryManager.kext && sudo chown root:wheel /System/Library/Extensions/ACPIBatteryManager.kext && sudo touch /System/Library/Extensions && sudo kextcache -u /
That will fix the battery percentage. Now, fix the ctrl key by opening System Preferences --> Keyboard --> Modifier Keys --> Change "Command" to "Control" and "Control" to "Command"
Fix Trackpad right click by going to System Preferences --> Trackpad --> Double tap to right click
Reboot, and in status bar you'll see a battery icon. Right click it and select show battery percentage to show the percentage near the icon.
Finally, mount your EFI partition and copy the CLOVER folder into the EFI folder there, and add a boot option for CLOVER in BIOS (and move it to the top so the laptop automatically starts CLOVER on boot)
Huuuuuh, I wrote that.
I literally spent two hours writing that guide. Though, everything seems to be understandable and right. If you think something is wrong, or you have issues booting or fixing something, just comment here and I'll try to help. Now, bye.
P.S. I just updated 10.13.0 --> 10.13.1 and everything works fine, so don't worry about that update.
Written with love to hackintosh, Apple, macOS and hackintosh developers by ArtikusHG.
[link] [comments]
Post a Comment