Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

@Slice @LAbyOne 

Not tried all values, this statement follows from the OCLP guide. In my experience, when SIP is not 0x803 OCLP says to set SIP to 0x803 and reboot before applying root patch.

Edited by miliuco
  • Like 1
Link to comment
Share on other sites

13 hours ago, rramon said:

Hmm, I have a mid 2012 MacBook Pro 9,1 running fine with OCLP (Ventura) and completely disabled SIP - but I‘m not sure about Clover in combination with OCLP..

 

Does OCLP actually „know“ the 0x67 value?

 

  • OCLP has 2 main features:
    1. Installing OpenCore Bootloader (on real Macs)
    2. Applying patches to the system volume (installing removed kexts, frameworks, patching system files, etc) to make macOS work with legacy hardware
  • So, you can patch the system with OCLP but use Clover to boot (if it is configured correctly)

As far as SIP "0x67" is concerned:

  • 0x67 = Big Endian, used by Clover. OpenCore uses Little Endian, in this case: 07060000 which is insufficient for patching macOS with OCLP
  • For patching macOS when using Clover, you must change the CsrActiveConfig to 0x803 as mentioned by miliuco

And: OCLP doesn't need to "know" the value, because it gets it from the system, which gets it from NVRAM which gets it form the bootloader (injected value set in config.plist).

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

12 hours ago, LAbyOne said:

Who cares?

I do 😊

 

11 minutes ago, cankiulascmnfye said:

 

  • OCLP has 2 main features:
    1. Installing OpenCore Bootloader (on real Macs)
    2. Applying patches to the system volume (installing removed kexts, frameworks, patching system files, etc) to make macOS work with legacy hardware
  • So, you can patch the system with OCLP but use Clover to boot (if it is configured correctly)

As far as SIP "0x67" is concerned:

  • 0x67 = Big Endian, used by Clover. OpenCore uses Little Endian, in this case: 07060000 which is insufficient for patching macOS with OCLP
  • For patching macOS when using Clover, you must change the CsrActiveConfig to 0x803 as mentioned by miliuco

And: OCLP doesn't need to "know" the value, because it gets it from the system, which gets it from NVRAM which gets it form the bootloader (injected value set in config.plist).


Great and very informative, thank you!

Link to comment
Share on other sites

I don't know but OCLP may contains check as 

if (SIP != 0x803) exit;

although it is not really needed. They should say the recommendation and let user to try.

  • Like 1
Link to comment
Share on other sites

On 1/11/2024 at 7:35 PM, Slice said:

Again

"csr-active-config" = <03080000> is right

But About_This_Hack shows 0x03080000 which is wrong.

https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/?do=findComment&comment=2815397

 

 

Hi 

A more satisfying version ?

 

Capturedecran2024-01-13a16_31_12.png.7980721e37e7b76e23c5410c7476b506.png

 

 

or this one

 

Capturedecran2024-01-13a16_49_39.png.c22cfda6c0d7fef3988cfbad5e58d3b5.png

 

Regards

 

Edited by matxpa
  • Like 4
Link to comment
Share on other sites

1 hour ago, matxpa said:

 

Hi 

A more satisfying version ?

 

Capturedecran2024-01-13a16_31_12.png.7980721e37e7b76e23c5410c7476b506.png

 

 

or this one

 

Capturedecran2024-01-13a16_49_39.png.c22cfda6c0d7fef3988cfbad5e58d3b5.png

 

Regards

 

It seems to me that without green checks is better. Where can I download it?

  • Like 1
Link to comment
Share on other sites

2 hours ago, miliuco said:

@matxpa
I can’t add anything more. Perfect. Better without green checks. Is it in yout repo?

 

@miliuco @MakAsus

Hi

 

In my Repo, get (select all & copy) only HardwareCollectors/HCVersion.swift, the only one which was modified and GREEN checkMark use in comment

https://github.com/matxpa/About-This-Hack/blob/main/About This Hack/HardwareCollectors/HCVersion.swift

 

Regards

  • Like 2
Link to comment
Share on other sites

9 hours ago, Slice said:

I don't know but OCLP may contains check as 

if (SIP != 0x803) exit;

although it is not really needed. They should say the recommendation and let user to try.

 

No, you shouln't let users just try it. Because OCLP is for Apple users who don't know isht about the inner workings of macOS

  • Like 1
Link to comment
Share on other sites

On 1/13/2024 at 8:58 PM, matxpa said:

 

@miliuco @MakAsus

Hi

 

In my Repo, get (select all & copy) only HardwareCollectors/HCVersion.swift, the only one which was modified and GREEN checkMark use in comment

https://github.com/matxpa/About-This-Hack/blob/main/About This Hack/HardwareCollectors/HCVersion.swift

 

Regards

Thanks for regexps. I'm not very good with them, and I would spend a week to do this.
got only HardwareCollectors/HCVersion.swift from yours repository and clone the remain sources from the main repository 0xCUB3/About-This-Hack, but I took the old icons from repository Slice (I like them better) until I make my own.

