/FeatureUnlock

Add Sidecar support to unsupported models

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

FeatureUnlock

Build Status Scan Status

Lilu Kernel extension for enabling:

# Sidecar and Universal Control Unlock
MacBook8,1
MacBookAir5,x - MacBookAir7,x
MacBookPro9,x - MacBookPro12,x
Macmini6,x    - Macmini7,1
MacPro5,1     - MacPro6,1
iMac13,x      - iMac16,x

# Sidecar (running iOS 13)
iPad4,x       - iPad5,x
iPad6,11      - iPad6,12

# AirPlay to Mac Unlock
MacBook8,1
MacBookAir5,x - MacBookAir7,x
MacBookPro9,x - MacBookPro14,x
Macmini6,x    - Macmini8,1
MacPro5,1     - MacPro6,1
iMac13,x      - iMac18,x

# NightShift Unlock
MacBook1,1    - MacBook7,1
MacBookAir1,1 - MacBookAir4,x
MacBookPro1,1 - MacBookPro8,x
Macmini1,1    - Macmini5,x
MacPro1,1     - MacPro5,1
iMac4,1       - iMac12,x

# Content Caching Unlock
For systems returning 1 from 'sysctl kern.hv_vmm_present'

Note: Sidecar requires a machine with an Intel iGPU active for reliable usage, most dGPU-only machines will experience difficulties. An H.265 capable iGPU is recommended for best streaming quality.

  • AMD dGPU-only machines may work if using an iMac19,x or iMac20,x SMBIOS with the following applied:
defaults write com.apple.AppleGVA gvaForceAMDKE -boolean yes

AirPlay to Mac does not have such limitation and can work on H.264 dGPUs. However requires macOS 12, Monterey or newer to use

Boot arguments

  • -caroff (or -liluoff) to disable
  • -cardbg (or -liludbgall) to enable verbose logging (in DEBUG builds)
  • -carbeta (or -lilubetaall) to enable on macOS newer than 12
  • -allow_assetcache enables Content Cache support for systems exposing kern.hv_vmm_supported
  • -allow_sidecar_ipad enables Sidecar support for unsupported iPads (only functional with iOS 13, iOS 14+ implements an iOS-side check)
  • -disable_sidecar_mac disables Sidecar/AirPlay/Universal Control patches
  • -disable_nightshift disables NightShift patches

Credits