Dell G3 3579 10.14.5 Mojave Installation Partially-Success + Guide (Working Audio)

Guide 2024:

Target Audience: Advanced Hackintosh Users

Objective:

To successfully install macOS Mojave 10.14.5 on a Dell G3 3579 laptop with working audio, while addressing common post-installation tasks.

System Configuration and Current Status:

  • CPU: Intel Core i7-8750H
  • RAM: 32GB DDR4
  • Integrated GPU: Intel UHD Graphics 630
  • Discrete GPU: NVIDIA GeForce 1060 Max-Q (Disabled)
  • Motherboard: Dell 00FK8Y with HM370 Chipset
  • Audio: Realtek ALC3204 (ALC236)
  • LAN: Realtek RTL81xx
  • WLAN: Replaced Intel Wireless AC-9462 with Broadcom BCM94352Z (Dell DW1560)
  • Storage: Dual SSD setup for multi-booting

Known Issues:

  • Brightness control needs SSDT/DSDT patching.
  • Limited trackpad gestures; VoodooI2C may be required.
  • Window resizing lag in certain apps.
  • HDMI port not working due to dGPU connection.
  • Sleep issues with black screen after wake.
  • Thunderbolt 3 and Fingerprint Sensor not functioning.

Installer USB Creation and Installation:

  1. Use a virtual machine or an actual Mac to create a macOS Mojave USB installer.
  2. Follow the Clover guide on tonymacx86.com for laptop-specific instructions.
  3. Disable Secure Boot, Fast Boot, TPM, and set up the drive partitions for macOS installation.
  4. Format the target partition to APFS during installation.
  5. Boot from USB and install macOS without requiring significant adjustments during the process.

Post-Installation and Bootloader Configuration:

  1. Restore Windows 10 bootloader if necessary using Windows installation media.
  2. Install Clover on the EFI partition of the macOS drive.
  3. Transfer EFI files and kexts from USB to the macOS EFI partition.
  4. Install additional kexts to /Library/Extensions using Terminal commands.
  5. Fix audio by modifying config.plist to include correct audio layout ID and properties.

Additional Post-Installation Tasks:

  • Implement native power management using RehabMan's guide.
  • Address DVMT-prealloc size limitations via BIOS modifications or Clover config adjustments.
  • Configure SMBIOS settings to match similar Mac hardware.
  • Consider patching SSDT/DSDT for additional functionality and fixing sleep issues.
  • Explore solutions for enabling additional trackpad gestures and fixing Thunderbolt 3 support.

Upcoming Objectives:

  • SSDT/DSDT patching for full hardware support.
  • Addressing graphical performance and multi-monitor support.
  • Full trackpad functionality with gesture support.
  • Resolving sleep/wake and other miscellaneous issues.

Notes:

  • The process of creating a Hackintosh can be complex and varies widely depending on specific hardware configurations.
  • This guide is a broad overview and may require additional research and troubleshooting based on individual hardware and software variations.

Dell G3 3579 10.14.5 Mojave Installation Partially-Success + Guide (Working Audio)
  1. System Configuration and Current Status

System Configuration

  • CPU: Intel Core i7-8750H (6C 12T, up to 4.1GHz)
  • RAM: 16GB*2EA Samsung DDR4-21300 SODIMM (Total 32GB)
  • IGPU: Intel UHD Graphics 630
  • dGPU: NVIDIA GeForce 1060 Max-Q (Uses Optimus, Disabled in Clover Bootloader with nv_disable=1 flag)
  • M/B: Dell 00FK8Y with HM370 Chipset
  • Sound: Realtek ALC3204 (=ALC236)
  • LAN: Onboard Realtek RTL81xx Series
  • WLAN: Intel Wireless AC-9462 (9462NGFF) to Broadcom BCM94352Z (Dell DW1560)
  • SSD1: Samsung 970 EVO 250GB (Windows/macOS multi-booting with CLOVER)
  • SSD2: Samsung 850 EVO 500GB (Data Disk)

Everything works (without SSDT/DSDT patches) flawlessly EXCEPT FOR

  • Brightness (LCD Backlight) Control - Might be functional after patching SSDT and DSDT / installing kext.
  • Almost all Trackpad Gestures - Two-finger scrolling works and may be functional after Voodoo I2C patch.
  • Somewhat laggy window resizing and moving in certain apps such as Chrome - Patched DVMT-prealloc from 32MB to 64MB and used WhateverGreen's Framebuffer patch to increase framebuffer, but still laggy in several apps.
  • HDMI port - This is because GTX 1060 is directly connected to HDMI port, which isn't supported on Mojave.
  • Sleep function - The laptop actually can get to sleep, but it only shows black screen with a mouse cursor after waking up.
  • Thunderbolt 3 port - I have no idea how to fix this issue.
  • Fingerprint Sensor (Touch ID) - Same as above.

Didn't patch both SSDT.aml and DSDT.aml with MaciASL.

  1. Installer USB Creation and Installing

I followed the guide in the link below to make VM for USB installer creation. If you have a real Mac, you'd better use it.

https://techsviewer.com/install-macos-10-14-mojave-virtualbox-windows/

Connected USB Disk to the VirtualBox macOS and followed the guide below.

https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

It is strongly advised to prepare Windows 10 Installation USB disk for bootloader restoration after macOS installation.

Used Option 2 (GPT, one partition) to create the USB Installer.

Using the guide, I've installed Clover bootloader on the USB and added NvmExpressDXE-64.efi for NVME support. But I guess it would work without that efi file. For the kext files, I used latest versions of

  • FakeSMC.kext
  • VoodooPS2Controller.kext
  • USBInjectAll.kext
  • Lilu.kext
  • WhateverGreen.kext
  • RealtekRTL8111.kext

for the USB Installer.

I used RehabMan's config_UHD630.plist in the following Github repository.

https://github.com/RehabMan/OS-X-Clover-Laptop-Config

Built the USB installer with the "createinstallmedia" method according to the RehabMan's Clover guide.

Before installing the macOS, I disabled Secure Boot, Fast Boot, TPM in the BIOS Settings.

Also, I created 300MB EFI Partition (in FAT32 format for later Clover installation), and 120GB of NTFS Partition (later formatted into APFS during installation) for installation.

After booting into macOS installer through Clover on USB installer, I used disk utility to format the 120GB partition from NTFS to APFS.

There is literally nothing to take care of during the installation. Just make sure that you are booting to the Clover on the USB Installer, and everything will be fine.

  1. Windows 10 bootloader restoration and installing Clover Bootloader into boot disk

Before booting into macOS, I booted to Windows 10 installation USB to restore Windows 10's bootloader that had been erased during the installation.

https://medium.com/@hetmansoftware/how-to-restore-the-structure-of-deleted-efi-partitions-in-windows-653a68b5c09f

Follow the guide above, AFTER the section where the guide creates new EFI and MSR partition.

+ If you are using SSD in M.2 slot for OSes, then you should use D:\, not C:\ to copy EFI files to the EFI partition.

Booted to macOS using Clover on the USB Installer and installed Clover on the EFI partition that I've created.

I copied same .EFI files, kexts files and config.plist that I used for the USB installer to the Clover on the SSD.

Also, I added .kext files to /Library/Extensions (/L/E) using "sudo cp -R <original file> <desired location>" command in the terminal.

These are the list of .kext files that I installed in /L/E.

  • ACPIBatteryManager.kext (Battery Indication)
  • AppleALC.kext (Audio Codec Support)
  • BrcmFirmwareData.kext (BCM94352Z WiFi Support)
  • BrcmNonPatchRAM2.kext (BCM94352Z WiFi Support)
  • BrcmPatchRAM2.kext (BCM94352Z WiFi Support)
  • CodecCommander.kext (Audio Fix after sleep, currently useless due to sleep malfunctioning)
  • FakePCIID_Broadcom_WiFi.kext (BCM94352Z WiFi Support)
  • FakePCIID.kext (BCM94352Z WiFi Support)
  • HoRNDIS.kext (USB Internet Tethering Support)

After installing these kexts, macOS was pretty usable except for audio support.

  1. Fixing Audio

Open config.plist in the Xcode plist editor.

First of all, go to Root/Devices/Properties/PciRoot(0)/Pci(0x1f,3), then remove all entries and add

  • hda-gfx (String Type) / Value = onboard-1
  • layout-id (Number Type) / Value = 15
  • no-controller-patch (Number Type) / Value = 1

under the same dictionary.

Next, go to Root/Devices/Audio.

Remove all entries except for "Inject", and change the value of "Inject" to 15.

When you reboot your macOS, the audio will work like magic. Internal speakers and microphones work very well and headphones correctly work when connected.

  1. Other Post-Installation Stuffs

You can set Tab-To-Click (Tapping trackpad once to click) in Trackpad Settings. It is a bit strange that it is not a default optionI really got used to that function while using Windows on laptop more than a decade.

Using the following native power management guide by RehabMan, I got pretty nice battery time and fan noise with low temperature on idle.

https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/

I used "XCPM only" method and placed SSDT-XCPM.aml at /ACPI/Patched folder in Clover.

Actually, macOS' temperature and power management was better than that of Windows, it had significantly lower fan noise and temperature compared to Windows, without performance loss. Pretty nice.

Dell G3's default DVMT-prealloc size is 32MB. It is pretty usable with 32MB DVMT-prealloc using RehabMan's Intel framebuffer patch guide: https://www.tonymacx86.com/threads/guide-intel-framebuffer-patching-using-whatevergreen.256490/

However, I had some graphical lag issues when resizing some applications such as Chrome, Microsoft Office softwares and etc and tried to increase the framebuffer and VRAM size even if it does not matter.

It is impossible to increase DVMT_prealloc in Dell G3's BIOS setup. Therefore, to increase DVMT_prealloc to 64MB (Maximum according to BIOS), you should do some tinkering with BIOS utilities or use my value.

It is unrecommended, but if you are using same model and BIOS version (1.10), you can use my values.

First, download the EFI Shell from the following link.

https://www.firewolf.science/wp-content/uploads/2015/04/EFI-shell.zip

Then, just copy and paste BOOT folder in the root of your blank FAT32 formatted USB drive, and boot with the USB drive.

When grub shell shows up, enter "setup_var 0x8C9 0x2" to increase DVMT_prealloc from 32MB to 64MB.

Clover configuration for the increased DVMT is described below.

These are the full steps from https://osxlatitude.com/forums/topic/10549-how-to-change-dvmt-for-dell-system/

  1. Extract your current BIOS with Universal BIOS Backup Toolkit 2.0
  2. Open the extracted ROM file with UEFITool.exe and search for the following GUID: 899407d7-99fe-43d8-9a21-79ec328cac21
  3. Extract the PE32 image section with the GUID below and convert it to TXT file with Universal IFR Extractor.
  4. Find for the keyword "DVMT Pre-Allocated" in the file and get the Variable (0xOOO) next to it.
  5. From the options below, get the value of 64M.
  6. Boot with the EFI shell described above and enter "setup_var <Variable> <Value of 64M>"
  7. Done.

After these steps, open config.plist and go to /Root/Devices/Properties/PciRoot(0)/Pci(0x02,0)

Remove all entries under it except for the "AAPL,ig-platform-id" and change the value of it to <0900a53e> with the parenthesis.

Then, add the following entries under the same dictionary.

  • framebuffer-fbmem (Data Type) / Value: <00002001>
  • framebuffer-patch-enable (Data Type) / <01000000>
  • framebuffer-stolenmem (Data Type) / <0000a002>
  • framebuffer-unifiedmem (Data Type) / <00000080>

This will make your Framebuffer Memory 42MBytes, Cursor Memory 18MBytes, and VRAM increased to 2GBytes.

To increase VRAM to 3GBytes, change value of "framebuffer-unifiedmem" to <000000c0>.

Basically, these values are byteflipped hexadecimal of bytes.

(Example: 500MBytes => 536870912Bytes => 0x20000000 => 00000020)

Also, I used the following guide to set up the SMBIOS.

https://www.tonymacx86.com/threads/guide-how-to-configure-your-systems-smbios-correctly.198155/

I set my SMBIOS to 15-inch 2018 Macbook Pro with Intel Core i9 Processor.

  1. Things To Do

Patch SSDT/DSDT for LCD backlight control and many other functions.

Use VoodooI2C to enable more trackpad gestures.

Fix Sleep to wake up properly.

+ Screenshot of my Dell G3 hackintosh.

https://i.redd.it/yn1fzs1teta31.png

submitted by /u/jerrybeomsoo
[link] [comments]