Edited by MakAsus
Link to comment
Share on other sites

happy new year (we are going to need some wishes and hopes  this year again) wonderful work Clover runs my hacks....and they love it

Edited by odemolay
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

On 1/11/2024 at 9:22 PM, MakAsus said:

 

I changed my config file:
 

	<dict>
		<key>Memory</key>
		<dict>
			<key>Channels</key>
			<integer>2</integer>
		</dict>
		<key>Trust</key>
		<true/>
	</dict>

and nothing has changed.

Снимок экрана 2024-01-11 в 21.05.27.jpg

Снимок экрана 2024-01-11 в 21.04.06.jpg

preboot.log 67.5 kB · 3 downloads

I found my old preboot log, when the order of the dims was determined correctly still to Clover revision: 5119 (HEAD, commit a0948b2). Maybe this will help localize the problem.

preboot.log

Edited by MakAsus
Link to comment
Share on other sites

hi @Slice

i have followed this instructions to convert some Kernel patches to Clover:

 

Name seems to be skipped:

Warning: Unknown key '/KernelAndKextPatches/KernelToPatch[10]/Name:636'. Skipped.
Warning: Unknown key '/KernelAndKextPatches/KernelToPatch[11]/Name:668'. Skipped.

Attached the patches used for Opencore and Clover Bootloaders

 

Could you help to understand?

Thank you

patches.zip

Edited by mariosun
Link to comment
Share on other sites

35 minutes ago, Slice said:

Kernel has no Name. It is for kext patching.

In Opencore there is only a patch section

So in Clover i have to use it in Kext to patch also with latest opencore implementation done in Clover?

 

Edit:

Ok in KextToPatch works as Slice said (different from OpenCore also in latest implementation) 

 

Edited by mariosun
Link to comment
Share on other sites

3 hours ago, PG7 said:

Report Error boot Clover r5157 

Lenovo ThinkCentre M810z
intel i3-7100 KabyLake
intel HD630

Clover r5156 OK 
Clover r5157 No Boot 

Preboot.log 

preboot Clover r5156 work.log 60.19 kB · 1 download preboot Clover r5157 no work.log 57.86 kB · 1 download

You have different quirks

5156:

5:982  0:000  Kernel quirks
5:982  0:000  ACPCL 1 AXCL 1 AXEM 0 AXFB 0 CSG 0 DIM 1 DLJ 1 DRC 0 DPM 0 EBTFF 0 EDI 0 IPBS 0 LKP 0 PNKD 1 PTKP 1 TPD 1 XPL 0 PCC 0

5157:

7:890  0:000  Kernel quirks
7:890  0:000  ACPCL 0 AXCL 0 AXEM 0 AXFB 0 CSG 0 DIM 1 DLJ 1 DRC 0 DPM 0 EBTFF 0 EDI 0 FAI 0 IPBS 0 LKP 0 PNKD 1 PTKP 1 TPD 1 XPL 0 PCC 0

Simple way is to use same config.plist.

  • Like 2
Link to comment
Share on other sites

@big thanks goes @Jief_Machak

now also AM5 AMD users could use Clover Bootloader with a perfectly working audio

 

i suggest to test when it is available his Clover commit to all user who have had audio problem in the past solved using some weird CPU parameters in config . plist

Maybe could help also for older platform than AM5 ;)

 

Edited by mariosun
  • Like 2
Link to comment
Share on other sites

4 minutes ago, mariosun said:

@big thanks goes @Jief_Machak

now also AM5 AMD users could use Clover Bootloader with a perfectly working audio

 

i suggest to test when it is available his Clover commit to all user who have add audio problem in the past solved used some weird CPU parameters in config . plist

Maybe could help also for older platform than AM5 ;)

 

Thanks,

That's not even committed yet...

  • Like 2
Link to comment
Share on other sites

50 minutes ago, Slice said:

You have different quirks

5156:

5:982  0:000  Kernel quirks
5:982  0:000  ACPCL 1 AXCL 1 AXEM 0 AXFB 0 CSG 0 DIM 1 DLJ 1 DRC 0 DPM 0 EBTFF 0 EDI 0 IPBS 0 LKP 0 PNKD 1 PTKP 1 TPD 1 XPL 0 PCC 0

5157:

7:890  0:000  Kernel quirks
7:890  0:000  ACPCL 0 AXCL 0 AXEM 0 AXFB 0 CSG 0 DIM 1 DLJ 1 DRC 0 DPM 0 EBTFF 0 EDI 0 FAI 0 IPBS 0 LKP 0 PNKD 1 PTKP 1 TPD 1 XPL 0 PCC 0

Simple way is to use same config.plist.


no, I use exactly the same ones without changing anything
only change is the Clover.efi nothing else!

* up
excuse me, this preboot.log is true that it is another test
I immediately update a new Preboot

 

preboot 5157 No boot.log preboot Clover r5156 work.log

Edited by PG7
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...