Skip to content

Commit

Permalink
Add installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
syscl committed Jun 27, 2021
1 parent 4fcd590 commit 3ba49ae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CPUTuneCore/CPUTune/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>2.2.6</string>
<string>2.2.7</string>
<key>CFBundleVersion</key>
<string>2.2.6</string>
<string>2.2.7</string>
<key>IOKitPersonalities</key>
<dict>
<key>CPUTune</key>
Expand Down Expand Up @@ -55,7 +55,7 @@
</dict>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2020 syscl. All rights reserved.</string>
<string>Copyright © 2021 syscl. All rights reserved.</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kpi.bsd</key>
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ An open source kernel extension enables dynamic CPU performance tuning at runtim
- Implements TimerEvent-based responses for dynamical switching Turbo Boost and Speed Shift at runtime
- Allows System Integrity Protection (SIP) control a bit easier via Info.plist setting


#### Installation
- [Disable the System Integrity Protection](https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection), reboot
- Download the repo and open the `CPUTuneCore/CPUTuneCore.xcodeproj` via Xcode
- Navigate to `Product` then click `Build`. Once the compiled completed, you will find `CPUTuneCore.kext` in the `Product` folder, copy it to `/Library/Extensions`
- Change the `CPUTuneCore.kext` ownership to `root:wheel`, mode to `rwxr-xr-x` (or `755`)
- Rebuild the kernel cache in terminal: `sudo touch /Library/Extensions; sudo kextcache -i /`, reboot
- [Enable the SIP](https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection) back and reboot

#### Boot arguments
- Add `-cputoff` to disable CPUTune
- Add `-cputbeta` to enable CPUTune on unsupported os versions (10.15 and below are enabled by default).
Expand Down

0 comments on commit 3ba49ae

Please sign in to comment.