Skip to content

Release-5170 remaster#813

Open
YBronst wants to merge 9 commits intoCloverHackyColor:masterfrom
YBronst:master
Open

Release-5170 remaster#813
YBronst wants to merge 9 commits intoCloverHackyColor:masterfrom
YBronst:master

Conversation

@YBronst
Copy link
Contributor

@YBronst YBronst commented Mar 7, 2026

Description

  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

Type of change

  • Bugfix
  • New functionality
  • Code improvements
  • Documentation update

Checklist

  • Tested my changes locally
  • Added relevant comments to the code
  • Updated the relevant documentation

Additional information

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.

View Patch

dependabot bot and others added 7 commits March 5, 2026 20:38
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…upload-artifact-7

Bump actions/upload-artifact from 6 to 7
Added a license badge to the README by chris1111.
- Modified `rEFIt_UEFI/Platform/hda.cpp` to use `voodoo-layout-id` property instead of `layout-id`.
- Removed legacy macOS version checks (pre-10.8) for HDA injection; now relies solely on `HDALayoutId > 0`.
- Updated `rEFIt_UEFI/refit/menu.cpp` to always display `HDAInjection` and `HDALayoutId` settings in the Audio tuning menu.
- Intentionally omitted disk volume related changes from the source commit as per requirements.
Fix Build Clover Package
fix mistake
can use clang-22
sub change
a template to use llvm-clang-19
@jzrodriguez98
Copy link

@YBronst this sounds great. Thank you for the contributions to keep Clover up-to-date

@YBronst YBronst deleted the branch CloverHackyColor:master March 7, 2026 16:53
@YBronst YBronst closed this Mar 7, 2026
@YBronst YBronst deleted the master branch March 7, 2026 16:53
@YBronst YBronst restored the master branch March 7, 2026 16:53
@YBronst YBronst reopened this Mar 7, 2026
@YBronst
Copy link
Contributor Author

YBronst commented Mar 7, 2026

@YBronst this sounds great. Thank you for the contributions to keep Clover up-to-date

I'm trying my best. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants