Jump to content

Clover Change Explanations

clover bootloader changelog

  • Please log in to reply
96 replies to this topic

#81
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

Rev 4248

Fix for undefined OS version in High Sierra installer. Explanation here



#82
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

Rev 4249

Corrected two bugs.

1. Menu separation lines was clickable.

2. Entering kexts management menu may cause boot without kexts after return.

Both bugs corrected here, more tests needed.



#83
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

Rev 4250

XCPM patch will no more be unconditional.

		<key>KernelXCPM</key>
		<true/>

Default value is <false/>. 

It can arise some problems because old revision has default to true.

But many users can't boot at all because of this. Let it be conditional setting from config or from Clover GUI.



#84
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

Rev 4272 - 4289

Accept updates by Rehabman

 #2590 



#85
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

Rev 4268
correct MachineSignature before wake from hibernation.

It is attempt to cure an issue at some configurations that boot.efi failed to check

		//
		// check machine signature
		//
		UINT32 machineSignature			= 0;
		if(!EFI_ERROR(AcpiGetMachineSignature(&machineSignature)) && machineSignature != localHeader.MachineSignature)
			try_leave(NOTHING);

The patch will write the MachineSignature from hibernation image into FACS table. But it is wrong for good machines

 

Rev 4270

condition for signature fixup

Now this Signature Fixup will be conditional through config.plist

		<key>SignatureFixup</key>
		<false/>

Rev 4291

if not SignatureFixup, it will be zeroed.

 

Anyway, the Signature must be fixed

If true then the value is from hibernate image

if false then the value is zero and it will be copied by kernel into the image.


Rev 4293

detect 10.13 installer version, by fusion71au

 

Explanation here  #15351



#86
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

Rev 4294

New Shell is able to correctly edit plists. Most important is config.plist. TAB characters converted to double spaces on the fly

Enter Shell

Shell> fs0:

fs0:> cd EFI\CLOVER

fs0:\EFI\CLOVER> edit config.plist

...

Press F2 to save the result

Press F3 to exit from editing

fs0:> exit

you will return to Clover

 

Enjoy!



#87
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

*
POPULAR

Rev 4295
Show kexts versions in menu to disable them.
 
Rev 4296
A possibility to de-init Radeon cards.
It was very old problem since ElCapitan that AMD Radeon HD6xxx and up will not wake after sleep if used as first card.
If the card is secondary and CSM enabled then the card works fine. So the differences is initialisation.
The solution was found by vit9696 and used in private WhateverGreen.kext. Then Mieze proposed the solution as ACPI patch.
Now I included this into Clover.
You have to set in config.plist


	<key>Graphics</key>
	<dict>
		<key>RadeonDeInit</key>
		<true/>

Related threads

No graphics / USB / Audio after wake

 

Tracing back the AMD GPU wakeup issue to its origin



#88
Sherlocks

Sherlocks

    InsanelyMac Deity

  • Coders
  • 1,705 posts
  • Gender:Male
  • Location:Seoul

Rev 4299
Support Reset NVRAM with F11 in Clover GUI.
Attached File  screenshot0.png   49.34KB   43 downloads

operations
native NVRAM system
- directly cleanup variables

not support NVRAM system(EmuVariableUefi-64.efi + rc script) and Legacy(+rc script) for only ESP. link
- search for nvram.plist and will delete it

after reset NVRAM, will be reboot.

if you want to know support NVRAM on your system, in terminal
type sudo nvram boot-args="-v"
then reboot, check verbose log, if it doesn't work, not support native NVRAM on your system.

Rev 4301
Support Fusion Drive for 10.12+.
Fix empty in block kext inject in GUI if os version is null. link link

Rev 4303
Improve Reset NVRAM

variables list to reset NVRAM
native NVRAM system
- boot-args
- nvda_drv

not support NVRAM system
- detect nvram.plist and delete it on only ESP partition
- boot-args
- nvda_drv
- hibernate keys if there is

about hibernate keys. link
- after you are using Lilu + HibernationFixup without knowing for sure whether hibernation works
if you experienced instant reboot when using any macos(recovery, usbinstaller, partition),
reset NVRAM with F11 help you can boot.



#89
Sherlocks

