A method to permanently and stably enable Apple Intelligence on Mac devices sold in China, without running background services long-term or keeping SIP disabled permanently. (Tested on macOS 15.4+ and 26.1).
- New "Force US Location" Feature: Targeting macOS 26.X, modifying the
countrydconfiguration allows unlocking Siri integration with ChatGPT, Apple News, and International Apple Maps even if the device is physically in China (requires supported network environment). - New iPhone Mirroring Warning: IMPORTANT: If you use iPhone Mirroring, you MUST pair your iPhone with your Mac BEFORE changing the country code. Modification afterwards may prevent pairing.
- Method 2 Added (Inspired by https://github.com/hyderay/AiOnMac): Simply modifies plist files without
lldbinjection. Recommended to try if Method 1 fails. - Version 3.1+ added support for Foundation Models, etc.
Attempts to bypass Apple's eligibility checks for Apple Intelligence:
- Uses code from here to temporarily inject into
eligibilitydvialldb, simulating a US model (LL) to output AI support status to the system database. - Modifies
/private/var/db/eligibilityd/eligibility.plist, specifically adjusting checks for device region code (OS_ELIGIBILITY_INPUT_DEVICE_REGION_CODE) and external boot drive (OS_ELIGIBILITY_INPUT_EXTERNAL_BOOT_DRIVE) to prevent them from blocking feature enablement. - Locks the modified cache files using file permissions and the
uchg(immutable) flag to prevent the system from refreshing/overwriting them.
- Directly modifies system cache files like
/private/var/db/eligibilityd/eligibility.plistto force macOS to believe the device meets Apple Intelligence requirements. - Does not use
lldbinjection. While it may not unlock every advanced feature in some edge cases, it serves as a robust fallback. - Also locks files using
uchg.
- Modifies
/private/var/db/com.apple.countryd/countryCodeCache.plistto force the cached country code toUS. - This tricks the system into believing the device is physically located in the US, unlocking location-restricted features like ChatGPT integration.
- A Mac running a compatible macOS version (M1 or later CPU, macOS 15.1 or later).
- Administrator privileges (the script uses
sudo). - System Region set to "United States". System Language and Siri Language set to "English (US)". (Setting to unsupported regions will cause failure).
- Note: Original Chinese guide mentions Chinese is supported, but for global users, stick to US settings for best compatibility.
- Stable internet connection to download the script.
- SIP (System Integrity Protection) disabled. (Can be re-enabled after patching, AI features will remain).
Please follow these steps strictly:
If SIP is already disabled, skip this. If not:
- Restart your Mac.
- Hold the power button during startup until you see "Loading startup options" to enter macOS Recovery. (You may need to enter your password).
- From the utilities menu bar at the top, select Utilities > Terminal.
- Type the following command and press Enter:
csrutil disable
- Type
yto confirm. You should see a message stating SIP is disabled. - Type
rebootand press Enter to restart.
Quick One-Line Command:
If you trust this script, run:
Latest v3.21 Script:
curl -sL https://raw.githubusercontent.com/kanshurichard/enableAppleAI/main/enable_ai.sh | bashAlternative (if GitHub is slow):
curl -sL https://cdn.jsdelivr.net/gh/kanshurichard/enableAppleAI@main/enable_ai.sh | bashManual Execution:
- Open Terminal.
- Download the script:
curl -O https://raw.githubusercontent.com/kanshurichard/enableAppleAI/main/enable_ai.sh
- Review the script: Check
enable_ai.shcontent to understand what it does. - Make it executable:
chmod +x enable_ai.sh
- Run it:
./enable_ai.sh
- Select Language: Choose English.
- Select Operation: Choose "Enable Apple Intelligence".
- Select Method: Recommended to try Method 1 first.
- Optional Step: On macOS 16+ (macOS 26), you will be asked to Force US Location. WARNING: Pair iPhone Mirroring BEFORE confirming this!
- Restart: Reboot your Mac after the script finishes.
- Check: Go to System Settings -> Apple Intelligence & Siri to see if it's enabled.
- Restore SIP: Once confirmed working, recommended to re-enable SIP via Recovery Mode (
csrutil enable).
- Check terminal output for errors during execution.
- If Apple Intelligence fails to enable, try Method 2.
- Submit issues on GitHub if problems persist.
Q: How to uninstall?
A: Run the script and select 2. Unlock Files (Uninstall) from the main menu. This restores file permissions and removes the locks.
Q: Why do new AI features not appear after a system update (e.g., macOS 16/26)?
A: Please update the script to the latest version (v3.21+). New scripts include necessary updates for countryd which are crucial for features like ChatGPT. Recommended: Uninstall using old script -> Reboot -> Run new script.
Q: iPhone Mirroring connection failed? A: If you used "Force US Location", your Mac and iPhone region codes might mismatch. Fix: Run script -> Uninstall -> Pair iPhone -> Run script again and enable AI (changing region afterwards won't break existing pairing).
Q: Siri still uses local search instead of ChatGPT? A: Try "Method 2" or ensure you accepted "Force US Location" in "Method 1". This locks the location cache to US. (Requires US-compatible network IP).
Q: Image Playground cannot generate images? A: Image Playground currently doesn't support all languages/regions. Try changing system language to English (US) temporarily.
Q: Can I enable it for unsupported languages? A: No. If Apple hasn't released the language pack/support for it, forcing it won't work.