leocg / Hackintosh-Dell-G5-5590

Hackintosh Dell G5 5590 / i7-9750H / Intel UHD 630 & GeForce RTX 2060 / 15.6 (1920x1080) 144hz / 16GB DDR4 2666MHz (8GBx2)
The Unlicense
60 stars 8 forks source link

Hackintosh-Dell-G5-5590

:computer: ​Laptop Specs

Dell G5 5590 A70P/M70P/A80P/M80P [RTX 2060 or GTX 1660 Ti models]

Component Description
Processor Core i7-9750H 6C/12T (Coffee Lake Refresh)
iGPU Intel UHD 630 Graphics
dGPU nVidia GeForce RTX 2060 (not supported)
Display 15.6 1080p (1920x1080) 144hz
Memory 16GB DDR4 2666MHz (8GBx2)
Storage 512GB Intel NVMe SSD
Audio Realtek ALC3204-CG (ALC236)
Wifi/Bluetooth Qualcomm QCA61x4A (DW1820) (wifi not supported / bluetooth supported, replaced with card described in next table)
Ethernet Killer GB E2500V2 10/100/1000 Mbps
Extra Hardware Description
SSD in second bay 1tb SSD (Crucial MX500)
Wifi/Bluetooth Fenvi BCM94360NG (ordered m2 card at aliexpress from Fenvi Store) - Need to disable Sistem Integrity Protection to run with macOS Sonoma (Instructions avaliable below)

Tested with:

*macOS Sonoma removed all kexts related to Broadcom Wifi. If you are using a third party card (like Fenvi), you'll need to disable SIP an re-enable wifi card as described in this article. A new - POST INSTALL - EFI is avaliable in order to activate wifi. Instructions avaliable below.

GeekBench 6 - macOS Ventura 13.2.1

GeekBench 6 - macOS Ventura 13.2.1

GeekBench 5 - macOS Ventura 13.2

GeekBench 5 - macOS Ventura 13.2

INSTALLATION

Tested with RTX 2060 and GTX 1660 Ti versions, both share same hardware specs (Thunderbolt 3 port)

BIOS VERSION (Check your BIOS version before anything)

Updating BIOS will reset CFG-Lock and Undervolting to factory settings, after update you must follow the steps to disable CFG-Lock and enable Undervolting again.

MEMORY UPGRADE

Read official guide to understand stuff, not needed, but it's nice to understand what you're doing

BIOS SETUP:

OPENCORE SETUP:

DISABLING CFG LOCK (optional):

The i7 9750h CPU supports disabling CFG Lock, but it's not disabled by default in BIOS. In order to disable, you'll need to follow some steps:

  1. Format a USB drive to FAT32 on a GUID partition map.
  2. Make a folder called EFI in the root of the USB
  3. Inside this, make a folder called BOOT
  4. Download this file and place it inside BOOT
  5. Rename this file to bootx64.efi
  6. Boot into the USB drive (spam F12 at the BIOS prompt and select your USB drive)
  7. Once this has loaded, enter setup_var_3 0x5C4 0x00 to disable CFG lock. You can disable Undervolting lock now too, following step 7 from the UNDERVOLTING section.
  8. Enter reboot to exit and restart your computer.
  9. You can verify if your CFG Lock is disabled using ControlMsrE2.efi from OpenCore OC/Tools folder. Copy it to your EFI/OC/tools and put the parameters below into your config.plist at Misc -> Tools:

  1. Reboot your laptot and select ControlMsrE2 in the boot picker. If your CFG Lock is successfully disabled, you will see the information "This firmware has UNLOCKED MSR 0xE2 register!".

UNDERVOLTING (optional):

The i7 9750h CPU supports undervolting, but it's not enabled by default in BIOS. In order to enable, you'll need to follow some steps, pretty similar to disable CFG Lock:

  1. Format a USB drive to FAT32 on a GUID partition map.
  2. Make a folder called EFI in the root of the USB
  3. Inside this, make a folder called BOOT
  4. Download this file and place it inside BOOT
  5. Rename this file to bootx64.efi
  6. Boot into the USB drive (spam F12 at the BIOS prompt and select your USB drive)
  7. Once this has loaded, enter setup_var_3 0x660 0x00 to disable overclocking lock. You can disable CFG Lock now too, following step 7 from the DISABLING CFG LOCK section.
  8. Enter reboot to exit and restart your computer.

Now you have undervolting enabled. Next step: download VoltageShit (https://github.com/sicreative/VoltageShift) and extract it. I place the voltageshift folder inside Applications folder.

Next make some tests in order to define the best frequency for you. I got a very stable setup using -225mv CPU voltage offset ans -125mv on CPU Cache voltage offset. Start with -125mv in both and then try to rise CPU voltage offset to -225mv:

Updating OpenCore:

When a new release is avaliable, just download the zip file and update the new config.plist with your old config.plist values:

PlatformInfo -> Generic

If you didn't disable CFG LOCK, change the values below (don't need to change if you disabled CFG LOCK):

Kernel -> Quirks

UPDATING TO SONOMA

