Jump to content
ErmaC

Clover General discussion

18,970 posts in this topic

Recommended Posts

Slice is glad to present a new EFI bootloader.
CLOVER
Now version 2 rEFIt based.


It is open source based on different projects: Chameleon, rEFIt, XNU, VirtualBox. The main is EDK2 latest revision.
I also want to thank all who help Slice with the development. Credits and copyrights remain in the sources.
http://cloverefiboot.sourceforge.net/

Main features:

 

  • Boot into 10.4 - 10.8 OSX, Windows EFI and Linux EFI
  • Boot into LegacyOS (WindowsXP, Linux, DOS) by their bootsectors
  • This is EFI bootloader so it provides RuntimeServices for OS that impossible for Legacy Bootloaders
  • Mostly Clover do automatic detection of hardware and set all properties by default. But user can change them by config.plist
  • with Clover you may restart into other OS from Startup Disk prefPane
  • Config autodetect by OEM product name
  • UUID written into config.plist will be the same as in OS
  • Autopatch OemDSDT for working OSX
  • SMBIOS will be corrected to standard 2.6
  • ACPI will be corrected to standard 4.0. Custom DSDT will be loaded from booted partition or from EFI folder
  • MADT table may be corrected to resolve problem with NMI on some hardware
  • ACPI tables loading (SSDT-xx, APIC, BOOT, SLIC, SLIT, SRAT, UEFI...)
  • Correctly set PowerProfile for laptops (notebooks), desktops, workstations
  • Customizable RestartFix
  • sleep/wake fixes
  • PCIRootUID value (0,1) for device-injection for those who can't edit DSDT
  • Graphics Properties Injector for ATI, NVidia and Intel for wide range of supported cards. Also customizable.
  • Custom EDID for non-DDC monitors
  • USB fix (LegacyOff, Ownership, Builtin, clock-id) up to USB 3.0
  • HDA injector, HDMI fix.
  • Ethernet builtin injector
  • CPU turbo
  • P- and C-states generator
  • PLimitDict and UnderVoltage for CPU Speedstep
  • patch kernel on the fly for unsupported CPU like Atom and Ivy Bridge
  • patch kexts inside kernelcache for unsupported hardware
  • Extra kexts loading
  • Security mode for FireWire
  • Default boot after timeout
  • Customizable GUI: themes support, own icons, fonts.
  • There is a possibility to implement national languages and fonts. F1 - multilingual help
  • Saving boot.log in OS and preboot.log from GUI by typing F2
  • Save original (OEM) ACPI tables by pressing F4
  • Test DSDT patching with F5
  • Save videoBIOS into EFI/misc by pressing F6
  • Saving screenshots from GUI typing F10
  • CD/DVD eject by F12 and refresh menu after CD insertion

 



If you have a question please provide outputs from DarwinDumper (formed from Trauma tool). Thanks Trauma!
Continued by blackosx and STLVNUB.

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

Edited by Slice
new update / references added

Share this post


Link to post
Share on other sites
Advertisement

To begin with, congratulations to all of you, this project is fantastic!!!!!

 

Last night I tried the installer on my Lappy, but I can only see at boot "GPT, boot0, boot0, DONE", or something like that.

 

For those who have already installed the bootloader (Chameleon) there are specific warnings?

 

My partions on GPT disk:

 

Efi

osx 10.8.1

osx 10.8.0

 

 

Another curiosity, we can change now the APIC.aml table, for override the original, to surpass the Local Apic error for Insyde BIOSes? Is possible with this bootloader?

 

 

As soon as I can, experiment on USB key, and report results!

Share this post


Link to post
Share on other sites

Excellent job on the setting up this topic Fabio & Slice.

 

Clover has grown and expanded incredibly this year and it now supports a wealth of options, many of which I don't use either because my hardware doesn't require them, or my setup already had the required patches applied. Because of that, and also the pace of development, I've missed out on the learning, experimenting and understanding of some of Clovers options and with the previous available documentation being either the Russian PDF at AppleLife, or one of the hundreds of posts at projectosx your opening posts here make a welcome resource.

 

Keep up the great work :)

Share this post


Link to post
Share on other sites

Hi people, and thank you for your efforts !

I followed this tutorial :

How to install InstallESD.dmg to GPT. since r480.

 

First, you need to Restore InstallESD.dmg to disk by using Disk Utility.

Then, follow the stage 1 and stage 2 to install 10.7.x or 10.8.x to GPT, and auto-create the Recovery HD used for iCloud.

 

Stage 1

 

1.Remove kernelcache in InstallESD.dmg/Library/Preferences/SystemConfiguration/com.apple.Boot.plist.

<key>Kernel Cache</key> remove this line.

<string>xxxxxxxxxxxxx</string> remove this line.

2.Copy BaseSystem.dmg/System/Library/Extensions to partition of InstallESD.dmg and add other kexts (FakeSMC.kext).

3.Clover select to "Boot Mac OS X with extra kexts (skips cache)", and follow the installation with restart first time.

 

Stage 2

 

1.Remove kernelcache in target partition's /OS X Install Data/com.apple.Boot.plist.

<key>Kernel Cache</key> remove this line.

<string>xxxxxxxxxxxxx</string> remove this line.

( 10.7.x is /Mac OS X Install Data/com.apple.Boot.plist )

2.Copy InstallESD.dmg/System/Library/CoreServices and /mach_kernel to target partition's / .

3.Copy BaseSystem.dmg/System/Library/Extensions to target partition's / and add other kexts (FakeSMC.kext).

4.Boot to "OS X Install" with "Boot Mac OS X with extra kexts (skips cache)" and finish the installation.

(10.7.x is "Mac OS X Install")

 

I completed stage 1 (the installation), after restart i can't seem to detect my HFS+ drive on clover unless i change AHCI to IDE in my bios sata configuration. Once it is detected, it is stuck at [PCI Configuration Begin].

Tried FixDsdtMask = 0x0000 = Fail

npci=0x3000 PCIRootUID=0 GraphicsEnabler=Yes = fail

I did not change the smbios or anything else except doing a clean installation and following the above steps. So for stage 2, do i perform all these steps from the shell or any other way (like from windows partition for instance)?

I have an Asus G53JW-A1 with nvidia 460m GTX 1.5 Gb memory, and its working pretty well with Chameleon, but was just hoping to get something more Vanilla with your masterpiece and achieve better ACPI integration (Battery, Brightness control,...).

Please let me know .

Share this post


Link to post
Share on other sites

@slayer2333 see at post #9, under AHCI timeout by bcc9,

 

kext editing (or use an injector), not dsdt fix

 

 

EDIT

 

or something like this?

 

<key>0</key>
  <dict>
    <key>Name</key>
    <string>IOAHCIBlockStorage</string>
    <key>Find</key>
    <string>example in bcc9 script</string>
    <key>Replace</key>
    <string>example in bcc9 script</string>
  </dict>

 

???? :|

Share this post


Link to post
Share on other sites

Hi Slice.

I have absolutely no experience with ATI card (I don't have one).

 

One question related to Ati injector...

I see in the source only the "generic" Device ID like this:

{ 0x688D, 0x00000000, CHIP_FAMILY_CYPRESS,"AMD FireStream 9350",kZonalis},

 

Any reason for not add the specific SubId?

I have a lot of it... if you wont also add it...

 

Fabio

Share this post


Link to post
Share on other sites

I tried the last versione of Clover and i found this problem.

 

Boot Clover .

Press "O" .

Enable "Turbo" .

 

When i want to exit from menu and try to boot Clover Freeze. I'm alone?

Share this post


Link to post
Share on other sites

Hi Fabio,

It works without any knowledge about specific SubsystemID.

Dunno about NVidia but sure about ATI algorithm. It works also for Mobile Radeons.

 

I tried the last versione of Clover and i found this problem.

 

 

 

When i want to exit from menu and try to boot Clover Freeze. I'm alone?

I think the "Turbo" is a dangerous characteristic but I can't make a proof if it is allowed.

Share this post


Link to post
Share on other sites

hello

 

@slice

 

the customedid key for me don't work, clover loads the key, but result in nothing if don't apply the fix in file

 

/System/Library/Displays/Overrides/DisplayVendorID-756e6b6e/DisplayProductID-717

 

i don't have graphics at all, only black screen.

 

good hack

Share this post


Link to post
Share on other sites

hello

 

@slice

 

the customedid key for me don't work, clover loads the key, but result in nothing if don't apply the fix in file

 

/System/Library/Displays/Overrides/DisplayVendorID-756e6b6e/DisplayProductID-717

 

i don't have graphics at all, only black screen.

 

good hack

This is something that I don't know.

Share this post


Link to post
Share on other sites

Slice, I've set SMBios to Mac Pro 5,1, but after booting from Clover, it is always become iMac12,1.

What can I do if I want to force it to identify the system as MacPro5,1?

 

This is the config.plist which I'm using now.

 

.
.
<key>SMBIOS </key>
<dict>
<key>BiosReleaseDate</key>
<string>03/21/12</string>
<key>BiosVendor</key>
.
.

 

-Problem Solved-

Share this post


Link to post
Share on other sites

See if removing that space after SMBIOS helps.

 

<key>SMBIOS </key>

Thank you very much. Problem solved... :)

 

