Contribute
Register

[Guide] Dell XPS 15 9560: 4K Touch, 1TB SSD, 32GB RAM, 100% AdobeRGB

Joined
Jun 12, 2012
Messages
350
Motherboard
Dell XPS 15 9560
CPU
i7-7700HQ
Graphics
Intel HD 630, 4K Touch
Mac
MacBook Pro
Mobile Phone
iOS
Hi again

When the computer goes to sleep. Audio dissapears. I've read this

1. Audio sometimes disappears after sleep. Sleep again or plug/unplug something into the headphone jack and it'll come back.
a. This just means ALCPlugFix "missed" its patch on wake. Though, ever since I switched to the new audio layout 28 I haven’t run into it. Might just be good luck. Or maybe it’s fixed… o_O

Unfortunatly it doesn't work for me. Audio just doesn't come back after dissapearing what can be done on that behalf.


Secondly my resolution is at 1920x1080 butr I gut a UHD SCREEN. i DON'T FIND ANYTHING ON THIS IN YOUR TUTORIAL. hOW MAY i MAKE MY DISPLAY TO UHD ? May be in the config.plist ?

Best regards

Thank you
Sound problem: No clue. It works for me. Did you try it more than once?
UHD thing: Welcome to Mac OS, where Apple doesn't want you running at native res. If you want to run at native res, use this:
https://github.com/avibrazil/RDM
(IMO one of the best apps ever made)


Also Caps Lock.
 
Joined
Jun 12, 2012
Messages
350
Motherboard
Dell XPS 15 9560
CPU
i7-7700HQ
Graphics
Intel HD 630, 4K Touch
Mac
MacBook Pro
Mobile Phone
iOS
NEW!