Update to sonoma is easy, just run software updater using OpenCore 0.9.5 or above. In case you get an error downloading update from macOS Software Updater, download InstallAssistant.pkg from Apple Server, run it and double click on Install macOS Sonoma.app created on Applications folder.

Enabling Broadcom Wifi with Sonoma

If you are running a Broadcom (Eg. Fenvi) card, you'll need to run extra steps:

WARNING: disabling SIP (System Integrity Protection) is mandatory for now.

  1. Update to Sonoma using software updater
  2. After booting in Sonoma, download the Post Install Wifi Enabler EFI from Releases page and restart machine using this new EFI (the modified version includes new kexts in order to load broadcom driver, disable AMFI, disable System Integrity Protection and disable SecureBoot)
  3. Download the nightly build of OpenCore Legacy Patcher avaliable on Nightly.link: OpenCore-Patcher.app (Sonoma Development)
  4. Run OpenCore Legacy Patcher
  5. Click on Post-Install Root Patch and click on Start Root Patching. Put your password in order to open in root mode and restart when asked. - If you can't apply root patches with OpenCore Legacy Patcher, add amfi=0x80 to NVRAM -> Add -> 7C436110-AB2A-4BBB-A880-FE41995C9F82 -> boot-args and reboot. Remove this boot arg after installing root patches and rebooting.
  6. Wifi, continuity and AirDrop is reenabled.
  7. Edit your config.plist and change Misc -> Security -> SecureBootModel to Default and restart to apply changes.

To undo the process above and enable SIP again, Edit your config.plist and change Misc -> Security -> SecureBootModel to Disabled and restart computer. Run OpenCore Legacy Patcher, click in Post-Install Root Patch and click on Revert Root Patches. Restart and put the original OpenCore 0.9.5 EFI.

Some drivers could stop working after disabling SIP. I can't run Instantview in order to run a second external monitor using the modified EFI. Resolved with release 5.0.1 and new nightly build of OpenCore Legacy Patcher 0.6.9. If you installed latest release (5.0), use OpenCore Legacy Patcher to revert changes before using new EFI or system won't boot!

KNOWN ISSUES

WORKING

:white_check_mark: iGPU Acceleration
:white_check_mark: Native brightness control (Thanks @caiomascarin)
:white_check_mark: 144hz display
:white_check_mark: External monitor using USB-C to HDMI adapter. Other ports (HDMI and Mini Display Port) won't work, they're liked to nVidia GPU
:white_check_mark: Apple Services
:white_check_mark: Keyboard with backlight (RGB backlight works, but had to setup at Windows 10 Alienware Command Center. When boot at macOS the config remains, including color. I'm able to work with Alienware Command Center using VMware Fusion to boot Windows 10 partition (as Boot Camp) and connecting Alienware AW-ALC in Virtual Machine -> USB & Bluetooth. Had to reboot a few times in order to work for the first time.
:white_check_mark: Trackpad with multitouch gestures
:white_check_mark: Speakers
:white_check_mark: Microphone
:white_check_mark: Webcam
:white_check_mark: USB 2/3/C ports
:white_check_mark: Card reader
:white_check_mark: CFG Lock disabled
:white_check_mark: NVRAM
:white_check_mark: Bluetooth - Using Fenvi BCM94360NG (Original card worked with bluetooth out of box too)
:white_check_mark: USB-C video out (using generic USB-C to HDMI adapter)
:white_check_mark: Ethernet (Thanks @radaelilucca)
:white_check_mark: FairPlay 2.x/3.x DRM videos :white_check_mark: :warning: Apple Communications (Continuity, airdrop, etc) - Using Fenvi BCM94360NG (Original card didn't provide support)
:white_check_mark: :warning: Wi-Fi - Using Fenvi BCM94360NG (Original card don't work on macOS)
:white_check_mark: :warning: Thunderbolt 3 (can see device in Hackintosh but don't have any Thunderbolt peripheral to test)

NOT WORKING

:x: nVidia GPU - not compatible with macOS

:x: HDMI and Mini Display Port video out (linked to nVidia GPU. Use USB-C to HDMI adapter to use external display)

:x: WiFi Qualcomm QCA61x4A (DW1820) - not compatible with macOS. Replaced mine with Fenvi BCM94360NG

:x: FairPlay 1.x and FairPlay 4.x DRM videos

:x: ComboJack (microphone). Headphone work fine, but mic don't work. You'll have to rely on the internal mic or bluetooth headset.

SCREENSHOTS

AirDrop

Continuity

Video Acceleration

iMessage

NMVe Disk Speed Test

If you like this guide and want to help with any value, please buy me a coffee :coffee:

paypal

CHANGELOG

SEPTEMBER 29 2023 (v5.0.1)

SEPTEMBER 27 2023 (v5.0)

AUGUST 15 2023 (v4.6)

JUNE 28 2023 (v4.5.1)

JUNE 13 2023 (v4.5)

View past updates on Changelog.md

About

This is my "Hackintosh Diary", will be using it to maintain a triple boot Dell G5 5590 a80p between macOS, Arch Linux and Windows.

Used Vanilla Laptop Guide from Dortania, but laptop and desktop guide was merged into OpenCore Install Guide.