Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

I dont know what to think about Clover.

 

I've managed to get it to boot 10.8-10.9DP and my Windows 8 install properly, but I simply dont get it to boot the Mavericks GM installer. But I have no idea why. I used fakesmc, ncpm injected those at boot. No good result. I've been trying to get this to work for hours.

 

Seriously, why is it so difficult to boot that installer? It just hangs there doing nothing, sometimes giving me a beachball.

 

What I want is use an installer partition on one of my internal disks to be able to reinstall at will. My USB 2.0 stick is just too slow.

 

I'm going back to Chameleon for the installer, never had any such issues with it.

Please, provide more information.

What is the error you get? At what stage? etc. 

Clover rev 2209 and 2211 can't inject kexts, I must run osx with skip caches. Rev 2194 is OK, I don't check 2195-2208.

Kext injection works fine for me with 10.9 and 2211.

Need more information / logs.

Link to comment
Share on other sites

Hi. I've been using Clover for several months with no problems until just recently. None of the recent updates work for me. The last version to work properly is rev. 2165. I've tried 2184 and 2211 and neither work. What happens is that it loads to the GUI, then starts the boot process but as soon as it displays the system uuid and before its starts loading any drivers, it restarts. Here's my installation settings:

 

attachicon.gifUntitled.png

 

What changed in the newer versions and how can I get them to run on my HP Envy 17t-3200 CTO (i5-3210M, HM76 chipset, HD4000)?

Disable kernel patching

  • Like 1
Link to comment
Share on other sites

@Pene: Thanks for your concern.

 

I've managed to install 10.9 GM without issues by booting Chameleon and using the HD4000 as primary GPU.

 

I'll retry using Clover again tonight though and post feedback once I get there. I like to have everything working as it should and learn something new in the process.

Link to comment
Share on other sites

Kext injection is not working for me too.

Why? 

What is your config? Where you keep kexts to inject? What info did you see in boot.log?

 

I successfully installed 10.9 with injecting FakeSMC and AppleHDADisabler. It works.

Link to comment
Share on other sites

Why? 

What is your config? Where you keep kexts to inject? What info did you see in boot.log?

 

I successfully installed 10.9 with injecting FakeSMC and AppleHDADisabler. It works.

It works for me 2,no problems.

BTW can u make sample 10.9 folder since we dont have it and must manually create.

Link to comment
Share on other sites

Why? 

What is your config? Where you keep kexts to inject? What info did you see in boot.log?

 

I successfully installed 10.9 with injecting FakeSMC and AppleHDADisabler. It works.

I also don't understand why, injection works perfect here.

But we have 3 reports it doesn't work.

EDIT: I see possible errors and correct with r2212 r2214. Can you guys see if kext injections works now?

  • Like 1
Link to comment
Share on other sites

I also don't understand why, injection works perfect here.

But we have 3 reports it doesn't work.

EDIT: I see possible errors and correct with r2212 r2214. Can you guys see if kext injections works now?

Yes, pene, this is the mistake. But it means that taking OSVersion "10.9" from boot,efi still not working?

 

For test: CLOVERX64.efi-2214.zip

  • Like 1
Link to comment
Share on other sites

Yes, pene, this is the mistake. But it means that taking OSVersion "10.9" from boot,efi still not working?

 

For test: attachicon.gifCLOVERX64.efi-2214.zip

It is working.

This error was just internal to GetExtraKextsDir - it didn't correctly handle the incoming parameter OSVersion (copy it without \0 at the end). It has no connection to how OSVersion is set.

I think the real error was what I corrected with r2212. The error with r2213+4 probably did not happen, as OSVersion should be already set.

Link to comment
Share on other sites

@Slice/Pene

 

I was going to post this to projectosx but as it's down I thought I'd post it here.

 

I've come across pngquant which converts 24/32-bit PNG images to paletted (8-bit) PNGs. It can reduce a file by up to 70% whilst retaining an alpha mask. I'm amazed at the quality of the results and cannot really see any difference between the original image and reduced one.

 

More info http://pngquant.org/

source:https://github.com/pornel/pngquant 

 

Anyway, I put together a small script to:

- shrink all .PNG's

- extract .PNG's from .icns files, shrink them and recreate the .icns file.

- delete any size .PNG's from .icns files other then 32px and 128px icons as Clover does not use them.

 

Running this script against Clover's themespkg directory resulted in substantial savings:

----------------------------

Size before shrinking: 33M

Size after shrinking:  14M

----------------------------

 

This means the Clover package installer can now be 16.5MB rather than 27.2MB.

 

However, there's a catch.

Whilst Clover can happily load these PNG files, there is a problem with the re-packed .icns files made with iconutil as the code from rEFIt is old and does not support any of the new file format changes introduced in OS X 10.7. For example, the 128x128px PNG image gets set to use the OSType code of ic07 (wiki link). I also think iconutil adds further compression to the PNG - I did read about packbits, but from this Apple link it looks like it's no longer used. 

 

For reference, here's one original .icns file from my black_green theme, and again the same icon but in the new smaller format.

Old_and _New_Icon.zip

 

To conclude from this research, I can suggest (if desirable), all the .png images in the repo could be replaced with reduced versions made by pngquant. Though using the smaller, more modern .icns files, would mean developing/writing new code to decode the file structure. Question is, would development be worth pursuing?

Link to comment
Share on other sites

