/xps15-9570-macos

macOS Catalina on XPS15-9570 with Clover and OpenCore

Primary LanguagePython

   中文 README 请看 README_CN.md

Configuration

Model XPS15-9570/MacBookPro15,1 Version 10.15.7 19H2
Processor Intel Core i5-8300H/i7-8750H Graphics UHD Graphics 630
Memory Micron 2400MHz DDR4 8GB x2 Storage Samsung PM961 512GB
Audio Realtek ALC298 WiFi/Bluetooth Dell Wireless 1830
Display Sharp LQ156D1 UHD Monitor HKC GF40 FHD 144Hz

Not Working

  • DiscreteGPU
  • Thunderbolt
  • Fingerprint
  • Bluetooth may not work (explain)
  • USB Hub may stop working randomly if you plug USB2 devices in it
    • USB Hub with external power supply may work properly

Installation

Please use the latest release.

  • INTEL: Intel Wireless Card
  • BRCM: Broadcom Wireless Card/Dell Wireless Card

Intel Wireless Card

This config supports Intel Wireless Card, but the default AirportItlwm.kext is for Catalina, if you are running Big Sur or other versions of macOS, you have to replace the default one from OpenIntelWireless/itlwm.

Big Sur

OpenCore in latest release can OTA to/install Big Sur, but installing Big Sur on some Samsung SSDs like SM961/PM961 is very likely to fail (I have tried many kinds of configuration but nothing works, my SN550 is fine), do it at your own risk, don't open issue just for installation problem, unless you have a solution.

For 4k display user: you need to run python3 update.py --bigsur (update.py in this repo) to override edid to force display to run at 48Hz, otherwise your display will be blank on Big Sur. Don't worry, this script use AAPL00,override-no-connect property in config.plist to override EDID, you can remove it at any time. You can run python3 update.py --edid restore to restore this change.

FHD Display

If your laptop display is 1080p, you have to modify your config.plist:

  • Find uiscale and change its value to 1 for CLOVER and AQ== for OC

  • Find dpcd-max-link-rate and change its value to CgAAAA==

Or simply run python3 update.py --display fhd.

Post Installation

You can use Clover Configurator or OpenCore Configurator, but code editor is a better choice.

If you changed kexts/drivers, you can run python3 update.py --config to update these info to config file. If you changed ACPI, you can run python3 update.py --acpi.

You can run python3 update.py --self to update update.py.

You may refer to [EN] bavariancake/XPS9570-macOS and [CN] LuletterSoul/Dell-XPS-15-9570-macOS-Mojave for the installation guide and solutions to some common issues.

But note that please create an issue in this repository if you encounter any problem when using this config. My writing in English is poooooor:(, but I can read :).

Silent Boot

Remove -v in boot-args to turn off verbose mode(printing boot messages on screen).

python3 update.py --set bootarg--v

Headphone

After updating to 10.15, headphone will be distorted after a few minutes in battery mode.

You have to install ComboJack (run install.sh).

Sleep Wake

Please run following commands:

sudo pmset -a hibernatemode 0
sudo pmset -a autopoweroff 0
sudo pmset -a standby 0
sudo pmset -a proximitywake 0

or simply run python3 update.py --fixsleep.

Please uncheck all options (except Prevent computer from sleeping..., which is optional) in the Energy Saver panel.

SN MLB SmUUID and ROM

Please use your own SN, MLB and SmUUID, you can copy smbios.json to a new one and change sn, mlb and smuuid fields to your own, then run python3 update.py --smbios xxx.json to use them, xxx.json is your plist file to store those values.

If you don't have those values, you can run python3 update.py --smbios gen to generate them(will saved to both gen_smbios.json and config file).

SmUUID

Highly recommend you to use Windows system UUID as SmUUID: run wmic csproduct get UUID in Windows CMD.

ROM

ROM is one of the key attributes to fix iServices. You can run:

python3 update.py --set rom=$(ifconfig en0 | awk '/ether/{print $2}' | sed -e 's/\://g')

to use the MAC address of en0 as ROM.

Font Smoothing

If you are using FHD(1080p) display, you may want to enable font smoothing:

defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO # YES to disable

CLOVER Theme

You can set theme to one of these themes.

python3 update.py --set theme=xxx # will download if not exist

NTFS Writing

Add UUID=xxx none ntfs rw,auto,nobrowse to /etc/fstab, xxx is the UUID of your NTFS partition.

If your NTFS partition has Windows installed, you need to run powercfg -h off in powershell in Windows to disable hibernation.

Tap Delay

  • Turn off Enable dragging or use three finger drag to avoid one-finger tap delay.
  • Turn off Smart zoom to avoid two-finger tap delay.

See is-it-possible-to-get-rid-of-the-delay-between-right-clicking-and-seeing-the-context-menu

Credits