Chameleon v2.0-RC4 AsereBLN myHack v1.0-r111

This version is now deprecated, consult the Downloads Page for a link to the latest version.

I have taken a snapshot from aserebln’s github (with all the changes he made up till 2010/02/12) and modified it with some additional alterations both cosmetic and functional, the most important of which was removing the pciroot detection he included from PCEFI 10.5 – it causes an unrecoverable memory fault on systems with integrated graphics cards (making it impossible to boot the system) and uses a different definition for PciRoot in com.apple.Boot.plist than myHack installer has been configured to define. It has been compiled without an integrated theme reducing it’s size and improving boot performance. This bootloader includes all of the features of Chameleon RC4 & PC EFI 10.5 + many bugfixes, syntax corrections, optimizations, and new features including but not limited to the following:

Note: Items which have been crossed out are a part of the memory detection code aserebln has been working on, however aserebln has not yet publicly released the source code for this memory detection. They will be included in any future release of this branch as soon as he releases the source code. Don’t worry though, this is purely cosmetic stuff – and if you really want your memory to be detected properly by OS X you can simply put the correct values into an smbios.plist in /Extra

AsereBLN changes:

  1. FACP RestartFix is enabled by default if you have an Intel CPU
  2. Memory Manufactor Code Lookup for some common Vendors (OCZ, G.Skill, GeIL, Crossair, Kingston)
  3. Fixed a bug with Memory Manufactor Code Lookup (DDR3: ManufactorID, Parity-Bit)
  4. Added Patriot, Crucial, A-DATA Memory Manufactor
  5. Support for 945 northbridge and ICH8, ICH7 southbridges
  6. SMBus Device Enable for systems there the controller is disabled (Tip from iNDi)
  7. printout a message if theme fails to load due to a missing file
  8. removed a print in non verbose mode to keep the Booter quiet
  9. You can supply a system-id with system-id= in com.apple.Boot.plist
  10. You can prevent the system-id injection with system-id=No in com.apple.Boot.plist
  11. system-type is now supported. Default is 1 (Desktop). Use system-type=2 in com.apple.Boot.plist if you have laptop.
  12. Removed the setVideoMode(TEXT) in resume.c to make Hibernation work.
  13. Support for 946GZ/PZ, Q963/Q965a and P965 northbridge memory controllers.
  14. Fixed a bug with system-type injection
  15. The system-type which gets injected is printed in verbose mode
  16. Added more memory manufactors.
  17. Support for 965GM and 965GME northbridge memory controllers (still untesteted).
  18. Improved system-type injection. ACPI V2 FACP PM_Profile is patched to match system-type.
  19. Fixed a bug with system-id injection (com.apple.Boot.plist).
  20. Supported memory manufactors: Micron, Samsung, Transcend, Apacer, Kingston, PNY, MDT, Corsair, GeIL, takeMS, Buffalo, Mushkin, OCZ, A-DATA, G.SKILL, TeamElite, Patriot and Crucial.
  21. Supported memory controllers: Core i5/i7 IMC, 945G/P, 955X, 945GM/PM, 945GME, 946GZ/PZ, Q963/Q965, P965, P35, X38/X48, 965GM, 965GME and P45.
  22. Supported SMBus controllers: P55, ICH10, ICH9, ICH8 and ICH7.
  23. To set system-type put a system-type= into com.apple.Boot.plist (1=Desktop, 2=Laptop enables Battery, 3=Workstation). Default system-type is 1 (Desktop).
  24. Fixed the font swapping bug (small & console font).
  25. Fixed a problem with disabled MCH MMIO on some mainboards (needed to detect dram frequency).
  26. Fixed the font swapping bug (small & console font) for the Booter with an embedded theme.
  27. Fixed an issue with memory detection for some mainboard (2 slot only mainboards).
  28. Added support for PM45 northbridge memory controller.
  29. Added memory manufactor lookup for: Hynix, Nanya, KingMax, Qimonda and SuperTalent.
  30. Added nVidia GT240 device lookup.
  31. You can now hide HFS partitions too using “Hide Partition” in com.apple.Boot.plist.
  32. Made the verbose output when using nVidia/ATI ROM’s more useful.
  33. Fixed a bug with sprintf (rek).
  34. Merged hibernation fix from Chameleon repo (46).
  35. Made verbosity at early bootstage useable.
  36. Added nVidia ION device lookup.
  37. Added a feature to set/override the nVidia NVCAP value using NVCAP_ key in com.apple.Boot.plist.

If you want to override the NVCAP value, you must determine the PCI DeviceID of your graphic card. For instance: my new GTX260 has the DeviceID 0×05e2. Knowing the DeviceID add this to your com.apple.Boot.plist:

<key>NVCAP_05e2</key>
<string>0000000000000000000000000000000000000000</string>

The NVCAP value is exactly 20 bytes long. You have to specify it in binary form using ASCII-HEX (0-9,a-f). For instance like this:

0400000000000300040000000000000700000000

It’s the NVCAP value of my nVidia 9400GT taken directly from NVCap Maker. Do not use a Base64 encoded NVCAP value like this one: BAAAAAAAAwAEAAAAAAAABwAAAAA=. To decode Base64 use the following command:

echo “BAAAAAAAAwAMAAAAAAAABwAAAAA=” | openssl enc -d -base64 | xxd -p

myHack changes:

  1. Removed pciroot uid detection code and reverted all references to it back to standard chameleon rc4 method
  2. Cleaned up cosmetic features such as version info output generation
  3. Added additional information to non-gui boot prompt

In conclusion, this is the best thing out there for retail installs on the systems which the myHack Installer has been designed and optimized for!

A big thanks to AsereBLN, netkas, rekursor, and everyone else who has worked on this!

You may download Chameleon_v2.0-RC4_AsereBLN_myHack_v1.0-r111.zip [binary only] here.

You may download Chameleon_v2.0-RC4_AsereBLN_myHack_v1.0-r111.src.zip [source code only] here.

25 thoughts on “Chameleon v2.0-RC4 AsereBLN myHack v1.0-r111