It's hard to notice the space in Xcode....

Share this post


Link to post
Share on other sites

Can anyone give me an example about how to hide partition in Clover?

I don't understand what the introduction means.

 

What should I key for "VolumeString" and "String or it's part from boot.log?"

 

Is VolumeString the name of partition or something like disk2s1 or the UUID of the partition?

Share this post


Link to post
Share on other sites

hello

 

@slice

 

the customedid key for me don't work, clover loads the key, but result in nothing if don't apply the fix in file

 

/System/Library/Displays/Overrides/DisplayVendorID-756e6b6e/DisplayProductID-717

 

i don't have graphics at all, only black screen.

 

good hack

if you have a Laptop must work, but I doubt if you are using an external monitor, their EDID are published by their EEPROM, so, attention if your Display product/vendor ID already exists in your Overrides folder.

ProductID-717 indicate a generic files generated by Osx visible in ioreg (not a real product ID), and video acceleration is really required for override the EDID, your display must be attached to the framebuffer, without, injection does not work!

 

 

search mmod, for real Product/Vendor ID

myedid.png

 

Micky

Share this post


Link to post
Share on other sites

Hi all, this is a very great job , but i dont unterstound , i have two answer , wich is config.plist of edited?

http://www.mediafire...4jiib4fupsd4n3d

 

The first or second in OEM folder

 

and why is slow between the boot done to get to the screen shots of the theme?

the first from the left work!

 

/EFI/config.plist

Share this post


Link to post
Share on other sites

Can anyone give me an example about how to hide partition in Clover?

I use the volume GUID. So for example, here's mine:

<key>Volumes</key>
<dict>
<key>HideAllLegacy</key>
<string>Yes</string>
<key>HideVolumes</key>
<dict>
<key>0</key>
<dict>
<key>VolumeString</key>
<string>F55D9AC4-08A8-4269-9A8E-396DBE7C7943</string>
</dict>
<key>1</key>
<dict>
<key>VolumeString</key>
<string>43EB9A16-6572-4B7F-A537-6303895DAE0A</string>
</dict>
</dict>
</dict>

You can get the GUID of each volume by checking your Clover bootlog.

Or easier still, run DarwinDumper and select the Disk Volume UUID & GUID option.

Share this post


Link to post
Share on other sites

if you have a Laptop must work, but I doubt if you are using an external monitor, their EDID are published by their EEPROM, so, attention if your Display product/vendor ID already exists in your Overrides folder.

ProductID-717 indicate a generic files generated by Osx visible in ioreg (not a real product ID), and video acceleration is really required for override the EDID, your display must be attached to the framebuffer, without, injection does not work!

 

 

hello

 

i use the lcd note

 

and the customedid is loaded by the key and string, is show in boot.log

 

but no works

 

only work with the edid in file

 

Captura de ecrã 2012-09-23, Ã s 22.02.28.png

 

good hack

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By RougeOne
      Budget Workstation MacOS 10.14.1 build: z370 AORUS Gaming 5 - i5-8600K - RX 580 - UHD 630
      flawless iGPU/dGPU integration, fast FCPX editing/rendering, great overall performance for ~$1200 / ~£1000
       
      Update: updated WhateverGreen and Lilu, then updated OS to 10.14.3 and everything is fine! Even iMessage, which previously I hadn't been able to make work, is now working - possibly the update flushed the NVRAM?
       
      I'm gonna come straight out and admit it - I used newb tools which are considered taboo on InsanelyMac, and so this isn't so much an installation guide as it is a green flag to anyone considering the same hardware. My first and previous Hackintosh project was just over ten years ago and this site was massively helpful, so this is my (very small) way of giving back.
       
      EFI DIRECTORY
      http://s000.tinyupload.com/index.php?file_id=97606131925137056003
       
      HARDWARE
      CPU: Intel i5-8600K 3.6GHz hexacore (contains UHD 630 iGPU)
      CPU Cooler: be quiet! Pure Rock Slim (no paste needed, and fan facing front)
      Mobo: GIGABYTE z370 AORUS Gaming 5 (WIFI)
      RAM: 1x 8GB CORSAIR Vengeance LPX C16 2666MHz (in first slot)
      GFX Card: Sapphire RX 580 NITRO+ SE
      SATA: used ports 0, 1, 3, 5 (HDD problems when connected to port 4)
      HDD: generic
      DVD Drive: generic
      PSU: EVGA 500W Semi Modular (but you should get 650W!)
      Case: CoolerMaster CM590 III
      Fans: 2x stock case fans (one sucky on front, one blowy on back), 3x be quiet! BL046 120mm fans (two blowy on top, one sucky on front). Airflow near-perfectly balanced.
       
      ADVICE
      With the Clover configuration, you want to pay close attention to all things relating to graphics. There are some specific settings for ACPI, Boot, Devices and Graphics which should be copied exactly in order to get the iGPU and dGPU to work in perfect harmony. For instance, make sure you use ig-platform-id 59120003 rather than 59120000 if you want FCPX to be usable. With the right settings, FCPX will not only run, but run flawlessly.
       
      I was not able to figure out how to make NVRAM/PRAM behave itself, and I got errors when I tried to issue relevant commands. As a result, I could not at first get iMessage to work properly. It worked once on my first installation attempt but not from subsequent attempts. This Clover configuration therefore has no consideration whatsoever toward iMessage reliability - however, iMessage ended up working somehow, anyway - I noticed it after I'd updated to 10.14.3 but this may just have been coincidence.
       
      Onboard WiFi does not work. There is no driver for it. I'm using wired ethernet to a bridge router as it was cheaper than getting a compatible PCI card.
       
      Audio is working well after I installed the z370 audio patch, then the ALC1220 codecs, then AppleALC.
       
      With kexts for generic 3rd party SATA and generic 3rd party eSATA, my HDDs and DVD drive work perfectly well.
       
      Sleep/Wake functions run perfectly. iCloud functions run perfectly. Shutdown leaves the mobo LEDs on, annoyingly.
       
      My USB 3 ports seem to suffer from low power output, and I don't know why.
       
      Overall, this system appears to run about as well under MacOS 10.14 Mojave as it does under Windows 7. I would solidly recommend this build to anyone looking to build a computer for workstation purposes, on a budget.
    • By JhonneR
      Good morning, everyone, I'm sorry if I was wrong in choosing the topic but I need help.
      I have found it extremely difficult to mount a Hackintosh in my acer.
      Setup;
      I5 2430m 2.4 6GB RAM
      Mobo P5we0 - Intel intel Graphics 3000
      At the moment I have not found out what my audio codecs are.
      but I'll leave the link on the motherboard.
      however, my real problem is several.
      I have already used the itakos image, I have already used several images that could be installed normally and that after installing the image I do not have internet via cable or wireless.
      And another, I already looked in other forums and I know that I will be called a donkey in the logical question but I have not been able to install the [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] or clover to start from the Hard Disk, so I do not know what to do.At the moment I still do not know if there has already been someone who has already installed the High Sierra or just the Sierra in this notebook model and obtained permanent success.
      If anyone can help me, I'll be grateful.
      Installations without success, but with the system already installed in ACER;
      SIERRA
      HIGH SIERRA
      MOJAVE
      All with the same symptom. Starting only by the bootable USB stick and without internet connection via cable and wireless.
      Appreciate ! Acer 5750 Official Page
    • By Slice
      Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.
      You may see it's structure to create own theme
      -------------------------------------------------------------------------------------------------------------------------------------------------------
       
       
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
      What application in macOS can create SVG graphics?
      Inkscape is not working in macOS 10.11+. Pity.
      LibreOffice Draw works with SVG but buggy.
      Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.
      Illustrator is good but expensive.
       
      How to improve SVG file?
      Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.
      Some helps:
      Help:Inkscape – From invalid to valid SVG Inkscape files
      From invalid to valid SVG Adobe Illustrator files
      From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW
      Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation
      User:Quibik/Cleaning up SVG files manually
      Later I will write own instructions specific to Clover abilities.
       
      How to create SVG fonts?
      You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.
      You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.
      But then I want to find a way to simplify the font to reduce a size and speedup rendering.
      You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.
       
      Pictures from Badruzeus
      https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597
×