radekge Posted September 11, 2009 Share Posted September 11, 2009 Hello, many people had trouble with waking from hibernation using chameleon. It said "header read size 0" and that the image signature is incorrect. I had the same trouble although my computer created the sleepimage correctly. Well, it turns out there was a bug in Chameleon that prevented reading files over 4gb, all file sizes were treated as 32bit, so if anyone had 4gb or more memory hibernation wasn't working for him. Well, I fixed it :-) here the patched boot file from Chameleon RC3. Just copy it over /boot (so: sudo cp ~/Downloads/boot /). Have Fun! and tell me how it's working. boot.zip Link to comment https://www.insanelymac.com/forum/topic/185704-chameleon-header-read-size-0-wake-from-hibernation-fixed/ Share on other sites More sharing options...
perangbintang Posted September 13, 2009 Share Posted September 13, 2009 Hello,many people had trouble with waking from hibernation using chameleon. It said "header read size 0" and that the image signature is incorrect. I had the same trouble although my computer created the sleepimage correctly. Well, it turns out there was a bug in Chameleon that prevented reading files over 4gb, all file sizes were treated as 32bit, so if anyone had 4gb or more memory hibernation wasn't working for him. Well, I fixed it :-) here the patched boot file from Chameleon RC3. Just copy it over /boot (so: sudo cp ~/Downloads/boot /). Have Fun! and tell me how it's working. thanks, is this supposed to replace boot file from Chameleon 2.0 RC3? i tried this (since i had 4gb of ram) but my machine still won't wake up after sleep. i'm on hibernate mode 3. Link to comment https://www.insanelymac.com/forum/topic/185704-chameleon-header-read-size-0-wake-from-hibernation-fixed/#findComment-1264991 Share on other sites More sharing options...
kizwan Posted October 21, 2009 Share Posted October 21, 2009 Hi radekge, Thank you for the fix. I'm currently using Windows Vista boot loader to dual-boot Windows Vista & retail Mac OS X 10.5.6. I found out that the "boot" file located at the root partition (/) can read/load extensions from EFI partition. I guess it is one of the Chameleon 2 feature. Care to comment? @perangbintang, the "boot" file is for computers that have problem waking from hibernation. It is not for enabling sleep capability. To enable hibernate, set hibernatemode to 1 or 5. The later if using "Secure Virtual Memory". kizwan Link to comment https://www.insanelymac.com/forum/topic/185704-chameleon-header-read-size-0-wake-from-hibernation-fixed/#findComment-1306289 Share on other sites More sharing options...
kizwan Posted November 3, 2009 Share Posted November 3, 2009 Not working with my gig. Just "hang" when it try to load system.kext. Do you know why? Link to comment https://www.insanelymac.com/forum/topic/185704-chameleon-header-read-size-0-wake-from-hibernation-fixed/#findComment-1318532 Share on other sites More sharing options...
CharredPC Posted November 5, 2009 Share Posted November 5, 2009 Same as kizwan; using this modified file, it simply kills Chameleon, stopping dead at the lizard logo instead of booting. Hope there's a working fix for this soon... I can yank out one of my RAM sticks and have working Hibernation using the original release file (just tested it) but no go with 4GB. Link to comment https://www.insanelymac.com/forum/topic/185704-chameleon-header-read-size-0-wake-from-hibernation-fixed/#findComment-1320553 Share on other sites More sharing options...
ApexDE Posted January 31, 2010 Share Posted January 31, 2010 @ radekg could you please provide the sources of this patch? I have problems with cham rc4 and would like to add it to PCEFI 10.5 Thanks! EDITH: I guess the problems i have with Cham RC4 are cause of this patch: The bootloader hangs at the Cham-Boot Screen after selecting the boot partition Tip: It worked when i had two Harddrives in my System, after removing the second Harddrive, the booter hangs after selecting the boot partition (single disk system) Link to comment https://www.insanelymac.com/forum/topic/185704-chameleon-header-read-size-0-wake-from-hibernation-fixed/#findComment-1400567 Share on other sites More sharing options...
Recommended Posts