Chameleon Svn Source Tree


1- Security fixes
2- Updated smbus(spd.c) and radeon(ati.c) card list (taken from the last cosmo1t's update)
4- Added two boot options for High resolution display and reboot on kernel panic
6- Added fake_crt.c to fix a linker issue ... but it still dont work.
7- Added minor changes to makeinc.dir
9- Security fixes
10- Added beta support for Xcode 4.4
12- Added memory info to the nvidia plist structure, so now one can add several cards to the plist and set a customized name and memory info for each cards
13- Implemented a method to inject new graphics cards from a plist, no need to hardcode device ids anymore !! (for now, only nvidia cards are supported, see doc/ModuleHelp.txt for usage)
14- Moved the smbios detection code to the freebsd one
16- Fixed a bug in the bundle dependency dispatcher
18- security fixes in printf.c
19- Fixed a weird bug in boot arguments that could prevent 10.8 to boot
21- security, stability, bugs fixes
22- moved __doprnt to the xnu version
24- security and stability fixes
25- Fixed a bug where prf may return a wrong string len (for ex : in the previous versions newStringWithformat("%02x%02x%02x%02x%02x%02x",101,117,104,113,103,100) may not return the entire string)
26- Fixed a bug in xml.c
27- Fixed a bug in device_inject.c (inspired from the dmazar's patch)
30- security and stability fixes
31- Removed useless codes in efistring modules
32- Fixed bugs related to device_inject.c
33- Fixed bugs related to device_tree.c
34- Fixed bugs related to hfs.c
35- Fixed a bug in the booterlog introduced in the previous version
36- Fixed a bug in randomTheme intoduced in the previous version
37- Added LoginToLion Cub Devices (credit to Enzo)
40- security and stability fixes
41- Improved Xcode4.3+ and clang compatibility
42- Fixed a bug in device_inject.c
43- Updated uthash, utarrey, etc ... to v1.9.6
44- Replaced arc4random by the freebsd version (found in darwin's libc)
45(also Removed others random generators since the pseudo-random generator now work perfectly )
46- Implemented gettimeofday taken from libpayload
47- finaly back to safe_malloc
48- Sync'd the cpu legacy method to the trunk
50- Implemented the Runtime Bundles Modules
51- Updated nvidia and ati device id
52- Small security fixes
54- Stability fixes
55- Added mountain lion auto_installer compatibility
56- Changed md5c.c to the Xnu's md5.c
58- Added a dirty workaround to selectBootVolume (still need more investigations to find out what happening exactly during the bvchain construction, and how the h... the loop can stop with gcc)
60- Improved Xcode4.3+ support
62- Sync'd LoginToLion with the last Enzo's update (want more about LoginToLion ? please follow or participate to this thread :,2125.0.html)
63- fixed some bugs
64- Added an option to change the acpi detection method (only for acpi 64 users)
65- Updated amlsgn with more cocoa
67- Many security and bug fixes and improvements
68- Added a workaround for some machines that was unable to enter to the startup options during the countdown
69- Implemented a new environment platform
70- Added mountain lion support
71- Improved Xcode4 support (GUI still work only with Xcode3)
73- Added mountain lion icons for the default themes and LogintoLion (credit to Blackosx)
74- Added cpu_intel_amd.c (not by default, you need to edit the makefile in the libsaio directory to compile it)
75- Implemented a stack_protector (seems to work)
76- Sync'd libsa with Xnu
77- Removed lcc_kext dependency from the make file
78- Fixed some bugs
80- Updated the default theme to v 1.1 (credit to blackosx)
81- Updated LogintoLion with he haiku device logo (credit to blackosx)
82- Update for the gui
83- Chameleon can now boot the Lion Auto-Installer partition (additionally, on a GPT disk this enable the option "Localize my Mac" of iCloud)
84- Added a first version of amlsgn (NOTE: This tool can can sign an aml file for your machine (with the UUID) or for your machine model, this can be useful
85 with multiple machines w/o an identical model, combined with acpicodec and the option "LoadSignedAmlOnly", you can make sure that Chameleon will load the
86 good aml files for your machine (even if you have for example about 50 dsdt files named differently in your Acpi directory and each one for a different machine) )
87- Applied Guerrero's patch on gui.c (
88- Added a theme compatible with the OS detection/Volume feature (credit to Enzo for LoginToLion, see for more.)
89- Fixed a mistake with the smbios.plist loading process
90- Reworked the OS detection/Volume (NOTE: now embedded into the core and executed much earlier )
93- Added Haiku support (credit to scorpius)
94- Added EXFAT (FAT64) support (credit to dmazar)
95- Added JrCs fixes (see trunk v1716 v1719)
96- Gui can now detect the darwin version of each volumes
97- Applied some underthehood fixes and enhancements
99- Added an option to the check Oem revision of aml files, can be useful with multiple machines (a command line tool able to patch the aml files will be available soon)
100- Improved smbios support for some Intel Xeon models
101- BETA : Sync'd ati engine with the trunk
103- Small security fixes
104- Added a mechanism to strip the madt table
105- Ported the serial number randomizer to smbiosgetters,
106 Warning: smbiosgetters (and also the Gui module) still don't work when built with Xcode4.
108- Implemented a serial number randomizer in smbiospatcher
109(can be useful for icloud registration problems, especially when the serial number is already used by another machine,
111DISCLAIMER: Please read the iCloud License ( carefully before using this option.
112By using this option, you are agreeing to be bound by
113the terms of the iCloud License ( If you do not or cannot agree to the terms
114of the icloud License (, please do not use this option.
118- Chameleon (or at least this branch) can now boot OSX on Parallels Desktop 7, with full acpi and smbios support
119 (note: you will need to embed at least acpicodec and smbiosgetters since virtual machines don't like our module system),
120 see this vid ;-) :
121- Added a mechanism to boot the real Lion installer partition (with baseSystem.dmg as root device), you will just need to edit the kernelcache
122 for you platform, step 2 of the installation process (booting from the kernelcache in the "Mac OS X Install Data" folder) is still in progress
124- Added a simple mechanism to embed a module into the core of the bootloader (useful for virtual machines
125 or for modules not yet compatible with xcode4), see internal_modules.h for more info.
126- Added JrCs's Keylayout support in Keymapper
127- Fixed an issue in AcpiCodec where the highest cpu frequency may not be added in the pstate package on some configurations
128- Improved detection of nb of core(s) and thread(s) for AMD processors
129- Updated keymapper ...
130- Applied scorpius's patch (to get an unstretched boot screen for nVidia cards on DVI) in boot0.s , disabled by default,
131 see -,2158.msg10345/boardseen.html#new - for more info.
132- Applied Vladimir Zidar's hibernate patch on hibernateEnabler.
133- Applied "Intel HD Graphics 3000" patch to gma.c (credit: ???) ,
134 found at - -
135- Added AMD support (most of the code is derived from the trunk, MUST BE ENABLED BY HAND IN CPU.C) see - -
136- Improved Core Ix support in AcpiCodec
137- Improved c-states support in AcpiCodec
139- Sync'd nvidia.c and gma.c (see GraphicEnabler module) to the trunk
140- Improved compatibility with xcode4 (afaik only the modules gui and smbiosgetters will not work with xcode4, even if they are built without any errors)
141- Applied JrCs's path for more protection against buffer overflow in some case (trunk v1449)
142- Added a mechanism to detect extra mkexts/kexts before loading the kernelCache
143- Moved smp code to Erich Boleyn's smp-imps (not fully implemented yet)
144- Added the UseKernelCache option only for compatibility with the trunk ("Yes" have no effect, since it's the default),
145 the Flag "-F" which do the same things is still valid
146- Re-worked SSDT generation, and merged with the Bits's code
147- Removed aml_generator from AcpiCodec, now use acpicode.c to generate aml file
148- Added YellowIconFixer module
149- Merged fsb detection with Bits's code in cpu.c (slightly faster)
150- Fixed a bug related to ACPI in AcpiCodec (thanck to StephN666 for testing)
151- Fixed a bug related to ACPI and the machine with a rsd table revision > 0 (acpi_tools.c) (thanck to StephN666 for testing)
153- Applied Andy Vandijck's Nehalem (i5/i9) spoof to kernelpatcher
154- Fixed an issue with kernelPatcher, it seems that kernelPatcher is unable to patch the kernelCache
155- Applied some fixes from the trunk
156- Applied many under the hood fixes
157- Added Andy Vandijck's Server spoof
158- Added a Patch from Andy Vandijck in SMBiosPatcher and SMBiosGetters
159- Added a Patch from Netkas in GraphicEnabler (ati.c)
160- Fixed an issue where the GUI module couldn't find the themes directory
161- Fixed an issue where the GUI module failed to display the GUI
162- Added AcpiCodec module
163- Re-wrote ACPI code in fake_efi.c
164- Fixed a bug with AcpiPatcher when built with xcode4
165- Optimized AcpiPatcher code
166- Minor change of SMBIOS code in fake_efi.c
167- Applied some changes to the CPU detection
168- Fixed Pict-FailedBoot allocation
169- Board-id fix is now handled by the smbios modules
171- Added boot-args in the device tree
172- Added BootCLUT and Pict-FailedBoot
173- Added Board-id spoof
174- Fixed kernelcache loading with 10.5, 10.6 and 10.7
175- Added Lion Compatibility
177- Re-enabled Ignore Boot File Flag option , now "-B"
178- Fixed a bug in get_PM_Profile(), where the function return the profile 0 = 'Unspecified' when the facp is incorrect or not found, and so, override the
179 PM type set by the cpu features
180- Added new drop acpi table mechanism, now it's really able to drop any tables
181- BootHelp is not anymore embed by default in the bootloader core, if you need the help at boot time, just install your BootHelp.txt in /Extra/ (for now GUI module still embed it)
182- Fixed the HelloWorld module (broken since i have increased module hook arguments number)
184- "-F" now mean do not use prelinked kernel
185- Fixed embedtheme resolution, random theme chooser now also include embedtheme in the list (if the GUI is compiled with the embedtheme option),
186 also fixed a potential memory leak in randomTheme()
187- Fixed a bug in modules.c introduced in the previous versions, the booloader should now load correctly
188 with or without modules
189- Boot helper support (raid) is now an option (992 bytes saved)
190- Fixed an issue where the prelinked kernel can't be found (the bootloader should now be fully compatible with the kextcache command line tool).
191 (Also merged both adler32 function previously located in drivers.c and boot.c into one (adler32) located in boot.c)
192- returned to malloc by default, instead of safe_malloc, safe_malloc(+1280 bytes) is now an option (as in revolution 616+)
193- APM support is now optional (704 bytes saved)
194- Fixed add_symbol function
195- Increased module hook arguments number to 6
196- Added Kabyl's pci subsystem id patch
197- Added Kabyl's smbios implemention (SMBiosGetters, see Kabyl's branch.) as a module (legacy smbios implementation (SMBiosPatcher) have been also rewritten as a module)
198- Added valv's experimental amd support in CPUFreq module (untested)
199- Added Slice's smbios_patcher fix
200- Increased Booter Log size according to the chameleon trunck (thanck to Azimutz)
202- Added BSD (OpenBSD and FreeBSD) support (Credits to: nawcom, valv)
203- moved hibernation and ramdisk into modules
204- Added a keyboard mapper module
205- Added CPUFreq module (Credits to: valv, cparm)
206- Added a random theme chooser in the GUI module
207- Added Slice's mobile detection fix
208- Added mozodojo's coreI fix in acpi patcher
209- Applied many fixes and optimizations to the core
210- Moved to meklort's core architecture
211- Added Andy Vandijck's Full ACPI tables override and ACPI V1 to V4 conversion patch
214- Added Booter Log Dump Tool
215- Added Booter message Logging (":/boot-log" ioreg property)
216- Removed obsolete -f option, use -x instead
217- Removed -x32 option, use arch=i386 instead
218- Added automatic SMBusspeed detection for lga1156 core i5/7 cpus
219- Added new iMac11,1 sbios default model for lga1156 core i5/17 mobos
220- md0 code. Notified xnu when an md ramdisk is specified
221- Added rollover image support for selected device icons.
222 Use device_<type>_o.png in theme folder. Credits goes to Blackosx.
223- Revisited theme resource embedding. Using the device_<type> icons are optional with
224 the exception of device_generic.
225- Optimized memory detection speed
226- Added displaying source device and partition number for file read operations.
227- Increased boot2's maximum size from 383.5k to 447.5k.
228 Updated stage 1 loaders for handling the new size limit.
229- Added alternate format for setting the default partition. The user can specify the selected
230 volume UUID for the "Default Partition" key.
231- Implemented SPD memory automatic detection and injection,seems to work really great ...
232- Factorized code to prepare a dynamic memory detection algorithm ...
233- Optimized smbios table address search
234- Optimized cursor spinout in textmode if no verbose mode is set
235- Added ram table structures definitions
236- Added getSmbios() a param permitting to select between orig and new smbios entries
237- Changed "Default Partition" behaviour to accept only native system volumes or foreign partitions.
238- Added NVIDIA new NVCAP customization support and support for ION gfx cards from aserebln
239- Added ATI new framebuffers support and new cards from PCEFI10.6
240- improved ACPI file search algo by implementing a cache.
241- Nvidia injection fix
242- pciroot would not always return correct uuid in autodection mode
243- Fixed the hibernation problem in boot2/resume.c
244- Fixed all new booter versions with SystemType would override the facp value even if correct,
245 now keeps the facp value if correct and no override has been done, implemented a best effort algo.
246 for maximizing the chance to get the most correct value before we decide to use a fixed value (1=desktop)
247- Fixed display cosmetics of UUID, now a convert.c file contains all
248 conversions api, to be completed by function that we should reuse.
250- Fixed SystemType would be always forced to a value, now optionally changed
251 only if ovveriden
252- Kept SystemID as the only option to change manually the system-id
253 For theses reasons, SystemId from bootConfig and SMUUID from smbiosConfig aer now DEPRECATED.
255- Integrated JrCs fadt patch (kept for RC5 the existing DSDT.aml retry algo that disapeared in his patch, should be more discussed for RC6)
256- Added JrCs modified convention name change to coding_standards
257- Now malloc (ex. MALLOC in Asere patch) is renamed malloc(size) and is an alias
258 to safe_malloc(size, file, line) with _FILE_ and _LINE_ prerocessor definitions
259- Added a new 'Rename Partition Feature', now permitting to rename partition
260 like 'System reserved' to a more meaningful name
261- Added SystemID option permitting to change the System UUID to a fixed value.
262- Added the PciRoot autodetection feature imported from pcefi10.5
263- Added automatic "system-id" injection from dmi bios, also compatible
264 with SystemID boot option and former SMUUID from smbios,plist
265- Added "system-type' automatic injection (1=Desktop) plus override possibility
266 with the new system-type option in bootConfig
267- Added SMserial and SMproductname new options for smbios.plist
268- Merged with asere patch, while keeping my fake_efi.c changes, and adding a new
269 stringForKey() API, also changed the DT__XXXX() set of functions
270 to handle const char * values instead of char*.

Archive Download this file

Revision: 2057