- Joined
- Oct 15, 2024
- Messages
- 46
- Motherboard
- Asus Vivobook X512DA
- CPU
- Ryzen 5 3500U
- Graphics
- Vega 8 graphics
- OS X/macOS
- 13.x
- Bootloader
- OpenCore (UEFI)
- Mac
- Mac mini
- Mobile Phone
- iOS
can you confirm i need to do this:
Emulating NVRAM (with a nvram.plist)
If you don't have native NVRAM, don't fret. We can set up emulated NVRAM by using a script to save the NVRAM contents to a plist during the shutdown process, which will then be loaded by OpenCore at the next startup.
To enable emulated NVRAM, you'll need the following set:
Within your config.plist:
Booter -> Quirks:
DisableVariableWrite: set to NO
Misc -> Security:
ExposeSensitiveData: set to at least 0x1
NVRAM:
LegacyOverwrite set to YES
LegacySchema: NVRAM variables set (OpenCore compares these to the variables present in nvram.plist)
WriteFlash: set to YES
And within your EFI:
OpenVariableRuntimeDxe.efi driver
OpenRuntime.efi driver (this is needed for proper sleep, shutdown and other services to work correctly)
Make sure to snapshot after to make sure the drivers are listed in your config.plist. Afterwards, make sure that both OpenVariableRuntimeDxe.efi and OpenRuntime.efi have LoadEarly set to YES, and that OpenVariableRuntimeDxe.efi is placed before OpenRuntime.efi in your config .
Now grab the LogoutHook folder (opens new window)(inside Utilities) and place it somewhere safe (e.g. within your user directory, as shown below):
/Users/$(whoami)/LogoutHook/
Open up terminal and run the following (one at a time):
cd /Users/$(whoami)/LogoutHook/
./Launchd.command install
And voila! You have emulated NVRAM!
Emulating NVRAM (with a nvram.plist)
If you don't have native NVRAM, don't fret. We can set up emulated NVRAM by using a script to save the NVRAM contents to a plist during the shutdown process, which will then be loaded by OpenCore at the next startup.
To enable emulated NVRAM, you'll need the following set:
Within your config.plist:
Booter -> Quirks:
DisableVariableWrite: set to NO
Misc -> Security:
ExposeSensitiveData: set to at least 0x1
NVRAM:
LegacyOverwrite set to YES
LegacySchema: NVRAM variables set (OpenCore compares these to the variables present in nvram.plist)
WriteFlash: set to YES
And within your EFI:
OpenVariableRuntimeDxe.efi driver
OpenRuntime.efi driver (this is needed for proper sleep, shutdown and other services to work correctly)
Make sure to snapshot after to make sure the drivers are listed in your config.plist. Afterwards, make sure that both OpenVariableRuntimeDxe.efi and OpenRuntime.efi have LoadEarly set to YES, and that OpenVariableRuntimeDxe.efi is placed before OpenRuntime.efi in your config .
Now grab the LogoutHook folder (opens new window)(inside Utilities) and place it somewhere safe (e.g. within your user directory, as shown below):
/Users/$(whoami)/LogoutHook/
Open up terminal and run the following (one at a time):
cd /Users/$(whoami)/LogoutHook/
./Launchd.command install
And voila! You have emulated NVRAM!