Skip to content
CMFA Guide

Updating subscriptions and core

Three things expire: the subscription (nodes), rule sets (routing logic), and GeoX data (IP ownership). Each updates differently. The core cannot be updated on its own — it ships with the app.

Three things that go stale

ObjectSymptomHow to updateSensible cadence
Subscription (nodes)Higher latency, everything times out, new nodes missingPull down on Profiles, or tap the refresh icon on the profile12 hours
Rule sets (rule-providers)Sites that should proxy do not; others leak directProviders → Update all24 hours
GeoX data (geoip / geosite)Domestic IPs judged foreign, or the reverseOverride → GeoX URLs → updateMonthly is plenty

Scroll the table sideways

Failures read differently: subscriptions report "update profile failed", rule sets report "update <name>: <reason>", and GeoX failures usually only appear in the log.

Running an update by hand

  1. 01

    Update the subscription

    On Profiles, tap the refresh icon beside the active profile, or open the profile and tap Update.

  2. 02

    Read the result

    Success names the profile; failure carries a reason. Do not tap again before reading it.

  3. 03

    Update rule sets

    Providers tab → Update all. With many providers this takes a while; do not leave the screen.

  4. 04

    Update GeoX

    Override → GeoX URLs, confirm the GeoIp / MMDB / Geosite fields are filled, then update.

  5. 05

    Confirm it took

    Re-test latency on Proxies. In Logs, [TCP] lines should now name the new rule set.

Why the core is not updated separately

CMFA compiles the mihomo core into the APK as a native library, shipped with the app. Core version equals app version; there is no "swap the core" switch. A newer core means a newer app release.

That is also why "a new-protocol node will not connect" usually means update the app rather than edit config: the older core rejects new transport parameters, and the log says unsupported outright.

Order of operations when an update fails

Work through this list rather than guessing:

  • Read the reason: timeout is the network, 401/403 is a dead link or expired plan, yaml errors are the config itself.
  • Confirm the link still opens: in a browser it should return yaml text. A login page means the token is dead.
  • Change networks: some networks interfere with subscription domains. Try mobile data or another Wi-Fi.
  • Delete and re-import last: deleting loses local edits, so export a backup first.

Faster refresh is not better

A five-minute interval shows up as abusive traffic at the provider: rate limits first, token bans after. 720 minutes (12 hours) covers almost everyone; 180 is already aggressive for providers that rotate nodes constantly.

Update questions

My edits vanished after updating the subscription
A refresh replaces the yaml only; Override settings survive. Anything you edited directly in the yaml is overwritten — which is why custom exceptions belong in Override.
Rule set updates hang at 0%
Usually the rule-set domain is blocked or slow. Retry on another network; if it still stalls, update that single provider and read the error.
Do GeoX files need frequent updates?
No. IP ownership shifts slowly; monthly is enough. It affects GEOIP accuracy only, not the nodes themselves.
Do profiles survive an app update?
Yes. Installing over keeps data. Only cross-major upgrades that say settings were cleared require re-saving a profile.