/XPS-9360-macOS

XPS 13 (9360) for macOS Catalina | Mojave

Primary LanguagePythonApache License 2.0Apache-2.0

macOS on XPS 13 9360

Currently compatible with macOS 10.15.1, 10.15, 10.14.6 ,10.14.5, 10.14.4

  • Device : Dell XPS 13 9360
  • CPU : Intel i7-8550U
  • GPU : Intel UHD 620
  • RAM : SK Hynix 16GB 2133 MHz LPDDR3
  • Sound : ALC256 (ALC3246)
  • SSD : WD Black SN750 (WDS100T3X0C) 1TB NVMe PCIe SSD
  • Display : FHD (1920x1080) on XPS | QHD (2560x1440) on external display (CHIMEI 27P10Q)
  • Webcam : UVC Camera VendorID_3034 ProductID_22155
  • Wifi-Card : Swapped the original Killer 1535 with DW1560
  • Thunderbolt 3 Dongle : Dell DA300
  • OS: macOS Mojave 10.14.6 (18G95)

Device Firmware

  • BIOS Version: BIOS 2.8.1
  • Thunderbolt Version: NVM 26

Clover Firmware

  • Clover r5096

Pre-Installation

Create bootable USB installer:

  • Running Python Script in terminal, works with Windows|GNU/Linux|macOS environment, download the version you prefer.
  • Make bootable drive with balenaEtcher.
  • Copy the whole repository to the EFI partition.

DVMT

  • Enter BIOS/Boot Sequence, add Boot Entry with CLOVER/tools/DVMT.efi , then run the following commands
  setup_var 0x4de 0x00  // Disable CFG Lock
  setup_var 0x785 0x06  // Increase DVMT pre-allocated size to 192M For FHD version, it's also recommended setting to 192M
  setup_var 0x786 0x03  // Increase CFG Memory to maximum

Format SSD with 4K sectors for APFS - You would need to make a Linux Bootable Drive

Get compatible with LITEON and PLEXTOR SSD

  • To solve the problem, you need to add patches to existed config.plist
  • THE config.plist with patches is under the path with /CLOVER/config for LITEON.
  • Try any one at each time, one of them is captible with your SSD.

BIOS settings

  • Sata: AHCI

  • Enable SMART Reporting

  • Disable thunderbolt boot and pre-boot support

  • USB security level: disabled

  • Enable USB powershare

  • Enable Unobtrusive mode

  • Disable SD card reader (saves 0.5W of power)

  • TPM Off

  • Deactivate Computrace

  • Enable CPU XD

  • Disable Secure Boot

  • Disable Intel SGX

  • Enable Multi Core Support

  • Enable Speedstep

  • Enable C-States

  • Enable TurboBoost

  • Enable HyperThread

  • Disable Wake on USB-C Dell Dock

  • Battery charge profile: Standard

  • Numlock Enable

  • FN-lock mode: Disable/Standard

  • Fastboot: minimal

  • BIOS POST Time: 0s

  • Enable VT

  • Disable VT-D

  • Wireless switch OFF for Wifi and BT

  • Enable Wireless Wifi and BT

  • Allow BIOS Downgrade

  • Allow BIOS Recovery from HD, disable Auto-recovery

  • Auto-OS recovery threshold: OFF

  • SupportAssist OS Recovery: OFF

  • Disable Camera

Things to fix after boot into the system successfully

  • Download and install Clover Configurator, then mount EFI partition.

  • Copy the whole folders and files from this repository to EFI partition, for booting without USB purpose.

  • Enter the BIOS/Boot Sequence adding new entry with path /EFI/EFI/CLOVER/CLOVERX64.efi

  • Activate Wifi and Bluetooth functions for DW1560, follow next step, or skip it.

  • You have to copy the kexts from path /DW1560 to /Library/Extensions, and then running Commandsto fix the permission.

If booting with OpenCore Configurator rather than Clover Configurator, the three kexts above has existed in /OC/Kexts already, you still have to copy them to /Library/Extensions, and then running /tools/Kext Utility to fix the permission.
  • Change your SMBIOS settings for your device
    • Install Clover Configurator, then Open /CLOVER/config.plist with Clover Configurator, enter the SMBIOS Mode.
    • Generate new Serial Number, SMUUID, save the changes ---> REBOOT
If booting with OpenCore Configurator rather than Clover Configurator, install OpenCore Configurator, then enter SMBIOS to do same things above.
  • Running XPS9360.sh with the instructions as below
  • After mounting the EFI partition with Clover Configurator or running the following commands below in terminal..
  • Find the disk name of EFI partition with the command.
   sudo diskutil list
  • Mount EFI partition with the command
   sudo diskutil mount /dev/disk0s1
  • Running XPS9360.sh to Compile DSDT
   bash /Volumes/EFI/XPS9360.sh --compile-dsdt
  • Running XPS9360.sh to Enable Third Party Application
   bash /Volumes/EFI/XPS9360.sh --enable-3rdparty
  • Running XPS9360.sh to Disable Touch ID for the Fingerprint couldn't work on Hackintosh
   bash /Volumes/EFI/XPS9360.sh --disable-touchid

Enable Trim on SSD

Although it's set Native TRIM support with the settings on this installation, if it's disabled, run the commands below.

sudo trimforce enable

Fix the Headset Jack

  • Running the below commands to fix Headset Jack
   bash /Volumes/EFI/ComboJack/install.sh
  • Buzz sound occurs with headphone or speaker:
  Open System Preferences/Sound/Input

For Better Sleep

Run the Commands below:

 sudo pmset -a hibernatemode 0
   sudo pmset -a autopoweroff 0
   sudo pmset -a standby 0
   sudo rm /private/var/vm/sleepimage
   sudo touch /private/var/vm/sleepimage
   sudo chflags uchg /private/var/vm/sleepimage

CPUFriend

If your config.plist works with MacbookPro 15,2 , I have put corresponding kexts and SSDT in the folder as well.

If you need to generate new CPUFriend kexts, refer to Commands, and follow this link

Custom setting the delay between trackpad and keyboard

To do that you need to edit Info.plist in VoodooI2CHID.kext:

  • Open the Info.plist in the VoodooI2CHID.kext with any Text Editor(I use Atom)
  • Finding the QuietTimeAfterTyping
  • Changing the value you prefer

I have preset the value to 0

More Custom Settings

Refer to Commands for more customization.

HiDPI

Use one-key-HiDPI

Optional Settings

CPU Undervolting

If having the same CPU as mine, you can do the undervolting settings below.

Warning!!! This may cause crash on your device, please be aware.

Enter BIOS/Boot Sequence then add new Boot with CLOVER/tools/DVMT.efi, run the following commands

  • Overclock, CFG, WDT & XTU enable
       setup_var 0x4DE 0x00
       setup_var 0x64D 0x01
       setup_var 0x64E 0x01
  • Undervolting values:
       setup_var 0x653 0x64     // CPU: -100 mV
       setup_var 0x655 0x01     // Negative voltage for 0x653
       setup_var 0x85A 0x1E     // GPU: -30 mV
       setup_var 0x85C 0x01     // Negative voltage for 0x85A

Swapping SSD

  • You need an external NVMe reader to carry your new SSD as an external drive.
  • Under macOS environment, using Disk Utility format your new SSD as APFS format.
  • Using Carbon Copy Cloner, to clone the whole System Disk to your new drive.

Credits

Kexts version and authors are mentioned in kexts_info.txt