Lilu Kernel extension for blocking unwanted processes causing compatibility issues on different hardware and unlocking the support for certain features restricted to other hardware. The list of blocks currently includes:
/System/Library/CoreServices/ExpansionSlotNotification/System/Library/CoreServices/MemorySlotNotification
The list of patches currently includes:
- Disabled
MacBookAirmodel memory replacement UI (comes in pair withSystemMemoryStatus=Upgradablequirk). - Disabled
MacPro7,1PCI Expansion view and RAM view. - CPU brand string patch for non-Intel CPUs (can be forced for Intel with
revcpu=1). - Disabled uninitialized disk UI
Note: Apple CPU identifier must be 0x0F01 for 8 core CPUs or higher and 0x0601 for 1, 2, 4, or 6 cores. This is the default in OpenCore for non-natively supported CPUs.
-revoff(or-liluoff) to disable-revdbg(or-liludbgall) to enable verbose logging (in DEBUG builds)-revbeta(or-lilubetaall) to enable on macOS older than 10.8 or newer than 14-revprocto enable verbose process logging (in DEBUG builds)revpatch=valueto enable patching as comma separated options. Default value isauto.memtab- enable memory tab in System Information on MacBookAir and MacBookPro10,x platformspci- prevent PCI configuration warnings in System Settings on MacPro7,1 platformscpuname- custom CPU name in System Informationdiskread- disables uninitialized disk warning in Finderasset- allows Content Caching whensysctl kern.hv_vmm_presentreturns1on macOS 11.3 or newersbvmm- forces VMM SB model, allowing OTA updates for unsupported models on macOS 11.3 or newerf16c- resolve CoreGraphics crashing on Ivy Bridge CPUs by disabling f16c instruction set reporting in macOS 13.3 or newernone- disable all patchingauto- same asmemtab,pci,cpuname, withoutmemtabandpcipatches being applied on real Macs
revcpu=valueto enable (1, non-Intel default)/disable (0, Intel default) CPU brand string patching.revcpuname=valuecustom CPU brand string (max 48 characters, 20 or less recommended, taken from CPUID otherwise)revblock=valueto block processes as comma separated options. Default value isauto.pci- prevent PCI and RAM configuration notifications on MacPro7,1 platformsgmux- block displaypolicyd on Big Sur+ (for genuine MacBookPro9,1/10,1)media- block mediaanalysisd on Ventura+ (for Metal 1 GPUs)none- disable all blockingauto- same aspci
Note: 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revpatch, 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revcpu, 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revcpuname and 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revblock NVRAM variables work the same as the boot arguments, but have lower priority.
If using RestrictEvents to block PCI and RAM configuration notifications, they will go away, but the alert in the Apple menu will stay. To get rid of this alert, run the following commands:
defaults delete com.apple.SlotNotificationsPref memoryBadgeCount
defaults delete com.apple.SlotNotificationsPref expansionBadgeCount