Contribute
Register

[Guide][New VoodooI2C] Asus Vivobook S15 X510UAR 10.13+

@Quhuy0410 : remember CPUFriendDataProvider.kext is always (chosen) model specific. Therefore now generate your desired customized MacBookAir8,2 CPUFriendDataProvider.kext for dynamic macOS CPU power management.
 
Last edited:
@Quhuy0410 : do NOT use stevezhengshiqi's one-key-cpufriend!! I just created a CPUFriendDataProvider.kext for 15,4 for each performance setting, extracted the string from each Info.plist inside each kext, saved as txt files with names matching the performance and cross-compared all 4 with Beyond Compare: THEY ARE ALL THE EXACT SAME, or in other words, his script does NOT work (at least not for model 15,4). Feel free to do the same test for 8,2, but be aware this is a bit time consuming because you do actually have to extract the string inside the cf-frequency-data key and save as text for compare, because otherwise you will get line break diffs.

You're best off creating your desired CPUFriendDataProvider.kext the old way. Mind that I can't help you with that because I'm out of time for this now. Good luck!
 
@Quhuy0410 : I just re-ckecked stevezhengshiqi's one-key-cpufriend script in my fresh system backup - it is indeed not working for me in Mojave with MacBookPro15,4. I filed a issue report over there labeled as [BUG] and will leave it at that for now. Feel free to test with MacBookAir8,2 SMBIOS model, but make sure you do compare the strings with Beyond Compare or another reliable diff compare tool.
 
@Quhuy0410 : Steve confirmed and fixed the error in one-key-cpufriend which seems to have been limited to MBP15,4 - go figure.. Luckily the release over at tctien342's github has been containing CPUFriendDataProvider created by fewtarius. It's noteworthy that the stings differ:

from fewtarius:

1. Better Battery Life: 09 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 44

2. Balanced: 09 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 43

3. Performance: 09 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 42

via stevezhengshiqi's one-key-cpufriend:

(1) Max Power Saving: 77 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 44

(2) Balance Power (Default): 77 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 43

(3) Balance performance: 77 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 42

(4) Performance: 77 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41

So again feel free to generate (1) and (2) with your MacBookAir8,2 SMBIOS model for consecutive testing.
 
@Quhuy0410 and anybody else using MBA8,2 SMBIOS model: you NEED to update USBPorts.kext to include MBA8,2 - otherwise you will experience random kernel panics with Bluetooth enabled.

USBPort.zip Feb. 24 2020
 
Last edited:
@Quhuy0410 and anybody else using MBA8,2 SMBIOS model: you NEED to update USBPorts.kext to include MBA8,2 - otherwise you will experience random kernel panics with Bluetooth enabled. Attached.

Thanks very much for your help !
But about the panic, it just happens in sometimes when I clicked Sleep. The laptop turn off everything except light on Power button and it restart automatically (just sometimes). And you said panics with Bluetooth enabled, I think it works like a charm because I've used IntelBluetoothFirmware kext (bluetooth works).
I will try USBPorts.kext, many thanks !

And another problem is Trackpad, Drag always with drag lock (I have chosen "Drag without lock" in System Preferences)
 
Last edited:
- unwanted power-up during sleep: disable Power Nap (Sys Prefs, Energy Saver, both Battery and Power Adapter)

- when opening the lid while the Vivobook sleeps to purposely wake it from sleep -> Asus Logo then Clover then complete reboot instead macOS login screen as expected: could be USBPorts.kext missing SMBIOS model entry when Bluetooth is enabled before macOS goes to sleep

Also make sure you have hibernatemode set to 0!

- Trackpad drag-lock: Dragging is supposed to works anyway. Setting should be default:

trackpad.jpg


If that does not help, what you can try is to completely uninstall Scroll Reverser (that util should not be necessary to begin with)
 
Last edited:
I tested (1) Max Power Saving and (2) Balance Power (Default) CPUFriendDataProvider.kext varieties for MacBookAir8,2 - they work. I also added them to "change CPU performance"
 
@Quhuy0410 (and the others that downloaded the previous version):

oh boy - I made a mistake inside USBPorts.kext incl. MBA8,2.zip .. :( forgot to add '-XHC' to the entry name. In other words, it would not work if MacBookAir8,2 was chosen as model name - sorry about that.

I uploaded the working version and replaced the old one. Please download the new version, unpack, replace, reboot.
 
Last edited:
man, I'm flabbergasted .. :( whatnameisit finally had the time to look at the files for the final release and did find another error in USBPorts.kext, again related to MacBookAir8,2, still causing it not to work if MacBookAir8,2 was chosen as model name - again very sorry about that... so one more and this time final (!) time:

@Quhuy0410 (and the others that downloaded the previous version):

Please download the new version (link thanks to & straight from @whatnameisit), unpack, replace, reboot (I also replaced the old links above).

Final release kindfully reviewed and improved by whatnameisit expected to be up in a few hours.
 
Back
Top