explaingit

skyblue997/enablemacosai

Analysis updated 2026-05-18

1,077ShellAudience · ops devops

TLDR

A macOS kernel extension that spoofs a Mac's region code so China-region Apple Silicon Macs can enable full Apple Intelligence.

Mindmap

mindmap
  root((RegionSpoof))
    What it does
      Spoofs region code
      Unlocks Apple Intelligence
      On-device plus cloud features
    Tech stack
      Shell scripts
      Kernel extension
      macOS internals
    Requirements
      SIP disabled
      AMFI enabled
      Account region match
    Troubleshooting
      Diagnose command
      Eligibility status checks
      Attestation pool reset
    Audience
      Advanced Mac users
      System tinkerers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Enable Apple Intelligence on-device and cloud features on a China-region Mac that ships with them disabled.

USE CASE 2

Diagnose why Apple Intelligence eligibility is stuck as ineligible on Apple Silicon.

USE CASE 3

Learn how macOS determines device region and how a kernel extension can change what the system reports.

What is it built with?

ShellC++macOS Kernel Extension

How does it compare?

skyblue997/enablemacosaithananon/9arm-skillswangnov/codex-app-mirror
Stars1,0771,1331,256
LanguageShellShellShell
Last pushed2026-07-02
MaintenanceActive
Setup difficultyeasyeasy
Complexity1/51/5
Audienceops devopsdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

In plain English

This repository, called RegionSpoof, is a tool for Mac computers bought in China that run macOS 27 on Apple Silicon chips. Its goal is to switch on the full set of Apple Intelligence features, which Apple normally blocks on Chinese-region machines. That includes the on-device features and the cloud features that run through Apple's Private Cloud Compute, such as the writing tools, Image Playground, Genmoji, Foundation Models, and the ChatGPT extension. The reason Apple Intelligence stays off is that the system reads a region code of CH from the hardware. This project ships a small kernel extension, a low-level add-on to macOS, that changes the device region code from CH/A to the US value LL/A right at the source where the system reads it. Because the change happens at the source, every process across the system sees the US region without the tool needing to patch each one. Installation is meant to be one command run with administrator rights. A script checks the system, installs the extension, sets it to load at startup, and refreshes the relevant background processes. The first time, you have to approve the extension in System Settings under Privacy and Security, then restart. There are also commands for checking status, running a diagnosis, and uninstalling. The README is honest about the requirements and limits. System Integrity Protection must be turned off, a security setting that normally protects core system files. The extension only handles the region code, Apple Intelligence checks about ten other conditions, including your Apple account region and your system and Siri languages, and all of them must pass. The cloud features also depend on another security feature called AMFI staying on. Much of the document is troubleshooting guidance: how to read diagnostic output, what specific error codes mean, and how to reset the cloud attestation pool when those features become unreliable. The author notes these are tested findings on their own hardware. This is a low-level system modification aimed at experienced users, not a casual app.

Copy-paste prompts

Prompt 1
Explain what System Integrity Protection is and why this project needs it disabled.
Prompt 2
Walk me through what a kernel extension does and why it can change a system-wide setting like region code.
Prompt 3
Help me interpret the GREYMATTER eligibility status output this tool describes checking.
Prompt 4
What are the risks of disabling SIP and AMFI-related boot arguments on my Mac?

Frequently asked questions

What is enablemacosai?

A macOS kernel extension that spoofs a Mac's region code so China-region Apple Silicon Macs can enable full Apple Intelligence.

What language is enablemacosai written in?

Mainly Shell. The stack also includes Shell, C++, macOS Kernel Extension.

Who is enablemacosai for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.