Jump to content

[GUIDE] How to update Clover for BigSur compatibility (and beyond) using OpenRuntime and Quirks (r5123+)


5T33Z0
81 posts in this topic

Recommended Posts

Hello there,

I was planning to install Big Sur on my Lenovo desktop hack, and tried this conversion guide.

In terms of usability, clover 5126 doesn't boot my Big Sur installer (maybe expected) nor my current Catalina installation.

It stops at

rooting via boot-uuid from /chosen 

I attach my config.plist (without SMBIOS section).

 

System on my signature

 

 

config.plist

Link to comment
Share on other sites

Hi, 

It's a Skylake desktop.

I have so many boot args because I needed all of them when I first installed my system back in 2016 (I was trying some betas too, because of that I have beta args). Maybe I could retire some of them. 

I'm gonna try your changes as soon as possible. Maybe I could try that tomorrow.

Thanks 

 

Link to comment
Share on other sites

@pepitillo Here you go.

 

Changes: Followed Clover Vanilla Dektop Guide for Skylake to update config. Followed Dortania OpenCore Guide for checking Quirks.

 

• Cleaned out ACPI Section and deleted ACPI > Original Folder to slim archive

• Trimmed Boot-Args

• Disabled USB Port Limit Patches for older OSes. Added patches for Catalina

• Quirks: disabled XCHI Portlimit since USBPorts.kext is present

• Deleted Bluetoothfirmware kext for uploading (15 mb) to slim archive. You have to put it back in!

• Removed FakeSMC in Favor of VirtualSMC. Deleted SMCHelper as well > incompatible with VirtuaSmc

• Replaced VoodoooTscSync with CpuTscSync.kext > It's the new version of this kext

• Removed unnecessary Folders

 

Good Luck

 

EFI_pepitillo.zip

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

On the weekend I tried to build clover for my current desktop as well with all the necessary settings taken over from my working OpenCore config and I got stuck as well. The "[EB LOG:EXITBS:START]" error seems to be an issue with the 5126 release: https://github.com/CloverHackyColor/CloverBootloader/issues/309

Edited by 5T33Z0
Link to comment
Share on other sites

Hi, some updates.

I was trying to build an opencore config for my computer based on opencore guide. I'm stuck on the same place as stuck in clover.

rooting via boot-uuid from /chosen

So there's something with Opencore rater than Clover integration.

Link to comment
Share on other sites

23 hours ago, pepitillo said:

Update

I can successfully boot opencore by setting ReleaseUsbOwnership to true.

IDK if this is possible in Clover, I'll try later.

 

The Feature is called "FixOwnership" in Clover. Have a look at the Clover Conversion Guide to see what's what in Clover/OC

 

https://github.com/dortania/OpenCore-Install-Guide/blob/master/clover-conversion/Clover-config.md

  • Like 1
Link to comment
Share on other sites

