Jump to content
poles89

[Guide] Mojave 10.14.2 + Asus Prime H370-Plus + i3-8100 + UHD 630

3 posts in this topic

Recommended Posts

Introduction

30th October Brooklyn, New York, Apple announced a "re-engineered" Mac Mini - the first update to small sized desktop Mac since 2014. Surprisingly, they also unveiled a new i3 8th generation based "affordable" Mac Mini which costs $799. Cool...right? Not cool for me. So, I decided to build a really "affordable" hackintosh mac mini instead and successfully managed to build it around $614 .This is my 4th hackintosh build.

 

Hardware

Asus Prime H370-Plus

Intel Core i3 8100 3.6GHz

Corsair Vengeance 2400MHz DDR4  16 GB RAM

Kingston SSDNow A400 240GB

Cooler Master MWE 450 Bronze, 80+ Bronze Certified 450W Power Supply

 

LG VGA Monitor (1366x768)
HDMI to VGA Adapter

DVI-D to VGA Adapter (Optional)

Logitech USB Keyboard & Mouse

 

Software used

macOS Mojave 10.14.2

Clover EFI Bootloader 2.4k r4813

Clover Configurator 5.3.2.0

 

What works

  • Graphics
  • Audio
  • All USB ports
  • Sleep/Wake
  • iMessage/FaceTime

 

 

Instructions

 

BIOS Settings:
Use "Delete" to enter you UEFI setup.

  • Load Optimized Defaults
  • Disable VT-d
  • Disable Secure Boot Mode
  • Set OS Type Other
  • Turn off internal Serial port
  • Turn off Network stack for boot
  • Set XHCI Handoff to Enabled
  • Enable HD Audio
  • Don't enable decode over 4G
  • Set Primary Display to iGPU
  • Set DMVT pre-alloc to 64MB or 128 MB
  • Set USB legacy to enabled
  • Activate XMP profile 1
  • Set ERP to enable

 

 

Installation:
I used the default command to create a bootable Mojave Installer on a 8GB USB drive. Then I installed the Clover_v2.4k_r4813 pkg on the bootable drive with these options:

 

 

NY4cnfY.png

 

 

Also select EmuVariableUefi-64.efi from UEFI Drivers list which will fix the rebooting issue if you may face during Mojave installation. Next, mount the USB's EFI partition and navigate to Clover/kexts/Other and place FakeSMC.kext & USBInjectAll.kext into that. Now go back to Clover folder and delete config.plist file and paste an empty config.plist file. I have attached it at the end of the post.

Plug the USB to your machine and press F8 and select your bootable drive. Next Format the drive using disk utility & install macOS. During installation the computer will reboot several times but every time press F8 and select your bootable drive and then select Install Mojave from your SSD/hard drive.

 

 

Post Installation:

Run Clover Configurator and go to TOOLS > Mount EFI > Mount Partition > Open Partition (choose your macOS drive)
Copy the EFI folder from USB's EFI to your drive's EFI.

Gather the necessary kexts.

Now open Terminal and type the following one by one:

 