Sherlocks

    InsanelyMac Deity

  • Coders
  • 1,705 posts
  • Gender:Male
  • Location:Seoul

Rev 4307
Cleanup, fix and support more CPU for Generate option

 process for power management in old/new Clover

  -for sandy-, default - disabled P/C States generate option

  -for ivy+, default - enabled P/C States generate option

 

Do not mix the custom power management file(SSDT.aml) and the P/C States option

 if you want to use power management

  1. only use P/C States option without SSDT.aml

  2. turn off P/C States option. then put SSDT.aml in ACPI/patched folder

		<key>SSDT</key>
		<dict>
			<key>Generate</key>
			<dict>
				<key>CStates</key>
				<false/>
				<key>PStates</key>
				<false/>
			</dict>
		</dict>

Rev 4313
Fix without cache option(-f)

-it's useful for snow leopard installation to avoid AppleIntelCPUPowerManagement KP or patched AppleHDA

 

Rev 4316
Fix potential uncertainty of without caches option(-f)

 - without option(-f) and SystemParameters/NoCaches option work on 10.6 to 10.9.



#90
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

Rev 4314
Limit scope of binary DSDT patch by "Device" section with specified name in additional "TgtBridge" tag[/size]
by goodwin_c
 
Config.plist sample

                                <dict>
                                        <key>Comment</key>
                                        <string>Rename PXSX to SSD0</string>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>Find</key>
                                        <data>UFhTWA==</data>
                                        <key>Replace</key>
                                        <data>U1NEMA==</data>
                                        <key>TgtBridge</key>
                                        <data>UlAwOQ==</data>
                                </dict>
                                <dict>
                                        <key>Comment</key>
                                        <string>Rename PXSX to SSD0 2</string>
                                        <key>Disabled</key>
                                        <false/>
                                        <key>Find</key>
                                        <data>UlAwOS5QWFNY</data>
                                        <key>Replace</key>
                                        <data>UlAwOS5TU0Qw</data>
                                </dict>



#91
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

Rev 4331

Fix EDK2 bug notice at  #15797 by nms (same as nms42 at Clover credits).

Thunk.S in Baselib is wrong.

Good one is Thunk.nasm and we want use it.

 

The difference in compilation

Thunk.S

0000000000000077 662E0F0197F8FFFFFF              lgdt       fword [cs:rdi+0xfffffffffffffff8]

Thunk.nasm

0000000000000077 2E660F0157EE                    lgdt       fword [cs:rdi+0xffffffffffffffee]


#92
Sherlocks

Sherlocks

    InsanelyMac Deity

  • Coders
  • 1,705 posts
  • Gender:Male
  • Location:Seoul

Rev 4334

Fix potential OSInstall.mpkg issue in High Sierra

-no more remove EmuVariableUefi-64.efi and nvram.plist to install/update High Sierra

 

if still happen OSInstall.mpkg issue, delete macOS Install Data folder in root. download update/beta from appstore again.



#93
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

Rev 4337

Play Paper-Rock-Scissors game.

Paper covers Rock.

Rock tits Scissors.

Scissors cut Paper.

 

Discussion here

 

rev 4339 make this compatible with gcc.



#94
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

Rev 4351, 4355

Additional patches for EDID.

Now config.plist may contain follow EDID section

	<key>Graphics</key>
	<dict>
		<key>EDID</key>
		<dict>
			<key>#Custom</key>
			<data>AP///////wAGECGSAAAAAAASAQOAIRV4CunVmVlTjigmUFQAAAABAQEBAQEBAQEBAQEBAQEB3iGgcFCEHzAgIFYAS88QAAAY3iGgcFCEHzAgIFYAS88QAAAAAAAA/gBXNjU3RwAxNTRXUDEKAAAA/gAjMz1IZYSq/wIBCiAgAJo=</data>
			<key>#Inject</key>
			<true/>
			<key>#ProductID</key>
			<string>0x9221</string>
			<key>#VendorID</key>
			<string>0x1006</string>
			<key>#HorizontalSyncPulseWidth</key>
			<integer>100</integer>
			<key>#VideoInputSignal</key>
			<string>0xA5</string>
		</dict>
	</dict>

Custom is EDID obtained or created manually. You mostly don't need do it as Clover usually can obtain it by himself.

Inject=true informs Clover to inject Custom or Discovered EDID into video device properties. You have to set it to true is you do patches.

 ProductID and VendorID - may be you want to mimic your display to be Apple manufactured. But you should know what you do. Making this patch I found that Brightness control stop working. Remove this patch and brightness control is working again!

HorizontalSyncPulseWidth - this patch helps to resolve garbled screen at boot with Intel graphics. Known problem of 8 apples.

I see that the patch is still needed

			<dict>
				<key>Comment</key>
				<string>Patch 8 apples</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>AQAAdRc=</data>
				<key>MatchOS</key>
				<string>10.11</string>
				<key>Name</key>
				<string>IOGraphicsFamily</string>
				<key>Replace</key>
				<data>AQAA6xc=</data>
			</dict>

but this patch alone is not full solution. The apple is broken for a several seconds and then restored.

With new Clover setting HorizontalSyncPulseWidth = 100 there is a full solution. The image is good and not jumped.

 

VideoInputSignal - this is additional patch for the same problem but I found no inluence.

Definition of the value is follow

Bit 7=1

Digital input. If set, the following bit definitions apply:

 

Bits 6–4 Bit depth: 000=undefined, 001=6, 010=8, 011=10, 100=12, 101=14, 110=16 bits per color, 111=reserved Bits 3–0 Video interface: 0000=undefined, 0001=HDMIa, 0010=HDMIb, 0100=MDDI, 0101=DisplayPort

 

My default values for desktop 0x80 (Digital, all undefined), for laptop 0x90 -6bits per color?! - not good.

It seems value 0xA0 will be better if used.

And I don't know interface for intenal screen.

 

Credits. I was informed by Derek about this patch but initially it was wrong (byte 64 while it must be 63+65).

https://github.com/1...490753a0c145c1d

The discussion was at tmx site as well wrong and without result. And I don't know who is initial inventor because in those matter it can't work properly.



#95
apianti

apianti

    I have dementia!

  • Developers
  • 891 posts
  • Gender:Not Telling

Rev 4368, 4369
 
NVRAM and other runtime fixes for AptioFix.
 
Runtime code areas are no longer allowed to be relocated by boot.efi like runtime data areas. Runtime methods for NVRAM variables are shimmed to enable writing into runtime code regions during the methods, then disabled upon return. Native NVRAM should work for everyone now. AptioFix2 should be preferred over AptioFix, but you may need to calculate a slide value for now.



#96
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,806 posts
  • Gender:Male
  • Location:Moscow

*
POPULAR

Rev 4378-4382

New set of memory fix drivers.

 

OsxAptioFixDrv and OsxAptioFix2Drv reverted to rev before 4368 so without NVRAM support. Let them stay here for history. And sometimes OsxAptioFixDrv is only working version for high warped memory map.

OsxAptioFix2Drv is a reduced version without relocation blocks and may not works on some hardware or with older OS version. But this version supported Hibernation while first one no.

OsxAptioFix3Drv is a OsxAptioFix2Drv rev 4369 renamed to be different. This version supported NVRAM. More runtime fixes in 4379. This version can be improved by clover crew in future.

AptioMemoryFix included in the package is third-party memory fix driver used as is. It is probably better then OsxAptioFix*. Choose it for a first attempt.

OsxLowMemFixDrv is also memory fix driver, not improved since rev608.

SIC! These 5 drivers should not be used simultaneously! Choose one of them!

Clover will be updated for mutually exclusion.

 

AptioInputFix is included in the package now. It is keyboard driver to support FileVault2 for those who have AMI UEFI BIOS.



#97
Zenith432

Zenith432

    InsanelyMac Legend

  • Developers
  • 792 posts
  • Gender:Male

Rev 4406

 

Updated built_gcc7.sh to create GCC 7.3 toolchain for use with './ebuild.sh -t GCC53'.

 

Note that latest binutils is 2.30, but due to some unresolved bug, all versions of binutils later than 2.27 cause build failures.







Also tagged with one or more of these keywords: clover, bootloader, changelog


3 user(s) are reading this topic

1 members, 2 guests, 0 anonymous users


© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy