Skip to content

Commit 96ab4c1

Browse files
committed
CloverLogoutHook Persistent NVRAM for Clover Legacy Boot
Replacement for the classic Clover RC scripts. Keeps your Startup Disk choice alive across reboots, shutdowns, and bootloader overrides. CloverLogoutHook is a script + system-level LaunchDaemon used to emulate non-volatile random-access memory (NVRAM) on systems where native NVRAM is broken, non-functional, or loses its data upon shutdown. It keeps your Startup Disk choice alive across reboots, shutdowns, and bootloader overrides on Hackintosh systems running Clover Legacy Boot.
1 parent a709dbb commit 96ab4c1

8 files changed

Lines changed: 3134 additions & 81 deletions

File tree

CloverPackage/CloverLogoutHook/CloverLogoutHook.command

Lines changed: 1172 additions & 0 deletions
Large diffs are not rendered by default.

CloverPackage/CloverLogoutHook/LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
### What you need before using this utility (Mandatery):
3+
4+
1. Check `EmuVariableUefi.efi` exists in `/EFI/CLOVER/drivers/BIOS/` —> Legacy boots never load `drivers/UEFI/`
5+
6+
---------------------------------------------
7+
USAGE: ⬇︎
8+
9+
cd /Library/Application\ Support/CloverLogoutHook
10+
chmod +x ./CloverLogoutHook.command
11+
sudo ./CloverLogoutHook.command install
12+
---------------------------------------------
13+
14+
VERIFYING:
15+
cd /Library/Application\ Support/CloverLogoutHook
16+
./CloverLogoutHook.command diagnose
17+
---------------------------------------------
18+
19+
Quick health check (always start here)
20+
cd /Library/Application\ Support/CloverLogoutHook
21+
./CloverLogoutHook.command status
22+
./CloverLogoutHook.command diagnose
23+
tail -30 /Library/Logs/CloverHook/nvramhook.log
24+
25+
Note if you use Boot-Args Control: Use sudo for diagnose
26+
sudo ./CloverLogoutHook.command diagnose
27+
---------------------------------------------
28+
29+
Boot-Args Control: An example below ⬇︎
30+
sudo ./CloverLogoutHook.command setargs "-lilubetaall alcid=11 keepsyms=1 amfi=0x80 revpatch=sbvmm -v"
31+
---------------------------------------------
32+
33+
UNINSTALL:
34+
cd /Library/Application\ Support/CloverLogoutHook
35+
sudo ./CloverLogoutHook.command uninstall
36+
---------------------------------------------

0 commit comments

Comments
 (0)