Chameleon Svn Source Tree


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

Archive Download this file

Revision: HEAD