Recently Browsing 0 members
No registered users viewing this page.
MOJAVE HACKINTOSH GUIDE
**FOR** GIGABYTE Z390 AORUS PRO
CREDITS & THANKS
His help with EFI configuration and DSDT
Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, rehabman, Download-Fritz, Zenit432, cecekpawon Et al
autumnrain, slice2009, zenith432
ESP PRO MOUNTER
Hackintosh Vanilla Desktop Guide
/r/Hackintosh - corpnewt
JoniVR & theOneyouseek
• Intel I7 8700
• Gigabyte Z390 AORUS PRO
• Gigabyte AORUS RADEON RX 580 8GB ( connected to monitor with DisplayPort )
• Corsair Vengeance LPX 16GB ( 2 x 8GB ) 2666MHz – CMK16GX4M2A2666C16 In this build, both memory modules are installed in memory slots DDR4_A1 and DDR4_B1
• Corsair RM650x 80 Plus Gold Power Supply Unit
• Corsair H100i V2 AIO Hydro/Water RGB LED CPU Cooler
• Samsung EVO 500GB SSD (2.5) macOS Mojave
• Samsung EVO 250 GB SSD (2.5) Windows 10 Pro
• NZXT H500 Mid Tower ATX Case
• RECOMMENDED WIFI CARD → ABWB 802.11AC WI-FI With Bluetooth 4.0 PCI-Express (PCI-E) BCM943602CS
• WIFI and Bluetooth with BCM94331CD with PCI-e adapter (but will require AirportBrcmFixup.kext for AirDrop.. )
** Avoid Samsung EVO 970 PLUS as Hackintosh has problem with that device **
• HDMI Port on AMD RX580 / 590 ( Ensure you disable BIOS CSM if using HDMI on RX580 / RX590 )
• HDMI Port on Aorus Z390 Motherboard ( Ensure you have correct BIOS settings as per this guide for Intel only)
• Ethernet Port
• SSD Trim
• USB 3.0 & 2.0
• Hardware Acceleration
PREAMBLE - BEFORE YOU START
Here detailed, is all the steps towards building a successful and stable Aorus Pro Z390 Hackintosh, if you are a first time Hackintosher, this guide will have you quickly up and running with the Aorus Pro Z390 Hackintosh. To rule out any problems from the go,
only have the disc that you plan to install macOS Mojave connected to the Aorus Pro, disconnect any other Windows / Linux or data drives, external drives from your Aorus Pro. Windows / Linux and data drives can be connected after successful installation of macOS Mojave
If you have more than 16 GB of memory, then install macOS Mojave with just 16GB, you can later add any additional memory. Install memory modules in slots DDR4_A1 and DDR4_B1. This build has the Wi-Fi combo PCI-e card installed in slot PCIEX1_3
with its 9 pin USB cable attached to motherboard header F_USB2.
If using the Corsair H100i v2 AIO cooler with USB cable connected to motherboard header F_USB1, you will need to enable hot-patch ( explained in guide ) in config.plist for working sleep, wake from sleep will only work by pressing Power Button.
However, If not using the Corsair H100i v2 USB cable, then you have wake from sleep using Keyboard / Mouse or Power Button.
The Corsair USB cable is only required if using Corsair Link software in Windows for custom Fan or LED settings.
Install macOS Mojave on its own physical drive, so do not try and install macOS Mojave onto a free partition on a disc that contains Windows.
Remove any Thunderbolt cards, Thunderbolt card can be reinserted after installation. Double check your BIOS settings are the same as this guide.
Following are unsupported / problematic
• Intel Optane ( if you have this, remove it before installation of macOS Mojave )
• Samsung EVO Plus drives ( firmware problem with macOS )
• XFX Radeon RX 580
• NVIDIA GTX / RTX not supported in macOS Mojave
• Fenvi T919 Wireless Card, it seems Bluetooth is not working out of box for some users ( Maybe the USB port attached to Fenvi bluetooth is wrongly configured, or the SSDT-UIAC.aml port connector was not configured as Internal, or maybe some other reason )
Save yourself a headache ---> RECOMMENDED WIFI CARD WORKING OUT OF BOX (OOB) is ---> ABWB 802.11AC WI-FI With Bluetooth 4.0 PCI-Express (PCI-E) BCM943602CS
Q - WILL THIS GUIDE WORK WITH MY NON AORUS Z390 PRO MOTHERBOARD ?
A - Possibly may work with other Z390 chipset motherboards. See very bottom of page for PRE & POST - INSTALL AORUS X 390 EFI's ( will require USB SSDT fix )
Q - I notice you have the Aorus Pro Z390 version, will this guide work with Aorus Pro Z390 WiFi version ?
A - Yes, but onboard Intel / Intel CNVi WIFII /Bluetooth will not work with macOS and you will have to disable HS14 for Bluetooth to function properly on BCM943602CS or BCM94331CD WiFi/Bluetooth Combo cards ( more info at bottom of guide) .
PART 1 - DOWNLOAD
Download the following:
• PRE-INSTALL Aorus Pro Z390 EFI - RX580.zip
• POST-INSTALL Aorus Pro Z390 EFI - RX580.zip
//OPENCORE EXPERIMENTAL EFI FOR RX580==> EFI.zip
// INTEL UHD 630 EFI Aorus Pro Z390 EFI's below. For those who do not have a Graphics Card Installed in PCIe Slot, requires Initial Display Output BIOS setting to be changed to IGFX spoiler below!
• PRE-INSTALL Aorus Pro Z390 EFI - Intel UHD630.zip
• POST-INSTALL Aorus Pro Z390 EFI - Intel UHD630.zip
• ESP MOUNTER PRO v1.9
• macOS MOJAVE
• CLOVER CONFIGURATOR
• EmuVariableUefi-64.efi ( Used only to initialise iMessages. It then must be removed from Clover drivers64UEFI folder as will cause intermittent memory allocation errors on boot, explained in guide)
• Native Display Brightness with MonitorControl
// Not really needed but IF no sound on Wake from Sleep then use SSDT-ALC1220 and CodecCommander
• SSDT-ALC1220.aml ( Resolves Audio Sound on Wake, place in Clover / ACPI / Patched )
• CodecCommander.kext.zip ( Resolves Audio Sound on Wake, place in Clover / Kexts / Other )
PART 2 - BIOS SETTINGS (version F9 )
Here is a list of the BIOS settings that I have used ( Screenshots in spoiler below )
• Enter BIOS → Press F12 → Enter Setup
• Save & Exit → Load Optimized Defaults
• BIOS → Windows 8/10 Features → Other OS
• BIOS → CSM Support → Enabled
• Peripherals → Initial Display Output → PCIe 1 Slot
• Peripherals → Trusted Computing → Security Device Support → Disable
• Peripherals → Intel(R)Bios Guard → Intel BIOS Guard Support → Disable
• Peripherals → USB Configuration → Legacy USB Support → Enabled
• Peripherals → USB Configuration → XHCI Hand-off → Enabled
• Peripherals → Network Stack Configuration → Network Stack → Disabled
• Peripherals → SATA And RST Configuration → SATA Mode Selection → AHCI
• Chipset → Vt-d → Enabled
• Chipset → Internal Graphics → Enabled
• Chipset → DVMT Pre-Allocated → 256M
• Chipset → DVMT Total Gfx Mem → MAX
• Chipset → Audio Controller → Enabled
• Chipset → Above 4G Decoding → Disabled
• Power → Platform Power Management → Disabled ( Change to enabled after macOS is installed )
• Power → ErP → Disabled ( Can be enabled if you have RGB lighting that you want to power off when shutting down Hackintosh. Thanks @AudioGod for flagging this up)
• Power → RC6 (Render Standby) → Disabled
// IF USING CORSAIR H100i V2 AIO CPU WATER COOLER
• MIT → Smart Fan 5 Settings → CPU Fan Control mode → PWM
• Save & Exit → Save & Exit Setup
SCREEN DUMP SPOILERS
PART 3 – CREATE A MOJAVE USB FLASH INSTALLER
Prepare USB Installer for Mojave ( Video below )
• Insert USB drive
• Launch /Applications/Utilities/Disk Utility
• Disk Utility → View → Show All Devices
• On Left-hand panel → External →(Identify your USB device in left hand panel)
• Click and highlight your USB device in the left-hand panel.
• Click erase button.
• Name: USB
• Format: Mac OS Extended (Journaled )
• Scheme: GUID Partition Map
• Click Erase button.
• Place the downloaded MacOS Mojave app into Applications folder.
• Open Terminal copy and paste:
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --nointeraction && say Mojave Drive Created • Enter
PART 4 – INSTALL CLOVER ON THE MOJAVE USB INSTALLER
Make Mojave USB flash drive installer bootable.( Video below )
• Launch Clover application, double click.
• Click Continue → Continue → Continue
• Click Change Install Location button.
• Click Install macOSMojave USB installer → Continue
• Click Customise button
Clover for UEFI booting only Install Clover in the ESP Themes UEFI Drivers • Click Install button
• Installation Complete!
PART 5 – CUSTOMIZE MOJAVE USB INSTALLER FOR AORUS Z390 PRO
Replace Clover EFI folder with PRE-INSTALL Aorus Pro Z390 EFI - RX580.zip OR if NO graphics card installed in PCIe slot, then use PRE-INSTALL Aorus Pro Z390 EFI - Intel UHD630.zip( Video below )
• Install ESP Mounter Pro v1.9
• Using ESP Mounter Pro, Mount ESP on disk2s1 ( Your disk name may be different )
• Open mounted EFI partition found on desktop
• Copy all the contents from Aorus 390 Pro EFI folder
• Replace USB EFI folder with all the contents inside the Aorus 390 Pro EFI folder.
PART 6 – INSTALL MAC OS MOJAVE ON INTERNAL DRIVE
ENSURE BIOS: Above 4G Decoding is set to Disabled
if Above 4G decoding is set to enabled then macOS Mojave install will freeze at 2 mins remaining and will not shut down properly!!!!
Please be patient during install, so when install gets to 2 or 3 mins remaining then it may take extra time. Be ready to boot from UEFI USB installer by pressing F12 when install initiates restarts.
• INSERT USB INSTALLER INTO THE USB 2.0 PORT
Here is a walkthrough of the full process using the macOS Mojave USB Installer on the Aorus Z390 Pro.
• Power on PC and press F12• Choose bootable USB drive from boot menu.
• Install macOS Mojave to internal solid state or hard drive.
When system returns to the Clover boot menu choose:
• Boot macOS Install from Macintosh
At next restart, press F12 and boot from external UEFI USB device and choose:
• Boot macOS Install from Macintosh
Proceed with macOS Mojave install
macOS Mojave is now installed, but it can only boot at this moment thanks to FakeSMC and Clover on the Mojave USB flash drive installer.
PART 7 – MAKE AORUS Z390 PRO INTERNAL DRIVE BOOTABLE
Make internal drive bootable ( Video below )
So far, the Aorus Pro can only boot the internal system drive with the aid of the Mojave USB Installer.
To boot from the internal system drive without the installer:
Download and install Clover with RC Scripts on target volume.
If your Aorus Pro Z390 has AMD RX 580 then copy the EFI folder from inside POST-INSTALL Aorus Pro Z390 EFI - RX580.zip folder and paste it inside the the System Drive EFI partition. OR
If your Aorus Pro Z390 has no graphics card installed in PCIe slot, then copy the EFI folder from inside POST-INSTALL Aorus Pro Z390 EFI - Intel UHD630.zip folder and paste it inside the the System Drive EFI partition.
• Remove USB Mojave installer and shut down and restart.
Aorus Hackintosh should now be able to boot to macOS Mojave, Done, well almost !
PART 8 – ENABLE IMESSAGES & FACETIME
// UPDATE 21st MAY 2019
Possibly Clover Configurator now automatically populates correct values for working iMessages when you select an SMBIOS.
After selecting SMBIOS, example iMac19,1 for Aorus Pro with RX580 ( image above ) then go to Apple and ensure you have the "serial number is not valid " message. Done!
If you still have problems connecting to iMessage, test and ensure that AirDrop is working, then follow instructions inside spoiler.
• Mount internal drive EFI/ESP partition
• Go to folder CLOVER → drivers64UEFI
• Place both EMUVariableUefi-64.efi inside → drivers64UEFI
Using Clover Configurator, add the following argument to config.plist using Clover Configurator.
• Slide = 0
Shutdown and then press power on button on PC.
• You should now be able to Log into iCloud, iMessages and FaceTime
• NOW delete EMUVariableUefi-64.efi from CLOVER → drivers64UEFI Folder
• Shutdown and restart Aorus Pro hackintosh. iMessages etc is now operational without EMUVariableUefi-64.efi ( EMUVariableUefi-64.efi only needed to initialise iMessages )
// UPDATE 22nd May 2019
• It seems that there are no "Couldn't allocate runtime area" errors when continuing to use EMUVariableUefi-64.efi since updating to macOS Mojave 10.14.5 and using Clover version r4920.
• It is important to delete EMUVariableUefi-64.efi, this will avoid very intermittent boot errors such as: “Couldn’t allocate runtime area” post errors.
PART 9 – ENABLE TRIM for Solid State Flash Drives
Open Terminal and enter the following command:
sudo trimforce enable
DEFAULT SSDT – USB PORTS FIX CONFIGURATION WITH FRONT USB-C - SSDT ALREADY INSIDE AORUS Z390 EFI FOLDER – Provided by @AudioGod
If you have USBC on Computer Chassis / Case, then SS01 and SS02 is mapped to that USB C port
------------ GUIDE FINISHED YOU SHOULD NOW HAVE WORKING AORUS Z390 PRO HACKINTOSH WITH SSDT USB FIX ------------
OPTIONAL: Set Wi-Fi Country Code
OPTIONAL: System Information - PCI
OPTIONAL: Native Display Brightness - with MonitorControl
OPTIONAL: Dual Boot macOS Mojave & Windows 10
OPTIONAL: Replace the default "About This Mac" Apple Logo with RED AORUS APPLE
OPTIONAL - ALTERNATIVE SSDT 1 – SSDT Ports configuration below - replace SSDT inside Clover /ACPI/PATCHED folder
OPTIONAL - ALTERNATIVE SSDT 2 - SSDT Ports configuration below - replace SSDT inside Clover /ACPI/PATCHED folder
OPTIONAL - ALTERNATIVE SSDT 3 – Create your own SSDT
FRAMEBUFFER PATCHING – For working Intel UHD 630 Graphics, working HDMI Port, working HDMI Audio on Aorus Z390 Pro
FINAL CUT PRO – Configuration for AMD RX5xx
AORUS PRO Z390 WIFI version with Intel CNVi – Disable Bluetooth on HS14
Resolve bluetooth issue reported by @eSaF
CLOVER – Updating / Upgrade Clover boot loader
SLEEP – Sleep and Automatic Sleep
SLEEP – Resolving Instant Wake ( Corsair H100i v2 AIO )
WIFI – Clover Hotpatch PXSX to ARPT
RECOMMENDED READING – Excellent Hackintosh Vanilla guide created by CorpNewt with in depth tutorial on Clover.
AORUS Z390 MOTHERBOARD X – EFI WITH NO USB SSDT, WITH PORTS LIMIT PATCH, WITH SSDT-GPRW SLEEP / WAKE FIX
Q - I notice you have the Aorus Pro Z390 version, will this guide work with other Gigabyte Aorus Z390 motherboards ?
A - Possibly, but it is not guaranteed that these EFI folders below may work.
PRE-INSTALL Aorus X Z390 EFI - RX580.zip
POST-INSTALL Aorus X Z390 EFI - RX580.zip
PRE-INSTALL Aorus X Z390 EFI - Intel UHD630.zip
POST-INSTALL Aorus X Z390 EFI - Intel UHD630.zip
So, this little tutorial is meant to help people fix a new issue with Mojave: opening jpg files (looks like it happens with larger files, not so much with smaller ones) using Quick Look (on spacebar key pressed) or Preview app, using the dedicated GPUs.
The issue is that, when trying to open jpg files (for some reason, it doesn't occur with pngs), the pop-up window would remain in an endless loop. And from that point forward, any other app trying to open the same file will either become unresponsive (in the case of the Preview app) or just stay in endless loop (in case of Quick Look)
As a workaround, in case the tutorial below doesn't work for you, you can use Grab (built-in app in MacOS) to open said files.
This issue DOES NOT occur using the iGPU. So...if you're comfortable using the iGPU, just switch to that and you should be good to go. You don't need this tutorial.
This tutorial is based on @Cyberdevs' research and testing on this topic (especially useful if you're using an RX series AMD video card), and my own very limited time testing this on my rig. I just thought it would be useful to create a new thread for it so that people can discuss this particular issue here.
With that being said, I'll just move on to the actual tutorial.
New (probably better) method.
Switch your SMBIOS in Clover config in regards to the dedicated GPU you're using, instead of the CPU. Take a look here and choose the corresponding SMBIOS closest to your hardware.
Yeah, that's it.
In case you lose CPU PM with this method, there are multiple ways to fix that, and they do not make the object of this thread. It worked perfectly fine for me though and I didn't need to change anything else.
Alternatively, you can also try one of the MacPro SMBIOSes, such as MacPro5,1 or MacPro6,1. It was tested multiple times and it showed good results.
Keep in mind that choosing these will most likely not show you an iGPU in System Report, since those machines generally (probably all of them) use Xeon CPUs with no iGPUs either.
/!\NOTE: There have been reports saying that using this method (switching SMBIOS to a MacPro one) with newer versions of MacOS may cause iTunes to crash.
So...keep that in mind and better try some of the other methods mentioned here.
A simple Lilu plugin
Thanks to vulgo for the plugin and @Matgen84 for sharing and testing it, we now have yet another possible solution to this issue. It's a Lilu plugin (which means that it requires Lilu.kext in order to work) it's called NoVPAJpeg, and it can be downloaded from here.
You use it as a regular kext, alongside Lilu. I prefer (and recommend) using it within the EFI folder, in Clover/kexts/Other. But if you want to use it in S/L/E, that should work just fine.
More info can be found in this post here.
In case you wanna try alternative medicine ...
The main thing we need to do is actually very simple: we need to enable the iGPU (integrated GPU) by default, in BIOS, while actually being connected to the dedicated GPU.
For ATI GPUs (curtesy of @Cyberdevs' post here).
The discreet GPU should be set as primary in BIOS and your displays should be connected to your discreet GPU
The iGD/iGPU/iGFX must be enabled in BIOS/UEFI as the secondary GPU.
I removed the DSDT Reconfigured the config.plist to and removed some flags which weren't needed because of the DSDT added the InjectATI + Ornioco Framebuffer (I removed the Orinoco framebuffer because of some weird glitches but it might be useful for other AMD GPUs if you inject the correct framebuffer according to your GPU. No need to inject anything for nVidia GPUs unless your GPU needs it) Added the InjectIntel + ig-platform-id for my intel HD530 (for intel HD 530 I use the 0x19120001 ig-platform-id)
Steps 5 to 7 might not be necessary I just did them anyway, if anyone succeeded to get quicklook working without those steps let me know so I can exclude those steps.
Also confirmed to work with AMD R9 270X on a SandyBridge rig (without an iGPU) using WhateverGreen + Lilu kexts, which also helped to solve the transparency issue along with the Quick Look problem, it also resolved the buggy Screen Capture (Command+Shift+5) issue as well.
nvram cleanup kextcache & prelinked kernel rebuild reboot More info on that here.
For NVIDIA GPUs
This is what I needed for my NVIDIA rig and the MSI motherboard in the signature. Your milage may vary, depending on your hardware. But, the idea should be the same regardless.
For MSi motherboads (check out my motherboard details in the signature)
Set your BIOS to use PEG (dedicated GPU) so you can boot.
Since you're reading this, chances are that you're already connected to the dedicated GPU and the BIOS is set to PEG. So just go into BIOS and see if you're using the iGPU or the dedicated (PEG) graphics device by default.
If you're already using this, skip to Step 3 (the part AFTER Reboot). Reboot (I think you don't necessarily need to boot into the OS...but you do need to reboot at least until Clover UI) Reboot back into BIOS and set it from PEG to IGD (integrated graphics) WITHOUT removing the cable. Save Reboot again.
The result should be that the OS is tricked into thinking you're booting with the IGPU when in fact you're using the dedicated GPU.
For Gigabyte motherboards
Peripherals -> Initial Display Output -> iGFX Chipset -> Internal Graphics -> Enabled
DVMT Pre-Allocation -> default 64M.
DVMT Total Gfx Mem -> default 256M Save Reboot
You should do this with the cable connected to the dedicated GPU.
You will also need to patch the iGPU from Clover config.
1. Graphics -> Inject Intel (UNCHECK Inject Nvidia or ATI if it's checked).
2. ig-platform-id (in my case for Intel HD 4600 Desktop) it was: 0x0d220003
And use IntelGraphicsFixup.kext (now included into WhateverGreen.kext) in Clover/kexts/Other. In my particular case, without the kext, I would get freezes in Safari.
Another way to activate the iGPU while having the dGPU set as primary is by going into BIOS/SAG/Graphics Configuration/iGPU and setting Multi-Monitor to [Enabled], all the rest remains on [Auto], and set Inject/Intel to [True] in Clover config.*.
Thanks to @gjw for the tip.
*Motherboard dependent. But the multi-monitor option might be the same regardless of manufacturer.
This might be a bug with Mojave and it could be fixed by Apple in the future. but in the meantime, feel free to use this if it helps you fix the issue.
For HP motherboards (including laptops), so far no solution, unless the BIOS somehow allows to switch from dGPU to iGPU and vice-versa.
recently I have tried to install macOS mojave on my Mi Notebook pro (i5 - 8250u model) but have faced one big problem.
My guide was from Razorkey (https://www.tonymacx86.com/threads/guide-xiaomi-mi-notebook-pro-high-sierra-10-13-6.242724/). As a newbie I have almost no experience in installing macOS on a PC / Laptop... so I hope you can help me .
But first things first I configurated the BIOS settings on my Mi - Notebook Pro. Therein I just disabled secure boot (because there are quite few options to tick).
After that I headed over to my secondary Windows - PC and installed a High Sierra virtual machine (thanks to this tutorial: https://techsviewer.com/install-macos-high-sierra-vmware-windows-pc/). At that point everything worked fine.
Then I downloaded the Mojave patcher and downloaded the full 6GB macOS Installer, put it into applications and formatet my 16GB USB Stick into the journaled + GUID with the name USB meanwhile.
Next I typed
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/USB
into the terminal and at that point everything looked like it would work pretty fine. I downloaded Clover Config, mountet the EFI partition and pushed the EFI folder from this site: https://github.com/daliansky/XiaoMi-Pro to the EFI partition on my 16GB USB drive.
In the folloing I restarted my Notebook, selected the MacOS installer and it bootet into the MacOS installer. By doing that I only noticed that the progress bar turned green at a certain time (attatchment). Even though everything bootet pretty fine, i formattet my only ssd (Samsung) into APFS + GUID and startet the installation.
At the point of two minutes my notebook suddenly rebootet and it brang me into the same clover selection menue as before (with only one method [macOS Installation]). Unfortunately there was no further installation method.
When I was trying to reboot the laptop into the installer i got a error [your computer restarted because of a problem...] and i would have to do everything again.
I hope someone can help me fixing this problem . Thanks in advance.
I've just got my hack. to were I'm happy with it.
its been a long road. and up to this point was always evolving. and from the software side. id Like to thank EVERYONE that as given there time help and support in my Hackintosh adventure.
the hardware side. as at times been a bit of a challenge (learning to bent stainless tubing) I got the powder coating done by a local company