Jump to content
30960 posts in this topic

Recommended Posts

I reverted to release 5170 b54764d because everything that follows breaks the display of boot volumes despite all my efforts to fix it.

KernelAndKextPatches will be global only. It increases stability and reliability of the bootloader.
MD5 (Clover_r5170.pkg) = bd7b242f4d7fb51d6203b7e6c18b84af

What's Changed:
• Minor Fix in rEFIt_UEFI/entry_scan/loader.cpp by @YBronst in #805
• Fixed a regression in the Volume display name function. by @YBronst in #806
• Fixed unopened bracket by @YBronst in #809
Full Changelog: 5169...5170

  • Like 2

Release-5170 remaster

This branch represents a stable and feature-complete "Remaster" of the Clover Bootloader. It is designed to provide a more reliable foundation for future development by strategically merging modern innovations while systematically reverting regressions that have compromised stability in recent versions.

1. Restoring Core Stability: Fixes for Volume and OS Name Corruption

The primary technical achievement of this remaster is the restoration of reliable string processing. Recent upstream changes in XStringAbstract and memory management (shifting from free() to delete[] and introducing strict subString boundary checks) led to significant side effects:

Name & Label Corruption: Overly strict bounds checking in subString caused Clover to fail or produce garbled results when parsing volume labels and OS names, particularly when expected delimiters were missing.

Memory Management Consistency: The shift to delete[] for buffers allocated via UEFI's AllocatePool caused compatibility issues with modern compilers and existing platform wrappers.

Permissive and Robust Parsing: This remaster restores the stable, permissive string handling that has worked reliably for years. This ensures that all partitions, volumes, and operating systems are correctly identified and displayed in the boot menu.

2. VoodooHDA 3.1 and Audio Injection Overhaul

The Remaster introduces significant improvements to high-definition audio property injection:

Modern Property Injection: Replaced the legacy layout-id with voodoo-layout-id to provide native support for VoodooHDA 3.1.

Simplified Logic: Removed outdated macOS version checks (pre-10.8), relying on the presence of HDALayoutId for injection.

UI Transparency: The Audio Tuning menu has been updated to always display HDAInjection and HDALayoutId settings, ensuring that users can always verify and modify their audio configuration directly from the GUI.

3. Advanced Toolchain and Build System

This branch modernizes the Clover build environment for developers:

Cutting-Edge Compiler Support: Added support for LLVM/Clang 22 and Xcode 16 (including XCLANG toolchain definitions).

Optimized Build Scripts: Refactored ebuild.sh and hebuild.sh with improved error handling, automatic ZIP packaging of the built EFI, and robust BUILD_ID generation that includes git commit hashes and repository status (dirty/clean).

GCC 15.2 Compatibility: Fully optimized for the latest GCC toolchain, including necessary type-cast fixes in filesystem and boot manager libraries to ensure a warning-free compilation.

4. New Features and Innovations

ZFS File System Support: Integrated the GrubFS-based ZFS driver, enabling Clover to recognize and boot from ZFS partitions.

Expanded Hardware Support: Updated SMBIOS logic with expanded processor definitions for the latest Intel and AMD generations.

GUI-Integrated XHCI Patch: The XhciPortLimit quirk is now directly toggleable within the Clover GUI (InputItem 131).

Conclusion

This Remaster provides a curated, stable state of the project that avoids the regressions of recent upstream versions while delivering major new features and modern toolchain support. It is the result of a rigorous effort to keep Clover technically relevant without sacrificing the reliability that users expect.

MD5 (Clover_r5170.pkg) = a34d90352d646ad50a4ce9daff5f8dee
View Patch

 

screenshot1.png

screenshot0.png

screenshot2.png

screenshot3.png

screenshot4.png

preboot.log

Edited by MakAsrock
  • Like 5
  • Thanks 1

Hi Guys, i've been trying to update Clover 5170 to the latest build, but the disk names appear in a strange way. Would some kind of cleanup be necessary? If there are still bugs, I can wait—I just wanted to know because I'm testing a new app based on Update-Clover. 😉

 

 

 

CapturadeTela2026-03-09s15_57_20.thumb.png.61244f53aeaa79c5d32a650e6994c8a2.png

 

 

Edited by Max.1974
  • Sad 1
6 hours ago, Max.1974 said:

Hi Guys, i've been trying to update Clover 5170 to the latest build, but the disk names appear in a strange way. Would some kind of cleanup be necessary? If there are still bugs, I can wait—I just wanted to know because I'm testing a new app based on Update-Clover. 😉

 

 

 

CapturadeTela2026-03-09s15_57_20.thumb.png.61244f53aeaa79c5d32a650e6994c8a2.png

 

 

Yes, there is such a problem. Take my version. Everything is fine with it. 🙂

  • Like 2
  • Thanks 1
9 hours ago, LockDown said:

Where is the strange way🤔

 

Sorry for not explaining it properly. I usually prefer to set the volume names through the GUI in Clover using Clover Configurator, and it is giving errors with the volume names. I will test MakAsrock's

binaries. Thank you!!!

 

Edit - Add:  @MakAsrock  Thanks for your fork 5170, working fine my friend. It recognizes names and volumes with my patchers using the proper Clover Configurator.

I hope the developers can fix that soon.

God bless you all!

 

CapturadeTela2026-03-10s07_10_42.png.ce36682256a6c3bd210e5d4f934061f0.png

 

Tested my new app based on Update Clover by @Hnanoto I created it to make it easier to update a compiled Clover, but it works with any downloaded or zipped v2 folder. The intention is to replace only the essential parts from Clover.

 

 

 

 

 

 

 

 

image.png.23f9e858af3a93d528a0bb1ba6cae221.png

 

 

Updater-Clover-v2

 

CapturadeTela2026-03-10s07_25_13.thumb.png.aefa02ace04f9eac340717cb4fee50f5.png

 

Edited by Max.1974
  • Like 4
4 hours ago, chris1111 said:

 

Awesome @chris1111 :plane:

Thanks to all of you wise people from the Clover valley who give us great pleasure in using the bootloader!! Now complete!! Thanks also to @MakAsrock !! 

 

CapturadeTela2026-03-11s02_10_24.png.bf8c169da1f14da05865921aeea62057.pngimage.png.11d7a475837498533a8949733c40f720.png

Edited by Max.1974
  • Like 5
×
×
  • Create New...