Jump to content
xpamamadeus

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

465 posts in this topic

Recommended Posts

@D-an-W and @stuppy_ I believe the problem is more related to Mac OS. As far as I am aware WoL from Power Off ACPI State (S5) is not supported on Mac (if someone knows otherwise please speak up). On systems that support it and are setup correctly WOL will work to wake a computer from a S5 state when you send it a magic packet.

 

As a sidenote, an interesting quick test I just did was that I can send a magic packet to "wake" from from powered off state if I shutdown From Windows 8.1 x64, but if I attempt to do the same after i have shut down from OS X 10.10.5 (booted via clover) it will not work. This is from the same PC, with the Z77X-UD5H  Rev 1.1 motherboard, and I am sending the magic packets to the onboard Intel NIC over the local network. I have not tried it from 10.11 as I haven't got around to upgrading yet. I'm more a Windows/Linux person than Mac, so someone more knowledgeable may be able to provide more information. But perhaps this may give you idea of what direction to start from. One more thing I should mention, is I actually do have WoL Enabled in my BIOS settings, but it doesn't cause any kind of shutdown problems for me from Yosemite, Windows, or Linux Mint.

Share this post


Link to post
Share on other sites
Advertisement

@D-an-W and @stuppy_ I believe the problem is more related to Mac OS. As far as I am aware WoL from Power Off ACPI State (S5) is not supported on Mac (if someone knows otherwise please speak up). On systems that support it and are setup correctly WOL will work to wake a computer from a S5 state when you send it a magic packet.

 

As a sidenote, an interesting quick test I just did was that I can send a magic packet to "wake" from from powered off state if I shutdown From Windows 8.1 x64, but if I attempt to do the same after i have shut down from OS X 10.10.5 (booted via clover) it will not work. This is from the same PC, with the Z77X-UD5H  Rev 1.1 motherboard, and I am sending the magic packets to the onboard Intel NIC over the local network. I have not tried it from 10.11 as I haven't got around to upgrading yet. I'm more a Windows/Linux person than Mac, so someone more knowledgeable may be able to provide more information. But perhaps this may give you idea of what direction to start from. One more thing I should mention, is I actually do have WoL Enabled in my BIOS settings, but it doesn't cause any kind of shutdown problems for me from Yosemite, Windows, or Linux Mint.

So, what about waking from a sleep state (not shutdown) in OS X? I'm sure I have previously tried enabling WoL in the BIOS settings, enabling 'Wake for Ethernet network access' in System Preferences > Energy Saver and then using a WoL app from my phone to wake it. It just didn't do anything at all.

 

edit: hm, anyone else having issues waking from sleep in 10.11.2? I got a kernel panic immediately after wake: as usual, I woke it using the USB keyboard and then had to hit a button again to get the screen to wake up. Seemed like I got a limited amount of time at the login screen (could start to type my password etc.) before the machine rebooted itself. Saw it a few times but decided to go back to 10.11.1 for now, really didn't feel like trying to diagnose it or living without sleep functionality.

Share this post


Link to post
Share on other sites

So, what about waking from a sleep state (not shutdown) in OS X? I'm sure I have previously tried enabling WoL in the BIOS settings, enabling 'Wake for Ethernet network access' in System Preferences > Energy Saver and then using a WoL app from my phone to wake it. It just didn't do anything at all.

 

edit: hm, anyone else having issues waking from sleep in 10.11.2? I got a kernel panic immediately after wake: as usual, I woke it using the USB keyboard and then had to hit a button again to get the screen to wake up. Seemed like I got a limited amount of time at the login screen (could start to type my password etc.) before the machine rebooted itself. Saw it a few times but decided to go back to 10.11.1 for now, really didn't feel like trying to diagnose it or living without sleep functionality.

No issues with Sleep here through the updates from 10.11.2 and 10.11.3.  Maybe it has something to do with a particular device connected to your machine via USB?

Share this post


Link to post
Share on other sites

No issues with Sleep here through the updates from 10.11.2 and 10.11.3.  Maybe it has something to do with a particular device connected to your machine via USB?

Could be worth trying it out with only a USB keyboard (and Bluetooth trackpad) connected, I suppose. But usually the only USB devices I have connected are a keyboard, mouse wireless dongle and DAC. I tried 10.11.3 the other day too, and instead of a KP every time I woke it from sleep, it would just KP randomly every so often (but fairly frequently).

 

I'm pretty much at the end of my tether; at the stage where I'd like to get a nice 15" rMBP soon enough and stay on 10.11.1 until then. If finances delay that and I have the time, I might try a fresh install of El Capitan on the hackintosh.

 

Essentially it seems quite likely that 10.11.1 is the end of the road for this particular hackintosh endeavour. It's possible that all these issues could be fixed somehow but I do get rather fed up of constantly having issues that need diagnosing.

Share this post


Link to post
Share on other sites

I replaced OsxAptioFixDrv-64.efi with OsxAptioFix2Drv-64.efi and ALL my panic on wakes were gone, which are you using?

I'm using OsxAptioFixDrv-64.efi. A magic fix... could it be? :o

 

I have a feeling there was some reason I didn't use Fix2 instead initially. Anyway, I can try switching to Fix2 and see if it breaks anything with my current setup. If it doesn't, I can then try the 10.11.3 update again. But that wasn't panicking on wake, that seemed to be more random. It did it once after waking (but it was some time after, not immediate like it was on 10.11.2) but another time it did it when I had fresh booted the machine and not put it into sleep at all.

 

e: I really should update my signature, although part of me likes seeing it for history's sake :D

 

e2: switched to AptioFix2Drv and then updated to 10.11.3. So far, no kernel panics and sleep worked fine when I tested it (normally I still leave the machine on 24/7). So it seems like the mythical 'easy fix' might exist in this case.

Share this post


Link to post
Share on other sites

FYI - when I updated to 10.11.4 on this system I had to redo my audio kext that was in /Library/Extensions.  I'm using theracermaster's script (here: https://github.com/theracermaster/Gigabyte-GA-Z77X-DSDT-Patch)so I just re-ran the "--inject-hda" function.  This fixed my audio.

 

If I had to suspect, I think the symlink in the kext generated from the script got corrupted/broken.

Share this post


Link to post
Share on other sites

I'm too scared to try it yet, I might wait until the 10.12.1 update.

 

Then again, this may be the end of the hackintosh road for me. I'm pondering a platform upgrade to Skylake and I don't know if I can be bothered with setting it all up again, diagnosing the issues, and having to think about component compatibility for macOS. Might be time to pick up a rMBP.

Share this post


Link to post
Share on other sites

Sierra is working fine for me. Upgraded directly from the App Store

Share this post


Link to post
Share on other sites

Sierra is working fine for me. Upgraded directly from the App Store

Are you using the Nvidia web drivers or does the GTX 660 work natively?

Share this post


Link to post
Share on other sites

This is the F16 bios with the firewire driver added. It should work fine but proceed at your own risk etc. 

 

It is based on the GA-Z77X-UD5H - F16 -20.Aug 13 bios.
 
Firewire EFI driver was added using UEFITool v0.21.4, nothing else in bios has been changed.
Sandy Bridge GOP video driver was removed from bios to free up space so DO NOT use this if you have a Sandy Bridge processor. If you have an Ivy Bridge Processor then this is fine (example 3770k etc).
 
Other than that change it is the same as the F16 Bios obtained from the tweaktown post of previous beta bios list for the Z77XUD5H.

 

When you have a chance after testing it please let me know how it works for you  :)

 

I have attached the bios

 

Edit: I had originally posted a bios file with the Sandy Bridge GOP Driver removed. However in the interest of this being useful to more people and less chance of someone making a mistake I chose to change the attachment to the F16 Bios with just the firewire driver added. So this 'Z77XUD5H-Firewire.F16.zip' will work for anyone with ivy or sandy bridge. I have tested this new version myself and it seems to works fine.

Sorry to bring this thread back from the dead...but I was wondering if you would be able to mod a newer version of the BIOS based on the latest beta.  Gigabyte released about 6 months ago F16h, which fixes some sort of security vulnerability with the system.

 

EDIT: I'm using the new F16h (beta, but official) and everything is fine.  In fact, booting to Clover is faster now, for some reason.

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 ludufre
      Installing macOS Mojave 10.14.6 on Gigabyte Z370N WIFI + i7 8700K + UHD 630



      Changelog:
       
      09/01/2019 15:57h GMT-0
      - Updated to 10.14.6.
       
      06/10/2019 00:44h GMT-0
      - Completely rewritten.
       
      10/17/2018 08:12h GMT-0
      - Fix Kexts permissions commands adjusted.
      - Removed FrameBuffer patch that is not needed.
      - Added audio solution and HDMI.
      - Unfortunately DisplayPort does not work.
      - Replaced Wifi/BT with DW1560 (BCM94352Z)
       
      10/11/2018 04:15h GMT-0
      - Added USB 3.0 patch.
      - Adjusted some steps.
      - Changed text formatting.
       
      10/11/2018 03:42h GMT-0
      - Added missing UEFI configuration.
       
      10/07/2018 00:36h GMT-0
      - First version.
       
      What works and what does not
       
      - Processor: Intel Core i7-8700K ->  Work. All SpeedStep stages.
      - Video Card: Intel UHD 630 ->  Work. QE/CI and Metal.
      - Chipset: Intel Z370 ->  Work.
      - HDMI 2.0 (1st) ->  Work.
      - HDMI (2nd) ->  Work.
      - DP ->  Not tested yet.
      - Audio: ALC1220 ->  Work.
      - HDMI Audio ->  Work.
      - WiFi/Bluetooth ->  Not work. Replaced with BCM94360CS2.
      - Ethernet (1st) ->  Work.
      - Ethernet (2nd) ->  Work.
      - USB3.0 ->  Work.
      - Sleep ->  Work.
      - Airdrop, Handoff, Instant Hotspot and Continuity ->  Work after replaced wireless.
       
       
      Todo
       
      - Make audio work.
      - Make HDMI audio work.
      - Test DisplayPort.
      - Make second ethernet work.
      - Replace Wifi/Bluetooth.
      - Test DP.
       
      What you need to install

      - Running install of macOS
      - One USB flash drive of 8GB or bigger
      - macOS Mojave install app
      - Clover Configurator
      - Clover EFI
      - Clover Configurator
      - Some KEXTs and SSDT patches


      How create create the install flash drive
       
      Prepare install flash drive

      Format the flash drive with GUID partition mapping and name it "Install".

      - Open Disk Utility.
      - Click in View, then "Show All Devices".
      - Select the destination flash drive, then Erase.
      - Name: Install, Format: Mac OS Extended (Journaled) and Scheme: GUID Partition Map
       
      Create install flash drive

      Open terminal and run this command:
      sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction This will take about 30 minutes. / 8 minutes with USB 3.0
       
       

      Install bootloader

      Download the CloverEFI (used 5058, from Automated Clover Builds) and install with this options on "Install macOS Mojave":
       
      - Install for UEFI booting only
      - Install Clover in the ESP
      - UEFI Drivers - Recommended drivers (check all)
      - UEFI Drivers - Human Interface Devices (check all)
      - UEFI Drivers - FileVault 2 UEFI Drivers (check all, If you are going to use FileVault)
      - UEFI Drivers - Additional drivers - NvmExpressDxe (if you are going to use NVMe)


       
       
      Make things works
       
      We'll make a full working flash drive, so follow these instructions:
       
      Will be mounted the EFI partition of the flash drive.
       
      Open the the /Volumes/EFI/CLOVER/config.plist inside this new partition with Clover Configurator (used 5.5.0.0)
       
      Important modifications
       
      config.plist
       
      ACPI Page
       
      - Check: SSDT - PluginType
       
      BOOT Page
       
      - Add: Arguments - darkwake=2
      - Check: Legacy - XMPDetection=Yes
       
      KERNEL AND KEXT PATCHES Page
       
      - Check: KernelPm
       
      RT VARIABLES Page
       
      - Change: CsrActiveConfig - 0x3E7
       
      SMBIOS Page
       
      - Change: Macmini8,1 - Mac mini (Late 2018) | Intel Core i7-8700B @ 3.20 GHz

       
      - Click: Generate New (few times in the two buttons)

       
       
      Need some Kexts in the folder /EFI/CLOVER/kexts/Other/
       
      - Download the HWSensors 3 from here. I used the FakeSMC.kext, ACPIMonitor.kext, ITEIT87x.kext and IntelCPUMonitor.kext inside of DMG version r240.
      - Download the Lilu.kext from here. I used the version 1.3.8.

       
      Intel UHD 630
       
      ACPI Page
      - Uncheck: Fixes - AddHDMI
      - Uncheck: Fixes - FixDisplay
      - Uncheck: Fixes - FixHDA
       
      GUI Page
      - Change: Screen Resolution - 3840x2160 (My monitor is 4K)

      Need a Kext in the folder /EFI/CLOVER/kexts/Other/
       
      - Download the WhateverGreen.kext from here. I used the version 1.3.1.

       
      Audio ALC 1220 and HDMI audio

      BOOT Page
      - Add: Arguments - alcid=11

      DEVICES Page
      - Change: Audio - Inject - 11
      - Uncheck: Audio - AFGLowPowerState
      - Uncheck: Audio - ResetHDA

      Need a Kext in the folder /EFI/CLOVER/kexts/Other/
       
      - Download the AppleALC.kext from here. I used the version 1.4.0.

       
      All USBs (2.0, 3.0, Type-C, internal)
       
      KERNEL AND KEXT PATCHES Page - KextsToPatch
       
      - Name*: com.apple.iokit.IOUSBHostFamily
      - Find* [HEX]: 83FB0F0F
      - Replace* [HEX]: 83FB3F0F
      - Comment: USB Port Limit Patch 1 PMHeart/DalianSky
      - MatchOS: 10.14.x
       
      - Name*: com.apple.iokit.IOUSBHostFamily
      - Find* [HEX]: 83FB0F0F
      - Replace* [HEX]: 83FB3F0F
      - Comment: USB Port Limit Patch 2 PMHeart/DalianSky
      - MatchOS: 10.14.x
       
      - Name*: com.apple.driver.usb.AppleUSBXHCI
      - Find* [HEX]: 83FB0F0F
      - Replace* [HEX]: 83FB3F0F
      - Comment: USB Port Limit Patch 3 PMHeart/DalianSky
      - MatchOS: 10.14.x
       
      - Name*: com.apple.driver.usb.AppleUSBXHCI
      - Find* [HEX]: 83FF0F0F
      - Replace* [HEX]: 83FF3F0F
      - Comment: USB Port Limit Patch 4 PMHeart/DalianSky
      - MatchOS: 10.14.x
       
      Need a Kext in the folder /EFI/CLOVER/kexts/Other/
       
      - Download the USBInjectAll.kext from here. I used the version 2018-1108.
       
      Need SSDT patch in the folder /EFI/CLOVER/ACPI/patched/
       
      - Download the SSDT-EC.aml, SSDT-UIAC.aml and SSDT-USBX attached bellow.
       
      Wifi and Bluetooth (BCM94360CS)
       
      Works out of box (plug 'n' play).
       
       
      LAN Cards
       
      Need a Kext for feach card in the folder /EFI/CLOVER/kexts/Other/
       
      - Download the IntelMausiEthrenet.kext from here. I used the version 2018-1031.
      - Download the SmallTreeIntel82576.kext attached bellow. I do not remember where I found it.

       
      Now you can start the instalation without problem (I guess).
       
       
      How install
       
      UEFI Setup Configuration and Installation

      UEFI configuration
       
      - Shutdown and insert the flash.
      - Power on with DEL pressed to enter BIOS setup.
      - Change value: Periphelrals - Initial Display to IGP
      - Change value: Periphelrals - USB Configuration - XHCI Hand-off to ENABLE
      - Change value: Chipset - VT-d to DISABLE
      - Change value: Chipset - Internal Graphics to ENABLE
      - Change value: Chipset - DVMT Pre-Allocated to 128M
      - Save & Exit Setup
       
      - Now, hold the F12
      - In the list, select your flash drive.
      - It will show twice. One with UEFI prefix and another without.
      - Select with UEFI prefix. Ie.: "UEFI: Sandisk Cruzer"
       
      The installer will start. 
      
      Format destination disk

      Format the disk with GUID partition mapping and name it "HD".

      - Select Disk Utility in the list, then press Continue.
      - Click in View, then "Show All Devices".
      - Select the destination Disk, then Erase.
      - Name: HD, Format: APFS and Scheme: GUID Partition Map

      Close Disk Utility.
      
      Select "Install macOS", then Continue.
      Follow instructions in screen.

      After install

      After first part install the system will reboot.
      
      The second part of the installation will begin. This will take 16 minutes.
       

      Post installation

      Install bootloader
       
      When the second part of install finish, the system will reboot again.

      After performing the user initial setup and go to the desktop, you need to install Clover on internal disk.

      Open the Clover installer inside flash drive that you copied before.

      Use same options above but choose the system partition this time.

      Now you need to replace the EFI folder inside your destination disk EFI parittion, with EFI folder inside flash card EFI partition.

      If the flash drive EFI partition of your destination disk or flash drive is unmounted:
      Mount with terminal "sudo diskutil mount /dev/rdiskXs1". To know what X is, use "diskutil list", most likely is 0 for destination disk and 1 for flash drive.
       
      Then, eject the flash drive.
       
      Last step
       
      Move all Kexts from EFI partition to /Library/Extensions, with those commands in Terminal:
      sudo cp -R /Volumes/EFI/EFI/CLOVER/kexts/10.14/* /Library/Extensions/ sudo chmod -R 755 /Library/Extensions sudo chown -R root:wheel /Library/Extensions sudo kextcache -i / Restart the system.
       
       
      It's done!
       
       
      Updates
       
      System update 10.14.6
       
      - Download and open latest CloverConfigurator
      - Open Mount EFI and click in Mount Partition in EFI Partitions list
      - Click in Open Partition that appears
      - Go to EFI -> CLOVER
      - Backup config.plist and ACPI folder to desktop
      - Go back and delete CLOVER folder
      (If you restart now you can't boot in macOS - DON'T RESTART)
      - Download latest Clover and install (link and config above)
      - Replace config.plist and ACPI folder from your desktop
       
      - Update Lilu.kext, AppleALC.kext, WhateverGreen.kext, HWSensors kexts (FakeSMC, ACPIMonitor, IntelCPUMonitor, ITEIT87x) in /Library/Extensions/
      - Run:
       
      sudo chmod -R 755 /Library/Extensions sudo chown -R root:wheel /Library/Extensions sudo kextcache -i /  
       
      - Install macOS Update 10.14.6 and restart
       

       
      And last but not least
       
      I would like to thank the following community members, by making these dream possible:
      @crushers, @snatch, @apianti, @blackosx, @blusseau, @dmazar, @slice2009, @autumnrain, @phpdev32, @EMlyDinEsH, @RehabMan, @Scellow, @mitch_de, @Shailua, @Andy Vandijck, @maxfierke, @ArturXXX, @LexHimself, @brumas and all others members involved directly or indirectly.
       
       
       
      Z370N-WIFI v2.zip
    • By shinho73
      I need a good vanilla guide for AMD A8 7600 with A58M-E FM2+ mother board and Palit GEforce GT 730. Any help will be greatly appreciated. Thank you.



    • By Pedro Diniz
      Hello Friends, how are ya?

      Could you help me with a problem?

      I followed some guides like: https://www.insanelymac.com/forum/topic ... coffeelake -dsdt /

      and the installation of high Sierra 10.13.6 (17G8030) and nvidia webdrivers (correspondent to OS version) went smoothly, the problem starts when I try to boot the GPU.

      Hardware:
      MOBO: Aorus B360M gaming 3 (rev.1)
      CPU: i5 8400
      GPU: GTX 1060 OC Galax redblack

      BIOS:
      Fast boot - disabled
      windows 8/10 features - other os
      lan pxe - disabled
      storage boot option - UEFI
      other pci devices - UEFI
       
      Initial display output - PCie 1 slot
      Intel's Platform Trust Technology (PTT) - disabled
      sata mode selection - AHCI
      XHCI hand off - enabled
      VT-d - disabled
      internal graphics - auto


      The problem is:
      I can log into the system normally without using my nvidia GPU but when I boot the system with the flags for webdrivers to work I fall into the login screen but it keeps flashing, I can see the mouse and I can move it but the screen flashes and the following error appears when the screen goes "black": IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0. I searched for this error on the internet and tried to solve but to no avail so far.

      If someone can help me I would be extremely grateful! thanks in advance!

      Clover file attached.
      CLOVER.zip
    • By MaLd0n
      ---INSTALLATION TUTORIAL---
       
      ---Original Post---
      https://olarila.com/forum/viewtopic.php?f=45&t=9172
       
      ---USB---
      https://pikeralpha.wordpress.com/2016/07/13/simple-skylake-usb-fix-no-kexts-required/
       
      ---CLOVER FOLDER---
       
      CLOVER.zip
       
       
      --MOBO
      GigaByte Z390 M Gaming



      --PROCESSOR
      Intel Core i9-9900K


      --COOLER
      CoolerMaster MasterLiquid ML120R RGB


      --MEMORY
      Corsair Dominator Platinum 16GB (2 x 8GB)


      --GPU
      Sapphiretech Radeon RX 590 8 GB GDDR5


       
      --SSD
      Samsung 970 EVO NVMe M2 Flash Drive


      --POWER SUPPLY
      EVGA 750 N1, 750W


      --WIRELESS
      TP-Link Archer T9E


      --BLUETOOTH
      Orico BTA-403


      --CASE
      Thermaltake View 21 Tempered Glass Edition


      --DSDT Patches--
      -FIX ERRORS AND WARNINGS -FIX ACPI ERRORS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE 10 ID -DMAC -REMOVE 22K LINES, PROBLEMATIC and UNUSED -FIX K.P in REBOOT -NVRAM / REAL TIME CLOCK -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -MIKEY -BUS1 -MCHC -ALS0 -SHUTDOWN -UAR1 -LAN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -OPERATION REGION GPIO -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES  
      --SCREENSHOTS--





























      --BruceX--
       
      --USB-C-- test with SanDisk Ultra USB-STICK 128gb


       
      -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, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
      We're all here to have fun and learn from each other!
    • By dracoflar
      So you've been reading the forum on this brand new boot loader called OpenCore hoping to try it out but you take one look at the configurations PDF and take a step back in shock at the complexity! Well if you've been feeling a bit intimidated by the DOCS well you've come to the right place:
       
      OpenCore Vanilla Desktop Guide
       
      If you have any issues or suggestions please feel free to comment
       
      - Your local neighbourhood Hackintosh Slav
×