@5T33Z0 Nice Tutorial!  Sharing my experience in case it helps others. I'm still running CLOVER r5122 (UEFI) and Catalina 10.15.7.03 as the baseline on my HackMini8,1 and was able to apply your suggestions as follows:

  • Removed FSInject.efi
  • Removed SMCHelper.efi (even though I am using FakeSMC.kext)
  • Keeping OcQuirks.efi (since I'm still on r5122)

I tried removing DataHubDxe.efi (since I think my rig is "modern"), but my system will not boot Catalina 10.15.7.03 without DataHubDxe.efi.

 

My CLOVER drivers are now limited to the following:

  • ApfsDriverLoader.efi
  • DataHubDxe.efi
  • NvmExpressDxe.efi
  • OcQuirks.efi (since I'm still booting with r5122)
  • OpenRuntime.efi
  • VBoxHfs.efi

I'm currently testing this reduced driver set with a USB (keeping my SSD EFI untouched) and will update my SSD after I confirm proper operation through a few boot cycles.

 

Thanks again!  Nice work.  

 

EDIT: Note that when booting with OC 0.6.3, I need only the following drivers (still using FakeSMC.kext):

  • HfsPlus.efi
  • OpenRuntime.efi
Edited by tonyx86
  • Like 1
Link to comment
Share on other sites

@tonyx86 Thanks for sharing your experiences. It's always a bit of experimenting involved. ApfsDriverLoader is included in OpenRuntime so you don't need it in OpenCore. As far as Clover is concerned, you could test if it will boot from apfs volumes without it. But I think it is still required though, since it looks like Clover is only making use of the memory fix portion of OpenRuntime.

Link to comment
Share on other sites

On 11/28/2020 at 3:07 AM, PippoX0 said:

I will give a try in my legacy rig

Legacy boot of Clover 5126 or 5127 can not boot Big Sur in my FX-6300, P6TSE, P5Q PRO, or GA 775 hackintoshs yet because these have no UEFI. Put OpenRuntime.efi in EFI/CLOVER/drivers/BIOS not working !

But legacy boot with OpenCore worked in these hackintoshs from 10.13.6 to 11.1 smoothly.

If yours can boot Big Sur, can you share your EFI for me ?

Edited by jsl2000
Link to comment
Share on other sites

On 12/10/2020 at 2:52 AM, 5T33Z0 said:

@tonyx86 Thanks for sharing your experiences. It's always a bit of experimenting involved. ApfsDriverLoader is included in OpenRuntime so you don't need it in OpenCore. As far as Clover is concerned, you could test if it will boot from apfs volumes without it. But I think it is still required though, since it looks like Clover is only making use of the memory fix portion of OpenRuntime.

I just performed the most recent Catalina 10.15.7 security update and Safari 14.0.2 updates on my HackMini8,1 and the updates were without issues.  I'm posting this as an added validation that my reduced CLOVER driver set (repeated below, still running CLOVER r5122 UEFI) is sufficient for normal Catalina 10.15.7 operation and for Catalina installers.  Thanks again for this thread.

  • ApfsDriverLoader.efi
  • DataHubDxe.efi
  • NvmExpressDxe.efi
  • OcQuirks.efi (since I'm still booting with r5122)
  • OpenRuntime.efi
  • VBoxHfs.efi

 

See new version screenshots here.

Edited by tonyx86
Link to comment
Share on other sites

  • 2 weeks later...

Yes @tonyx86 a kind reminder to everyone, NvmExpressDxe.efi is for older maOS's that don't natively support NVMe, we don't need this for Mojave and newer.

 

That's also my minimum EFI drivers except that I am an old-school guy and still use FSInject.efi and VirtualSMC.efi :D

There is still no conclusive evidence as to whether keep FSInject.efi and VirtualSMC.efi (instead of SMCHelper.efi that's for FakeSMC.kext) and digging on the net only provides some user's feedback rather some developers' insight (as they see the code that I cannot). Originally in older days, it was a "Driver responsible for Clover's /EFI/kexts/XXX kext injection into kernelcache". Not sure if it's now integrated in main CLOVERx64.efi ? Slice responded here but... 8 years ago. 

 

Perhaps they were indeed for older macOS and since High Sierra or Catalina, they too are no longer needed?

 

UPDATE:

As Slice reported today, FSInject.efi "is for 10.7 (Lion) and older systems which are able to load individual kexts instead of prelinkedkernel" so I also try booting without it on r5123-1 and I had no issues removing it.

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

I have created a Clover EFI with r5127, with help of the guide given for big sur and added the necessary kexts, drivers and made the efi to match settings from my old EFI. I am on Pentium G4600,NVIDIA 710, Gigabyte HM110m-h mobo,  i was able to boot the macOS Catalina installer on r5122, but running big sur installer gives kernel panic -

panic cpu2 caller ...initproc exited --exit reason namespace 2subcode 0x4 description:none.

I gave the FakeCPUID 0x0306A0 in the config.plist with the help of clover configurator, added the FakePCIID.kext. Any help at the earliest is highly appreciatable.
I have been able to boot it using OpenCore but I wanted Clover as it helps me with my development process.

Link to comment
Share on other sites

  • 2 weeks later...

Quirks for Gigabyte Z490 Vision G. Should work with other Z490 Boards as well like the Vision D. Boards from other vendors may need "EnableWriteUnprotector" and/or "SetupVirtualMap". You still need SSDTs from OpenCore (like AWAC, SSDT-PLUG, SSTD-EC-USBX etc.).

 

1757102024_Z490VisionGQuirks.png.afa53ee42849062c58ad14b23b731672.png

 

Kernel & Kext Patches:

  • KernelPM (not necessary if you disable CFG Lock in BIOS)
  • Panic No Kext Dump
Link to comment
Share on other sites

  • Allan featured this topic

@BuXb So concluding from this the bug report if you put and leave your kexts in "other", there won't be any problems with  Big Sur, right? Also, it seems that the guy who reported the issue just created a subfolder in kexts called "11" and expects Clover to recognize it. I think that path has to be hardcoded into Clover's code to be found. So it's not really a bug it's more like an error on the user's end I think.

Edited by 5T33Z0
Link to comment
Share on other sites

  • 5T33Z0 changed the title to [GUIDE] How to update Clover for BigSur compatibility (and beyond) using OpenRuntime and Quirks (r5123+)
  • Slice locked and unlocked this topic
×
×
  • Create New...