Skip to content

Universal GPU Unlock v2.1.3 — Typed NVRAM Confirmation, Storage Safety & DXE Dispatch Diagnostics

Choose a tag to compare

@BrightRaider BrightRaider released this 30 Nov 22:16
· 15 commits to main since this release

Universal GPU Unlock v2.1.3

Typed INSTALL / REMOVE Confirmations · Verified USB & Partition Targeting · Atomic DXE Install & NVRAM Readback · Multi-GPU Safeguards · Issue #27 Dispatch Diagnostics

Universal GPU Unlock v2.1.3 scaled trilingual UEFI boot menu

Important

Upgrading an existing Stickless installation to v2.1.3? Boot from the updated USB, select [R], type REMOVE, and press Enter. After rebooting, boot from the USB again, select [I], type INSTALL, and press Enter. v2.1.3 keeps an existing DXE driver when the new file differs.

v2.1.3 is a safety and persistence hardening release. It keeps the familiar [U/P/I/R/S] menu layout while requiring explicit typed confirmation for persistent NVRAM actions, removes destructive storage fallbacks, verifies the physical USB/partition target and copied firmware assets, makes the stickless DXE installation transactional, and adds earlier dispatch telemetry for the MSI/AMI behavior tracked in Issue #27.

(0 permanent VBIOS writes · 0% gaming difference · Official signed NVIDIA drivers & Secure Boot compatible)

Note

v2.1.3 improves NVRAM readback and early DXE phase diagnostics for Issue #27; it does not claim a hardware-confirmed workaround for firmware that skips an active Driver#### entry during normal boot.


What's New in v2.1.3

1. Typed Confirmation for Persistent UEFI Actions ([I] / [R])

  • The existing keys remain unchanged: [U] Standard Unlock, [P] S3 Persistence, [I] Stickless Auto-Unlock, [R] Remove DXE Driver, and [S] Stock Windows.
  • After [I], the user must type INSTALL and press Enter. After [R], the user must type REMOVE and press Enter. Input is case-insensitive and supports Backspace.
  • Escape, an incorrect word, blank Enter, or the 30-second confirmation timeout safely returns to the menu. The main countdown still defaults to Stock Windows.
  • Covered by mocked keyboard tests for correct, mixed-case, corrected, blank, wrong, trailing-character, Escape, timeout, and scaled Chinese-console paths.

2. Verified USB & Partition Targeting — Destructive Fallbacks Removed

  • Setup.bat and the shared deployment code now resolve and verify the physical external USB device, target partition, mandatory files, and firmware asset hashes before reporting success.
  • The internal partition assistant verifies the selected disk identity, original partition, newly created GPT partition, and resulting volume before formatting only that new partition.
  • Removed the legacy DiskPart fallback that could continue after an ambiguous partition-creation failure. Partial failures now stop and leave the layout visible in Windows Disk Management for manual inspection.
  • USB copy completion is verified from the destination; diagnostics and setup no longer report success from a partial or mismatched deployment.

3. Boot-Wide Safeguard & Transactional Stickless DXE Installation

  • Stock Windows and [R] removal remain available even when no active supported GPU is discovered.
  • Both unlock entry points require a flushed safeguard marker before hardware mutation. Once detected, the DXE path honors the marker for the entire boot instead of clearing it early and retrying at ReadyToBoot.
  • [I] stages architecture assets before the driver, preserves an existing installation when files differ, and verifies the registered Driver#### entry by reading it back. Use [R] before [I] when replacing an older driver image.
  • NVRAM registration errors now fail visibly instead of leaving a partially replaced internal installation.

4. Earlier DXE Dispatch Diagnostics for MSI/AMI (refs #27)

  • The DXE driver emits a boot-scoped volatile entry phase as early as possible, before filesystem logging, and advances it through later initialization phases.
  • python tools\quick_check.py --dxe-phase can query the phase from an elevated Windows terminal, helping distinguish “firmware never invoked the entry point” from an early initialization or filesystem failure.
  • The installer records NVRAM registration readback, while the operations guide documents the exact cold-boot evidence to collect before any manual UEFI Shell load.
  • Issue #27 remains open for motherboard/BIOS-specific cold-boot verification on the reported MSI Z790 / AMI platform.

5. Multi-GPU, Windows Tuning & Diagnostic Hardening

  • Firmware S3 registration is skipped when multiple GPUs share the wake context, and stickless [I] refuses mixed GPU architectures instead of staging an ambiguous persistent payload.
  • Windows tuning and wake re-apply bind cards by stable GPU UUID instead of volatile enumeration order. Re-enable an older wake task once to migrate it to the fixed, validated command format.
  • Elevated helpers invoke the system NVIDIA executable directly with validated arguments; the dashboard now reports wake-task failures instead of silently treating them as success.
  • The Control Center stages only the standalone read-only topology diagnostic and validates its log before displaying results.

6. Release Engineering, CI & Documentation

  • Added Windows host regression coverage for setup, storage selection, deployment, and diagnostic workflows, and wired those checks into GitHub Actions.
  • Release builds update bin/BOOTX64.EFI and bin/AdaUnlockDxe.efi only when the exact registered signing certificate is available and the attached signer/thumbprint can be verified.
  • Updated English, German, and Simplified Chinese guides, technical documentation, persistence operations, synchronization checklist, changelog, and co-located bin/ documentation.

Quick Upgrade / Setup

  1. Upgrade an existing USB (Setup.bat): Download Universal_GPU_Unlock_v2.1.3.zip, extract it over your existing folder, plug in the USB drive, and run Setup.bat ➔ [2] Update Existing USB Drive.
  2. If you use Stickless [I]: Boot once from the updated USB drive (F8 / F11 / F12), press [R], type REMOVE + Enter. After rebooting, boot from the updated USB again and press [I] and type INSTALL + Enter. This clean replacement is required because v2.1.3 intentionally preserves a different existing DXE image.
  3. Verify in Windows: Run Launch-Dashboard.bat or Check-GPU-Unlock.bat. For Issue #27 diagnostics, use an elevated terminal and run python tools\quick_check.py --dxe-phase after a cold boot and before manually loading the DXE driver.

Technical Notes & SHA-256 Checksums (Click to expand)

Verification Scope

  • MSVC Host Tests (tests\Run-MsvcHostTests.ps1): All 13 suites passed (MSVC_HOST_TESTS=PASS, including driver NVRAM, DXE entry phases, typed confirmation, GPU discovery, BAR0 guards, multi-GPU and S3 paths).
  • Windows Host Tests (tests\Run-WindowsHostTests.ps1): Passed (WINDOWS_HOST_TESTS=PASS) with mocked storage, setup, deployment and diagnostics.
  • Python Unit Tests (python -m unittest tests.test_clock_cap -v): 10/10 passed.
  • Release Archive: 297 entries; version, co-located documentation and packaged EFI version strings verified by src\Build-Release-Zip.ps1.
  • Authenticode Signed UEFI Binaries: bin/BOOTX64.EFI and bin/AdaUnlockDxe.efi rebuilt and signed with the registered Secure Boot certificate (9A473CC6F043EA7E826D9FEBE8748AC5522A075A).

SHA-256 Checksums

Universal_GPU_Unlock_v2.1.3.zip : c7602bac2227199dfbed9c4b87127bb708ebc1910861914096ca002eaaf81d44
bin/BOOTX64.EFI                 : 6d2c2528c076b28ef3152b90e955f8cab2e9190dd8f514a2636509ea78fe2d21
bin/AdaUnlockDxe.efi            : ba930baea8e72221ddbf273ac36ad0251b501009ac075d8c505865064183ac77
Signer Thumbprint (Secure Boot) : 9A473CC6F043EA7E826D9FEBE8748AC5522A075A