Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

enableSiriAI

A small macOS utility to the new Siri AI features on macOS 27.

WARNING: This tool performs low-level system changes and installs a custom kernel extension. By default (with --safe-override), it does not require disabling Authenticated Root or file vault. Without the flag, it will write to the sealed System volume and require disabling these protections. Use at your own risk.

Requirements

  • Administrative access (sudo) to run the script
  • With --safe-override (recommended): No additional requirements; SIP needs to be disabled and Authenticated Root can remain enabled
    • Without --safe-override: System Integrity Protection (SIP) and Authenticated Root need to be disabled
      • Do not re-enable authenticated-root. In some circumstances, re-enabling FileVault is also doable.
    • After successful installation, you can re-enable parts of SIP for more protection with:
    csrutil enable --without kext

Before you begin

  1. It's recommended to back up your Mac and important data.
  2. For the recommended --safe-override method, you will only need to disable SIP.
  3. If using the script without --safe-override, you will need to disable SIP and Authenticated Root before use, and know how to boot into recovery.

Usage

Open Terminal, change to the repository folder, and run:

cd /path/to/enableSIriAI
./enableSiriAI.sh

What the script does

  1. Check system security status and warn if SIP or Authenticated Root appears enabled
  2. Clean previous spoofing and eligibility cache artifacts
  3. Install CodexRegionSpoof.kext into /Library/Extensions
  4. Create and bootstrap a launch daemon to load the kext on boot
  5. Mount the sealed system volume, modify GenerativeModels.plist, and create a new snapshot

Command line options

  • --uninstall

    • Removes the installed kext and loader service
    • Attempts to restore saved preference and eligibility cache backups
    • Restores the original GenerativeModels.plist snapshot if a backup is present
  • --verify-only

    • Checks current system status without making changes
    • Prints macOS version, SIP/Authenticated Root status, hardware region info, loaded kext status, and the live GenerativeModels.plist state
  • --skip-location-spoof

    • Install the hardware region spoofer but skip the boot-time location/IP spoofing logic (when you are not in restricted regions of Siri AI, including network)
  • --safe-override

    • Use a local /Library/Preferences/FeatureFlags/Domain/GenerativeModels.plist override instead of modifying the sealed APFS system snapshot(authenticated-root is not required in this occasion)

Recommended workflow

Default (Recommended) - No authenticated root required:

  1. Confirm your Mac is backed up.
  2. Open Terminal.
  3. Navigate to the repository:
cd /Users/yourname/Downloads/enableSIriAI

(or the place where your saved repo is)

  1. Run the installer with --safe-override (uses local override instead of modifying sealed APFS snapshot):
./enableSiriAI.sh --safe-override
  1. Reboot after the script completes.

Alternative - Full system modification (requires disabling SIP/Authenticated Root):

If you prefer to modify the sealed APFS system snapshot instead, first disable SIP and Authenticated Root, then run:

./enableSiriAI.sh

Optional flags:

  • Add --skip-location-spoof to any command if you want to keep hardware spoofing only:
./enableSiriAI.sh --safe-override --skip-location-spoof

Uninstall

To undo the changes and restore backups when available, run:

./enableSiriAI.sh --uninstall

The uninstall process will:

  • unload and remove /Library/Extensions/CodexRegionSpoof.kext
  • remove the loader script and launch daemon
  • restore backed-up preference and eligibility cache files
  • restore the original GenerativeModels.plist from backup if present
  • create a new boot snapshot for the restored System volume

Troubleshooting

  • If the script fails due to SIP/Authenticated Root, boot into recovery and disable those protections.
  • If you need to verify without changing anything, use ./enableSiriAI.sh --verify-only.
  • Reboot after installation or uninstall to ensure the system boots from the updated snapshot.

Notes

  • The script uses /Library/Scripts/Codex/load-region-spoof.sh and /Library/LaunchDaemons/local.codex.region-spoof-loader.plist
  • Boot-time location spoofing uses ipinfo.io unless --skip-location-spoof is provided(use this flag when your location is not in restricted regions of Siri AI)
  • The CodexRegionSpoof system kext and this script's logic are based on work from https://github.com/WhiteSoulss/enableAppleIntelligence
  • A reboot is strongly recommended after installation or uninstall

Disclaimer

This repository is provided for educational or experimental use only. Modifying system and boot snapshots can make your system unstable or unbootable. Always keep backups, understand the changes being made, and proceed at your own risk.

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages