Posts Tagged ‘chameleon’

Chameleon 2 RC4 for Intel GMA (version 2)

24 febbraio 2010 149 commenti

This is a new version of the modified Chameleon 2 RC4 bootloader, to get (wide) native resolution on most Intel GMA. I tried to solve the common problems of the previous release.

The behaviour of the bootloader has been modified  as follows:
1. The desired resolution is read from “Graphics Mode” key in
2. If the key is not present, the bootloader reads the default resolution of your LCD/Monitor from EDID
3. The first entry of vesa bios modetable is patched with the new resolution, so OSX can find it and boot correctly.

-The major improvement is that now you can specify your custom wide resolution. For example, on my Inspiron 1545, I was able to get 1280×720 instead of 1366×768. Obviously, the resolution must be supported by your monitor and graphics card, so first ensure of that using windows or linux.
The string format must be in the classical form:
<key>Graphics Mode</key>

Don’t forget to check for the existance of both in /Extra and /Library/Preferences/SystemConfiguration directories.

-In addition, you can overwhelm many other cases in which the default resolution reported by edid is not the maximum supported by the monitor, but a mere 1024×768.

In this version I also added new deviceId strings, to recognize the last variants of GMA 4500, such as Optiplex.

– If you want to report any problems, please include in the comment your notebook/motherboard model, the output of:
lspci -nn|grep -i 'memory\|dram' (lspci is here)
and better, a video bios dump. From linux:
sudo dd if=/dev/mem of=vbios.dmp bs=65536 skip=12 count=1 and send me vbios.dmp.

In the package I’ve included all the compiled binaries, and the sources in the form of a diff patch.
-Install as you do with the original bootloader. If you already installed Chameleon RC4, just open the terminal and copy the boot file in your root directory, e.g.:
$ cd Desktop/ChameleonMR2
$ sudo cp boot /

(And give your password)

Download –

Chameleon 2 RC4 patched with 915resolution for Snow Leopard and Intel GMA X4500

28 gennaio 2010 86 commenti

!!Attention: this post is old, you can find an updated version here!!

Unlike the previous HowTo, this time I’ve made the things much simpler. The goal is to get 1336×768 resolution on Intel GMA X4500 with Snow Leopard, so I’ve patched and compiled Chameleon 2 RC4 bootloader, integrating the 915resolution patch, including the strings for GM45 chipset. So you don’t need anymore to have Linux, Grub2 and sacred spirit installed!

All you have to do is replace your Chameleon bootloader in the root of leo filesystem (/boot) with the one supplied in the archive below.

Note: you have to install Chameleon 2 RC4 from the original package first!

I’ve tested it with my Dell Inspiron 1545 (Intel GMA X4500) and got 1336×768 resolution with Snow Leopard 10.6.2, Hazard release, without any further patch!

Obviously, you can test it with other Intel chipsets, such as 915, 945, 500 .. and hope it works.

This is the download link:

—Edit: Updated to support more Chipsets (Intel G31, G41, and G45):

—Edit: Latest build, with source code:

Note: delete any “GraphicsMode=…” flag from /Library/Preferences/SystemConfiguration/ and /Extra/

-Currently, this is the only method to boot Snow Lepard kernel in 64bit mode with this card!!

All the other patches (applied to IntelGMAX3100.kext, IntelGMAX3100FB.kext and dsdt.aml) work only in 32bit mode, and give no benefits other than getting native resolution. So, until someone patches the modules or implements QE/CI, there is no need of using them!