使用指南Usage guide

从启动内核到导出可用的配置。From starting the kernel to a config you can actually use.

界面结构

页面作用
概览内核状态、本轮进度、开始/停止检测
节点结果列表,可按延迟/速度排序,点开看详情
订阅导出完整 mihomo 配置或仅节点
设置监听地址与端口、config.yaml 编辑、API Key、导出目录
日志内核实时输出

第一轮检测

  1. 打开 App,进「概览」,点启动内核。首次启动会在私有目录写出默认 config.yaml。
  2. 内核起来后,状态会显示已运行与监听地址。
  3. 点立即检测一轮,App 按 config.yaml 的 sub-urls 拉取节点,依次测活、媒体检测、测速。
  4. 一轮通常 10~30 分钟。期间可以切到其它页面,检测在后台继续;日志页能看实时输出。
✅

建议把 App 加入系统的电池优化白名单,否则部分国产 ROM 会在锁屏后杀掉长任务。设置 → 通知权限页有对应提示。

看结果

「节点」页列出所有通过测活的节点:

  • 按延迟或速度排序,快速找最快的几个;
  • 点开任意节点,可看到协议类型、服务器、端口、地区、ASN、媒体解锁标签与 IP 风险评分;
  • 被剔除的节点(连不通或低于阈值)不会出现在最终结果里,但仍可在日志中看到原因。

导出

「订阅」页提供两种导出:

类型内容用途
完整 mihomo 配置基础段(port / mode / dns)+ proxies + proxy-groups + rule-providers + rules直接丢进 clash / mihomo 客户端就能用
仅节点只有 proxies合并进已有配置

完整配置的规则段来自内置的 assets/ACL4SSR_Online_Full.yaml 模板,包含常用分流组与规则集引用。

导出到哪儿

「设置 → 导出文件 → 导出目录」可选三种模式,选择会被持久保存:

模式路径说明
私有目录Android/data/com.subscheck.subscheck/files/exports/默认;无需权限,卸载即删
公共目录Download/SubsCheck文件管理器里直接能看到
自选目录通过 SAF 选择可放到 SD 卡或任意文件夹

导出后可以直接调用系统分享面板发给其它设备;个别精简 ROM 没有可用分享目标时,从文件管理器取文件即可。

编辑配置

「设置 → 配置文件」能直接编辑 config.yaml,保存后需要重启内核生效。常用改动:

  • sub-urls:增删订阅源(默认源里有几条已失效,可自行移除);
  • concurrency:并发数,节点多时适当调大;
  • timeout:单节点测活超时;
  • speed-test:是否测速与速度阈值。

完整字段见 配置项。

监听地址与 API Key

默认只监听 127.0.0.1:8199,即只有本机能访问。设置页可改地址与端口;改成 0.0.0.0 会让同一局域网内其它设备也能访问,请自行评估风险。

「设置 → API Key」可查看调用 /api/* 所需的密钥,请求头名为 X-API-Key。详见 HTTP API。

停止与清理

  • 概览页可停止内核;停止后前台服务结束,通知栏图标消失。
  • 导出文件不会自动清理,按需自行删除。
  • 卸载 App 会删除私有目录下的配置与导出结果。

Screen map

ScreenPurpose
OverviewKernel state, round progress, start/stop
NodesResults, sortable by latency or speed, tap for details
SubscriptionExport a full mihomo config or just the nodes
SettingsListen address and port, config.yaml editing, API key, export folder
LogsLive kernel output

Your first round

  1. Open the app, go to Overview and tap Start kernel. The first start writes a default config.yaml into private storage.
  2. Once the kernel is up, the card shows it running and the listen address.
  3. Tap Run a check. The app fetches nodes from sub-urls in config.yaml, then runs liveness, media and speed tests in sequence.
  4. A round usually takes 10–30 minutes. You can switch screens; the check keeps running and the Logs page shows live output.
✅

Add the app to the battery-optimisation allow-list. Some vendor ROMs kill long-running foreground work after the screen locks; the Notifications page in Settings links to the right system screen.

Reading the results

The Nodes screen lists every node that passed the liveness check:

  • Sort by latency or throughput to find the best few quickly.
  • Tap a node to see protocol, server, port, region, ASN, media unlock tags and the IP risk score.
  • Rejected nodes (unreachable or below threshold) are not in the final result, but the reason still shows up in the log.

Exporting

The Subscription screen offers two exports:

KindContentsUse it for
Full mihomo configBase section (port / mode / dns) + proxies + proxy-groups + rule-providers + rulesDrop straight into a clash/mihomo client
Nodes onlyJust proxiesMerge into an existing config

The rules in the full config come from the bundled assets/ACL4SSR_Online_Full.yaml template, including the usual proxy groups and rule-set references.

Where files land

Settings → Export files → Export folder offers three modes; the choice is persisted:

ModePathNotes
PrivateAndroid/data/com.subscheck.subscheck/files/exports/Default; no permission needed, removed on uninstall
PublicDownload/SubsCheckVisible in any file manager
CustomChosen through SAFAny folder, including an SD card

After exporting you can send the file through the system share sheet. On stripped-down ROMs without a usable share target, just grab the file from a file manager.

Editing the config

Settings → Config file lets you edit config.yaml in place; restart the kernel to apply. The usual edits:

  • sub-urls: add or remove subscription sources (a few defaults are dead upstream and can be dropped);
  • concurrency: raise it when you have many nodes;
  • timeout: per-node liveness timeout;
  • speed-test: whether to measure speed and the thresholds.

Every field is documented under Configuration.

Listen address and API key

By default the kernel binds 127.0.0.1:8199, so only the phone itself can reach it. You can change host and port in Settings; setting 0.0.0.0 exposes it to the whole LAN, so weigh that risk yourself.

Settings → API key shows the key required by /api/*, sent as the X-API-Key header. See HTTP API.

Stopping and cleanup

  • The Overview screen can stop the kernel; the foreground service ends and its notification disappears.
  • Exported files are never cleaned up automatically — delete them yourself.
  • Uninstalling removes the config and exports under private storage.