Home

Awesome

RestrictEvents

Build Status Scan Status

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:

The list of patches currently includes:

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.

Boot arguments

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.

Removing badges (This works until macOS 13)

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
<!-- For posterity - Software update badge: - Monterey and lower: `defaults delete com.apple.systempreferences AttentionPrefBundleIDs` (checks for `com.apple.preferences.softwareupdate`) - Ventura and higher: `defaults delete ~/Library/Preferences/com.apple.systempreferences.plist AttentionPrefBundleIDs` (checks for `com.apple.FollowUpSettings.FollowUpSettingsExtension`) - Full path is required because `defaults` attempts to access a sandboxed path otherwise - App store updates: `defaults delete com.apple.appstored BadgeCount` -->

Credits