QUOTE (Keds @ Jul 18 2009, 03:34 PM)

Hi guys, been lurking around the OS X 86 forums for a while now, but this is my first post.
I've successfully installed 10.5 Retail and updated via software update.
The only Kexts I have added are:
AppleAzaliaAudio
NVInject
NVDANV50Hal
NVDAResman
Some people advise installing Disabler & AppleDecrypt, do I need them or am I fine without them?
(My hardware is in my sig)
Thanks
Here's my explanation of the purposes of Disabler and AppleDecrypt, if anyone wants to add on or correct me, go ahead.
Disabler.kextSince first running 10.5 on PCs, we noticed a new kernel extension which would create a little havoc with many PCs - AppleIntelCPUPowerManagement. The basic purpose of this kext to to help managing the CPU state with its voltage and frequencies via the thermal zones that are set up for it. However, the timer which is specifically uses is
HPET, a much more optimized and effective timer compared to the
RTC and
8254 timers which are commonly preferred as of now in PCs. Though Windows is starting to take advantage of HPET from what I've read recently. HPET also never needs to use the CPU's
time stamp counter, which is an advantage of freeing up the CPU a little more.
Anyways, most PCs either don't have this, or do have this but isn't set up to be used in the
ACPI's DSDT table. Even when patching up the DSDT so the HPET is correctly setup, it may not work correctly with the AppleIntelCPUPowerManagement kernel extension. So, as a result, we need a way to prevent the
fucker from loading. This is where Disabler.kext, or the original kext by dfe, NullCPUPowerManagement.kext comes into play.
The kext is written to match AppleIntelCPUPowerManagement in the IOResources management, so since it is loaded before AppleIntelCPUPowerManagement (and has a high enough IOProbeScore value to override the kext) when the point in time has reached when booting that AppleIntelCPUPowerManagement attempts to load, it sees that it has already been loaded, so there's no reason to load it a second time.
The most common situation that this kext causes issues is when people install system version updates, which contains a new version of AppleIntelCPUPowerManagement. As soon as it is correctly installed, the system attempts to load it. If it is not listed in IOResources, it thinks, "Hey, I'm not loaded yet, so I might as well load right now" (yes in my own little world, kernel extensions talk lol), but as a result people get a kernel panic; a kernel panic before the update is completed as well which sucks.
If you take a look at the old trick of preventing the kp, it is running a looping bash script to make sure the kext is deleted as soon as it's installed. with Disabler.kext, AppleIntelCPUPowerManagement is already loaded in IOResources, so there is no need to it to load when the new version gets installed.
Note that Disabler.kext can also be used to prevent a number of other kexts from loading.
AppleDecrypt.kextApple uses an AES encryption scheme with a few of the binaries in their software - Dock, Finder, loginwindow, SystemUIServer, mds, ATSServer, translate and translated for rosetta. Google them if you don't know their purposes. On regular Mac computers these are decrypted via the
SMC included in the computer, and is used as a (very weak imo) implementation of making sure that only Apple computers run OS X. I can tell you that many people who use boot-132 CDs find out they forgot to include a copy of dsmos.kext or AppleDecrypt.kext when they attempt to run the OS and when they finally get to the GUI screen, nothing start up. That's because loginwindow is
segfaulting.
Basically AppleDecrypt.kext is one of the 3 common kexts used to execute dsmos_page_transform_hook and return the 2 32 byte values that is needed to completely decrypt the binary. What these kexts do is they are a replacement for the vanilla kext that gets installed with system version updates, called "Dont Steal Mac OS X.kext" - its difference is they perform the same purpose but returns the known decryption key itself. Without overriding this, you wouldn't be able to use the OS, or at least the GUI end, as it is only used with a minimal list of binaries.
I could go on and on about explaining this regarding the specifics, but this is pretty easy to understand by reading it yourself. Here's a list of links that should complete the explanation, as many people feel lost in completely understanding how it works. Just know that it's Apple's weak implementation of preventing other computers which they didn't make from running their OS, regardless of whether or not the person has the legal license to use the OS.
Amit Singh - Understanding Apple's Binary Protection in Mac OS X - October 2006Amit Singh - "TPM DRM" In Mac OS X: A Myth That Won't Die - December 2007dfe - Darwin/x86: Mac OS X Binary ProtectionI hope this helps in understanding what these kexts are that you need, as well as a little bit about how this OS works.
-nawcom