Contribute
Register

[Guide] Dell XPS 9560 Monterey OpenCore

Status
Not open for further replies.
Joined
Jul 25, 2013
Messages
448
Motherboard
Asus X99 Deluxe
CPU
E5-2697v3
Graphics
RX 580
Mac
  1. iMac
  2. MacBook
  3. MacBook Air
  4. MacBook Pro
  5. Mac Pro
Classic Mac
  1. iMac
  2. Power Mac
  3. Xserve
Mobile Phone
  1. Android
  2. iOS
Release and Updates
  • Release Feb 22, 2023 XPS 9560 v1.3 - OC 0.8.9
    • Update Kexts to Latest
      • Note update of VoodooI2C to v2.8, fix KP in Ventura
    • Final release of Monterey EFI - next release will be Ventura
    • This release should support Ventura - untested.


Latest: https://www.tonymacx86.com/threads/guide-dell-xps-9560-monterey-opencore.316881/page-5#post-2295959

Older:

Update 12/29/21 on Undervolting.
  • Release Dec 12, 2021 XPS 9560 v1.1 - OC 0.7.6
    • Add 1080p Support
      • Added @jstash Device-Properties in new config_1080p.plist
    • Add @blazinsmokey's fix for HDMI Audio
      • Remove FakePCIID - deprecated
    • Add FeatureUnlock.kext 1.0.4
    • Update to latest Lilu / VirtualSMC / WhateverGreen
  • Release Nov 05, 2021 XPS 9560 v1.0 - OC 0.7.5.zip
    • Initial Monterey Support
      • Upgrade from Big Sur Changes:
        • Disable BrcmBluetoothInjector.kext
        • Add new BlueToolFixup.kext
        • Disable FakePCIID.kext and Intel_HDMI_Audio.kext
          • Causing kernel panics, pending update or fix.

This is essentially an updated copy of @blazinsmokey's XPS 9560 guide for Big Sur, but with an updated EFI to support the changes in macOS Monterey. Full credit for this outline, post format, and guide goes to them with minor kext adjustments by yours truly for Monterey support.

As always, I would prefer if you did not simply copy/paste this EFI. Please read the guide thoroughly, even make your own EFI, and use this as a reference point. Hardware, BIOS revisions, and settings differ from computer to computer, and this is not nor will it ever be a one click solution to install macOS on your XPS 9560. Please use this guide as a reference to learn something - you should understand how OpenCore works before even attempting this.

Hardware in My XPS 9560
  • i7-7700HQ
  • 4K UDH Display
  • Intel HD 630
  • Samsung PM961 1TB NVMe SSD
  • Dell DW1560 (Broadcom BCM94352Z M.2)
  • 97WHr Battery
Overview

This guide is based off of the previous Big Sur guide located HERE. It takes inspiration from this GitHub Repo with various quality of life updates.
This laptop is my daily driver, so stability is at the forefront of this config. There may be improvements or other tweaks - please feel free to share them here.

What Works
  • CPU Power Management
  • Native NVRAM
  • Battery Support
  • Sleep and Wake with Lid
  • Intel HD 630 iGPU
  • HDMI Out (No Audio)
  • USB-C to HDMI 2.0 @ 4K60Hz
  • ALC298 Audio
  • Headphone Jack/Combo Jack (headphone / headset(w/mic) support)
    • Script updated for Big Sur & Later by @blazinsmokey, originally by KNNSpeed
  • Brightness Adjustment with Native Keys
  • Keyboard
  • Trackpad with Gestures
  • Webcam
  • WiFi & Bluetooth (With DW1560)
  • iCloud Services
  • FileVault2 Encryption
  • Dell TB16 Thunderbolt Dock with Triple Display
    • Requires Cold Boot of Machine, details below
What Doesn't Work
  • Finger Print Sensor
  • NVIDIA GTX 1050
    • Disabled via SSDT for macOS
BIOS Configuration (1.18.0)
If you are using BIOS newer than 1.18.0, undervolting has been disabled. See Undervolting section below to re-enable. I am staying on 1.18.0 for native undervolt support, but BIOS settings are the same.

Plug in the USB installer before you boot and start to change these settings.
If I didn't list the section or option it is likely you can choose what you want.

  • Advanced Boot Option - enable Legacy Option ROMs (we'll need these for some handy tools at boot)
  • Boot Sequence
    • as of OC 0.6.6, you can boot OpenCore.efi directly as a UEFI application
  • SATA Operation set to AHCI
  • USB Configuration - enable both options
  • Dell Type-C Dock Configuration - Always Allow
  • Thunderbolt Adapter Configuration - Enable Tech Support and no security
  • Secure Boot - Disabled
  • Intel Software Guard Extensions
  • Intel SGX - Software Controlled
  • AC Behavior - Wake on AC- disable
  • USB Wake Support USB Wake Support - Disabled
    • Wake on Dell USB-C Dock - Enabled
  • Wake on WLAN - Disabled
  • POST Behavior - Fastboot - Thorough
  • You can leave all the virtualization stuff enabled
Modifying your UEFI
You must have legacy option roms enabled! Turn it back off after it's done.

If you do not wish to modify your UEFI, you can enable the "AppleXcpmCfgLock" quirk in OpenCore to bypass the MSR lock.

We need to accomplish at least one thing and that is to disable CFG Lock. I listed additional options that I also adjusted on my system but they are OPTIONAL but pretty universal to all hacks working better. Attached is the dump of BIOS v1.21.0. It's in a text file and fairly easy to understand.

disable cfg lock setup_var 0x4ed 0x01 enable hwp setup_var 0x4BC 0x01 enable above 4GB MMIO BIOS assignment setup_var 0x79A 0x01 disable CSM Support setup_var 0xFC8 0x01

Inside EFI/OC/Tools/ you'll find drivers modGrubShell and VerifyMsrE2. If you followed the BIOS settings you should have enabled legacy option roms already. I've added these to OpenCore and these tools should be bootable from OpenCore's boot picker.

  1. At the OpenCore picker, choose modGrubShell
  2. If you only enter "setup_var 0x4ed" it will return it's current value which would be 0x01. 0=false/disable, 1=true/enable
  3. I recommend always check the current setting before changing and verify what you're checking. It helps with alleviating user error.
  4. If it returned expected variable and setting, press the up arrow which will populate the last command and then add the remaining. You should be entering "setup_var 0x04ed 0x01" to disable CFG Lock.
  5. I highly recommend enabling HWP and the others I only recommend. If you're testing the TB then I suggest going to mistzzt's repo and doing all of them.
  6. Type exit and your computer will restart
  7. This time boot VerifyMsrE2, you'll get a message on the screen letting you know the current state of the machine's CFG Lock.
NOTE: If you restore BIOS to default settings, it will in fact undo these bit switches to default.

There are additional tweaks that can be made to the UEFI that are desirable to some users. See this page for more information.

BootCamp Notes:
OpenCore will apply patches/etc to the ACPI even if you boot Windows. Some users have reported instability or other issues while booting Windows from OpenCore, though personally, I have not had issues. Use this at your own risk. To avoid booting Windows or other OS's with OpenCore, use the F12 Boot Menu and another boot option in BIOS to bypass OpenCore entirely.

Installing Options

  • You have to format install partition to APFS
  • 4K screen users
    • Framebuffer is adequate for both 1080p and 4K @60Hz users, including 4K@60Hz on USB-C/TB
    • change the UIScale to <02>
      • config.plist @ NVRAM/Add/4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
Setup your own SMBIOS, DO NOT USE THE ONE GIVEN. I am using MacBookPro14,3 with USB ports defined via SSDT rather than USBPorts.kext. If you are using USBPorts.kext, take a strong note on which SMBIOS you are using! USBPorts.kext is specific to a particular SMBIOS. This can be edited by modifying the Info.plist inside the kext.
  • config.plist @ PlatformInfo/Generic
    • MLB
    • ROM
    • SystemProductName
    • SystemSerialNumber
    • SystemUUID
  • If you use 14,1, NoTouchID.kext is not needed as there is no TouchBar on this model.
After install, copy your USB EFI over to your hard drive and setup BIOS boot sequence to point at the hard disk version.

Post Install
Fixing KNNSpeed's ComboJack Installer

Screen Shot 2020-11-26 at 2.14.31 PM.png

  • Installing the ComboJack
    • VerbStub.kext is already included in config.plist and kext folder
    • CD into the combojack folder and run install.sh and follow the directions
      • Special thanks to @blazinsmokey for fixing the original install.sh script to install to usr/local/bin for security purposes.
CPUFriendDataProvider.kext
  • After you have your SMBIOS setup, head to the https://github.com/corpnewt/CPUFriendFriend and follow the directions
  • The SMBIOS you are using is linked to the data provider, this is why you should always make your own. Plus you get the benefit of tailoring power/performance to your own needs.
  • Included kext is only valid for the i7-7700HQ.
Undervolting

  • As of 12/27/21, VoltageShift.kext has been updated (pending merge into master) by user "zspherez." However, it requires you to self-compile and self-sign the kext and program. Please read carefully.
  • Additionally, undervolting has been disabled in BIOS revisions after 1.18.0.
  • To get around this, modifications to the UEFI variables can be made using the same method as we did previously.
    • See this guide for variable info.
    • I am stable with the provided undervolts on this page.
Cleaning up tools

  • you can delete unused tools from the EFI/OC/Tools
    • or better yet, hide them as "Auxiliary" in case they are needed later.
      • config.plist/Misc/HideAuxiliary -> True
Boot GUI and Boot Chime

  • GUI picker and boot chime are configured, but disabled.
    • volume adjustment
      • config.plist/NVRAM/7C436110-AB2A-4BBB-A880-FE41995C9F82/SystemAudioVolume
      • the value entered here is hex therefore 32 = 50% volume
  • To enable, change "PlayChime" in config.plist/UEFI/Audio/PlayChime to Enabled
Booting Windows with OpenCore
ACPI Breakdown
This info comes direct from the previous guide.
  • SSDT-DMAC-PMCR.aml
  • SSDT-EC-USBX.aml
  • SSDT-HPET.aml
  • SSDT-I2C.aml
  • SSDT-PlugPlus.aml
    • plugin-type, adp1 to ac, disable gpu methods, gprw, uprw, pts, wak
  • SSDT-PNLF.aml
    • backlight, brightness keys
  • SSDT-SBUS-MCHC.aml
  • SSDT-USBP.aml
    • USB Ports Defined via SSDT
  • SSDT-TypeC.aml
    • Taken from Big Sur Guide
    • Turns the port into a express card like it has been used for years
    • Works with Thunderbolt Devices on Cold Boot

Kext Info
Everything is pretty self explanatory but I will list some key information

  • AirportBrcmFixup.kext
    • In Big Sur & Later AirPortBrcm4360_Injector.kext needs to be disabled or set with Max Kernel 19.9.9
  • AppleALC.kext
  • BlueToolFixup.kext
  • BrcmFirmwareData.kext
  • BrcmPatchRAM3.kext
  • BrightnessKeys.kext
  • CPUFriend.kext
    • Finer tuned CPU power management
  • CPUFriendDataProvider.kext
    • This should be technically be created by you, can be auto populated instructions in Post Install
    • The included is for 7700HQ
  • HibernationFixup.kext
  • Lilu.kext
  • NVMeFix.kext
  • NoTouchID.kext
    • Not needed if using 14,1 SMBIOS
  • SMCBatteryManager.kext
  • SMCDellSensors.kext
    • Replaces SMCSuperIO.kext
  • SMCProcessor.kext
  • VerbStub.kext
    • Same from KNNSpeed, but the rest of the combo jack has been modified to work in Big Sur discussed below
  • VirtualSMC.kext
  • VoodooI2C.kext
  • VoodooI2CHID.kext
  • VoodooPS2Controller.kext
  • WhateverGreen.kext
 

Attachments

  • ComboJack Installer-modified.zip
    784.3 KB · Views: 164
  • XPS 9560 v1.3 - OC 0.8.9.zip
    65.9 MB · Views: 310
Last edited:
Second post reserved.
 
Can FakePCIID.kext be removed from the kexts folder, if I only want to use Mac OS monterey?

And thx for bringing @blazinsmokey build back to life :) I will try it, on Tuesday.
 
