macOS setup
Turn off SIP and install the command line tools
For Macs with Apple silicon (M series) on macOS 13 or later. Once both steps are done, you can get the keys in SOUVI.
1Turn off System Integrity Protection (SIP)
Turning off SIP lowers your Mac's security. Decide for yourself before you do it. SOUVI never changes this setting.
You cannot view this page on the Mac while it is in Recovery mode, so open it on your phone and follow along. The screenshots show a Chinese system; the Chinese label is given in brackets.
Choose Shut Down (关机) from the Apple menu. When the screen is fully black, press and hold the power button until Loading startup options (正在载入启动选项) appears.
When the startup options appear, select Options (选项) and click Continue (继续).

Pick an administrator account, click Next (下一步), enter the password and click Continue (继续).

In the menu bar, choose Utilities (实用工具) → Terminal (终端).

Type this command and press Return.
csrutil disable
When asked to confirm, type y and press Return, then enter the administrator password (nothing shows as you type).
Choose Restart (重新启动) from the Apple menu. After startup, open SOUVI; the check updates by itself.
2Install the Xcode Command Line Tools
These come from Apple and need an internet connection to install. Do this in normal macOS, not Recovery mode.
On SOUVI's Get database key page (获取数据库密钥), click Install (安装) under Install Xcode Command Line Tools (安装 Xcode 命令行工具).
In the system dialog, click Install (安装) and accept the license.
Wait for it to finish. The status in SOUVI updates by itself.
If no dialog appears, or you use version 1.3.9 or earlier: open Applications → Utilities → Terminal, type this command and press Return.
xcode-select --install
Turn SIP back on
After you have the keys, open Terminal the same way as in step 1, type this command, press Return and restart.
csrutil enable
Troubleshooting
- Startup options don't appear
- Make sure the Mac is fully shut down, then hold the power button again until Loading startup options appears.
- Terminal says it cannot change security settings
- Shut down, hold the power button again, enter Recovery through Options in the startup options, and run the command again.
- Checking whether SIP is off
- After startup, open Terminal and type csrutil status. If it says disabled, SIP is off.
- It says the tools are already installed
- No need to install again. Go back to SOUVI and check the status.