Contribute
Register

[Guide] Dell XPS 9560 Mojave VirtualSMC, I2C Trackpad, Clover UEFI Hotpatch

Joined
Nov 9, 2018
Messages
7
Motherboard
Dell XPS 9560 - YH90J
CPU
I7-7700HQ
Graphics
GTX 1050, HD 630
@mazakiss jardenliu's version didn't work for me.
and @blazinsmokey did use too much batterie.
So I switched some files from @blazinsmokey with them.
And edited some3.

And I am using more/other kexts than him.
Plist should be nearly the same.

USB-C always mounts. But I can't plug in a third monitor, with my Usb-C to HDMI adapter. Then it crashes.
Tomorrow I will try it with @blazinsmokey USB-C and TB3 aml files...

Cant test 4k HDMI :3

Everything is working simultaneously. iPhone + usb + ssds + screen + Keyboard + Mouse + Hub with 10 extra USB ports :D

Itunes is only a problem on my Machine... tried the same clover config on a friends machine. And he doesn't get a DRM error....


@blazinsmokey version used to much battery life (tested on an earlier version)
jardenlius USB-C is not working correctly.
So you can take the git repo. Replace the USB-C thunderbolt fixes.
And you are good to go. (If battery life sucks, take the DataProvider.kext from @blazinsmokey)

And I don't know if its already in this thread but to gain more CPU efficiency you can enable SpeedShift by changing some Values ;)
 
Last edited:
Joined
Dec 27, 2012
Messages
63
Motherboard
Dell XPS 9560 FHD
CPU
i7-7700HQ
Graphics
HD 630
Mac
MacBook
Mobile Phone
iOS
Last macOS 10.14.5 update went smoothly as usual.

@LeLunZ you are right, battery is draining pretty fast, only 3h max with my small 56W battery while web browsing (no videos). Thank you for the SpeedShift info you shared.

What do you use SATA-100-series-unsupported.kext for in your install ?
Also SMCLightSensor.kext isn't necessary since we don't have any light sensor for our laptop screen.

Don't hesitate to report your result after replacing new @blazinsmokey TYPC and TB SSDT.

Cheers!
 
Last edited:
Joined
Jul 25, 2013
Messages
363
Motherboard
Asus X99 Deluxe / U3.1
CPU
i7-5820K
Graphics
GTX 1080
Mac
iMac, MacBook, MacBook Air, MacBook Pro, Mac Pro
Classic Mac
iMac, Power Mac
Mobile Phone
Android, iOS
@mazakiss jardenliu's version didn't work for me.
and @blazinsmokey did use too much batterie.
So I switched some files from @blazinsmokey with them.
And edited some3.

And I am using more/other kexts than him.
Plist should be nearly the same.

USB-C always mounts. But I can't plug in a third monitor, with my Usb-C to HDMI adapter. Then it crashes.
Tomorrow I will try it with @blazinsmokey USB-C and TB3 aml files...

Cant test 4k HDMI :3

Everything is working simultaneously. iPhone + usb + ssds + screen + Keyboard + Mouse + Hub with 10 extra USB ports :D

Itunes is only a problem on my Machine... tried the same clover config on a friends machine. And he doesn't get a DRM error....


@blazinsmokey version used to much battery life (tested on an earlier version)
jardenlius USB-C is not working correctly.
So you can take the git repo. Replace the USB-C thunderbolt fixes.
And you are good to go. (If battery life sucks, take the DataProvider.kext from @blazinsmokey)

And I don't know if its already in this thread but to gain more CPU efficiency you can enable SpeedShift by changing some Values ;)
Good morning LeLunz,

Have you enabled SpeedShift on your XPS? I'm wary of the BIOS mods and many items in the thread suggest that it can be enabled by OS software, such as the programs mentioned. Unfortunately, they appear to all be Windows. Do you know of, or have you implemented any patches on the macOS side of things to enable this functionality?

Apparently the Clover flag "HWPEnable" enables SpeedShift on our XPS systems, which is present in both config.plist files, so BIOS mods should not be necessary.
 
Joined
Nov 9, 2018
Messages
7
Motherboard
Dell XPS 9560 - YH90J
CPU
I7-7700HQ
Graphics
GTX 1050, HD 630
Hi @InsaneCultist Yes I did the Bios mod.

@mazakiss If you want to get more Battery life and lower temps you can undervolt your System.
I am using VoltageShift.
Give it a try if you want.

Changing the TB AND TYPC file did not change anything.
Removed SMC LIGHT sensor kext xD

Does somebody know, why windows and Mac OS is giving me a other EDID.
I saw that I forgot to replace jardenliu EDID with mine. So I got mine in Windows and removed jardenliu's.
Then I was like...why not try to reinstall mojave. And then my EDID changed again. Now Its not the one in Clover and not the one from Windows...

So is Windows and Mac getting other EDIDs?
 
