How confeden/nova-android works
Nova is an Android VPN client designed to keep access working across DPI-blocked networks. Its main workflow selects built-in or user-imported configurations, establishes a tunnel through the selected transport, then checks that the tunnel carries useful traffic and can retry or move to another built-in route. The README documents additional capabilities whose Android implementation is not present in the supplied tree; those nodes use supported enclosing directories. The excerpts show the native proxy and separate Xray bridges, but not the Android UI or most orchestration, so those links rely on README documentation.
Main entry points: mobile.go Configuration selection · register.go Built-in failover · tunnel.go Tunnel lifecycle · main.go Xray runtime API
Components 18
Client workflow
- Android client
app/src/main/cpp/native-lib.cpp - Configuration selection
nova-core/mobile.go - Profile import
nova-core - Live tunnel checks
nova-core/engine - Built-in failover
nova-core/engine/register.go
Tunnel transports
- Tunnel lifecycle
nova-core/engine/tunnel.go - WARP / AmneziaWG
nova-core/engine/awg_compat.go - MASQUE / QUIC
nova-core/engine/masque.go - Opera proxy
app/src/main/cpp/native-lib.cpp - Proton WireGuard
nova-core/engine
Network services
- Routing and DNS
tools/xray-core/app/router - DNS configuration
nova-core/engine/dns_doh.go - Device-sharing gateway
nova-core/engine
VLESS engine
- Xray JNI bridge
nova-xray/jni/novaxray_jni.c - Xray runtime API
nova-xray/main.go - Xray core
tools/xray-core/core
Other components
- User
- Remote network
Connections 18
- User → Android client: uses
README.md - Android client → Configuration selection: selects
- User → Profile import: imports profiles
README.md - Configuration selection → Tunnel lifecycle: starts
README.md - Tunnel lifecycle → Live tunnel checks: checks traffic
README.md - Live tunnel checks → Built-in failover: triggers retry
README.md - Built-in failover → WARP / AmneziaWG: tries first
README.md - Built-in failover → MASQUE / QUIC: tries next
README.md - Built-in failover → Opera proxy: tries last
README.md - Configuration selection → Proton WireGuard: selects directly
README.md - Configuration selection → Xray runtime API: starts imported VLESS
README.md - Xray JNI bridge → Xray runtime API: exposes JNI
- Xray runtime API → Xray core: starts core
nova-xray/main.go - Xray core → Routing and DNS: routes traffic
- Tunnel lifecycle → DNS configuration: configures DNS
README.md - User → Device-sharing gateway: enables gateway
README.md - Device-sharing gateway → Remote network: proxies connections
README.md - Tunnel lifecycle → Remote network: carries traffic
README.md