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

CPUTune doesn't compile on El Capitan (10.11.6) #27

Open
FrankErd opened this issue Sep 29, 2020 · 1 comment
Open

CPUTune doesn't compile on El Capitan (10.11.6) #27

FrankErd opened this issue Sep 29, 2020 · 1 comment

Comments

@FrankErd
Copy link

Hi there,
I have a old MBP 5,5 without a working battery and I was very happy to find out about CPUTune and it's possibilities. Thank you so much for your effort, this may safe many old macs from being trashed too early!

However, on EL Capitan (latest OSX for my MBP), the latest Xcode is 8.1 and CPUTune.kext doesn't compile on 8.1: CPUTuneApp project can not be openend, due to "incompatible file version".

Then I tried the precompiled kext I found here: https://github.com/syscl/CPUTune/files/4678021/CPUTune.kext.zip.
This kext doesn't load (with SIP disabled of course), because it was compiled against incompatible headers.

Is there any way I can make CPUTune run under El Capitan?

Thank you again,
Frank

@padremayi
Copy link

I have the same MacBook Pro and I resolved, without CPUTune, with these steps starting from OSX Yosemite and updating to OSX El Capitan.

  • Remove battery
  • Power-on MBP with cmd+alt+P+R pressed and release them only when you hear the Apple sound for the second time. When you reach the login window power-off the Mac
  • Power-on MBP with alt pressed
  • Select Recovery only if >= 10.11, otherwise create and use a bootable USB with at least OSX El Capitan
  • When Recovery is loaded open a terminal and execute: csrutil disable
  • Power-off
  • Power-on MBP with cmd+R pressed (Recovery will be selected and in this case it isn't important that it is >= 10.11)
  • When Recovery is loaded open a terminal and execute these 3 commands (use the correct disk and user on the first):
  • cp -r /System/Library/Extensions/IOPlatformPluginFamily.kext/ /Volumes/<your disk>/Users/<your user>/Desktop/IOKextBackup
  • mount -uw /
  • rm -r /System/Library/Extensions/IOPlatformPluginFamily.kext/
  • Power-off
  • Power-on MBP with alt pressed
  • Select Recovery only if >= 10.11, otherwise create and use a bootable USB with at least OSX El Capitan
  • When Recovery is loaded open a terminal and execute: csrutil enable --without kext
  • Power-off
  • Power-on MBP with cmd+alt+P+R pressed and release them only when you hear the Apple sound for the second time

After this I updated OSX Yosemite to OSX El Capitan and at the end this path /System/Library/Extensions/IOPlatformPluginFamily.kext/ is present again but my MBP has a normal speed with the fan correctly working (it starts only when CPU load is high then stops)

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

2 participants