A modern VPN application for Android with V2Ray/Xray protocol support and iOS-style UI design.
Features β’ Installation β’ Build β’ Contributing
Telegram Channel: https://t.me/CluvexStudio
- Protocols: VMess, VLESS, Trojan, Shadowsocks, Hysteria2, WireGuard, SOCKS, HTTP
- Transports: TCP, WebSocket, HTTP/2, gRPC, QUIC, XHTTP, HTTPUpgrade, mKCP
- Security: TLS, Reality, with fingerprint customization
- Statistics: Real-time upload/download speed and total data
- Server Management: Concurrent ping testing, subscription auto-update, auto-select best server
- Subscription Grouping: Organize servers by subscription with tab navigation
- Split Tunneling: Per-App proxy with system/user apps filter
- Configuration: Full V2Ray JSON viewer/editor, custom config import
- Updates: Auto-check for new releases with skip version option
- Mux: Multiplexing support with concurrency control and xUDP
- Fragment: TLS/Reality fragmentation with custom packets, length, interval
- DNS: Custom remote/domestic DNS servers with FakeDNS support
- Routing: Domain strategy, bypass LAN, custom routing rules
- Network: MTU configuration, VPN interface address selection
- Core: Log level control, sniffing, route-only mode
- iOS-style design with glassmorphism effects
- Dynamic Island connection status
- Ring animation connect button
- Light/Dark mode support
- SVG country flags with real location detection
- Connection latency display with refresh
- Real-time notification with stats
- Subscription traffic & expiry info display
- Backup & Restore configs to JSON
- QR code scan and generate
- Clipboard import support
- Flutter: 3.9.0+ (Dart 3.9.0+)
- Kotlin: 2.1.0
- Xray-core: 26.1.23
- HevTun: hev-socks5-tunnel - High-performance TUN library
- Gradle: 8.14 with AGP 8.11.1
- Target SDK: Android 16 (API 36)
- Min SDK: Android 7.0 (API 24)
Download the latest APK from GitHub Releases
Recommended: app-arm64-v8a-release.apk for most modern devices
- Android 7.0 (Nougat) or higher
- ARM64-v8a or ARMv7 architecture
- ~30 MB storage
- Flutter SDK 3.9.0+
- Android SDK 34+
- Android NDK 29.0.14206865
- Java JDK 11+
git clone https://github.com/CluvexStudio/ZedSecure.git
cd ZedSecure
flutter pub get
flutter build apk --release --split-per-abiOutput: build/app/outputs/flutter-apk/
See BUILD_HEVTUN.md for detailed instructions.
Quick build:
# Windows
.\compile-hevtun.ps1
# Linux/macOS
./compile-hevtun.shZedSecure/
βββ lib/
β βββ main.dart
β βββ screens/
β β βββ home_screen.dart
β β βββ servers_screen.dart
β β βββ subscriptions_screen.dart
β β βββ settings_screen.dart
β βββ services/
β β βββ v2ray_service.dart
β β βββ country_detector.dart
β βββ models/
β β βββ v2ray_config.dart
β β βββ subscription.dart
β βββ theme/
β βββ app_theme.dart
βββ local_packages/
β βββ flutter_v2ray_client/
βββ android/
β βββ app/
β βββ src/main/jniLibs/
βββ assets/flags/
| Protocol | Format | Status |
|---|---|---|
| VMess | vmess://base64-config |
β Full Support |
| VLESS | vless://uuid@host:port?params#remark |
β Full Support |
| Trojan | trojan://password@host:port?params#remark |
β Full Support |
| Shadowsocks | ss://base64(method:password)@host:port#remark |
β Full Support |
| Hysteria2 | hysteria2://password@host:port?params#remark |
β Full Support |
| WireGuard | wireguard://... |
β Full Support |
| SOCKS | socks://user:pass@host:port#remark |
β Full Support |
| HTTP | http://user:pass@host:port#remark |
β Full Support |
- MMKV Integration: Migrated from SharedPreferences to MMKV for 100x faster performance
- Multi-Process Support: All storages use
MULTI_PROCESS_MODEfor VPN service compatibility - Auto Migration: Seamless migration from old SharedPreferences data
- Optimized Storage: Separate storages for configs, subscriptions, settings, and cache
- Home Screen Redesign: Improved connection info grid layout
- Latency Display: Real-time ping measurement with refresh button
- Better Icons: Circular icon containers for Download/Upload/Latency
- Responsive Design: FittedBox for speed values to prevent widget expansion
- GitHub Logo: SVG icon for better quality in About screen
- Fixed duplicate code in v2ray_service.dart
- Fixed latency measurement timeout issues
- Fixed ping cache loading with proper timestamp validation
- Improved error handling for subscription fetching
- HevTun Integration: Replaced FluxTun with hev-socks5-tunnel
- Subscription Grouping: Tab-based navigation for each subscription
- Subscription Info: Display traffic usage and expiry date
- Auto Select Best Server: Automatically ping and select fastest server
GPL-3.0 License
When forking or modifying:
Based on ZedSecure VPN by CluvexStudio
https://github.com/CluvexStudio/ZedSecure
Licensed under GPL-3.0
- Fork the repository
- Create feature branch:
git checkout -b feature/NewFeature - Commit changes:
git commit -m 'Add NewFeature' - Push:
git push origin feature/NewFeature - Open Pull Request
- hev-socks5-tunnel - High-performance TUN implementation
- Xray-core team for the excellent proxy core
- Flutter community for amazing packages
This application is for educational and research purposes only. Users are responsible for complying with local laws and regulations.