Thursday, February 19, 2009

How to update OSX86 from 10.5.5 to 10.5.6

This guide assumes that you have an OSX86 version 10.5.5 running without any problems (sound, net, etc.) on your system (I had a Kalyway 10.5.2 installation and updated it step by step to 10.5.5 before I applied the 10.5.6 update). Since in this guide we are going to change the kernel anyway, it does not matter which kernel you use at the moment. I have an ASUS P5K-VM motherboard, but I guess it might also work with some other motherboards having a more or less identical components configuration (feedback about that is very welcome). It is always advisable to backup your complete system first (e.g. using Time Machine), so you can restore the previously working configuration in case something goes wrong.

1) Pre-Install requirements
  • Install Bootloader including PC-EFI9 with Chameleon 1.0.12 integrated (download here)
  • Install newest XNU 9.5.0 kernel (download here)
  • Install Universal Installer "UInstaller" (download here)
  • Install OSX86Tools (download here)
  • Backup all your 10.5.5 extensions using OSXTools86 by clicking "Backup extensions" (e.g. back them up to ~/old-10.5.5-kexts)

2) Updating to 10.5.6 (info from here)
  • Open Terminal.app and type
    • ”sudo –s”
    • *type password*
    • ”while sleep 1;”
    • ”do rm –rf /System/Library/Extensions/AppleIntelCPUPowerManagement.kext;done”
  • Open 10.5.6 Update Installer (download  10.5.6 Update here)
  • Run update BUT DO NOT RESTART!
  • Go back to your terminal and press Control-C to end the script
  • In Terminal.app type:
    • ”nano /System/InstallAtStartup/scripts/1” and replace the line Dont Steal Mac OS X.kext with dsmos.kext if any exists (exit using "CTRL-X" and save by pressing the "Y" key)
  • Open OSX86Tools and check "Repair permissions" & "Set Extensions permissions" & "Clear Extensions Cache"
  • Restart

3) Apply various fixes
  • Fix Time-Machine with UInstaller (select "Apply Ethernet EFI String (Time Machine Fix)")
  • Fix startup resolution with UInstaller ("Set Native Boot Resolution to: " with your appropriate values)
  • Install some fixing kexts using UInstaller ("Apply kext package")
  • Fix unknown or wrong processor string in "About this Mac": edit the file /System/Library/CoreServices/Resources/English.lproj/AppleSystemInfo.string and replace '"UnknownCPUKind" = "Unknown";' with your choice (e.g. "UnknownCPUKind" = "Intel Core2Quad Q6700 2.66 GHz";), make sure not to use any special characters!
  • Remove (if exists) ALCinject.kext from /System/Libarary/Extension
  • Create a temporary kext install folder (e.g. a subdirectory in your home folder called install-extensions)
  • Copy from the backup 10.5.5 extensions folder (e.g. ~/old-10.5.5-kexts/Extensions) the file seatbelt.kext to the temporary kext install folder (e.g. ~/install-extensions):
  • Download and unpack patched AppleHDA.kext (download here) for ALC883 (might also work with others), then copy it to the temporary kext install folder (e.g. ~/install-extensions), more patched ALC88X drivers from Taruga are available here
  • Download and unpack HDAEnabler.kext (download here), then copy it to the temporary kext install folder (e.g. ~/install-extensions)
  • Download and unpack the AHCI fix for 10.5.6 (download here), then copy the two kext files (AppleAHCIPort.kext and IOAHCIFamily.kext) to the temporary kext install folder (e.g. ~/install-extensions)
  • Download and unpack sleep fix for 10.5.6 (download here), then copy only the file EHCISleepEnabler.kext to the temporary kext install folder (e.g. ~/install-extensions)
  • Download and unpack fixes for USB (download here), then copy both files (IOUSBFamily.kext and IOUSBMassStorageClass.kext) to the temporary kext install folder (e.g. ~/install-extensions)
  • Install all the kernel extensions from the temporary kext install folder (e.g. ~/install-extensions) using OSX86Tools (button "Install Kexts")
  • Restart
  • Open OSX86Tools and check "Repair permissions" & "Set Extensions permissions" & "Clear Extensions Cache"
  • Restart

Various sources I used to compile this guide, apologies if I left someone out, if so, please tell me and I will add the missing ones:
UPDATES:
  • 2009-02-20: changed link to point to new AppleHDA.kext and added link to forum post about Taruga's ALC88X kexts with corresponding link to the kexts
  • 2009-02-24: changed link to point to new AHCIFix.zip

Tuesday, February 17, 2009

WD Desktop Elements Mac Icons

Since I just bought two 1 TB WD Desktop Elements hard drives for my Mac, I also searched for some nice icons that would go nicely with the Leopard theme. Unfortunately I only found icons for the WD MyBook series. With some inspiration, Adobe Photoshop CS3 and img2icns I managed to produce a set of black shadowless WD Desktop Elements icons for the Mac. Enjoy! If someone requires the same thing for the "white" version of the hard drive, please let me know in the comments.

Download the black shadowless WD Desktop Elements icons.