Joined
Dec 29, 2015
Messages
7
Motherboard
Dell XPS 9560
CPU
i5-7300HQ
Graphics
GTX 1050
@mazakiss jardenliu's version didn't work for me.
and @blazinsmokey did use too much batterie.
So I switched some files from @blazinsmokey with them.
And edited some3.

And I am using more/other kexts than him.
Plist should be nearly the same.

USB-C always mounts. But I can't plug in a third monitor, with my Usb-C to HDMI adapter. Then it crashes.
Tomorrow I will try it with @blazinsmokey USB-C and TB3 aml files...

Cant test 4k HDMI :3

Everything is working simultaneously. iPhone + usb + ssds + screen + Keyboard + Mouse + Hub with 10 extra USB ports :D

Itunes is only a problem on my Machine... tried the same clover config on a friends machine. And he doesn't get a DRM error....


@blazinsmokey version used to much battery life (tested on an earlier version)
jardenlius USB-C is not working correctly.
So you can take the git repo. Replace the USB-C thunderbolt fixes.
And you are good to go. (If battery life sucks, take the DataProvider.kext from @blazinsmokey)

And I don't know if its already in this thread but to gain more CPU efficiency you can enable SpeedShift by changing some Values ;)
Ok, so current status:

Jardenliu's has perfect functionality, perfect battery life (6hrs) - however USB-C Dell WD15 doesn't work (panic upon plug in).

Blazinsmokey's tb config does not work (very slow with laggy animations), however the normal config.plist (Clover 3.2) works perfectly, yet has terrible battery life (1.5hrs).

Not sure why the difference in battery life is so pronounced. Also not sure why the tb config is so slow and cumbersome.

For now, I think I will have to just try my best to combine them xD Thanks so much for the hard work, it's really appreciated.
 
Last edited:
Joined
May 18, 2019
Messages
1
Hey guys! I`m thinking about hackintosh on my XPS 9560 (7700HQ, 1080p, 512GB NVMe Samsung SSD). Now i have Killer AC1535 Wifi card. Which card should i buy to get compatibility with OSX? AFAIK i should get smth around DW1830/DW1560/DW1820A. Which one would be better? 1820A is way more cheaper than others is it okay to get it?
P.S It would be good if my new card will not have any problems with Windows.
 
Joined
Dec 27, 2012
Messages
63
Motherboard
Dell XPS 9560 FHD
CPU
i7-7700HQ
Graphics
HD 630
Mac
MacBook
Mobile Phone
iOS
Hey guys! I`m thinking about hackintosh on my XPS 9560 (7700HQ, 1080p, 512GB NVMe Samsung SSD). Now i have Killer AC1535 Wifi card. Which card should i buy to get compatibility with OSX? AFAIK i should get smth around DW1830/DW1560/DW1820A. Which one would be better? 1820A is way more cheaper than others is it okay to get it?
P.S It would be good if my new card will not have any problems with Windows.
Hi @Screek. Please do a search, there plenty of info on it already.
The easiest is DW1560, the better but harder to install is DW1830 because of 3 antennas to fit it in. I don't know much about DW1820A.
 
Joined
Feb 25, 2012
Messages
281
Motherboard
GA-Z370N-WIFI
CPU
i5-8600K
Graphics
RX 460
Mac
MacBook Pro, Mac mini
Mobile Phone
Android, iOS
Do you still have the sleep-crashing computer problem?
I still have a crash about once a day, that seems to be sleep related based on googling codes from error
Code:
No samples for specified time interval

================================================================
                                          
status: 0x10003     
Code: 0x340adb000000028     
Stackshot reason: Watchdog

      Model: MacBookPro14,1, BootROM 184.0.0.0.0, 4 processors, Intel Core i5, 2,50 GHz, 32 GB, SMC 2.43f6
Graphics: Intel HD Graphics 630, Intel HD Graphics 630, Built-In
Memory Module: BANK 0/DIMM0, 16 GB, DDR4, 2667 MHz, Samsung, M471A2K43BB1-CRC
Memory Module: BANK 1/DIMM0, 16 GB, DDR4, 2667 MHz, Samsung, M471A2K43CB1-CTD
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x19), Broadcom BCM43xx 1.0 (7.21.190.18.1a3)
Network Service: Wi-Fi, AirPort, en0
PCI Card: sppci_expresscard_name, Unknown
USB Device: USB 3.0 Bus
USB Device: Integrated_Webcam_HD
USB Device: Touchscreen
USB Device: Vendor-Specific Device
USB Device: BCM20702A0
USB Device: BCM20702A0
Thunderbolt Bus:
Not sure if it's TB3 related, but I'm not currently using TB3 port at all

I've been using the newest Kaby Lake config from your later post and have had the most stable experience I've had with my XPS 15, even when it was on Sierra. I do still get the screen flicker with this config, as expected, but I've had no crashes during sleep in over a week. Tonight I will swap to the Skylake spoof and see if I experience the crashes again.
Thanks for posting, will try updating my config and will see if that help
 
