myFix 1.1

This version is now deprecated, consult the downloads page for a link to the latest version.

This release adds a function which resolves a common issue that people have faced in the past… SleepEnabler problems and SleepEnabler related kernel panics after running OS X Software Updates.

When myFix is run it will test to see if /Extra/SleepEnabler.kext exists – if it does it will automatically define the correct pmVersion in your /Extra/com.apple.Boot.plist or /Extra/org.chameleon.Boot.plist (org.chameleon.Boot.plist is the new location for this boot configuration file on all new builds of chameleon). Additionally if the target is the root device (the device your OS is currently running on) it will automatically configure the flags that you would previously have to open System Preferences > Energy Saver and check the boxes for manually (which previously, if left unchecked, would result in a reboot on wake from sleep).

This function is compatible with most xnu-sleep-enabler builds. The obvious advantage to including this feature in myFix is that you will no longer have to remove or replace SleepEnabler.kext when updating to a new version of OS X. You can simply run myFix before rebooting, after an update, or from your USB Installer.

This function currently supports 10.6.0-10.6.8 and 10.7.0 pmVersions, if you are running a different version of OS X than this it will set pmVersion=0 to disable SleepEnabler completely. I will release updates to myFix that will add support for newer versions of OS X as they become available.

Please make sure to review the full release notes for myFix here.

A complete list of the changes from myFix 1.0 are as follows:

  • -Added fix SleepEnabler function
  • -Added check for Boot.plist
  • -Cleaned up output log slightly

5 thoughts on “myFix 1.1

  1. @conti: thank you for your immediate reply. my apology on the email (now it’s valid), appreciated your effort.
    tried the one you provided (myfix1.2.beta.tar.bz2) but still having the same result. here..

    Last login: Sun Jul 10 07:22:15 on ttys000
    ronem-s-Mac:~ ronem$ /Users/ronem/Desktop/myfix -v 1 -t /System/Library/Extensions
    -bash: /Users/ronem/Desktop/myfix: Bad CPU type in executable
    ronem-s-Mac:~ ronem$

    anyway i’m running SL 10.6.8 with nawcom’s legacy_kernel 10.8 with kernel flags arch=i386

    • @hnd: Could you try this then and let me know if it works? myfix1.2beta2.tar.bz2

      I would test myself but I don’t have a legacy_intel system or Snow Leopard installed anywhere to test it myself atm.

      Thanks

  2. please help…i got this message…

    Last login: Sat Jul 9 21:44:36 on ttys000
    ronem-s-Mac:~ ronem$ /Users/ronem/Desktop/myfix -v 1 -t /System/Library/Extensions
    -bash: /Users/ronem/Desktop/myfix: Bad CPU type in executable
    ronem-s-Mac:~ ronem$

    • @hnd: I tried to email you but you didn’t provide a valid address… It was my mistake, I sometimes forget that some people use i386 only kernels, such as legacy intel kernels used for first generation atom systems or core duo’s. Thus I compiled it as an x86_64 binary which should still run for anyone on a Snow Leopard or Lion vanilla kernel, but not for people on Leopard or legacy intel systems.

      Here is a build I have just made, I compiled it with arch i386 flag. I was hoping you would be willing to give it a test and reply ASAP to let me know if it works on the system you had the problem with. If it works for you I will release this as a bugfix to the rest of the world.

      myfix1.2.beta1.tar.bz2