Jump to content
xpamamadeus

[Guide] Gigabyte Z77X UD5H Clover UEFI Install/Tweak guide

472 posts in this topic

Recommended Posts

Hi to all.

I like to share my Guide about this great board.

 

 

 

 

Table of Contents

UEFI SETUP

DSDT

SMBIOS

CLOVER

KEXT

INSTALLING OSX (MAKING UEFI CLOVER INSTALL USB)

CREDITS

 

 

 

 

1.UEFI setup

 

First of all we will be using F14 or F15r version in this guide soo be sure u are using this version. Load EUFI defaults before setup using this guide.

If u are using F15r version its all same.

Note for F15R

DON’T TOUCH fast boot options!!

If u touch them just once u can have some strange problems.

Only way to fix this problems its to reflah F15r again,sry no clear cmos or some other trick for fix this for now.

Main bios screen.

 

Zv0hmJQ.jpg

 

 

 

Under Advanced frequency Settings set your X.M.P. profile if your modules have one. Or set desired frequency manually here.

 

EkifMzk.jpg

 

Set your Max OC settings like I do for my but put your values.

 

My oc are 4.7 ghz soo if your its 4.5ghz then u use 45,45,45,45 etc…

Very important to SetCPU PLL Overvoltage to disabled, or we have problems with USB after wake from sleep!

 

Vvkh2wT.jpg

 

Set your desired CPU voltage here,u need it only if u overclock your CPU.

 

pkhgk14.jpg

 

PWM control for my overclock.(Can be auto if u don’t overclock over 4.4-4.5 Ghz) this its for more stability under overclock.

 

rvcxNyC.jpg

 

Pheripherals set all like on picture here.

 

93y0BST.jpg

 

Power management change settings like this.

 

46ITH23.jpg

 

Most important bios settings for Clover are here

gCQlky6.jpg

DSDT

 

 

Be sure u don’t boot your osx with already modded DSDT,and if u use clover be sure u don’t patch DSDT on the fly.

Set this in clover GUI soo we are sure u get clean dsdt!

vZV15h6.jpg

 

We will use MaciASL u can download it from here.

 

After download install application and run it,go to preferences and add sources like this.

 

UnWGaFN.jpg

 

http://pjalm.info/repos/gigabyte

http://pjalm.info/repos/graphics

 

 

Go to iASL and choose ACPI 5 then hit update.

 

cwHfviT.jpg

 

 

Close preferences.

 

Go to main window and press patch

 

Next choose Pjalm Gigabyte

Under it choose Z77X-UD5H and press apply.

Next choose patch for your Graphics adapter.

If u have Discrete Ati/nvidia choose Generic Descrete Graphics

If u have only Intel integrated then choose one of them and click apply,then close.

 

Now from File menu save it on desktop or elswere with DSDT name and format ACPI machine language binary.

 

z5xNUqX.jpg

 

Later u will put your patched DSDT in folder “EFI/Clover/OEM/Z77X-UD5H/UEFI/ACPI/patched

 

 

 

3. SMBIOS

 

We will use macMini 6,2 smbios for this board but we need to generate a own serial for this board.

Download Chameleon wizard for here.

Check premade SMBioses and select MAC Mini (6,2)

Press random on unique number and generate a serial.

 

LtvhjLI.jpg

 

We will use this serial in our config.plist

Check clover config next page.

4.Clover

 

We will just run setup/select our OSX system drive (my its named ML) and choose options like on this picture.

 

wnQx4RN.jpg

 

After installing Clover to our ESP setup will automatically mount it on desktop under name EFI

 

Now we must make some changes for you in clover settings.

 

First of all we will be using PlistEditPro for editing these settings.

 

 

Open EFI/EFI/CLOVER/OEM/

And u will found “SystemProductName” first of all we will rename this to our board name like this “Z77X-UD5H”

 

Now using PlistEditPro open config.plist under Clover/OEM/Z77X-UD5H/UEFI/config.plist

 

Original untouched sample looks like this.

 

2wqp5NN.jpg

 

Now we will delete what we don’t need here because clover automatically select many things right for our board/system.

Under ACPI delete all but GenerateIvyStates and change it to YES.

 

<key>ACPI</key>
<dict>
<key>GenerateIvyStates</key>
<true/>
</dict>

 

 

Under PCI set all to NO like this.

 

<key>PCI</key>
<dict>
<key>InjectClockID</key>
<false/>
<key>USBFixOwnership</key>
<false/>
<key>USBInjection</key>
<false/>
</dict>

 

 

 

SMBIOS add serial number we generated,product name,and Firmware features to looks like this.

 

<key>SMBIOS</key>
<dict>
<key>FirmwareFeatures</key>
<string>0x80001437</string>
<key>ProductName</key>
<string>Macmini6,2</string>
<key>SerialNumber</key>
<string>C02L76OLDWYN</string>
</dict>

 

Under Rtvariables find MBL and change it to your serial and after serial add 5 more numbers off your choice to looks like this.

 

<key>RtVariables</key>
<dict>
<key>LogEveryBoot</key>
<string>Yes</string>
<key>LogLineCount</key>
<string>3000</string>
<key>MLB</key>
<string>C02L76OLDWYN65832</string>
<key>MountEFI</key>
<string>OSX</string>
</dict>

 

SystemParameters

 

 

<key>SystemParameters</key>
<dict>
<key>InjectSystemID</key>
<string>Yes</string>
<key>boot-args</key>
<string>slide=0</string>
<key>prev-lang:kbd</key>
<string>en:0</string>
</dict>

 

KernelAndKextPatches

this will add TRIM support too.

 

 

<key>KernelAndKextPatches</key>
<dict>
<key>AppleRTC</key>
<false/>
<key>AsusAICPUPM</key>
<false/>
<key>Debug</key>
<false/>
<key>KernelCpu</key>
<false/>
<key>KextsToPatch</key>
<array>
<dict>
<key>Find</key>
<data>
QVBQTEUgU1NEAA==
</data>
<key>Name</key>
<string>IOAHCIBlockStorage</string>
<key>Replace</key>
<data>
AAAAAAAAAAAAAA==
</data>
</dict>
</array>
</dict>

 

or second version if u wanna use MacPro 5.1 for some reason the add this.

 

<key>1</key>
<dict>
<key>Find</key>
<data>
cgoATWFjUHJvNCwxAE1hY1BybzUsMQBY
</data>
<key>Name</key>
<string>AppleTyMCEDriver</string>
<key>Replace</key>
<data>
cgoAAAAAAAAAAAAAAAAAAAAAAAAAAABY
</data>

 

 

 

 

 

 

 

Leave other things for now like they are and save from file menu.

Later u can choose another themes etc.

 

5.KEXT

 

We will be using FAKESMC for this setup with some plugins and modifications wich will give you working both network adapters and marvel sata.

Download fakesmc from kozlek site.

 

3uvKGRv.jpg

 

Now put this file on desktop and extract it.

Binaries 5.1.67.zip

We need some of those files and some can be deleted.

Leave only those on picture.

Note:If u use only HD 4000 then dont use GPUSensors.kext!

 

1aisBpO.png

 

Next open fakesmc like this

 

mxVleWL.png

 

open Contents and create new folder named Plugins

 

vlOygQe.jpg

 

Next download Ethernet.zip

Put it in folder binaries on desktop.

 

Now copy all those files to folder fakesmc/plugins we created earlier

JFoto8N.png

 

Next open info.plist under fakesmc and add marvel sata injection like this.

 

WzpurYX.jpg

 

<key>IOKitPersonalities</key>
<dict>
<key>Marvell 88SE9172</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleAHCIPort</string>
<key>Chipset Name</key>
<string>88SE9172 AHCI</string>
<key>IOClass</key>
<string>AppleAHCI</string>
<key>IOPCIClassMatch</key>
<string>0x01060100&0xffffff00</string>
<key>IOPCIPrimaryMatch</key>
<string>0x91721b4b</string>
<key>IOProbeScore</key>
<integer>15000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>Vendor Name</key>
<string>Marvell</string>
</dict>
<key>SMC Device Emulator</key>

 

Save changes.

 

Now we have ready fakesmc.kext and we can copy it to EFI/CLOVER/OEM/Z77X-UD5H/UEFI/KEXT/10.8 on our EFI

 

RWpCMGk.png

For audio u will need to install patched applehda,I will not going to write about this since i am using cheap usb audio card and I am using original applehda.

 

6.INSTALLING OSX (making UEFI Clover install USB)

 

We will need hack or Mac to make make this happens,8 GB USB stick(preferred USB 3 for speed)

First mount clean untouched InstallESD.dmg from your appstore mountain lion installer version 10.8.3 like this.

 

 

s0edGpo.png

 

Then go to Contents/SharedSupport and double click on InstalESD.dmg

Next start Disk utility

Choose your USB stick,and then click partition.

Change partition layout: to 1 partition

Then Click option and choose GUID partition table ,click ok.

Choose Format to Mac OS Extended (Journaled),and hit apply,then partition.

Now your USB should look like this.

 

iBacPzh.png

 

Next we will restore InstallESD.dmg to our newly formatted USB stick.

Using Disk Utility choose MAC OS X install ESD

Next choose tab restore.

 

TIigCMN.png

 

 

then drag your Untitled 1 to destination.

 

TjRZKXT.png

 

Next click restore,and then erase and wait till finish.

Unmount all of your MAC OS X install ESD then replug your USB stick.

 

Now mount your EFI of your USB stick using terminal and type

1. “diskutil list”

 

Q6AMHv9.jpg

 

2. type “mkdir /Volumes/efi”

3. And then “sudo mount -t msdos /dev/disk5s1 /Volumes/efi” it will ask u for a password type it and u should have EFI of your USB mounted.

 

Copy complete EFI we created in this guide to this location.

Must look like this

tZu6dR3.png

 

Now when u boot choose UEFI +(name of usb stick) from boot menu .

Clover should start.

Next we have Mac OS X Install ESD option and we select it and we press space and choose option Withkext

First stage of setup should start and we install OSX, setup will restart.

After restart we again boot from USB and choose Install OSX option,press space and choose NoCaches With Kxt option.

Setup will now finish stage 2 and again restart.

Again boot from USB and select name of your new installed OSX and press space choose with kext.

U will get to desktop and now u can start installing Clover like describen in this Guide.

Good Luck!!

 

 

None of this its my work I just put it together in one place.

 

config.plist.zip

FakeSMC.kext.zip

 

Credits

 

All credits goes to

Slice,Dmazar ,Apianti JRCS and others from http://www.projectosx.com/ for best bootloader in world

Toleda and PJALM for providing nice and easy to use DSDT patches.

phpdev32 for MaciASL

Kozlek https://bitbucket.org/kozlek/hwsensors for fakesmc and plugins

Shailua for Atheros LAN kext

hnak for Intel LAN kext

And many others for tweaks to fakesmc and many other tweaks, sry if I forgot add someone .

 

 

This its my first guide, sry for bad English and look of this guide.

 

Xpam.AmAdEuS

Share this post


Link to post
Share on other sites
Advertisement

Fix for firewire bug when CSM disabled.

 

When we disable CSM we get alot of this error in Console

FW GUID in system is 00000000000000

VanillaCracker post this driver on another forum to fix this error.

FirewireDriver.efi.zip

U need just put it into drivers64UEFI folder.

 

Now we dont have this error anymore in Console,and ioreg looks like this

rVQ4EVk.png

There its no invalid 000000000000 GUID here.

Share this post


Link to post
Share on other sites

Hi !

 

Thanks for your guide ! Now I know I was doing some bad things regarding my installation.

 

One question: can I create my USB ML installer and then install Clover with the procedure you describe but over the USB installer ?

 

Thanks again !

Share this post


Link to post
Share on other sites

Hi !

 

Thanks for your guide ! Now I know I was doing some bad things regarding my installation.

 

One question: can I create my USB ML installer and then install Clover with the procedure you describe but over the USB installer ?

 

Thanks again !

Yes u can make usb like this with same settings.

U must have emuvariableUEFI driver only for USB install,and this file its not needed later for HDD install,i will update guide with this later.

USB dont need any RC scripts too soo its a little diferent.

Share this post


Link to post
Share on other sites

As I know Gigabyte Z77 boards don't need DSDT (Sleep, powermanagement workin' natively)

Am I wrong?!

Ofcourse u r right.

Sry for distruping u.

Share this post


Link to post
Share on other sites

Ok. Now i understand what you have done. Simply injected Graphics via DSDT!

But for example 6xxx series works natively wo DSDT patch or GE=Y. It's needed to re-inject?

 

I appologise for confusion...

Share this post


Link to post
Share on other sites

Ok. Now i understand what you have done. SImply injected Graphics via DSDT!

But for example 6xxx series works nativeli wo DSDT patch or GE=Y. It's needed to re-inject?

 

I appologise for confusion...

this patch inject HDMI audio not only Graphics.

Share this post


Link to post
Share on other sites

xpamamadeus I thought you might like to look into this. I have a friend who runs SSDs on his hackintosh as well and he uses OCZ SSDs, I think you will find that since OCZ uses its own garbage collection system you do not need TRIM support on your SSDs. I do on mine cos they are Samsung, but I am 99% certain you do not.

Share this post


Link to post
Share on other sites

xpamamadeus I thought you might like to look into this. I have a friend who runs SSDs on his hackintosh as well and he uses OCZ SSDs, I think you will find that since OCZ uses its own garbage collection system you do not need TRIM support on your SSDs. I do on mine cos they are Samsung, but I am 99% certain you do not.

U are right about OCZ ssd-s.

But patch its here in config soo others can use it,and it cannot do any harm to OCZ ssd-s.

Share this post


Link to post
Share on other sites

Thanks for this great guide.

I followed exactly but my system hangs during boot with 'waiting for DSMOS'

 

Any suggestions would be appreciated.

Share this post


Link to post
Share on other sites

Hi, I followed this guide and I'm now booting with Clover!! :)

 

Quick question, do your front USB3.0 ports work? Is there an extra kext that's needed for these ports? I thought the patched DSDT would fix it, however it hasn't.

 

Thanks, Ed.

Share this post


Link to post
Share on other sites

Thanks for this great guide.

I followed exactly but my system hangs during boot with 'waiting for DSMOS'

 

Any suggestions would be appreciated.

Are we talking about setup or installed system?

If its setup then first time we start setup we press space and choose with kext.

If its setup stage 2 then we choose with kext without caches.

If its wotking system then we choose with kext and when system start we install fakesmc to S/L/E.

 

Hi, I followed this guide and I'm now booting with Clover!! :)

 

Quick question, do your front USB3.0 ports work? Is there an extra kext that's needed for these ports? I thought the patched DSDT would fix it, however it hasn't.

 

Thanks, Ed.

Yes front USB 3 ports work OOB.

Only needed thing its to make DSDT and using one of IvyBridge smbios.

 

I am suggesting that use macmini6,2 if u use integrated vga only or integrated + discrete vga.

I cannot suggest to use macmini6,2 if we use only discrete vga.

imac13,2 work best if we use discrete vga only !

But with Imac13,2 we have only 3 power states but that its normal becouse imac have theese this by design.

Share this post


Link to post
Share on other sites

I am getting strange and unpredictable results and think I need to start over.

How do I do a complete uninstall of all Clover files?

I erased the ESP, deleted rc.local and rc.shutdown.local but when I try to do a fresh Clover install, it still remembers the preferences and efi files from the previous install. End up with the same strange behavior. Are there additional files to delete for a clean wipe?

Share this post


Link to post
Share on other sites

I am getting strange and unpredictable results and think I need to start over.

How do I do a complete uninstall of all Clover files?

I erased the ESP, deleted rc.local and rc.shutdown.local but when I try to do a fresh Clover install, it still remembers the preferences and efi files from the previous install. End up with the same strange behavior. Are there additional files to delete for a clean wipe?

clean nvram

sudo nvram -c from terminal

Share this post


Link to post
Share on other sites

clean nvram

sudo nvram -c from terminal

That solved it.

My system is now running well with Clover :)

 

Thanks for your help!

Share this post


Link to post
Share on other sites

Hi again !

 

I'm having trouble with power management. At boot I get the error about unknown CPU 0x3a: power management could be incomplete or unsupported. I'm getting only 2 states (16 and 35). Before I was getting six states (12, 22, 29, 35, 40 and 45).

 

I've tried with 10.8.3 and 10.8.4. I've also tried different Clover versions (1794 and self-compiled versions). I've followed this guide but OSX refuses to detect my CPU properly.

 

Any tips or ideas ?

 

Thanks in advance!

Share this post


Link to post
Share on other sites

Hi again !

 

I'm having trouble with power management. At boot I get the error about unknown CPU 0x3a: power management could be incomplete or unsupported. I'm getting only 2 states (16 and 35). Before I was getting six states (12, 22, 29, 35, 40 and 45).

 

I've tried with 10.8.3 and 10.8.4. I've also tried different Clover versions (1794 and self-compiled versions). I've followed this guide but OSX refuses to detect my CPU properly.

 

Any tips or ideas ?

 

Thanks in advance!

 

Drop OEM SSDT.

 

key>ACPI</key>

<dict>

<key>DropOemSSDT</key>

<true/>

</dict>

Share this post


Link to post
Share on other sites

Drop OEM SSDT.

 

 

key>ACPI</key>

<dict>

<key>DropOemSSDT</key>

<true/>

</dict>

 

Thanks for your fast reply !

 

I'll try this afternoon. By the way… what does BIOS F16c include and/or add ?

 

Cheers !

Share this post


Link to post
Share on other sites

Hi, and thanks for this guide!

 

I´m trying to follow it but with macmini6,2 profile it doesn´t boot it stays at the verbose output without loading Windows Manager. With imac13,2 there is no problem, any ideas?

 

My specs:

Z77X-UD5H (rev 1.1) F16c

eVGA GTX660 TI

i7 3770k (not OCed)

Clover 1794

 

Bios HD400 enabled with 64MB

Display connected to HD4000 DVI-D

 

Thanks

Share this post


Link to post
Share on other sites

I´ve solved the problem.

 

I changed HD4000 memory to 32MB in bios and I've also made some changes in IGPU _dsm in dsdt:

 

 

		 Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
	 {
		 Store (Package (0x06)
			 {
				 "device-id",
				 Buffer (0x04)
				 {
						 0x66, 0x01, 0x00, 0x00
				 },

				 "AAPL,ig-platform-id",
				 Buffer (0x04)
				 {
						 0x0A, 0x00, 0x66, 0x01
				 },

				 "hda-gfx",
				 Buffer (0x0A)
				 {
					 "onboard-1"
				 }
			 }, Local0)
		 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
		 Return (Local0)
	 }

Share this post


Link to post
Share on other sites

Originally Posted by stasio viewpost-right.png

Update with new BIOS:

 

GA-Z77X-UD5H - F16c

- Improve system compatibility

- Apr-Jun 13

 

But it seem to be very stable beta bios.

Share this post


Link to post
Share on other sites

Can any fellow Z77X-UD5H users that also use the onboard audio and have front panel audio plugs connected please confirm if there are any issues when playing back audio?

Share this post


Link to post
Share on other sites

First and foremost I would like to thank thouroughly you for your detailed description of how to install and use Clover in combination with the Gigabyte mainboard.

 

I would be, however, even more thankful if you could share your thoughts about some points that have crossed my mind and started bothering me :-)

 

The recently published inofficial "F16c mod2" bios by Statsio for our mainboard (http://forums.tweakt...html#post457945) apparently comes with new and/or improved functions.

Do we have to consider anything with regards to your guide if we shift to that BIOS version?

 

The next point is, at least I have slight difficulties in understanding how to use your guide if I start from the scratch, that means plan to install a fresh Mac OS 10.8.x + Clover on a naked system.

I my case that means I do all the preparation stuff inside a virtual machine of Mac OS 10.8.x under VMWare that runs on Windows 8.

My first and yet unsuccessful experiences with Clover I got with BDUtility as described in that post: http://www.projectos...indpost&p=28400

 

Moreover I would like to hear a comment from you about graphic cards that are equipped with an UEFI Bios. I own some Asus GTX 680 that received a first UEFI BIOS update from Asus.

How does that concern the BIOS settings of the mainboard and does it have an influence on the steps described in your guide.

 

I wouldn' mind as well if you describe shortly if I have to consider anything special if I intend to use the audio interface of the mainboard instead

 

It would be great if you would comment on the points.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By tlefko
      macOS-Mojave-XPS13-9350
      Hello, this is a simple guide to get OS X 10.14 working on any XPS 13 9350 model
      This guide uses files from (@syscl) (albeit edited) and full credit to him for the Deploy.sh and DSDT patches. However, his Clover folder is unbootable with Mojave and thus has been redone.
      However, his Deploy is still retained but edited to remove some DSDT patches that break things on Mojave
      I did my best to keep the guide simple and for the most part it is, it's inteded for the 6200U non iris but should work with others. (credit @syscl)
      Issues
      Wake up via lid is hit or miss (sometimes needs key press) SD Card slot Restarts don't work (endless black screen while turning off but still on) Usage Notes
      USB Devices eject upon sleep (USB Patches via Deploy were major issue) Changing board number via Clover Config doesn't work always unless serial is changed (No idea..) Audio is controlled via VoodooHDA however prefpane is not nessacary. Never tested USB C anything. Charging should be fine however I'm not sure about others, don't personally use it) What Works
      Everything else! Setup Notes
      The new AFPS file system must be used, there is no way to avoid it. Has no noticeable adverse effects except slower boot time It is difficult to repartition AFPS drives and resize them, recommend clean install or you could have one partition smaller than your hard drive that can't be increased unless reformatted Although Volumes will be converted, keep drive as GUID BIOS Settings
      Set all SATA operation as AHCI Disable Secure Boot, Fast Boot For Coil Whine improvement disable C-States Enable UEFI Booting (Disable Legacy if easily confused) Recommended: Clean Install (Preinstall steps)
      Download latest Mojave version from Mac App store (Register AppleID as developer, enroll your mac, download the preview from the link onsite or google for detailed instructions. Make Bootable media (google how or download app to do it, it's just a terminal command) Download the Latest Clover revision (currently using r4568) and install it to your USB as UEFI and ESP (no need for drivers) Copy The contents of this Github repository into your EFI folder on the USB (Mount the EFI Partition via clover config, efi mounter, etc.) (No Boot Folder in EFI) If you have the same XPS Model as me you can use stock ACPI patched files (6200u, hd 520, 3200x1800,) if not delete contents of both folders (origin, patched) and will fix later via @syscls modified deploy) Installing Mojave (Clean Install)
      Boot PC off the USB, select your Installer as your Boot drive from clover menu config is currently set to FAKESERIAL and -v. I believe (@syscl's) deploy generates serial # information Once installer is loaded, go to disk utility and format as a GUID Partition Table with whatever partitions you want (Don't format whole drive to afps make sure it's GUID) Run the Mojave installer to the drive wait for it to finish, then turn off) From Clover, select the name of the Mojave Partition (not preboot, recovery, etc.) and not your USB stick either From here the installation will continue. DO NOT CLICK ON MOUSE OR KEYBOARD (crashes installer shortly after at least for me) Post Install (Clean Install)
      Reboot off your USB once again, load up your Mojave drive. First Boot will take long, if your using my ACPI files (from @sysl's deploy, edited) and have same model you should have everything out of box (except wifi) Regardless, run through the installer and set it all up. (without acpi) At this point screen should be fine, mouse, keyboard, no wifi should be present or bluetooth. No brightness control as well. go to terminal to mount EFI or via clover Config, EFI Mounter, etc, of both USB and the internal disk Copy and REPLACE the EFI folder from the USB into your hard drive. Unplug your USB and reboot and you should be able to boot without the USB now Turn off PC, boot into clover. Don't select a drive and press F4 and Fn+F4 a few times, wait a few seconds, then boot back to the drive Plug back in the USB, mount it's EFI, and run the modified Deploy Script on your Hard Drive EFI partition After deploy is finished, there will be VoodooI2C error as I deleted it from Kexts, for me it breaks Trackpad and Keyboard. For now will be using VoodooPS2. After Modded Deploy
      You should have no Internet at this point, the following next steps should resolve that. However, your Brightness, lidsleep, USB, bluetooth should be working Using your favourite Kext Installer (Put it on a USB or something to get it on the PC), install (credit @Rehabman's) FAKEPCIID and FAKEPCIID_Broadcomm texts that are included in the ManualKexts Folder Then run "Sudo kextcache -i /" from terminal, reboot, then run it again. By this point your wifi should be fixed, and everything should be done Post Install Notes
      Your welcome to transfer whatever other kexts you want to S/L/E, personally I leave them in the CLOVER Folder injected. Doing upgrade via mac app store is similar, just partitioning hard drive is harder. Apart from that same process essentially, not recommended Credits
      Credit Hackintosher.com for basic patches (although @syscl) covered some Credit to @syscl (clearly...) Credit to @Rehabman Credit to @syscl Kexts, and his contributers. ex. Lidwake.kext (although not fully compatible) Support
      Your welcome to open any issues on this thread, I personally have little DSDT knowledge so I will do my best to help! Thanks for Reading!
      - This is a clone from my GitHub, the link to the repository is below with all files
       
      https://github.com/tlefko/macOS-Mojave-XPS13-9350
       
      - I would really like to hear everyone's experience trying this guide so please let me know in the comments how it worked for you, if you plan to try it, etc.
    • By Gymnae
      Introduction
      The H370 chipset powers 8th generation Intel Core-i CPUs. Even though the name H370 rings comparable to Z370, the H370 is based on newer silicon. This it also requires some new approaches compared to the Z370. An example would be on-die USB 3.1 and WiFi support.
       
      Since this guide is not a "hold-your-hand-every-step" guide, I assume you know:
      Clover installation and configuration How to create an install medium for MacOS Access and configure the BIOS Have heard of ACPI patching (I'm a newb at this myself)  
      What works
      Sleep (via DSDT edits and emulated NVRAM) On-board Audio (via CloverALC script) Native power management (without any kext or patch) All USB ports (and only those present are active) iGPU for both acceleration and display dGPU (I'm running an Nvidia GTX 1080)  
      Untested
      NIC --> I'm using WiFi only  
      What doesn't work
      Native NVRAM via AptioMemoryFix.efi DMVT Pre-alloc higher than 64MB (but not necessary)  
      Changes to the guide:
      22.5.18: Added SSDT hot-patching to enable sleep, replacing DSDT static patching as an alternative.
      23.5.18: Add iMac18,1 as alternative SMBIOS config for those relying on the iGPU for output
      25.6.18: Added update info
      28.8.18: Smalle changes for clarity, changed info for afps loading & updated USB patch for 13.6
       
      1. Installation
      This guide heavy inspired by the work of /u/corpnewt of /r/hackintosh and his (sorta) Vanilla guide
       
      1.1 Create the install media for MacOS
      Follow this, if you are using a Mac to start off with. If you are totally new to MacOS, then please check the basic guide Creation of an installer media in windows or linux
       
      1.2 Install Clover on the install media
      Using the Clover installer, ensure you are installing to the USB medium you are using for the installer.
      Chose the following options, leaving the others on default: 
       
      UEFI driver: AptioMemoryFix UEFI driver: ApfsDriverLoader UEFI booting only Install to ESP  
      You have to get your hands on an apfs.efi. A google search can help, or extracting it from the Installer package. Make sure you procure a version matching the MacOS version you are about to install. Place the apfs.efi in drivers64UEFI.
       
      1.2 Adjust the config.plist for the installer
      You can use the config.plist attached as a guideline, but take a look at it before and at least adjust the SMBIOS - otherwise it won't boot.
      Attention: The attached plist contains audio patches introduced by a post-install step. If you run into problems, you might remove those. It also contains a manual slide value, which should normally not be needed, but works fine for me. It is also tuned for usage with an Nvidia Pascal dGPU as main GPU.
       
      The config you create now should serve you nicely for install and running the system.
       
      Take care of adding the following basics:
      SMBIOS: iMac18,3 - You can generate a serial number via Clover Configurator. The creation of a proper SMBIOS is covered in many guides to good extend Note: If you aim at using the iGPU for output, a user reported that iMac18,1 works better - since iMac18,3 produces sever flicker. Look at the graphics section and adjust the injection for Intel to your situation  
      Fixes

      Patches

      Devices

      Graphics
      Important:
      Change 0x59120003 to 0x59120000 if you don't use a dGPU as your main display Driver and instead use the iGPU for output.
      Also note. SMBIOS iMac18,1 has been reported to work better in this configuration. But 18,3 works fine for me.

      Kernel and Kext patches
       
      1.3 kexts and friends
      Add the supplied SSDT-UAIC.aml to "patched" - it limits the injected USB Ports to the actual number and ports valid for this board.
       
      Required kexts on "Other":
      FakeSMC.kext IntelGraphicsFixup.kext Lilu.kext When having an Nvidia card: NvidiaGraphicsFixup.kext IntelMausiEthernet.kext in case you're running Ethernet USBInjectAll.kext with the HCI-300-series-injector.kext --> These two should be installed to /L/E after install  
      We are leaving sound out at the moment, this is something for post-install. Please note the absence of Shiki, I don't find it necessary. Video material I tried made use of the iGPU without shiki.
       
      1.4 Check BIOS and install
      You should be ready for install. But before you reboot, please take a look at your BIOS and set it up accordingly (copied from the aforementioned guide and adapted):
      Load Optimized Defaults Disable VT-d setting If your system has Secure Boot Mode, disable it Set OS Type to Windows 8/10 or OtherOS - I have not seen a difference Turn off internal Serial and Parallel port Turn off Network stack for boot Turn off wake-on-lan (for now) Set XHCI Handoff to Enabled Don't enable decode over 4G Depending on your GPU, set priority for boot Set internal GPU to enable Set DMVT pre-alloc to 64MB Set USB legacy to enabled Activate XMP profile 1 f your Ram has it (mine doesn't and I added the timings manually) Set ERP to enable, disable platform power management (I need to do more research if this could be enabled)  
      I've attached my current BIOS config "hack2". You can place that on a fat32 drive (the EFI partition of your install USB drive might be an idea) and see if it loads. It's made for and with the F2 BIOS.
       
      The install itself should be like other MacOS Hackintosh installs with it several reboots and ensuring to select the correct boot device in Clover.
       
      2. Post-install
       
      2.1 Install clover on target
      This is a no-brainer, but install a fresh copy of Clover on your target medium.
       
      During install select again AptioMemoryFix but also additionally
      EmuVariableUefi-64.efi Install RC scripts on target volume because otherwise NVRAM doesn't seem to work
       
      After the install, copy
      config.plist contents of "Other" content of "patched" apfs.efi from drivers64UEFI to your new clover install.
       
      2.1 Edit ACPI for slumber
      Choose one option, not both. The hot-patch is experimental, but for the moment it is stable.
       
      2.1.1 Edit DSDT
      This is necessary only once on initial install and every time, you edit or upgrade the BIOS. The DSDT.aml attached to this post might work for your system or give you a file to compare to. Don't expect it to work for you, though.
      I won't go into the details of DSDT extraction and patching. There are better guides (the linked guide is a rip-off of rehabman's guide from a different forum). Please follow such a guide to extract your ACPI data.
       
      Locate and disassemble the DSDT with the newest iasl binary you can put your hands on, then open it with MacIASL in its newest version you can find (Hint: Here is a good source) You can check if the version is new enough if MacIASL doesn't throw error upon compiling a freshly extracted DSDT.aml or DSDT.dst
       
      Add rehabmans repo (as per linked guide) and apply the following patches:
      Rename _DSM to _XDSM Fix _WAK Arg0 v2 USB3 _PRW 0x6D Skylake (instant wake) Find the CNVW device and remove the _PWR function there.
       
      Compile the DSDT and place it in "patched".
       
      2.1.2 Use SSDT hot-patching
      Instead of having to re-extract and re-patch the DSDT on every BIOS change or update, Hardware change one can also use ACPI hot-patching.
      It's a combination of config.plist patches and an SSDT, which is hot-patched into the ACPI (if I understand the process correctly)
       
      You need to add this SSDT-GPRW.aml to your Clover folder in the designated position at Clover/ACPI/patched You need to add this patch to your config.plist. It goes into the DSDT patch section  
      Note: This works for me, but the patch removes the _PRW method from all devices in the DSDT. This could have side-effects. So far, I have seen none. At the moment I'm also not applying any other patch, compared with the additional edits I made to the DSDT method before.
       
      2.2 Install kexts to system
      As mentioned in the install section, it's better to follow rehabman's instruction and install USBinjectAll.kext to /L/E:
      sudo cp -R Release/USBInjectAll.kext /Library/Extensions sudo touch /System/Library/Extensions && sudo kextcache -u / 2.3 Enable onboard Audio
      This is where I'm not so happy currently, I'd like it to work without altering AppleHDA. But currently I find no other way.
       
      2.3.1 Install FakePCIID & FakePCIID_Intel_HDMI_Audio
      Rehabman tells us to use a kext installer to install it to /S/L/E. Chose the RELEASE folder
       
      2.3.2 Run CloverALC command
      Ensure your EFI partition is mounted before running this command
      Get the newest version of CloverALC command (audio_cloverALC-xxx.sh) and run it. Our Audio codec is RTL887 and I'm running with layout ID 1
       
      2.4 Optional steps
      If you have a dGPU, now it's the time to install its drivers and adjust the config.plist for it.
      This is out of scope of this guide. Yet, my supplied config.plist is ready to be used with Nvidia Pascal cards and using the Nvidia web driver.
       
      3. Updating
      Updating inside 10.3.x point updates doesn't require much attention:
      Download the update from the AppStore as any Mac would do Allow the system to reboot Before booting MacOS with Clover, make sure to disable extra drivers for dGPUs which require non-native support. If using an Nvidia dGPU: Remove "nvda_drv=1"  from your boot arguments and disable Nvidia injection If using a non natively supported AMD card, do the same for AMD (I'm not using AMD, thus I cannot be specific) Boot into the newly created Install MacOS partition Repeat this process until the Install partition is gone Boot MacOS again, still following 3., and potentially install updated drivers Your Audio might require re-patching  
      4. ToDo
      Move away from static DSDT patching to SSDT hotpatching --> requires my work Native NVRAM --> requires developer work Audio without AppleHDA patching --> requires developer work  
      5. Thanks to
      @MaLd0nfor helping finding the right way with the DSDT
      @RehabMan, for being a legend and helping me out patching
      @toleda, for audio patches for the 300 series
      /u/corpnewt, for his superb vanilla guide
      @wmchris for his super XPS 9550 guide and introducing me to hot-patching
      all the developers of clover and it's awesomeness
       
      SSDT-UIAC.aml
      config.plist
      DSDT.aml
      hack2
    • By MaLd0n
      Now have a Olarila Folders app, just download app and clover folder for your Chipset! Download Folders.app   ***The topic is for Notebooks and Desktops***   Youtube MacOS Install Guide 2018 - Mojave - HighSierra - Sierra - ElCapitan -Mojave Full DSDT patch http://olarila.com/forum/viewtopic.php?f=59&amp;t=6428 First... ***Update bios to last available version!***   If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app     Look at my Clover folders and understand what we really need, this is the best way to learn     1-Installation     --Create a bootable copy of macOS Sierra / High Sierra / Mojave   https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick   https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder    https://olarila.com/files/Clover.Folder/CLOVER.SERIES.100.200.300.zip   --Install Sierra/High Sierra and boot into system! 2-Post Installation     --Install Clover in HDD/SSD and replace with my folder   https://olarila.com/files/Clover.Folder/CLOVER.SERIES.100.200.300.zip   --Reboot and activate video!   3-Video     -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/   -Nvidia WebDriver High Sierra   http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/   -Cuda   http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   -Check it, easy way   nvidia-update.command.zip by Benjamin-Dobell   4-DSDT       Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC* -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS* -BLC0 -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -IMEI -EC -PNLF(Nvidia/AMD) -HDMI ---To avoid problems use some patches in config.plist, don't forget!--- GLAN to GIGE 474c 414e 4749 4745 GFX0 to IGPU 47465830 49475055 HDAS to HDEF 48444153 48444546 HECI to IMEI 48454349 494d4549 SAT0 to SATA 53415430 53415441 5-SSDT   Generate your SSDT for PM, use ssdtPRGen by Piker-Alpha https://github.com/Piker-Alpha ssdtPRGen.command.zip   or just use "plugin-type"=0x01 in DSDT, SSDT or Clover config.plist   for check Power, Frequency, Temperature and Utilization, use it Install Intel Power Gadget.pkg.zip   6-Brightness  
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
        -Clover   https://sourceforge.net/projects/cloverefiboot/files/Installer/   -Lan driver by Mieze     -Atheros http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   -Links     -FakeSmc https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   if u like, Rate Topic     It's time to Rock -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, badruzeus and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By MaLd0n
      Now have a Olarila Folders app, just download app and clover folder for your Chipset! Download Folders.app     First... If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generated in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   --DSDT My DSDT with Skylake patches DSDT.MaLd0n GA H110M-S2.zip Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI --FakeSMC https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek --Audio https://github.com/vit9696/AppleALC --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads --LAN http://www.insanelymac.com/forum/topic/287161-new-driver-for-realtek-rtl8111/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
×