Thanks for latest version kext injection works but i noticed that with the old version and the new one hdmi patch from clover works but stops after sometime or when wakes from sleep like oswaldini said.

Has anyone found a solution for that?

 

PS.

Can someone fix graphic injector because since 19xx my Amd radeon 6450  Vendor: ATI (0x1002) Device ID: 0x6779

shows in system profiler as Amd radeon 7450

Link to comment
Share on other sites

To those asking about installing Clover on a Fusion Drive a few posts back.

 

I gave up on Fusion drives, however it can be made to work with Clover as per this guys guide which I have not tried myself. Please have a look at what he is saying here and perhaps try it yourself taking into account that Clover has changed since the guide was written, so some caution and experimentation will be required.

 

http://www.osx86.net/topic/18316-guide-how-to-install-clover-2-dual-boot-solution-on-ga-z77n-wifi-with-fusion-drive/

Link to comment
Share on other sites

@blackosx

I realize what is it.

1. pngquant proposed to change millions of color to 256 color. Yes, it is possible and it will reduce sizes. But I am not sure all theme authors agree with such changes on their graphics.

2. Your attached new icns does not contain 128 pixel image.

I will think if icns and png decoders in Clover needed to be updated.

Link to comment
Share on other sites

1 - Yes it does. I also agree that it may not suit some images and maybe it should be down to the discretion of the theme author. However, the 256 colour palette it chooses is pretty accurate. Using pngquant on your MetalDragon.png reduces it from 3.8Mb to 2.3Mb and at 100% size the compression is hardly noticeable, though the wings of the dragon are now stepped. More apparent at 700%.

post-331032-0-12394700-1381157313_thumb.pngpost-331032-0-87419600-1381157325_thumb.png

 

2 - Does it not?

post-331032-0-74099500-1381157376_thumb.png

 

If the icns and png decoders were updated then introducing 256px icons would be easier  :P

Link to comment
Share on other sites

Please, provide more information.

What is the error you get? At what stage? etc. 

Kext injection works fine for me with 10.9 and 2211.

Need more information / logs.

 

Hi, I tried again and it works now. Sorry but the problem wasn't with clover but with how I set up the "install" partition. I had it as the second partition but should have made it as the first. It works now, and I have already reinstalled a completely vanilla 10.9 GM on my main SSD. Even the recovery works. 

 

Clover is really great. :)

Link to comment
Share on other sites

hello Slice

 

i been use last kozlek version of fakesmc

 

v 5.3.877

 

and the others versions before same thing

 

something is wrong ... i don't know where ?

 

thanks

Hi artur-pt,

 

I spoke with kozlek and he said that you can exclude REV key from Clover section from info.plist and write this key into common section... if I good understand him. You should look and try.

1 - Yes it does. I also agree that it may not suit some images and maybe it should be down to the discretion of the theme author. However, the 256 colour palette it chooses is pretty accurate. Using pngquant on your MetalDragon.png reduces it from 3.8Mb to 2.3Mb and at 100% size the compression is hardly noticeable, though the wings of the dragon are now stepped. More apparent at 700%.

attachicon.gifMetalDragon_100%_Differences.pngattachicon.gifMetalDragon_700%_Differences.png

 

2 - Does it not?

attachicon.gifIcon_Composer_Screenshot.png

 

If the icns and png decoders were updated then introducing 256px icons would be easier  :P

1. Gray images are always 256 so the metal dragon is not a proof.

2. The icon that I downloaded from you post show me planar image with 32bit only plane. May be there is another format?

3. 256pxl is not a problem for decoders. My background is larger.

The problem is menu layout with custom entries.

Link to comment
Share on other sites

Is this specific for me? Under r2218, I lost recovery icon at GUI. Should I add something in config?

 

r2184

1:115  0:000    Volume 'Recovery HD', OS 'ML', Icon(s) 'cougar,mac', GUID = B1CB8FFD-A38C-49ED-A6C6-B1696A2310EA

 

r2218

0:954  0:000    Volume 'Recovery HD', OS '', Icon(s) '<null string>', GUID = B1CB8FFD-A38C-49ED-A6C6-B1696A2310EA

 

Thanks,
Link to comment
Share on other sites

Hi, Devs

Could you add KextsToPatch as an option to GUI? Then we can choose which kext patch we'd like to disable in case the patch cause some issues in next OSX update.

 

@Slice

xpamamadeus uploaded QUO's DSDT to "How To Add Drivers To Uefi Firmware" in ProjectOSX few month ago. 

amiboardinfo.aml.zip

In the DSDT, it use OSDW to decide whether to enable or disable many devices, especially the ones under LPCB, such as: TPMX (PNP0C01), SIO1 (PNP0C02) PS2K (PNP0303) ,PS2M (PNP0F03) and CWDT (INT3F0D).

 

For example, under Device (SIO1):

Method (_STA, 0, NotSerialized)  // _STA: Status
                    {
                        If (OSDW ())
                        {
                            Return (Zero)
                        }

                        Return (0x0F)
                    }

I use this one instead (for OS X only):

Method (_STA, 0, NotSerialized)  // _STA: Status
                    {
                        Return (Zero)
                    } 

I found out my boot speed increase after applying those Method (_STA) key into my DSDT.

Although I don't use Clover's DSDT patch, maybe you can take it as an example to your DSDT patch code.  ;)

Link to comment
Share on other sites

×
×
  • Create New...