sicreative / VoltageShift

undervoltage Tools for MacOS
GNU General Public License v3.0
618 stars 77 forks source link

VoltageShift for Hackintsoh #61

Open Hasodikis opened 3 years ago

Hasodikis commented 3 years ago

First of all thank you for your work.

I am using Voltageshift on two hackintosh machines.

  1. The first is a Lenovo Ideapad S540-14IWL. I managed to get it to work after a lot (I mean a lot) of trial and error.
  2. The second is a Thinkpad t460. When I followed your directions, again and again and again, It only worked for once and then after a reboot it never worked again. csrutil enable -- without kext, multible tries with chmod, nothing helped.

During my trials, I observed that when running it for the first time, if the system security notifies you for the executable, it will never load the kext. On the other hand, if the system security notifies you for the kext it self, then it will load. The problem is that most of the times the system notifies you for the executable at first run and not for the kext. It looks that its arbitrary / plain luck.

However. For a hackintosh system the best way to load the kext is with the bootloader (opencore) in the EFI. Then you keep the kext and the executable in a folder on i.e. Home and then Voltageshift works normally.

Now the question is ....

Could it be possible to have the kext loading from the EFI (with opencore) and then configure our setting with a helper kext (ie. CPUFriend.kext and CpuFriendDataProvider.kext) or with boot arguments (i.e. vsoffset=-100;-50;-100)?

ispiropoulos commented 3 years ago

Check this issue

You can load VoltageShift using the OpenCore bootloader but you still need the executable and use launchd as the kext does not support boot arguments at the moment. It works because I am currently using this method.

Hasodikis commented 3 years ago

I know that .... I already use this method in two different lenovo laptops. The request is for the possibility of having boot arguments .....