Repository navigation
RyanDPI v3.1.2 — Unbound (Full Reliability & Stability Hardening)
RyanDPI v3.1.2 — Unbound (Full Reliability & Stability Hardening)
Comprehensive end-to-end audit and hardening release fixing 14 real edge cases across Windows and Android (including all v3.1.1 non-English Windows Error 1073 fixes and all v3.1.0 Always-On & low-resource optimizations).
What's Hardened & Fixed in v3.1.2
Windows Fixes
- Locale-Free Native Win32 SCM APIs (
advapi32.dll): Completely eliminates Error1073(O serviço especificado já existe) on Portuguese, Turkish, Russian, Arabic, Chinese, and all non-English Windows installations. - Fixed
usque registerPipe Deadlock (WindowsServiceHost.cs): Removed unread stdout/stderr redirection during headless WARP MASQUE registration. - Corrupt / 0-Byte WARP Config Recovery: Validates
usqueconfig.jsonbefore launch (size + JSON keys), automatically deleting and re-registering (with retry) if a network drop left a truncated file. - Safe DNS Restoration When Switching Regions (
Turkey/Global -> Brazil): Switching from Encrypted DNS (127.0.0.1) toKeepSystemDnscleanly restores automatic DHCP DNS instead of leaving adapters pointing at a stopped DNS proxy. - Exact-Path Service Host Exclusion & Uninstall Cleanup: Excludes
engine\usque\RyanDPI.exein ProxiFyre, validates Custom SOCKS5 endpoints before installation, fast-fails Brazil Exit Check when stopped, quotes adapter names with spaces (Conexão Local) in Inno Setup uninstall, kills lingering processes before deleting{app}\engine, and removesRyanDPI Geo Enginefirewall rules on uninstall. - Wi-Fi Handoff Timing: Increased
network-watch.ps1restart settle delay to 1200 ms so Brazil WARP MASQUE rebinds cleanly after network switches.
Android Fixes
- Fixed Heavy-Load Connection Freeze (
RyanDpiSocksGateway.kt): Raised on-demandioExecutorceiling from96to512(still0idle threads when resting!) and replacedCallerRunsPolicywith guardedAbortPolicysoacceptThreadcan never stall when browsers/Discord hold 50+ simultaneous sockets. - Fixed Permanent Always-On Infinite Revive Loop (
RyanDpiVpnService.kt): Fatal config/binary/permission errors now clearuserWantsConnectedbefore stopping, and automatic revives are rate-limited (max 3 in 60s) to protect battery life. - Race-Free Screen-Off Battery Saver: Replaced
CompletableDeferredwake signal with atomicMutableStateFlow<Boolean>(first { it }) so repeated screen-off events can never miss a wake signal. - Instant 0 ms Wi-Fi ↔ 5G DNS Recovery (
DohDnsResolver.kt): Automatically evicts stale HTTP/2 DoH connections on network switch. - Corrupt
usque-config.jsonAuto-Recovery (UsqueProcessManager.kt): Validates and re-registers truncated/0-byte WARP configs with automatic retry. - Brazil Custom SOCKS5 Auth in Self-Test (
SelfTestEngine.kt): Passes configured SOCKS5 username/password during Android Self-Test, usesGETfor JSON/trace endpoints (HTTP 200), fast-fails Exit Check when disconnected, and reportsBuildConfig.VERSION_NAME.
Downloads
- Windows Installer:
RyanDPI-Setup-Windows-3.1.2.exe - Windows Portable:
RyanDPI-Portable-Windows-3.1.2.zip - Android APK (Android 10–16, No Root, Universal 4-ABI):
RyanDPI-Android-3.1.2.apk