sudo chmod -R 755 /System/Library/Extensions/*

sudo chmod -R 755 /Library/Extensions/*

sudo chown -R root:wheel /System/Library/Extensions/*

sudo chown -R root:wheel /Library/Extensions/*

sudo chown root:admin /

 

This will fix ownership and permissions...


Copy & paste all kexts to Desktop & use any Kext Installer to install them to /Library/Extensions/.

Then run the following command into terminal:

 

sudo kextcache -i /


Open /EFI/EFI/CLOVER/config.plist with Clover Configurator

Next, we have to edit config.plist file . First make a backup of the empty config file. Download the latest Clover Configurator and open the config file. Next I have done the following modifications:

  • ACPI: HDAS -> HDEF, HECI -> IMEI, GFX0 -> IGPU, XHC1 -> XHC, EHC1 -> EH01, EHC2 -> EH02
  • Under Generate Options, check PluginType
  • Under Fixes, check FixShutDown, FixHPET, FixIPIC
  • Under Drop Tables, check Halt Enabler, FixHeaders, FixMCFG
  • Boot: Arguments: dart=0
  • Devices: IntelGFX=0x3E928086, USB-> check Inject, FixOwnership, Audio=1, check ResetHDA
  • GUI: Under Hide Volume, Click + and enter "Preboot"
  • Graphics: Inject Intel, ig-platform-id=0x3E9B0007
  • SMBIOS: iMac 18,1
  • Rt Variables: Click the dropdown and select "UseMacAddr0", in MLB enter the Board Serial Number from SMBIOS section. Double check if CsrActiveConfig value is set to 0x67 or not.

Reboot.

 

Graphics:
This is where I stuck nearly 1 month. After setting IntelGFX=0x3E928086 & Inject Intel with ig-platform-id=0x3E9B0007 it should work right after reboot as WhateverGreen handles the rest. But it didn't work, the display goes off whenever I tried to boot.

I have tried the other combination like, IntelGFX & ig-platform-id to blank with uncheck Inject Intel as i3 8th gen UHD 630 is natively supported in mojave. But no luck. I only able to boot with a invalid IntelGFX.

Next, I followed @headkaze's framebuffer patching using WhateverGreen guide. I tried to use Intel FB-Patcher a.k.a Hackintool, but its shows me like this:

 

 

emYJoRW.png

 

 

That means it can't detect the CPU generation & also the video memory. No matter what SMBIOS I tried. Even ioreg showed no "AppleIntelFrameBufferX". So forget about framebuffer patching. Though I tried different combinations of framebuffer patching which I found in this forum but it didn't work.

 

IGPU@2.thumb.png.9d1a6bdcc1697154a7eeb2277c7d965e.png

 

Detecting CPU generation & Video memory is really important if you want a framebuffer patch. I also tried different Lillu+WEG versions. I even upgraded the BIOS to the latest version.

Then I found  a framebuffer patch which also consists a connectors patch, which worked for ASUS H370M-Plus motherboard, worked for me.

As I have only HDMI, DVI-D & VGA video port.

Row 1: Index 2, BusID 0x02, Type HDMI
Row 2: Index 3, BusID 0x04, Type HDMI <-- assumes HDMI here
Row 3: Index 1, BusID 0x01, Type DP 

Just go to Deviecs->Properties and paste this:

Spoiler

<key>Properties</key>
<dict>
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data>
BwCbPg==
</data>
<key>device-id</key>
<data>
mz4AAA==
</data>
<key>framebuffer-con0-busid</key>
<data>
AgAAAA==
</data>
<key>framebuffer-con0-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con0-flags</key>
<data>
xwMAAA==
</data>
<key>framebuffer-con0-index</key>
<data>
AgAAAA==
</data>
<key>framebuffer-con0-pipe</key>
<data>
CgAAAA==
</data>
<key>framebuffer-con0-type</key>
<data>
AAgAAA==
</data>
<key>framebuffer-con1-busid</key>
<data>
BAAAAA==
</data>
<key>framebuffer-con1-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con1-flags</key>
<data>
xwMAAA==
</data>
<key>framebuffer-con1-index</key>
<data>
AwAAAA==
</data>
<key>framebuffer-con1-pipe</key>
<data>
CAAAAA==
</data>
<key>framebuffer-con1-type</key>
<data>
AAgAAA==
</data>
<key>framebuffer-con2-busid</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con2-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con2-flags</key>
<data>
xwMAAA==
</data>
<key>framebuffer-con2-index</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con2-pipe</key>
<data>
CQAAAA==
</data>
<key>framebuffer-con2-type</key>
<data>
AAQAAA==
</data>
<key>framebuffer-patch-enable</key>
<data>
AQAAAA==
</data>
</dict>
</dict>

 

Save the config file & restart. Now I have 1536 MB Intel UHD 630. YESS !!!

The patch works for both DVI-D & HDMI even I don't have to change type HDMI to DVI-D.

So you see how connectors patch plays a crucial part if you want to use your Intel iGPU & onboard HDMI, DVI-D & DP connectors. After applying the patch the Hackintool looks like:
 

O5gROa0.png

 

And here are the connectors tab for HDMI & DVI-D respectively.

 

OR3FxUA.png              LQsdz6z.png

 

USB Port Fix:

I followed the @headkaze's USB port patching guide mentioned in his thread. Now, as my USB controller's device id is 8086:A36D I had to install XHCI-unsupported.kext in Clover/kexts/Other. So after removing unused ports General->USB tab looks like this:

 

bwoGXyi.png

 

Next, after rebooting with -uia_exclude_hs uia_include=HS09,HS10 boot flag it looks like this:

 

D2YJGd0.gif

 

Now, I used “Export” button to generate the USBPorts.kext & copied the file into EFI/CLOVER/kexts/Other. Removed unnecessary files like boot flags (-uia_exclude_ss -uia_exclude_hs uia_include=x), USBInjectAll.kext, Clover Renames (XHC, EH01, EH02). After rebooting the USB port limit is fixed. I have attached the kext files also if anybody needs it.

 

wK8YWTR.png

 

 

 

config_usb.plist

config.plist

USBPorts.kext.zip

Share this post


Link to post
Share on other sites
Advertisement

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 MaLd0n
      ---TUTORIAL---

      https://olarila.com/forum/viewtopic.php?f=50&t=8685
       
      --Original Post--
       
      https://olarila.com/forum/viewtopic.php?f=97&t=11237
       
      --Bios/UEFI Settings--
       
      *Update bios/uefi to F7+*
      1- Go to M.I.T./Advanced Frequency Settings tab
       
      Extreme Memory Profile (X.M.P.) - Profile 1
       
      2- Go to BIOS tab
       
      CSM Support - Disabled
       
      3- Go to Peripherals/Thunderbolt(TM) Configuration tab
       
      Security Level - No Security
      Thunderbolt USB Support - Enabled
      GPIO3 Force Pwr - Enabled
       
      4- Go to Chipset tab
       
      Internal Graphics - Enable
       
      ---CLOVER FOLDER---
      *Use this folder with FULL DSDT PATCHED
      EFI CLOVER Z390 DESIGNARE.zip
       
      ---OPENCORE FOLDER---
      *Use this folder with FULL DSDT PATCHED
      EFI OPENCORE Z390 DESIGNARE.zip
       
      ---Extract one Full dump for DSDT edits, post files---
       
      RunMe.app

      https://www.youtube.com/watch?v=k9wmIfGLe3A
       
      ---HARDWARE---
       
      --MOBO

      GIGABYTE Z390 DESIGNARE
      -Link
      https://www.amazon.com/Z390-DESIGNARE-Gigabyte-Thunderbolt-Motherboard/dp/B07K8RJZRG/ref=sr_1_1?keywords=Z390+DESIGNARE&qid=1565492390&s=electronics&sr=1-1

      --PROCESSOR

      Intel Core i9-9900K
      -Link
      https://www.amazon.com/Intel-i9-9900K-Desktop-Processor-Unlocked/dp/B005404P9I/ref=sr_1_1_sspa?keywords=Intel+Core+i9-9900K&qid=1553358099&s=gateway&sr=8-1-spons&psc=1

      --COOLER

      CORSAIR H100i RGB PLATINUM AIO Liquid CPU Cooler
      -Link
      https://www.amazon.com/CORSAIR-H100i-PLATINUM-Liquid-Cooler/dp/B07JWB5BSN/ref=sr_1_4?keywords=WATER+COOLER+CPU&qid=1565492509&s=gateway&sr=8-4

      --MEMORY

      Corsair CMW32GX4M2C3200C16 Vengeance RGB PRO 32GB (2x16GB) DDR4 3200 (PC4-25600)
      -Link
      https://www.amazon.com/Corsair-CMW32GX4M2C3200C16-Vengeance-PC4-25600-Desktop/dp/B07GTG2T7L/ref=sr_1_15?keywords=memory+ddr4+32&qid=1553358238&s=gateway&sr=8-15

      --GPU

      MSI RX Vega 64 AIR Boost 8G OC
      -Link
      https://www.amazon.com/MSI-RX-64-AIR-8G/dp/B07DH7S1X1/ref=sr_1_2?keywords=vega+64+gigabyte&qid=1565492819&s=electronics&sr=1-2

      --SSD

      Samsung 970 EVO 1TB SSD (MZ-V7E1T0BW) NVMe M.2 V-NAND
      -Link
      https://www.amazon.com/Samsung-970-EVO-1TB-MZ-V7E1T0BW/dp/B07BN217QG/ref=sr_1_1?keywords=s+samsung+970+evo+1tb&qid=1565493002&s=electronics&sr=1-1

      --POWER SUPPLY

      EVGA Supernova 1000 P2 80+ Platinum, 1000W ECO Mode Fully Modular 
      -Link
      https://www.amazon.com/EVGA-Supernova-Platinum-Crossfire-220-P2-1000-XR/dp/B00EKJQM5E/ref=sr_1_3?keywords=power+supply+1000w&qid=1565493196&s=gateway&sr=8-3

      --WIRELESS

      TP-Link Archer T9E
      -Link
      https://www.amazon.com/TP-Link-Archer-T9E-Beamforming-Technology/dp/B00TQEX7AQ/ref=sr_1_1?keywords=TP-Link+Archer+T9E&qid=1553358397&s=gateway&sr=8-1

      --CASE

      Thermaltake Core P5 Tempered Glass Black Edition ATX Open Frame Panoramic Viewing
      -Link
      https://www.amazon.com/Thermaltake-Tempered-Panoramic-Certified-CA-1E7-00M1WN-03/dp/B01N4IGVSC/ref=sr_1_2?keywords=Thermaltake+Core+P5&qid=1565493567&s=gateway&sr=8-2

      --DSDT Patches--
      -FIX ACPI ERRORS -FIX OEM SSDTs to AVOID ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA -DMAC -REMOVE PROBLEMATIC AND UNUSED DEVICES -FIX K.P in REBOOT -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -FWHD -USBX -PMCR -PPMC -XSPI -CNVW -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES ---SCREENSHOTs---




















      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Thanks to KGP for SSDT Thunderbolt
      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 fusion71au
      Clover r5051 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.15 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r5051 for VMware.zip". Mount Clover-v2.5k-5051-X64.iso by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • By shinho73
      Hello everyone. I managed to install AMD Sierra V5(10.12.6) on my old AMD A8 7600 PC(Mother Board-A58M-E, GPU- Palit Geforce GT730 DDR3). Everything is working except the GPU. The GT730 DDR3 GF108 is natively supported on Sierra, but for some reason, it is not working. On Clover Config, "Inject Nvidia" is selected, no Nvidia Web, and nv_disable=1. On "About This Mac" it just says " NVIDIA Chip Model 3 MB".
      I have attached config.plist. Can someone look at it please? Any help will be greatly appreciated. Thank you. 





      config.plist
×