Can FakePCIID.kext be removed from the kexts folder, if I only want to use Mac OS monterey?

And thx for bringing @blazinsmokey build back to life :) I will try it, on Tuesday.
FakePCIID.kext doesn't do anything on it's own

but it is needed for FakePCIID_Intel_HDMI_Audio.kext so you can have hdmi audio out
 
FakePCIID.kext doesn't do anything on it's own

but it is needed for FakePCIID_Intel_HDMI_Audio.kext so you can have hdmi audio out
Yeah, but both are deactivated? So its possible to remove them from the folder?
 
Yeah, but both are deactivated? So its possible to remove them from the folder?
if you do not use them for hdmi audio then yes you can remove them

i used to use them then sorted it out and don't need them anymore and have hdmi audio out
 
Second post reserved.
I have tried with your setup but no luck,
its weird because I have the same hardware,
I hope you can find what is wrong, because I can't

my xps:
Dell XPS 15 9560 (i7-7700HQ, FHD) (XPS 15 9560 Series)
Processor -Intel Core i7-7700HQ 4 x 2.8 - 3.8 GHz, Kaby Lake
Graphics adapter -NVIDIA GeForce GTX 1050 Mobile - 4096 MB, Core: 1354 MHz, Memory: 7008 MHz, GDDR5, 373.06, Optimus
Memory -32GB , 1300 MHz, Dual-Channel, 17-17-17-39, 2x SODIMM
Display -15.60 inch 16:9, 1920 x 1080 pixel 141 PPI, IPS
Mainboard -Intel HM175
Networking -Dell DW1560 (Broadcom BCM94352Z M.2) Broadcom 802.11ac Network Adapter #2
Battery -97 Wh Lithium-Ion
Disk - Model KXG50ZNV1T02 NVMe TOSHIBA 1024GB
Connections -2 USB 3.0 / 3.1 Gen1, 1 USB 3.1 Gen2, 1 Thunderbolt, 1 HDMI, 1 DisplayPort, 1 Kensington Lock, Audio Connections: 3.5mm combo, Card Reader: SD, Brightness Sensor
CameraWebcam: HD 720p
BIOS Version/Date Dell Inc. 1.23.1, 5/25/2021

thank you in advance
Y
 
I have tried with your setup but no luck,
its weird because I have the same hardware,
I hope you can find what is wrong, because I can't

my xps:
Dell XPS 15 9560 (i7-7700HQ, FHD) (XPS 15 9560 Series)
Processor -Intel Core i7-7700HQ 4 x 2.8 - 3.8 GHz, Kaby Lake
Graphics adapter -NVIDIA GeForce GTX 1050 Mobile - 4096 MB, Core: 1354 MHz, Memory: 7008 MHz, GDDR5, 373.06, Optimus
Memory -32GB , 1300 MHz, Dual-Channel, 17-17-17-39, 2x SODIMM
Display -15.60 inch 16:9, 1920 x 1080 pixel 141 PPI, IPS
Mainboard -Intel HM175
Networking -Dell DW1560 (Broadcom BCM94352Z M.2) Broadcom 802.11ac Network Adapter #2
Battery -97 Wh Lithium-Ion
Disk - Model KXG50ZNV1T02 NVMe TOSHIBA 1024GB
Connections -2 USB 3.0 / 3.1 Gen1, 1 USB 3.1 Gen2, 1 Thunderbolt, 1 HDMI, 1 DisplayPort, 1 Kensington Lock, Audio Connections: 3.5mm combo, Card Reader: SD, Brightness Sensor
CameraWebcam: HD 720p
BIOS Version/Date Dell Inc. 1.23.1, 5/25/2021

thank you in advance
Y
what's the issue?
 
what's the issue?
I setup the efi disk with my config and the files from the efi folder and the disk don't boot , the laptop don't recognise the disk to boot, it says that there is "no attached disk"
I try to boot from external disk, because I have the original windows setup intact(disabled)
 
I setup the efi disk with my config and the files from the efi folder and the disk don't boot , the laptop don't recognise the disk to boot, it says that there is "no attached disk"
I try to boot from external disk, because I have the original windows setup intact(disabled)
so to confirm, you have a usb disk, a hidden EFI partition and a folder in there called EFI with your other folders within?
 
Status
Not open for further replies.
Back
Top