TUN permission and VPN conflicts
Android allows exactly one active VpnService, so "cannot start the VPN component" is nine times out of ten a second VPN holding the slot, not a permission.
Four ways start-up fails
| Symptom | Cause | Fix |
|---|---|---|
| "Unable to start VPN component" | Another VPN is running | Stop other VPN apps, ad blockers included |
| Prompt confirmed, back to stopped | An Always-on VPN is configured | Disable Always-on in system VPN settings |
| Only the work-profile copy fails | MDM forbids VPNs in the personal profile | Use the work-profile copy, or ask IT |
| The prompt never appears | The app's VPN permission is restricted | Clear app data and authorise again |
Scroll the table sideways
The message is CMFA's catch-all for VpnService preparation failing. The real cause is in the log or in system VPN settings.
Ruling things out
-
01
Stop other VPNs
Settings → Network → VPN and check what is connected. Ad blockers, corporate clients and game accelerators all count. Disconnect everything, then start CMFA.
-
02
Disable Always-on VPN
System VPN settings → gear icon → turn off "Always-on VPN" and "Block connections without VPN". The second one cuts the whole device off whenever a VPN switches.
-
03
Authorise again from scratch
Settings → Apps → CMFA → Storage → Clear data (this loses profiles, export first). Reopen and tick "Always allow" on the VPN prompt.
-
04
Check the work profile and MDM
With a corporate account, VPN permission inside the work profile is admin-controlled. The personal app cannot borrow it; install a copy inside the work profile instead.
Why only one VPN
VpnService creates a system-level virtual interface and routing table. Two of them fighting over the default route produces loops, so Android permits exactly one active VpnService by design.
That means stacking two proxies on Android is not possible. To chain them, CMFA takes TUN and the other is written into the config as an upstream HTTP proxy, or the reverse.
Do not skip "Always allow"
The start-up dialog has an "Always allow this connection" checkbox. Without it you re-authorise every launch, and reconnects after screen lock can fail because the prompt was never seen.
Permission questions
Authorised, still fails
unable to start VPN in the log. If present, another VPN is competing. If there are no logs at all, the failure happened before the core started — check system VPN settings.