Jump to content

Clover Change Explanations


Slice
188 posts in this topic

Recommended Posts

Rev 4683/4688/4689

avoid conflicts between AppleUiSupport driver and old FV2 drivers when installing.

no more manually delete old FV2 driver in folder if you have AppleUiSupport driver when installing Clover.

Clover will keep your AppleUiSupport driver without old FV2 Drivers.

 

Rev 4692

avoid conflicts between SMCHelper driver and VirtualSMC driver when installing.

no more manually delete SMCHelper in folder if you have VirtualSMC driver when installing Clover.

Clover will keep your VirtualSMC driver without SMCHelper.

Edited by Sherlocks
  • Like 9
Link to comment
Share on other sites

  • 2 weeks later...

Rev 4696

Fixed potential black screen issue if SetIntelMaxBacklight.

 

Default LEVX

- Sandy Bridge/Ivy Bridge: 0x0710(1808)
- Haswell/Broadwell: 0x056C(1388)/0x07A1(1953)/0x0AD9(2777)/0x1499(5273)
- Skylake/KabyLake: 0x056C(1388)
- Coffee Lake: 0xFFFF(65535)

 

Rev 4698

Fixed AddPNLF for some laptop that can't control backlight.

 

Default _UID

- Lynnfield/older: 10

- Sandy Bridge/Ivy Bridge: 14
- Haswell/Broadwell: 15
- Skylake/KabyLake/Coffee Lake: 16

- ATI/NVIDIA: 10

 

Edited by Sherlocks
  • Like 7
  • Confused 1
Link to comment
Share on other sites

  • 2 weeks later...

Rev 4716

new way for reset native NVRAM in GUI by Sherlocks. thanks to vit9696.

 - it's perfectly same process by vit9696's CleanNvram.efi. now we can't properly delete NVRAM variables in Mojave. so if you want to clean NVRAM, press F11 in GUI.

 - caution! your bootorder also will be deleted(it means that bootorder initialized) if you have a dual boot(macos and windows). it's different according to user system

 

Rev 4717

prevent clover boot options from being deleted when NVRAM is reset

Edited by Sherlocks
  • Like 11
  • Thanks 2
  • Sad 1
Link to comment
Share on other sites

Rev 4719

Added prelang kbd option if want to keep language when updating macOS with native NVRAM.

 - This is the key to fixing macOS language problems when using native NVRAM.

 - This is macOS bug for long time ago.

 - When using only AptioMemoryFix or OsxAptioFixV3 without emuvariableuefi.efi

 - When using a language other than English

 

- can fix issues blow if use this key.

    <key>GUI</key>
    <dict>

        <key>KbdPrevLang</key>
        <true/>
        <key>Language</key>
        <string>ru:0</string>          <----- you want language

    </dict>

 

1. mixed language in restart popup after updating macOS.

post-980913-0-60167100-1515557218_thumb.png

 

2. always keep english when updating macOS in recovery despite to user already use other language in macOS.

Edited by Sherlocks
  • Like 15
  • Thanks 2
Link to comment
Share on other sites

  • 2 weeks later...

Rev 4729

Vector theme became usable. I will write instructions asap. At this moment you can see first theme created by Clovy.

Designed as

Снимок экрана 2018-11-03 в 14.04.40.png

 

Real works as

Снимок экрана 2018-11-03 в 13.45.59.png

 

OK, not the same.

There are still bugs and absent features. Anyway it somehow works!

  • Like 8
Link to comment
Share on other sites

Rev 4747

SVG theme can include PNG images. To scale it dithering used.

Снимок экрана 2018-11-09 в 23.02.59.png

 

Instruction is follow

1. With vector graphics editor import PNG file into your svg file.

2. Select the object and convert it into pattern.

3. Create an empty shape and set for it Fill->Pattern. There is an circle in the screen.

4. The pattern ID always must be "pattern_xxx" i.e. contain the word "pattern".

 

  • Like 7
Link to comment
Share on other sites

Rev 4752

Multilevel dithering. By default level = 1.

level = 0 will be without dithering.

For radial gradients like on Clovy vector theme this is not enough. A distance between different colors is too big. So we need dithering with larger steps. I can't calculate the step automatically, so I introduce addition for SVG "ditherCoarse".

It must have a namespace Clover to be ignored by other applications.

	<radialGradient id="GrayRadialBackground_1_" cx="358.2806" cy="0.743" r="0.8783"
                    gradientTransform="matrix(4.700000e-14 768 -768 4.700000e-14 1176.1536 -274946.875)" 
                    gradientUnits="userSpaceOnUse" 
                    clover:ditherCoarse="16">
		<stop  offset="0" style="stop-color:#606060"/>
		<stop  offset="1" style="stop-color:#1F1F1F"/>
	</radialGradient>

So there is a result.

Test square dithered with coarse level=1. As well as the sphere.

While radial background with coarse=16

Снимок экрана 2018-11-11 в 21.22.58.png

  • Like 10
Link to comment
Share on other sites

  • 2 weeks later...

Rev 4779

Implemented bootcamp style for vector themes

It looks like follow

Снимок экрана 2018-11-27 в 22.02.11.png

 

In <clover:theme ... settings there will be

BootCampStyle="1"

 

And there must be indicator image. I draw simple triangle

	<g id="selection_indicator">
	  <rect visibility="hidden" id="BoundingRect_141_" x="83" y="15" class="st162" width="64" height="64"/>
    	<path d="M 490.376 309.525 Q 490.992 308.43 491.641 309.525 L 507.876 336.934 Q 508.525 338.029 507.26 338.029 L 475.613 338.029 Q 474.348 338.029 474.964 336.934 Z" style="fill: rgb(216, 216, 216);" />
	</g>

 

  • Like 10
Link to comment
Share on other sites

Rev 4789

Three big news with SVG support:

1. Image can contain text

Screen Shot 2018-12-03 at 19.08.59.png

2. Images can be constructed with <symbol>. The picture above

3. Vector theme can have animated main screen. The first one in BGM_SVG by Blackosx.

  • Like 10
Link to comment
Share on other sites

Rev 4794

Implemented command line to manage boot.efi output

Explanations by vit9696 

 

By default I set command line as "log=0" it means you will not see long output from system start to ++++++

The setting can be changed in Clover GUI->Options->System parameters

screenshot15.png

  • Like 11
Link to comment
Share on other sites

  • 4 weeks later...

Rev 4840

Sync and Async sound play.

Sync play - sound play before enter Clover GUI. Clover GUI started after the sound is finished.

Async play - sound started to play before Clover GUI started and continue playing when GUI is ready.

To switch edit config.plist

	<key>GUI</key>
	<dict>
		<key>PlayAsync</key>
		<false/>

In theory async is better. But somehow async playing is buggy so default is false.

  • Like 10
Link to comment
Share on other sites

  • 2 weeks later...

Rev 4847-4852

There is interface in Clover GUI to tune startup sound parameters

screenshot4.png

Computer will play a sound before enter Clover GUI. To do this you have to

1. Use CloverX64.efi revision 4852 or up.

2. Place AudioDxe-64.efi into drivers64 and drivers64UEFI. Playing is possible in both legacy and UEFI modes. AudioDxe.efi is included into Clover project and will be differ from original by Goldfish64 but almost compatible.

3. Place sound.wav and may be sound_night.wav into your theme folder, for example /EFI/CLOVER/theme/Clovy/. The sound must be 16bit, and 44100 or 48000Hz. But I also made conversion on the fly so 8000Hz is also supported.

4. Tune sound output in Clover GUI as on screen above. The settings will be stored in NVRAM and used next restart. With legacy Clover or systems without nvram you have to use EmuVariableUefi.efi and rc.scripts to save nvram.plist. For very new systems like Z370 where nvram is not working in macOS there is a chance that the nvram is working on Clover level and so all will works. SIC! Legacy Clover saved Variables only with Apple guid so why it will not work. After some discussing I may rebuild the system to use AppleBootGuid. In this case the system will not be compatible with the original driver but will work with legacy systems.

 

No more needs in BootChimeCfg and BootChimeDxe while the compatibility still remains.

  • Like 15
Link to comment
Share on other sites

  • 4 months later...
  • 3 weeks later...

Rev 5000+

 

Now Clover version 2.5k.

It assumes new folder structures

drivers
  BIOS
  off
  UEFI

instead of older folders drivers64 (now drivers/BIOS) and drivers64UEFI (now drivers/UEFI).

 

As well I have to note that there is no automatic update from 2.4 to 2.5. CloverUpdater can't switch versions.

You have to install new version manually and carefully check drivers directories if all needed files presents here.

5000inc.gif.53890987fe453b91ae8c8ea92164774d.gif

Thanks Chris1111 for the picture!

  • Like 17
  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

Rev 5030

  1. espfinder. new way to mount the ESP using this new command line. Is Beta so for now is only activated if /useespfinder is present in the root
    sudo touch /useespfinder
     espfinder should work with APFS, CoreStorage, Fusion, RAID and with a mix of the mentioned.
Edited by vector sigma
  • Like 9
Link to comment
Share on other sites

  • 4 weeks later...
×
×
  • Create New...