Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[recommendation] "CPUTune" on MacOS Mojave (10.14.3) - MacBook Pro Late 2013 with dead battery #36

Open
3c1a opened this issue Apr 29, 2022 · 3 comments

Comments

@3c1a
Copy link

3c1a commented Apr 29, 2022

Hello,

My battery stopped charging, I noticed very slow performance (CPU core max was locked 0.8 Ghz) and after some search on google I found https://portugnole.blogspot.com/2020/05/running-macbook-without-battery-lets-go.html. I had no experince with Xcode nor commands mendtioned in the guide. I followed all the steps and succesfully compiled "CPUTuneCore.kext" (in the guide it is named "CPUTune.kext", probably older version!?). I could use this kext file with "kextutil" command and managed to use my CPU @ 2.3 Ghz. But after wake-up from sleep, I was forced to unload & load the kext otherwise CPU was again locked @0.8Ghz. I could even activate TurboBoost by modifying "Info.plist" but always eneded up with crashes after a while.

However all my attempts to autoload "CPUTuneCore.kext" in "/Library/Extensions" ended up with failure. I was forced to SafeBoot and delete "CPUTuneCore.kext" eachtime to recover. After days of trailing I found this #4 (comment). I decided test "CPUTune(v2.1.7)" shared by @syscl and bingo, I could finally load CPUTune in "/Library/Extensions" with success. Now the CPU is always @2.3Ghz after restarts or wake-up from sleep.

Here are the steps I followed to load CPUTune in "/Library/Extensions" on my Mac:

downloaded CPUTune(v2.1.7): https://github.com/syscl/CPUTune/files/4807644/CPUTune.v2.1.7.zip

sudo kextutil -v CPUTune.kext
sudo cp -R CPUTune.kext /Library/Extensions
sudo chown -R root:wheel /Library/Extensions/CPUTune.kext
sudo touch /Library/Extensions
sudo kextcache -i /
sudo reboot

I don't know why but still no log file generated ; "cat /var/log/cputune.kext.log".

Thank you @syscl and @christophe-duc !!!

@balfabb87
Copy link

balfabb87 commented Jun 7, 2022

I have the same macbook with Mojave and also have a problem when CPU stuck 0.8 Ghz. I upload CPUTune.kext to extantion directory, open terminal and after the first line in your instruction (sudo kextutil -v CPUTune.kext). i get this message:''cp: CPUTune.kext: No such file or directory''. What did i do wrong?

@3c1a
Copy link
Author

3c1a commented Jun 11, 2022

I have the same macbook with Mojave and also have a problem when CPU stuck 0.8 Ghz. I upload CPUTune.kext to extantion directory, open terminal and after the first line in your instruction (sudo kextutil -v CPUTune.kext). i get this message:''cp: CPUTune.kext: No such file or directory''. What did i do wrong?

"sudo kextutil -v CPUTune.kex" will work if "CPUTune.kext" file copied under user folder of the account.
To point the file under extensions folder; "sudo kextutil -v /Library/Extensions/CPUTune.kext"

@woyeyaowyy
Copy link

THANK YOU Bro! But my mac is running at 1.3ghz now, lower than it should be... I've got no idea...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants