Coder Social home page Coder Social logo

turbomac's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

turbomac's Issues

Doesn't Seem to Be Working OS 10.11.6

I'm on a MacBook Pro with a 2.5GHz Core i5. After installing, my CPU still seems to be capped at 1.2GHz

Defaulting to kernel file '/System/Library/Kernels/kernel'
Notice: /Library/Extensions/TurboMac.kext has debug properties set.
Diagnostics for /Library/Extensions/TurboMac.kext:
Code Signing Failure: code signature is invalid
/Library/Extensions/TurboMac.kext appears to be loadable (not including linkage for on-disk libraries).
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext "/Library/Extensions/TurboMac.kext"
kext signature failure override allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext "/Library/Extensions/TurboMac.kext"
Loading /Library/Extensions/TurboMac.kext.
/Library/Extensions/TurboMac.kext successfully loaded (or already loaded).
Invalid signature -67030 for kext <OSKext 0x7fc62ad1f800 [0x7fff78d76440]> { URL = "file:///Library/Extensions/TurboMac.kext/", ID = "calasanmarko.TurboMac" }

kextcache can't lock /

My installation got stuck at sudo kextcache -i / step. The error message was saying can't lock / and it hangs.
My solution was to wait 5 minutes and try again and it worked.

Just reporting here in case someone else also faces the same issue.

TurboMac fixed the issue for me by the way. My setup is MacBookPro9,1 and Sierra 10.12.6. Thanks for the nice documentation.

You can close the issue.

Extension Load Fails

Hi there - First, many thanks for putting this together! It gives me hope that I can make my old Mac usable after a battery failure.

Background specs:

  • Mid-2014 MBP; 4870HQ, 16gb ram, 750m graphics, 1tb SSD
  • Big Sur 11.6.4
  • Complete battery removal
  • Running on 85 watt OEM charger

Issue: Despite following your instructions with seemingly no errors, the process did not seem to work. This is indicated by a 800mhz under clock reported via the Intel Power Gadget. Further, "kextstat | grep Turbo" does not return a positive result. Finally, I can see that "IOPlatformPluginFamily.kext" is no longer in /System/Library/Extensions and "TurboMac2.kext" was successfully moved.

Below is a screenshot of my exact command line in executing this process. Note that step 5 returns "File already exists" as this is the second time I tried the process to see if I had done anything incorrectly the first time.

Screen Shot 2022-03-13 at 23 34 31

Below is a screenshot post 3 reboots showing continued 800mhz under clock, "TurboMac2.kext" being in the right location, and the negative "kextstat | grep Turbo" result.

Screen Shot 2022-03-13 at 23 45 27

Any help would be much appreciated.

Cheers,
Wallace

1.2.0 on Catalina/older

Is it just me or the 1.2.0 version was only compiled for some newer MacOS versions ?

When trying to install 1.2.0 on Catalina I get some link errors on the command kextutil /Library/Extensions/TurboMac.kext saying that it is is trying to use a function that wasn't implemented (sorry I didn't grab the exact error message).

Installing 1.1.0 on the other hand worked perfectly (thank you so much!).

Just wanted to confirm if by any chance 1.2.0 was compiled with a newer SDK version (and won't work on older versions like Catalina/Sierra/etc).

Bluetooth and USB ports broken

Hi there,

Here's the backgound specs of my computer :

  • i7-7820HQ
  • 16GB RAM
  • Radeon 560 4GB VRAM
  • 512Gb SSD
  • macOS Ventura 13.0
  • Battery changed twice with no luck

So first of all I really want to thank you a lot, I was really happy to see this working and gets the full performance of my Mac back. Really unbelievable ! For years now, I was really desperate with my 0.8Ghz CPU clock speed until finding this.

So here's the issue : after the installation and very long reboot I've noticed that I wasn't able to enable Bluetooth and each four USB port of my computer didn't allow me to use external drives (both USB and Thunderbolt drives). They were were correctly detected in System Information but not in Disk Utility so they became unmountable.

I told to my self ok maybe the latest Ventura update 13.0.1 that was standing by in the System Preferences will helps but macOS decided to not offer it anymore (maybe because of SIP disabled?)

As told, I decided to end-up the guide by enabling back SIP in RecoveryOS by running csrutil enable --without kext. I had hope this to finally solve the issues but after running it the Mac started to fall into a boot loop because of a repetitive crash and wasn't able to boot anymore.

Back to SIP disabled, my Mac allowed me to boot but I didn't have any other options than uninstalling this beautiful and promissing piece of software to get functionals I/O back. After rebooting everythings seems to be back to normal, even the throttle except that I cannot enable back SIP and be able to update macOS.

Do you know what the hell could have gone wrong ? This is so promising !

Thank you,
Majid

Kext not loaded (link failed) on OS X El Capitan 10.11.6 on MacBookPro5,5

Hi, TurboMac.kext is not loaded (link failed), could you please check if is there something wrong in your code?

As expected after reboot the command kextstat | grep TurboMac reports nothing.

I really need to have access to this old Mac, thanks!

The output of the installation from script CatalinaAndBelowInstall.command is here:

Before continuing, make sure that you have disabled SIP
Press any key to continue...
Password:
Cache file /System/Library/Caches/com.apple.kext.caches/Directories/System/Library/Extensions/KextIdentifiers.plist.gz is out of date; not using.
Cache file /System/Library/Caches/com.apple.kext.caches/Directories/Library/Extensions/KextIdentifiers.plist.gz is out of date; not using.
Notice: TurboMac.kext has debug properties set.
Diagnostics for TurboMac.kext:
Code Signing Failure: code signature is invalid
kext-dev-mode allowing invalid signature -67050 0xFFFFFFFFFFFEFA16 for kext "TurboMac.kext"
kext signature failure override allowing invalid signature -67050 0xFFFFFFFFFFFEFA16 for kext "/Library/Extensions/TurboMac.kext"
(kernel) kxld[calasanmarko.TurboMac]: The super class vtable '__ZTV9IOService' for vtable '__ZTV8TurboMac' is out of date. Make sure your kext has been built against the correct headers.
(kernel) Can't load kext calasanmarko.TurboMac - link failed.
(kernel) Failed to load executable for kext calasanmarko.TurboMac.
(kernel) Kext calasanmarko.TurboMac failed to load (0xdc008016).
(kernel) Failed to load kext calasanmarko.TurboMac (error 0xdc008016).
Failed to load TurboMac.kext - (libkern/kext) link error.
Check library declarations for your kext with kextlibs(8).
kext-dev-mode allowing invalid signature -67050 0xFFFFFFFFFFFEFA16 for kext TurboMac.kext
kext file:///System/Library/Extensions/JMicronATA.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext ACPI_SMC_PlatformPlugin.kext
kext file:///System/Library/Extensions/fabio.kext/ is in hash exception list, allowing to load
kext file:///System/Library/Extensions/EyeTVVoyagerAudioBlock.kext/ is in hash exception list, allowing to load
kext file:///System/Library/Extensions/EyeTVEmpiaAudioBlock.kext/ is in hash exception list, allowing to load
kext file:///System/Library/Extensions/EyeTVCinergyXSAudioBlock.kext/ is in hash exception list, allowing to load
kext file:///System/Library/Extensions/EyeTVAfaTechHidBlock.kext/ is in hash exception list, allowing to load
AppleDataSetManagement.kext - dependency for com.apple.iokit.IOAHCIBlockStorage lacks valid OSBundleCompatibleVersion.
AppleDataSetManagement.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
Invalid signature -67050 for kext <OSKext 0x7fef4561a420 [0x7fff7a87f440]> { URL = "TurboMac.kext/ -- file:///Library/Extensions/", ID = "calasanmarko.TurboMac" }
AppleDataSetManagement.kext - dependency for com.apple.iokit.IOAHCIBlockStorage lacks valid OSBundleCompatibleVersion.
kxld[calasanmarko.TurboMac]: The super class vtable 'vtable for IOService' for vtable 'vtable for TurboMac' is out of date. Make sure your kext has been built against the correct headers.
Link failed (error code 5).
Prelink failed for calasanmarko.TurboMac; omitting from prelinked kernel.
\nInstallation complete. Approve the extension if a prompt appears, and reboot your Mac.

Boot loop after uninstall

Used this kext with a bad battery on early 2015 13” MacBook Air and it brought the CPU from 29% to max successfully. Replaced the battery with third party from Amazon and decided to uninstall TurboMac. After running the uninstall script, I restarted and the computer went into a boot loop with “The computer restarted because of a problem” screen.

So I re-installed Monterey over the existing install from recovery mode, and that worked, but CPU was back to being throttled at 29%.

I re-installed this kext, and everything was good again… this time I would just leave TurboMac on and merely ran the recommended “csrutil enable —without kext” and went right back to the same reboot loop.

Doesn't look like working at all

High Sierra,

Several screens of errors after running [CatalinaAndBelowInstall.command]
The script tries to run kmutil at the end, but there's no such utility in High Sierra. Of course it doesn't load any kext

Which identifier should I be using?

Hi, I am new to this site so if I am doing something wrong I hope you can forgive me.

I would like to ask which of the following disk identifiers should I use?

Disk List

And I would also like to know if using this alternative is an improvement over using software like "VoltageShift" to modify the MSR values (it has less impact on the processor or some sort of thing).

Thank you.

issues running turbomac on opencore-patched 2012 macbook pro

2012 13" macbook pro (9,2)
2.5 GHz Dual-Core Intel Core i5
Intel HD Graphics 4000 1536 MB
16 GB 1600 MHz DDR3
macOS ventura 13.6.1
battery completely removed

SIP and authenticated root both confirmed disabled via csrutil status, after granting execution privileges to the installer and then running it, it makes its way through the majority of the script and then at the end it returns:

Executing: /usr/bin/kmutil load --bundle-path /Library/Extensions/TurboMac.kext
Unknown option '-c'

Installation complete. Approve the extension if a prompt appears, and reboot your Mac.

however no prompt to approve an extension appears. when running "kextstat | grep TurboMac" the terminal returns

Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
  190    0 0xffffff7f97399000 0xff7      0xff7      calasanmarko.TurboMac (1.0.0d1) 
D364749F-2160-3AE7-8381-7E3CBCF40418 <6 3>

running "sudo powermetrics" returns

**** Processor usage ****

Intel energy model derived package power (CPUs+GT+SA): 4.19W

System Average frequency as fraction of nominal: 47.89% (1197.28 Mhz)
Package 0 C-state residency: 27.68% (C2: 0.94% C3: 0.00% C6: 0.04% C7: 26.70% )

which shows that the cpu is still throttled to 1.2 ghz. any idea what's going wrong here? are there any special instructions for a system that's already been patched by opencore legacy patcher? this model macbook pro only natively supports up to catalina so ive used opencore legacy patcher to be able to run ventura. i know that this applies some patches to the GPU so im unsure if this somehow interferes with changes applied by TurboMac. if you need any more info from me please let me know

Startup fails at 1/4

I was trying to follow the instructions, but I think I messed up by rebooting when MacOS prompted me to, rather than looking in the console for more instructions. Now, when I try to turn the MacBook on, the progress bar gets to 1/4, then turns off again.

I can reboot into recovery mode, so I tried to follow the uninstallation instructions, but that didn't seem to change anything. Is there anything else I can try? Will a MacOS recovery undo everything that was done?

You owe me nothing. I brought this on myself. However, any help would be appreciated 🙏🏼

I have a 2018 1615" MBP

Not an issue. FYI delete IOPlatformPluginFamily.kext if it's not working for you

MacBook Pro (Retina, 13-inch, Early 2015) mojave 10.14.6. Replaced puffy battery with ebay battery. throttled cpu
Tried TurboMac alone, didn't work
tried CPUTune alone, didn't work
tried both, get stuck in a boot loop
Tried TurboMac again but also deleted IOPlatformPluginFamily.kext. worked
Thank you based calasanmarko, f apple's restrictive bs

Issues with Catalina / Late 2012 imac

Hi, first of all a big thank you for sharing this, i've been looking for this for a while.

The machine is a late 2012 21.5 inch imac with no LCD at all.

So after several tryouts i managed to make it work, the extension seems loaded and the mac is much much faster than it was, but it seems to still be clocked to 1.6ghz instead of 2.7 (it used to be blocked at 800mhz).

I run a geekbench which seems to confirm this as i get 320 for single core test which is around half normal score of this machine.

43 0 0xffffff7f83c11000 0x2000 0x2000 calasanmarko.TurboMac (1.0.0d1) 88EE1257-9232-3E03-854E-6649D1E57964 <5 3>

image

Do you have any idea of what could be causing this and is there any chance of me getting my imac back on full speed ?

Thanks a lot again for what you did :)

Not working for me

I'm using macOS 11.6.8

My situation, posted on (https://apple.stackexchange.com/a/436745/66935):

This didn't fix my issue. I have a Macbook Pro Retina 15" (Late 2013 / MacBookPro11,3). I changed the battery some time ago and then it said there was no battery installed, I guess the problem is that it doesn't detect it since some times (like during boot) I can remove the cable and the screen doesn't turn off. I think my computer has some problem with the SMC or something like that... I guess my problem is similar to what's fixed on this video (https://www.youtube.com/watch?v=6gme0ISQrcs).

Also, poste on (https://apple.stackexchange.com/a/415982/66935):

I didn't actually try this since I used ./voltageshift read 0x199and it returned x2600 which sounds like it's the actually correct number for my CPU, but I don't know much about that so I didn't feel confident enough to keep tinkering. From github.com/calasanmarko/TurboMac it states that it also tinkers with MSR 0x774 but when trying ./voltageshift read 0x199 it reboots instantly my computer.

I could provide logs if you can tell me where to look or more information...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.