Contribute
Register

Gigabyte H370 Aorus Gaming 3 WiFi + Intel UHD 630

Joined
Apr 20, 2016
Messages
7
Motherboard
Gigabyte H370 Aorus Gaming 3 WIFI
CPU
i7-8700K
Graphics
GTX 960
zev23's Build
Gigabyte H370 Aorus Gaming 3 WiFi + Intel UHD 630


Screenshot 2023-11-16 at 13.11.18.png

Components


Installation

BIOS Config Post Installation
  • Enabled Integrated Graphics and plugin HDMI cable
  • Initial Display Output: IGFX
  • Disabled CSM Support
    • WARNING: If you have a dGPU (eg. Nvidia) connecting a Display Port Cable, the bios won't be accessible with CSM Support DISABLED but still can boot into default system OS. Don't use DP cable.
  • DVMT Preallocated: 64M
  • DVMT Frame Buffer Size: MAX
  • Disabled CFG Lock

Comments on installation process:
  • Sonoma vs Ventura vs High Sierra
    • High Sierra: Safari so out-dated that can't even download file from Github release Assets.
    • Ventura: Can boot into USB Installer but says this system not allow to install Ventura.
  • I was using dGPU GTX 960 + HDMI cable while performing installation.
    • BIOS config:
      • Initial Display Output: PCIE0
      • Use a HDMI cable
      • CSM Support disabled
  • Create offline USB Installer
    • A custom made GPT USB Installer with 2 partitions. Atleast a 16GB USB stick needed. So that I don't need to re-download installer packages ever ytime.
      • As in OC guide, use Rufus to format the whole USB into GPT FAT32
      • Use Windows Computer Management -> Disk Management and format the USB with file system and size mention below
      • First Partition
        • FAT32 so that UEFI can boot.
        • About 1024MB is enough
        • Follow OpenCore Install Guide and finally has 2 folders
          • com.apple.recovery.boot
            • This can create from the OpenCore -> Utilities -> macrecovery and just download the latest version.
          • EFI
      • Second Partition
    • Follow OpenCore Install Guide configuration for Coffee Lake with some changes:
      • (Reminder, i was using dGPU and not iGPU during this stage).
      • While following the guides to choose kexts or configurations, use those that says need macOS version 11+, 12+ or newer for Sonoma, don't include those for 10.X.X or really just for specific macOS version.
      • Manually build SSDTs. But I don't think it has differences with prebuilts.
      • Use USB2 and USB3 sticks to do USBMapping.
      • Currently Airportitlwm for Sonoma is 2.3.0-alpha and Apple Secure Boot is Default.
      • If you don't Russian, follow OC guide
        • Also set the NVRAM -> delete as mentioned in the guide
      • DeviceProperties -> Add -> PciRoot(0x0)/Pci(0x2,0x0) -> AAPL,ig-platform-id
        • 0300913E
        • this is making iGPU headless at the moment. Post Installation will fix this.
      • SMBIOS: imac19,1
  • Follow OpenCore Install Guide until you boot up and finished preparing the disk for installation
    • Open Terminal and go to second partition of the USB installer.
    • Run Unplugged.command and follow the instructions. The process will stop and the Sonoma Installation app will be shown.
      • Instead of Sonoma the app is showing it is Ventura installation. No worry it is Sonoma.
    • Select the disk and start installation.
    • Installation will reboot 4-5 times. Just make sure to boot OpenCore and then select the disk Sonoma install to.
    • Finally boot into working Sonoma.
Comments on Post Installation. Mainly make Sonoma disk bootable and configure iGPU:
  • Need Xcode command line tool, homebrew, python and python-tk
  • Fixing the iGPU
    • This involve patching connector type in DeviceProperties
    • Hackintool has the exact patching for this motherboard so I just copy and replace it in ProperTree.
    • Open /Volumes/EFI/EFI/OC/config.plist with ProperTree
    • Replace the DevicePropeties
      • Delete the existing DeviceProperties
      • Copy paste the DeviceProperties generated in Hackintool
      • Save
    • config.plist -> NVRAM -> Add -> 7C436110-AB2A-4BBB-A880-FE41995C9F82 ->boot-args
      • -v keepsyms=1 alcid=1 -wegnoegpu igfxonln=1
<key>DeviceProperties</key>
<dict>
<key>Add</key>
<dict>
<key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
<dict>
<key>AAPL,slot-name</key>
<string>Internal@0,31,3</string>
<key>device_type</key>
<string>Audio device</string>
<key>hda-gfx</key>
<string>onboard-2</string>
<key>layout-id</key>
<data>AQAAAA==</data>
<key>model</key>
<string>Cannon Lake PCH cAVS</string>
</dict>
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data>BwCbPg==</data>
<key>AAPL,slot-name</key>
<string>Internal@0,2,0</string>
<key>device-id</key>
<data>kj4AAA==</data>
<key>device_type</key>
<string>Display controller</string>
<key>disable-external-gpu</key>
<data>AQAAAA==</data>
<key>enable-hdmi20</key>
<data>AQAAAA==</data>
<key>framebuffer-con0-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con0-pipe</key>
<data>EgAAAA==</data>
<key>framebuffer-con0-type</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-busid</key>
<data>AgAAAA==</data>
<key>framebuffer-con1-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-pipe</key>
<data>EgAAAA==</data>
<key>framebuffer-con1-type</key>
<data>AAgAAA==</data>
<key>framebuffer-con2-busid</key>
<data>BAAAAA==</data>
<key>framebuffer-con2-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con2-pipe</key>
<data>EgAAAA==</data>
<key>framebuffer-con2-type</key>
<data>AAgAAA==</data>
<key>framebuffer-patch-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-unifiedmem</key>
<data>AAAAgA==</data>
<key>hda-gfx</key>
<string>onboard-1</string>
<key>model</key>
<string>Intel CoffeeLake-S GT2 [UHD Graphics 630]</string>
</dict>
</dict>
</dict>


Shutdown
  • Boot into BIOS
    • Initial Display Output: IGFX
    • Make sure Internal Graphics is enabled
    • Save & Exit
    • Poweroff whole system
  • System power off
    • Connect your monitor and iGPU HDMI port via HDMI cable
  • Power on and boot into your Sonoma disk.


What work:
  • iGPU acceleration with 2GB shared memory and Metal 3 support
  • WIFI connection. Cannot connect to hidden SSID.
  • Bluetooth connections to standard devices like kb/mouse and speaker.
  • Audio out to HDMI output or motherboard output.
  • USB ports
What (may) not work:
  • Not using any of the iServices or hands-off so not sure of their working status.
  • Not using Ethernet Cable so not sure of its working status.


There you have it. Really appreciate OpenCore guides.
 
Last edited:
Q: Why are you using dGPU during installation process?
A: I think USB Installer boot successfully but end up no signal from iGPU to monitor before finding out the connector type patch in Hackintool. To use Hackintool I need a working macOS which I'm still building. Therefore I've no choice but switch to dGPU (Nvidia gtx 960) and continue working with iGPU in Post Installation. (But now no need Hackintool because I can simply copy the DeviceProperties here).

Q: Why are you emphasizing so much on using HDMI cable?
A: Initially I use other OS with dGPU via Display Port happily without any issue. As soon as I disabled CSM Support in BIOS as per OC Install Guide requirement, BIOS is no longer accessible which mean I cannot boot into USB stick too, panic the HELL out of me. Soon I found the solution is to connect dGPU with HDMI cable and DP cable must be unplugged.

Q: What benefit does enabling CSM Support give?
A: Boot disk or USB stick with MBR table partitioning and no BIOS panic when plugin DP cable (at least for this motherboard). Therefore I'd a tendency to let it remained enabled but not anymore.

Q: What happen if CSM Support remains enabled in BIOS?
A: OpenCore boot halfway and hangs there. You won't be able to figure out it is the CSM setting problem by looking at the message shown where it hangs. Then you start web surfing and many suggested that maybe it's your SDSTs problem, wrong kexts used, wrong usb mapping, wrong config.plist etc...

Q: Where did you find out the iGPU connector type patch in Hackintool?
Screenshot 2023-11-16 at 18.24.07.png


Q: Why don't you manually patch connector type by following OC guide?
A: I wanted to but I don't know where to get the information needed as in OC guide. Both OC guide and WEG manual doesn't mention how to get info below so I turned to Hackintool.
Screenshot 2023-11-16 at 18.35.50.png


Q: Why are you using a custom made USB Installer instead of following OC guide?
A: I was building High Sierra in the first place and found out the installer package files cannot be downloaded from Apple server anymore so I follow corpnewt's gibMacOS and UnPlugged guide to get High Sierra install. First it does not need wifi to download in case the wifi was not setup properly. Secondly, no need to re-download for another fresh install.
 
Last edited:
Hello, thank you very much for the guide, I have the same motherboard / processor as you. Could you post for me a copy of your EFI because I am not able to install Sonoma, the installer freezes halfway through the installation.
Thank you so much!!!
 
Back
Top