Contribute
Register

[Guide] GA-Z97MX-Gaming 5 + i7-4790k + GT 740 4GB + 32GB DDR3

Joined
May 6, 2015
Messages
58
Motherboard
GA-Z97MX-Gaming 5
CPU
i7 4790k
Graphics
GTX 1080ti SC2
Mac
MacBook Air
Mobile Phone
iOS
Thanks to ammulder, tonymac, toleda.

Changelog

v2 [06-Oct-2015]: HDMI audio. Extra clover screenshots.
v1 [04-Oct-2015]: Original post.

Hardware list

1. Intel Core i7-4790K
2. Cooler Master Hyper 212 EVO
3. Gigabyte GA-Z97MX-Gaming 5
4. EVGA GeForce GT 740 4GB
5. Crucial Ballistix Tactical 32GB Kit (8GBx4) DDR3
6. Samsung 500GB 850 Evo SSD
7. IOGEAR Bluetooth 4.0 GBU521
8. TP-LINK TL-WDN4800 PCI-e Adapter
9. Corsair CS550M 550 Watt ATX Modular PSU
10. Nanoxia Deep Silence 4 Mini Tower
11. Apple wireless keyboard
12. Apple wireless mouse

Working so far

1. Graphics via PCI-e (sans Flash on Safari).
2. WiFi networking (I don't have use for cables on 2015).
3. Bluetooth (keyboard and mouse automatically recognized on login screen).
4. iCloud sync.
5. Almost working HDMI sound. Works fine in general, but Flash videos seem to cut off randomly.

TODO

1. HDMI audio fix for flash videos on Safari, Firefox. A little more testing.
2. Proper power management, whatever that means.
3. Benchmarks with Yosemite and GPU.
4. Test iMessage/Facetime.

STEP 1: Download OS X El Capitan


1. Open Mac App Store on your old Yosemite installation or real Mac.
2. Log in with your Apple ID.
3. Download OS X El Capitan.

The Application Install OS X El Capitan will appear in /Applications.


STEP 2: Prepare Bootable USB Drive

This step extracts the OS X Installer contents, then installs Clover bootloader to the USB stick.
I used an USB 3.0 16 GB flash drive.

1. Insert the USB drive
2. Open /Applications/Utilities/Disk Utility
3. Highlight the USB drive in left column

usb.png

4. Click on the Partition tab
5. Click Current and choose 1 Partition
6. Click Options...
7. Choose GUID Partition Table
8. Under Name: type USB (if you use a different name you'll have to chance the command in step 12)
9. Under Format: choose Mac OS Extended (Journaled)
10. Click Apply then Partition
11. Open /Applications/Utilities/Terminal
12. Type the following, enter password and hit enter. This command completely erases the USB, then creates native OS X installer media from the Install OS X El Capitan Application.

Code:
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
Screen Shot 2015-07-09 at 4.45.26 PM.png

Upon completion, the USB will be renamed Install OS X El Capitan.

13. Download the latest version of Clover from source forge (I used Clover_v2.3k_r3270).
14. Open Clover package installer.
15. Hit Continue, Continue, Change Install Location...
16. Choose the USB, now called Install OS X El Capitan.
17. Hit Customize and install Clover to the same USB.

Screen Shot 2015-10-04 at 3.15.13 PM.png
Screen Shot 2015-10-04 at 3.15.49 PM.png

18. Navigate to /EFI/CLOVER/ and replace default config.plist with the one inside attached config.plist-Standard-LATEST.zip.
19. Navigate to /EFI/CLOVER/kexts and delete all folders, except for Other. You can try to use the folder named 10.11 as expected, but I had trouble with that and my previous install of Yosemite.
20. Navigate to /EFI/CLOVER/kexts/Other/ and add FakeSMC.kext
21. Navigate to /EFI/CLOVER/kexts/Other/ and add NullCPUPowerManagement.kext
22. Navigate to /EFI/CLOVER/drivers64UEFI/ remove VBoxHfs-64.efi and add HFSPlus.efi.


Your Clover Installation USB is now finished.

STEP 3 (Optional): Prepare EFI partition on install drive

This is only useful if you are going to install over an existing Yosemite instance. In my case, both with Yosemite and El Capitan, for reasons unknown, and don't have time to waste finding out, every single time, after installing OS X, my USB drive's EFI partition is no longer recognised, which means I have to either repeat last step OR use the EFI on install (internal) drive.
Since I no longer have access to a real mac (sold my Mac Mini to get back into the hackintosh world), I spent around 3 or 4 hours trying to figure out how to boot after this.

Things that came to my mind were a VM loaded with any flavour of OS X, or borrow a real mac.

In the end I performed a manual EFI copy from a Windows boot (on same PC) but it's not recommended and should be the last resource, power user method, since it involves a combination of HFS+ software and command line inputs.

So, if you are in the same dilemma as me, or know that will probably get into one, better test NOW if your USB drive can boot correctly, and if so, back off the installation, get back to your old Yosemite instance and update the EFI partition (basically, delete the EFI folder inside, but be careful if you have a Windows folder; leave it intact) by doing the same as last step, starting from #14 and switching USB to internal EFI partition.

The thing is, my old EFI from Yosemite couldn't boot El Capitan installation (or, the rest of it), so that's why I had to leave it as a clone of my USB EFI partition.
The error I had was "OsxAptioFixDrv: Error - requested memory exceeds out allocated relocation block".

STEP 4: Install El Capitan

I won't go into detail about doing this.
If I can edit OPs as a regular used, my intent is to update this guide with the TODOs and also post some images of my BIOS configuration.
I used a couple saved configurations, same I used for Yosemite, and they worked wonders.
Basically one sets GPU to internal Intel, other sets GPU to GT 740.

1. Turn off computer.
2. Insert the USB drive, preferably on USB 2.0 port (I used a frontal one).
3. Set BIOS configuration (I'm using F4 btw) to use internal graphics card. I didn't have to disable any Virtualisation option ever, neither had to remove any RAM sticks, neither had to remove video card. Basically all was connected (even both mini-HDMI for GT 740 and HDMI for internal HD4000 GPU).
4. Remove bluetooth adapter and use a regular USB keyboard and mouse from now on.
5. Boot from UEFI USB.
6. Install El Capitan. Reboot, keep on configuring it (see Step 3 if after reboot the USB drive is not recognised, specifically, its UEFI partition needed to boot), until you reach login screen and can actually login to your fresh install.

That's it. At this point my screen was flickering like crazy every 3-4 seconds, maybe due to using the internal GPU.

STEP 5: Clone EFI partition from USB to internal (Test internal boot)

If you already did this on step 3, then there is no reason to re-do. But for the sake of it, I did.
So follow Step 3 (delete EFI folder is it exists, etc). It's basically Step 2 starting from #14.

1. Turn off computer.
2. Remove USB drive.
3. Start computer.
4. Start BIOS utility, set boot device to the internal UEFI partition.
5. Start El Capitan.

If everything went fine, you just booted from internal drive and no longer require the USB. Otherwise, then put back the USB drive and check Clover installation on the internal EFI partition.

STEP 6: Post-Installation: GPU and System definitions

This is where the though part is and where you start, one by one, enabling all the hardware that is not working at this point. For me, it was the GT 740.

1. Download and install the alternate graphics drivers from NVIDIA (I'm using 346.03.02f0).
2. (Optional) Download and install CUDA if you need it (I'm using 7.5.20).
3. Download clover configurator (I'm using 4.24.0 Vibrant Edition).
4. Mount your internal EFI partition (thanks to Apple you have to resort to the manual way or create a bash script and invoke it every time, instead of doing the Debug trick on Disk Manager app), via:

Code:
diskutil list
mkdir /Volumes/EFI
sudo mount -t msdos /dev/[B]disk0s1[/B] /Volumes/EFI
disk0s1 is just an example, and you should check which one is yours via the first command. Chances are, since you're using the El Capitan drive as primary in the first port, it should be the same.

5. Open Clover configurator and open config.plist from the internal EFI partition you just mounted.
6. Configure what you need, specially the booting of NVIDIA drivers, since you installed them already and no longer need to inject Intel.

Screen Shot 2015-10-04 at 23.41.56.png
Screen Shot 2015-10-04 at 23.42.55.png
Screen Shot 2015-10-04 at 23.43.20.png

7. Save changes, reboot.
8. Load BIOS utility and set primary GPU to GT 740.
9. Reboot and load from internal UEFI partition.

At this point you should have a working El Capitan installation, using the GT 740.

STEP 7: Post-Installation: HDMI Audio via GT 740

Original guide here. I'm basically posting what I needed.

1. Download and install IOReg (use "View Raw" link).
2. Open IOReg:
a) Search for string "display".
b) Write down your display ID (e.g. PEG0, P0P1, P0P2, NPE3)

Screen Shot 2015-10-06 at 20.18.15.png

3. Download your corresponding SSDT's zip, according to #2.
4. Rename downloaded SSDT to SSDT.aml.
5. Mount your internal EFI partition.
6. Copy SSDT.aml to /EFI/CLOVER/ACPI/patched. If SSDT.aml already exists, then read the original guide. It shouldn't exist if you followed these very same instructions on this thread, as I never copied anything there.
7. Reboot.

At this point you should have HDMI audio working.
 

Attachments

Stork

Admin
Staff member
Joined
Sep 21, 2010
Messages
13,447
Motherboard
ASUS ROG MAXIMUS X HERO Z370
CPU
i7-8700K
Graphics
RX 580
Mac
MacBook Pro, Mac mini, Mac Pro
Classic Mac
Power Mac, PowerBook
Mobile Phone
iOS
I recommend that you don't attach tony's config.plist-Standard-LATEST.zip as tony will, no doubt, update it in his El Capitan Post Install Tools pkg. See Step 5: Post Installation with Clover of his guide for more information.
 
Joined
May 6, 2015
Messages
58
Motherboard
GA-Z97MX-Gaming 5
CPU
i7 4790k
Graphics
GTX 1080ti SC2
Mac
MacBook Air
Mobile Phone
iOS
I am sorry! USB 3.0 not worked on 3.0 only concetrator in mode USB 2.0!
Beg your pardon? Did you write something then edited the post? :crazy:

Anyway, like I think I wrote in the guide, it's better to stick the stick :)D) on the USB 2.0 port. I wish I had put some more tidbits on how I got things done, but despair and lack of time made me just try a lot of desperate measures (specially Step 3 when I lost the ability to boot from USB and had deleted my previous install and had no available recent backup!!!) and then I wrote the guide after I was done, and I wrote it from the working installation of course.
 
Joined
Dec 23, 2012
Messages
21
Motherboard
Intel
CPU
i7 4790k
Graphics
980ti
Mac
Classic Mac
Mobile Phone
Hi,

Normally when installing Yosemite in the past (non-clover) I only had to set the nv_disable=1 flag and I could install fine until I got the NVidia web drivers installed.

I had a go at a fresh install of El Capitan (unibeast clover) last night. I made the USB with unibeast. When installing I set the nv_disable=1 flag. It went to the installer no problem and installed. The second part of the install goes well with the same flag, but when I try to boot the final install with the same flag it just reboots my computer. I have similar hardware to you. Am I missing something when trying to do the final boot into El Capitan? I must say, this is my first install with a clover based loader.

Z97 Gaming 7 and 4790k CPU. 980ti
 
Joined
May 6, 2015
Messages
58
Motherboard
GA-Z97MX-Gaming 5
CPU
i7 4790k
Graphics
GTX 1080ti SC2
Mac
MacBook Air
Mobile Phone
iOS
Hi,

Normally when installing Yosemite in the past (non-clover) I only had to set the nv_disable=1 flag and I could install fine until I got the NVidia web drivers installed.

I had a go at a fresh install of El Capitan (unibeast clover) last night. I made the USB with unibeast. When installing I set the nv_disable=1 flag. It went to the installer no problem and installed. The second part of the install goes well with the same flag, but when I try to boot the final install with the same flag it just reboots my computer. I have similar hardware to you. Am I missing something when trying to do the final boot into El Capitan? I must say, this is my first install with a clover based loader.

Z97 Gaming 7 and 4790k CPU. 980ti
I'm not sure how unibeast-clover works.
To be honest since I came back to the hackintosh world (Yosemite), I've only used Clover.
Used Multibeast (godfather of Unibeast?) in the past with Lion and ML.
I cannot tell you much about flags because clover is different, everything is handled in a plist and if you want, like me, you use the GUI configuration utility to change things.

If you take a look at the config (attached), all I do before I install the drivers is

Code:
[FONT=Menlo]<dict>[/FONT][FONT=Menlo]        <key>Inject</key>[/FONT]
[FONT=Menlo]        <dict>[/FONT]
[FONT=Menlo]            <key>ATI</key>[/FONT]
[FONT=Menlo]            <false/>[/FONT]
[FONT=Menlo]            [B]<key>Intel</key>[/B][/FONT]
[FONT=Menlo][B]            <true/>[/B][/FONT]
[FONT=Menlo]            <key>NVidia</key>[/FONT]
[FONT=Menlo]            <false/>[/FONT]
[FONT=Menlo]        </dict>[/FONT]
[FONT=Menlo]    [/FONT][FONT=Menlo]</dict>[/FONT]
Which tells the loader to enable the default Intel HD drivers, but then before that last reboot (drivers installed), I use the configurator to disable that and never enable anything else (which IIRC is because the GT 740 is recognised as a "legal" card on Yosemite+.

Code:
[FONT=Menlo]    <dict>[/FONT]
[FONT=Menlo]        <key>Inject</key>[/FONT]
[FONT=Menlo]        <dict>[/FONT]
[FONT=Menlo]            <key>ATI</key>[/FONT]
[FONT=Menlo]            <false/>[/FONT]
[FONT=Menlo][B]            <key>Intel</key>[/B][/FONT]
[FONT=Menlo][B]            <false/>[/B][/FONT]
[FONT=Menlo]            <key>NVidia</key>[/FONT]
[FONT=Menlo]            <false/>[/FONT]
[FONT=Menlo]        </dict>[/FONT]
[FONT=Menlo]        <key>NvidiaSingle</key>[/FONT]
[FONT=Menlo]        <false/>[/FONT]
[FONT=Menlo]    </dict>[/FONT]
You don't post any more info, what problems (booting with -v?), what is the "final boot" you talk about...
I'd suggest if possible, to get rid of anything Unibeast and just try this guide or any other guide, with clover from time zero.

And nj working sound ALC1150 please explaine install realtek alc1500!
What do you mean. Step 7 explains how to enable sound via HDMI. Are you trying to enable the back ports, or what problems did you have with Step 7?
 
Joined
May 27, 2012
Messages
10
Motherboard
Gigabyte GA-Z97MX Gaming 5
CPU
i5-4690K
Graphics
GTX 960
Mac
Mac Pro
Mobile Phone
iOS
Hi,

Really good guide - If you want to configure LAN or audio http://www.tonymacx86.com/yosemite-...0-mhz-ddr3-onboard-graphics-using-clover.html.

Everything's working for me but I have a problem report (Panic with com.apple.iokit.IOAcceleratorFamily2 in backtrace) on each start even though I had no problem before. Do you have something similar ?

And nj working sound ALC1150 please explaine install realtek alc1500!
Just try this link https://github.com/toleda/audio_RealtekALC and drag'n drop the sh script in the terminal and follow the instructions.
When you reboot your sound card is recognised by OSX.
 
Top