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:
- Use a virtual machine or an actual Mac to create a macOS Mojave USB installer.
- Follow the Clover guide on tonymacx86.com for laptop-specific instructions.
- Disable Secure Boot, Fast Boot, TPM, and set up the drive partitions for macOS installation.
- Format the target partition to APFS during installation.
- Boot from USB and install macOS without requiring significant adjustments during the process.
Post-Installation and Bootloader Configuration:
- Restore Windows 10 bootloader if necessary using Windows installation media.
- Install Clover on the EFI partition of the macOS drive.
- Transfer EFI files and kexts from USB to the macOS EFI partition.
- Install additional kexts to /Library/Extensions using Terminal commands.
- 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.
System Configuration
Everything works (without SSDT/DSDT patches) flawlessly EXCEPT FOR
Didn't patch both SSDT.aml and DSDT.aml with MaciASL.
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
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.
Before booting into macOS, I booted to Windows 10 installation USB to restore Windows 10's bootloader that had been erased during the installation. 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.
After installing these kexts, macOS was pretty usable except for audio support.
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
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.
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/
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.
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.
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. [link] [comments] |
Post a Comment