Contribute
Register

[Guide] Dell XPS13-9360 (2016) Sierra-10.12.2

Status
Not open for further replies.
Joined
Feb 12, 2016
Messages
42
Motherboard
Intel NUC8i7BEH
CPU
i7-8559U
Graphics
Iris Plus 655
Welcome to the Dell XPS-13 9360 guide for macOS Sierra 10.12.2. The guide is incomplete but will continue to be updated as more fixes get figured out. The aim was to get as many of the patches hotpached via Clover as possible, in order to (in theory) remove the need to re-patch the DSDT after BIOS updates, etc. As it stands now, even with this minimal amount of patches everything is 100% stable, haven’t had a single KP in 2 weeks of daily driver use.

I recommend starting with an empty hd-620.plist from RehabMan’s repo and researching each patch at you go, using this thread as a guide instead of copying the attached Clover folder verbatim. This will help you learn more and be of more value to the community.

Please read the full guide before getting started.


Dell XPS 13-MLK 9360:
  • Intel i7-7500U 2.7GHz
  • Intel HD Graphics 620
  • 8GB LPDDR3 1866MHz
  • 256GB SSD (Toshiba NVMe)
  • 13.3” FHD (1920 x 1080) IPS
  • Broadcom 802.11ac BCM94352Z M.2 NGFF

Note:

Kaby Lake processors are not currently supported by macOS and it is uncertain when or if they will be. Luckily Kaby Lake is similar enough to Skylake that we are able to use a Skylake FakeCPUID and SMBIOS and have it run almost flawlessly.

At the time of writing, BIOS version is: XPS_9360_1.2.3.


Installation:


Post-Install Patches:

Clover DSDT Patches: Enable change _DSM to XDSM and _OSI to XOSI, these will prevent clashes with injected SSDTs in ACPI/patched. Also copy SSDT-XOSI.aml to CLOVER/ACPI/patched, this is the Windows OS-check fix.

Don’t forget to copy kexts/Other to /System/Library/Extensions (/S/L/E).

NVMe: Create your own SSDT-NVMe-Pcc.aml and HackrNVMeFamily.kext, and remove Pike’s patches from your plist. Do Not try booting with neither or both the patches and the SSDT, it most likely will not end well. For reference, my ACPI path is _SB.PCI0.RP09.PXSX, yours could be different. https://www.tonymacx86.com/threads/...h-ionvmefamily-using-class-code-spoof.210316/

CPU PM: Generate your own ssdtPRGen using Pike’s script. It is probably required to have your SMBIOS set up before this. https://github.com/Piker-Alpha/ssdtPRGen.sh

IGPU PM: Enable change GFX0 to IGPU in Clover DSDT Patches and copy SSDT-IGPU.aml to ACPI/patched.

Audio: Change HDAS to HDEF in Clover DSDT patches + inject layout 13, copy SSDT-HDEF.aml to ACPI/patched, and copy cloverHDA.kext to /S/L/E. Enable Clover NewWay patch FIX_RTC, as well as all the AppleHDA patches in Clover Kernel and Kext Patches. https://github.com/insanelydeepak/cloverHDA-for-Mac-OS-Sierra-10.12

Wifi: Enable AirPortBrcm4360 - fcvo in Clover Kernel and Kext Patches, copy BrcmFirmwareRepo.kext, BrcmPatchRAM2.kext, FakePCIID_Broadcom_WiFi.kext to /S/L/E. https://github.com/RehabMan/OS-X-BrcmPatchRAM, https://github.com/RehabMan/OS-X-FakeSMC-kozlek

Brightness: Copy SSDT-Brightness.aml to ACPI/patched and IntelBacklight.kext to /S/L/E. https://github.com/RehabMan/OS-X-Intel-Backlight

Battery: Copy ACPIBatteryManager.kext to /S/L/E. Note: did not have any EC fields larger than 8 in DSDT so no battery patches necessary. https://github.com/RehabMan/OS-X-ACPI-Battery-Driver

Sierra GFX Glitch: Enable all IntelGFX patches in Clover Devices/Add Properties.

Hot-patching reference: https://www.tonymacx86.com/threads/guide-using-clover-to-hotpatch-acpi.200137/


Not working:
  • Brightness keys (couldn’t get any of the methods to work)
  • Headphone jack (neither of insanelydeepak’s cloverALC’s have it)
  • Card-reader (might be universal hackintosh problem)
  • Battery life is definitely worse than Windows
  • Not Tested: Thunderbolt / USB-C port

Misc:

SMBIOS: I use MacBookPro13,2. So far it has been working without problems. Whether or not this needs to be set before installation, I don't know. I've changed mine to iMac17,1, MacBook9,1, and the current MacBookPro13,2 all after the initial install, and I haven't had issues so far. The only problem I had was the MacBook9,1 threw a KP when booted with Pike's ssdtPRGen.

CPU PM + Fans: Fans only kick in when CPU is at 90C+, which is way above my comfort zone. A possible solution to this is to not use Pike’s ssdtPRGen SSDT and disable TurboBoost through Clover. Temperatures are more manageable like this, hardly ever rising above 80C, but it is definitely less snappy and battery life appears to be somehow worse than with Pike’s SSDT as well. Additionally, my experiments with HWPEnabler found no benefits over the previous two methods.

Common Patches not implemented: "SMBUS Fix", "Fix Mutex with non-zero SyncLevel". So far everything seems to be running fine without them.

iMessage Fix: https://www.tonymacx86.com/threads/an-idiots-guide-to-imessage.196827/

If you have any improvements or optimizations you think could benefit this build, please post them here and I will add them.

Thanks for reading, best of luck and enjoy!


Credits:

All credit goes to RehabMan, PikerAlpha, the forerunner Dell XPS threads, and the awesome community here at tonymacx86, none of this guide would be possible without them. Thank you!
 

Attachments

  • install-config.plist
    13.3 KB · Views: 772
  • CLOVER.zip
    1.5 MB · Views: 738
  • SLE.zip
    2.7 MB · Views: 532
Last edited:
Hi
I've got a Dell precisionM5510 very similar to your xps 13 with also toshiba pcie ssd.But i failed to load the nvme kext,assert failed.
looks like the photo.
Is there anyone please help me?
Thanks a lot!
 

Attachments

  • notitle.png
    notitle.png
    5.3 MB · Views: 592
Hi
I've got a Dell precisionM5510 very similar to your xps 13 with also toshiba pcie ssd.But i failed to load the nvme kext,assert failed.
looks like the photo.
Is there anyone please help me?
Thanks a lot!

Copying Pike's NVMe patches from install-config.plist should get you to boot.

It is not recommended as a long-term solution though.
 
How much worse is the battery life exactly? Concerning amounts or just a bit worse? And is there anybody that did test the USB ports? I'm really interested to see if they work.
 
How much worse is the battery life exactly? Concerning amounts or just a bit worse? And is there anybody that did test the USB ports? I'm really interested to see if they work.

I unfortunately don't have any exact figures to give you, but under Windows with light usage it seemed I would be able to pull a good 12 hours off a full charge. With the same usage here it seems I can't expect to get more than 8, and even that might be optimistic.

I'll definitely try get some extensive tests done as soon as a couple days open up, when that will be I don't know.
 
Copying Pike's NVMe patches from install-config.plist should get you to boot.

It is not recommended as a long-term solution though.
Pike's NVMe patches seems doesn't work.It pazzled me!
Also when I try to use your clover directly,I've encoutered stop screen.A cycle with a slash in.
 
I unfortunately don't have any exact figures to give you, but under Windows with light usage it seemed I would be able to pull a good 12 hours off a full charge. With the same usage here it seems I can't expect to get more than 8, and even that might be optimistic.

I'll definitely try get some extensive tests done as soon as a couple days open up, when that will be I don't know.
I doubt if Piker's patch not suit to new version of 10.12.2?
 
Thanks for all your help,RehabMan
I've tried darkhandz's method which including "spoof" and hacked kext,but still not work.
Copying Pike's NVMe patches from install-config.plist should get you to boot.

It is not recommended as a long-term solution though.

As fv316 said of Piker's path,and it still doesnot work.
output logs:
AppleNVMe Assert failed: 0 == (status) CompleteBuffer file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-234.21.2/IONVMeController.cpp line:1965
AppleNVMe Assert failed: 0 == (status) Exit file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-234.21.2/IONVMeController.cpp line: 1466
AppleNVMe Assert failed: 0 == (status) Exit file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-234.21.2/AppleNVMeController.cpp line: 1595
AppleNVMe Assert failed: 0 == (status) RetrunAsyncRequests: /BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-234.21.2/IONVMeController.cpp line:701
AppleNVMe Assert failed: result UninitPCI file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-234.21.2/IONVMeController.cpp line:589
I'm feeling depressed for cannot work around it.
Please help.
Thanks!
Also attache my last used clover and config.list
When uploading,it prompt:
The following error occurred
There was a problem uploading your file.

CLOVER.zip
 
Status
Not open for further replies.
Back
Top