After several weeks of toiling (it's July already?!), here's a new audio solution for perfect working audio. I basically ported the linux driver and created a GUI popup menu to configure the combo jack (see screenshot).

Features:
  • Fully working Combo Jack! (Heaphones, headset, AND line-in!)
  • New verb sending kext (no more need for CodecCommander on systems without EAPD troubles; VerbStub is simply a direct port of hda-verb for Linux)
  • Launchdaemon with Windows-like pop-up menu monitors the jack for insertion
  • Automatic OMTP (Nokia)/CTIA (iPhone) detection for headsets!
  • Fully commented sources
Notes:
  • Line-in mode disables audio output. I haven't been able to re-enable the speakers when the jack is purely an input, but that's the only "issue"
  • Zero "no audio after sleep" issues so far
  • Make sure to turn off "Use ambient noise reduction" when using an input that isn't the internal Mic (unless you find that it helps)
How does it work?

Simple! Due to the way the Realtek codec is set up on this machine, the ComboJack program watches the jack and switches the codec selector (node 0x22) to the correct input after applying all the requisite processing coefficients and pin widgets. This means that Mac OS only sees a built-in mic, but behind the scenes it actually is connecting to the headset and line-in ports. This works because all input paths lead through selector node 0x22 and into capture node 0x09, and the OS only acknowledges the capture node.

How to install (uses modded AppleALC):
  1. Disable SIP (I use 0x67 for CSRActiveConfig and 0xEE for booterconfig)
  2. Remove ALCPlugFix from /usr/bin (may need to kill with Activity Monitor first)
  3. Remove good.win.ALCPlugFix.plist from /Library/LaunchAgents (may need to launchctl unload first)
  4. Remove CodecCommander from Clover/kexts/Other (unless you need it, but it looks like the 9560 doesn't)
  5. Copy VerbStub.kext to EFI/Clover/kexts/Other
  6. Copy AppleALC to EFI/Clover/kexts/Other
  7. Change layout-id to 72 (in SSDT-Config -- 0x48 is hex)
  8. Run install.sh and read what it says
  9. Reboot (and enable SIP if you want)!
Download "ComboJack Installer.zip" and "AppleALC.kext.zip" for everything. The other zips are sources.
(Also included in "ComboJack Installer" is a folder containing the platform, layout, and pinconfigs used.)
 

Attachments

Last edited:
Joined
Jun 12, 2012
Messages
350
Motherboard
Dell XPS 15 9560
CPU
i7-7700HQ
Graphics
Intel HD 630, 4K Touch
Mac
MacBook Pro
Mobile Phone
iOS
IMPORTANT INFORMATION TO ALL 9560 OWNERS

Dell has released a BIOS update 1.3.4. It is incredibly important to update ASAP because it fixes a very serious Kaby Lake hyperthreading bug:

https://arstechnica.com/information-technology/2017/06/skylake-kaby-lake-chips-have-a-crash-bug-with-hyperthreading-enabled/

I did a complete examination on the new BIOS today and it does not break or change anything that is getting patched, and it doesn't even require reapplying the HWP bios mod. I've updated the first post accordingly. Please use the new BIOS.
 
Joined
Oct 23, 2012
Messages
443
Motherboard
Dell XPS 13 9360 (Clover)
CPU
i7-7500U
Graphics
HD 620, 1920x1080
NEW!

After several weeks of toiling (it's July already?!), here's a new audio solution for perfect working audio. I basically ported the linux driver and created a GUI popup menu to configure the combo jack (see screenshot).

Features:
  • Fully working Combo Jack! (Heaphones, headset, AND line-in!)
  • New verb sending kext (no more need for CodecCommander on systems without EAPD troubles; VerbStub is simply a direct port of hda-verb for Linux)
  • Launchdaemon with Windows-like pop-up menu monitors the jack for insertion
  • Automatic OMTP (Nokia)/CTIA (iPhone) detection for headsets!
  • Fully commented sources
Notes:
  • Line-in mode disables audio output. I haven't been able to re-enable the speakers when the jack is purely an input, but that's the only "issue"
  • Zero "no audio after sleep" issues so far
  • Make sure to turn off "Use ambient noise reduction" when using an input that isn't the internal Mic (unless you find that it helps)
How does it work?

Simple! Due to the way the Realtek codec is set up on this machine, the ComboJack program watches the jack and switches the codec selector (node 0x22) to the correct input after applying all the requisite processing coefficients and pin widgets. This means that Mac OS only sees a built-in mic, but behind the scenes it actually is connecting to the headset and line-in ports. This works because all input paths lead through selector node 0x22 and into capture node 0x09, and the OS only acknowledges the capture node.

How to install (uses modded AppleALC):
  1. Disable SIP (I use 0x67 for CSRActiveConfig and 0xEE for booterconfig)
  2. Remove ALCPlugFix from /usr/bin (may need to kill with Activity Monitor first)
  3. Remove good.win.ALCPlugFix.plist from /Library/LaunchAgents (may need to launchctl unload first)
  4. Remove CodecCommander from Clover/kexts/Other (unless you need it, but it looks like the 9560 doesn't)
  5. Copy VerbStub.kext to EFI/Clover/kexts/Other
  6. Copy AppleALC to EFI/Clover/kexts/Other
  7. Change layout-id to 72 (in SSDT-Config -- 0x48 is hex)
  8. Run install.sh and read what it says
  9. Reboot (and enable SIP if you want)!
Download "ComboJack Installer.zip" and "AppleALC.kext.zip" for everything. The other zips are sources.
(Also included in "ComboJack Installer" is a folder containing the platform, layout, and pinconfigs used.)
Not my intention to hijack the thread, but since this beautiful post is becoming a bit stale, I will ask:
Any chance for it to be compatible with ALC256 of its minor brother, XPS 9360?
We still have sporadic audio issues, just like you had prior to your porting. I can help and provide you all the logs.
Since this is not the most appropriate thread, you can reply me on our 9360 thread.
Thank you for your work.
 
Joined
Dec 30, 2013
Messages
73
Motherboard
Z77x-UP5-TH
CPU
I7-3770K
Graphics
HD 4000 + GTX 670
Great, big thanks again, you are a perfectionnist KILLER.

I am really not used to hackintoshing and your guide and ponctuel help make everything work fine.

I still have a few questions.

1. In my model I have a PM961 NVMe SAMSUNG 1024GB Harddrive. It is not visible during OSX Install so I installed on an external disk. While booting from OSX System partition from this exernal disk my internal drive still doesn't appear to the system. I read here and there a few things but I just don't understand how it works.

Could you tell me in an not to difficult way, knowing that I m not well with computer languages.

2. I had a hard time making the wifi from DW 1560 working. After breaking my system with unappropriate Kexts I had to reinstall the whole system. And all of a sudden the wifi appeared. I have no Idea how, for sure it was not because a right manipulation by me.

Now I need to make the bluetooth work. I have read the following guide:

https://www.tonymacx86.com/threads/guide-airport-pcie-half-mini-v2.104850/

I can find my card there ( Broadcom bcm94352z) but I am loosing myself in which steps to follow one after another.

At this point I d like to make bluetooth work. What would be the easiest guide to follow ?

Sorry but I m trying to learn all of this an it's difficult if you work in another field than IT.

Best regards and thank you again for your new audio solution
 
Joined
Oct 25, 2011
Messages
125
Motherboard
DELL Inspiron 7560
CPU
i7-7500u
Graphics
HD 620 / 940MX , 1920x1080
Has anyone followed this guide but installed to a USB stick instead of internal ssd?If so, does it work?
I'm aware sleep is likely to not work/cause it to crash
 
Joined
Apr 20, 2017
Messages
24
Motherboard
Dell XPS 9560 Clover
CPU
Core i7-7700HQ
Graphics
Nvidia GTX1050
IMPORTANT INFORMATION TO ALL 9560 OWNERS

Dell has released a BIOS update 1.3.4. It is incredibly important to update ASAP because it fixes a very serious Kaby Lake hyperthreading bug:

https://arstechnica.com/information-technology/2017/06/skylake-kaby-lake-chips-have-a-crash-bug-with-hyperthreading-enabled/

I did a complete examination on the new BIOS today and it does not break or change anything that is getting patched, and it doesn't even require reapplying the HWP bios mod. I've updated the first post accordingly. Please use the new BIOS.
Hi @KNNSpeed, can I update BIOS from OSX or will I need Windows reinstalled? Cheers!
 
Joined
Oct 23, 2012
Messages
443
Motherboard
Dell XPS 13 9360 (Clover)
CPU
i7-7500U
Graphics
HD 620, 1920x1080
Hi @KNNSpeed, can I update BIOS from OSX or will I need Windows reinstalled? Cheers!
Update it by loading the EXE on a USB flash drive Fat32 formatted. Then you can update from UEFI
 
Joined
Oct 23, 2012
Messages
443
Motherboard
Dell XPS 13 9360 (Clover)
CPU
i7-7500U
Graphics
HD 620, 1920x1080
@KNNSpeed, please do some benchmarks before updating to 10.12.6 and switching to native KBL kexts, then do the same tests. In my 9360 build, I observed a notable performance increase in both CPU and GPU tests, 5-15%.
 
Joined
Oct 25, 2011
Messages
125
Motherboard
DELL Inspiron 7560
CPU
i7-7500u
Graphics
HD 620 / 940MX , 1920x1080
Is there any risk to my ssd if I don't do the 4k patch and install to external USB drive instead?
 
Top