Joined
Dec 27, 2012
Messages
63
Motherboard
Dell XPS 9560 FHD
CPU
i7-7700HQ
Graphics
HD 630
Mac
MacBook
Mobile Phone
iOS
Hi there.

After some test, I can say that battery is perfectly working now with @blazinsmokey Clover 3.2 folder with very small modifications.

Ok, could be better compared to the 10 hours in windows but most hackintoshes have substancially less battery autonomy (7 to 8 hours here). Fans are more silent if not completely off most of the time, CPU mostly hit 37° with 85 chrome tabs opened lol

I didn't used or mixed original config.plist with jardenliu's work on github:

1) Jardenliu uses wrong product model in his smbios, it should be 14,1 for IGPU only, not 14,3, see @vit9696 response here:


2) After reading @RehabMan comments here about SMCBatteryManager.kext and Battery APCI patching:

BTW, I did some testing with VirtualSMC.kext and SMCBatteryManager.kext on some of my systems.
I found that ACPI still needs patching for SMCBatteryManager.kext to work... it seems it actually calls into ACPI battery methods anyway.

Your case is probably that you did not need ACPI patches for your battery methods in the first place (eg. ACPIBatteryManager.kext would work with same result). Not all computers use EmbeddedControl for battery status, and even some that do, have no multibyte EC fields.
... So I just added the missing patched SSDT for Battery (SSDT-BATC.aml) and Fans (SSDT-FANS.aml) from Jardenliu and get everything to work now, battery doesn’t drain like crazy.(He has 97W battery).

You can download and try my CLOVER 3.2 folder same untouched kb-config.plist as blazingsmokey with addition:

- Battery & Fan SSDT from jardenliu

- Last USB-C & TB SSDT from blazinsmokey

- NoTouchID.kext (only for those with fingerprint sensor, to deactivate it at boot time)

- Removed SMCLightSensor.kext (we don't have light sensor for automatic brightness) & AppleBacklightFixup.kext (superseded by Whatevergreen last update).

- Added VoltageShift.kext (only for those who wants to try undervolting, mine works great with -130 -90 -130mV, see post from @arehep here for explanations : https://www.tonymacx86.com/threads/guide-dell-xps-9350-mojave-virtualsmc-i2c-trackpad-clover-uefi-hotpatch.267161/

- Replaced CpuFriendDataProvider.kext. I generated mine with this handy script that generates kext based on your Smbios and Board Model, you have 4 settings, I used the lowest to preserve battery (I only do light browsing and stuff on my hack): https://github.com/stevezhengshiqi/one-key-cpufriend CPU is also set to 800 Mhz at idle.

- Last but not least, all lilu related kext & drivers64UEFI updated to last revisions from Acidanthera repo and upcoming Clover 4926 and 4828.

This config should work for all XPS 9560 owners with 7700HQ CPU and 97W battery. For those with 7300HQ, please refer to post post #316 or use provided script. For 4 Screen users see post #1. Finally, for those with 56W small battery, chances are you will have to patch your battery SSDT.

So all in all, the only things left to make this hack one of the sexiest laptop ever in the history of hackintosh could be :

- More input & test for TB3 device owners so we know if TB3 works or not with current OP config, personally @blazingsmokey USB-C with USB2/3 + HDMI 4K 60Hz support works very nicely for me, can't complain here, a bit slow for USB device mounting but nothing "laggy" here. Hot/Cold pluging works great too.

- Hoping for VirtualSMC to add laptop fan sensors in the future for fan control

- This weird fan management between on battery (dead silent, really enjoyable) and plugged in (fans that blast most of the time).

EDIT: There is still something weird with the battery, after almost 5h at 50% the battery drops to 7% So I must investigate more. I tested with a brand new 97W battery to replace my old 56W maybe it needs some charge cycles, I don’t know.

I also noticed that with my provided CPUDataProvider.kext sleep wake from lid doesn’t work, I have to manually wake the laptop with power button. If you have issues use original from Blazinsmokey, wake from lid works here.

What a shame this hack works better in Mac OS than Windows lol

Honestly, I don't see much to improve here, thanks to OP and all the legends, developers and contributors who made my computer life easier since 2012!

Cheers!

Note: don't forget to clear NVRAM (F11 at Clover screen) after the changes, sometimes you have to do it multiples times to make it work, see post #301. Also, I doing Bios factory reset a reapplied all the settings helped.

About my hardware: Dell XPS 9560 FHD 1080p, no fingerprint sensor, MacOS/Win 10 Dual Boot, CPU : 7700HQ, SSD : Samsung 970 EVO, Wifi/bluetooth : W1560, RAM : Crucial DDR4 32Go (2x16), Unbranded Chinese 97W battery upgrade, CPU repasting + Thermal Pads + Sealed vents to keep it cool (google for it, there are some crazy mods out there lol).
 

Attachments

Last edited:
Top