Contribute
Register

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

Joined
Jun 24, 2014
Messages
288
Motherboard
ASUS Maximus VII Hero
CPU
i7 4790k
Graphics
HD 4600 + GTX 970
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Ok mine is placed at the root of system HD.
I also have a fetisch for keeping the system as vanilla as possible and therefor all kexts for my laptop is placed in Clover/Kexts/Other despite Rehabman´s advice and its working great.Never needed to generate PR file.
But VoltageShift Daemon with my settings never caused any problems.
VirtualSmc battery plugin do not show battery cycles on my laptop.
What about your´s ?
Forgot that I had to install BrcmFirmwareRepo.kext and BrcmFirmwareRepo.kext in S/L to get Bluetooth working.

Same here zero cycle. I'm actually not even sure Windows 10 can pull up the cycle count accurately either. Dell has a very proprietary implementation I think. I just check in BIOS to see the health. Heck I'm not even sure I trust Dell either.

I agree VoltageShift shouldn't be a problem after browsing through the code it all make sense and seems efficient but not every minute lol. I still stand by that :p

For Bluetooth you can change your guide to not have to install in LE or SLE. All you need is BrcmFirmwareData and BrcmPatchRAM2 in kexts/other. Add dart=0 to your boot args for it to work. Give it a try. My guide has nothing installed on the drive other than the combo jack, something I wish we could find an alternate more native way.
 
Joined
Aug 10, 2012
Messages
425
Motherboard
Asus Rog Strix Z370-G GAMING (WI-Fi AC)
CPU
i7-8700K
Graphics
RX 580
Mobile Phone
  1. iOS
It´s showing if you use fake.smc and Rehabman´s battery kext so I think it´s a virtualsmc battery plugin issue
 
Last edited:
Joined
Aug 10, 2012
Messages
425
Motherboard
Asus Rog Strix Z370-G GAMING (WI-Fi AC)
CPU
i7-8700K
Graphics
RX 580
Mobile Phone
  1. iOS
but not every minute lol. I still stand by that :p
Why not ? it has no impact on increased battery life at all !!! :p
It just assure that your system is not undervolted for less than 1 minute after wake from sleep :headbang:
Every time I walk away from my laptop I close the lid (put to sleep) to save battery so waiting 30 or 60 minutes for VoltageShift to work is a no go ;)
 
Last edited:
Joined
Jun 24, 2014
Messages
288
Motherboard
ASUS Maximus VII Hero
CPU
i7 4790k
Graphics
HD 4600 + GTX 970
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Why not ? it has no impact on increased battery life at all !!! :p
It just assure that your system is not undervolted for less than 1 minute after wake from sleep :headbang:
:banghead:
I think maybe this is a language barrier but that's not actually what it does. It's not just doing a quick check every minute to make sure the voltage is set to your preference.

Direct from their readme....
This program does not provide a GUI interface because it loads the MSR driver only when apply, amend or read is done, after that the MSR driver will load and unload immediately for more security and lowest resource usage

So essentially your laptop loads the daemon every minute and then loads the msr driver to read and check, then unloads both after it's done. Every minute it'll repeat this process. While it may not take much cpu effort to do that every minute, that is just really inefficient in my opinion. You would get even more battery if you set it to 10 minutes.

It´s showing if you use fake.smc and Rehabman´s battery kext so I think it´s a virtualsmc battery plugin issue

We used fake.smc before but for some reason with the pm961 and mojave moving forward, we would get nvme kernel panics constantly which was really unstable and possibly cause data corruption. Losing exact battery details I think is a fair trade off. Only way I could get my hack running really stable was virtualSMC. I have contemplated on going back to check but it seems virtualSMC and its plugins are the way moving forward.
 
Joined
Aug 10, 2012
Messages
425
Motherboard
Asus Rog Strix Z370-G GAMING (WI-Fi AC)
CPU
i7-8700K
Graphics
RX 580
Mobile Phone
  1. iOS
You are a theory man , I´m a practical man.
Why are you so stubborn ?
It dos´nt make sense !!!
 
Joined
Aug 10, 2012
Messages
425
Motherboard
Asus Rog Strix Z370-G GAMING (WI-Fi AC)
CPU
i7-8700K
Graphics
RX 580
Mobile Phone
  1. iOS
:banghead: You are a theory man,i´m a practical man
 
Joined
Dec 28, 2016
Messages
61
Motherboard
Dell XPS 15 9560
CPU
i7-7700HQ
Graphics
Intel HD 630 + Nvidia GTX 1050
Mac
  1. MacBook Air
  2. Mac mini
Hey guys,

@blazinsmokey i have tested your new V3.3 Clover folder. I have a few Problems.

I replaced my whole Clover folder with yours. Changed BoardSerialNumber and so on back to mine.

The problems I have now.

First is battery life. on idle my cpu never gets down to 800 MHz. When I use Jardenlius (Git repo) CPUFriend + CPUFriendDataProvider Kext I have 9 hours and on idle it stays on 800 MHz. Watt usage is 1-2W.

Second Problem. If I plug in my iPhone via USB-C to Lightning. The Battery drains extremely fast (Could it be that its trying to fast charge it with more Power? 29 Watt?).

And my iPhone isn't recognized when its plugged in via USB-C or USB-A cable. iTunes, Photos and so on don't see it.
But its charging :)

So and the last one is Bluetooth. I have a DW1830 Wifi/Bluetooth Module. And its not connecting to my bluetooth devices. Fixed this with Jardenlius Args for boot with clover: abm_firstpolldelay=16000 bpr_probedelay=100 bpr_initialdelay=300 bpr_postresetdelay=300

Do you have these bugs too?

I didn't have problems with my DW1830 connecting until I rebooted a few times. Over time, it would drop out when the charger was unplugged. I encountered this problem consistently when I was using KNNSpeed's High Sierra package. Then I read:


and although it is for the 9570, no users reported complaints after loading some kexts to L/E. I tried it and it I had dropouts infrequently. It def works when the charger/power supply is unplugged. In fact, my laptop is unplugged and am using a Bluetooth keyboard and trackpad to write this.
 
Joined
Dec 28, 2016
Messages
61
Motherboard
Dell XPS 15 9560
CPU
i7-7700HQ
Graphics
Intel HD 630 + Nvidia GTX 1050
Mac
  1. MacBook Air
  2. Mac mini
I have dw1830 and my bluetooth is coming unavailable often. It actually does not happen when plugged in, but will happen pretty much immediately when on battery of closed lid in sleep. When back have to shutdown (not even reboot helps) to get it back. Or also if i had headphones connected and close lid comes unavailable this one bugs me alot...before your last power update it came better that is atleast on plug it works pretty much stable...before it would almost never work.
I didn't have problems with my DW1830 connecting until I rebooted a few times. Over time, it would drop out when the charger was unplugged. I encountered this problem consistently when I was using KNNSpeed's High Sierra package. Then I read:


and although it is for the 9570, no users reported complaints after loading some kexts to L/E. I tried it and it does not drop out after sleep or closing the lid. It def works when the charger/power supply is unplugged. In fact, my laptop is unplugged and am using a Bluetooth keyboard and trackpad to write this. It did drop out once today when I was working at a coffee shop and I plugged it in. Weird.
 
Joined
Dec 28, 2016
Messages
61
Motherboard
Dell XPS 15 9560
CPU
i7-7700HQ
Graphics
Intel HD 630 + Nvidia GTX 1050
Mac
  1. MacBook Air
  2. Mac mini
@blazinsmokey Thank you for all your contributions to this guide. I was using KNNSpeed's ( props to @KNNSpeed ) build on my 9560 for the past year and your build and guide took it to the next level in terms of providing a comprehensive and smooth experience. I have been "playing" with the install for the past 24 hours and almost everything works as intended. Trying to figure out a solution for the DW1830 BT dropping out. This is not an issue you created, I think as many people on other platforms have encountered the same issue. I took a hint from some 9570 people and loaded some kexts to L/E. Going to work on USB-C and Undervolting now. Thank you, again!!!
 
Joined
Jun 24, 2014
Messages
288
Motherboard
ASUS Maximus VII Hero
CPU
i7 4790k
Graphics
HD 4600 + GTX 970
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
@blazinsmokey Thank you for all your contributions to this guide. I was using KNNSpeed's ( props to @KNNSpeed ) build on my 9560 for the past year and your build and guide took it to the next level in terms of providing a comprehensive and smooth experience. I have been "playing" with the install for the past 24 hours and almost everything works as intended. Trying to figure out a solution for the DW1830 BT dropping out. This is not an issue you created, I think as many people on other platforms have encountered the same issue. I took a hint from some 9570 people and loaded some kexts to L/E. Going to work on USB-C and Undervolting now. Thank you, again!!!

Thanks! Also thanks for sharing that 9570 guide, I think there's some great info in there I'll have to check it out thoroughly when I have time. Unfortunately I have no idea on the 1830 as I have the 1560. I wonder if people using it have a windows installation to update the firmware on the BT chip. Also in what Airport kext is loading up for you guys after sleep? Try this boot arg "brcmfx-driver=2" to only load AirPort_BrcmNIC.

USB-C should work with KNN's method in the TB folder I included.
 
Top