Android 16 SSH stability, rclone sync polish, and self-driving MCP tools
Consolidates rc1 → rc5.
Android 16 SSH stability
The SSH/Mosh/VNC/RDP/SFTP foreground service was being killed every 10–30 s on Android 16 with Stop FGS timeout, dropping any session and any MCP reverse tunnel forwarded over it. Switched foregroundServiceType from dataSync to specialUse, which isn't subject to that timeout schedule. Android 14/15 users are unaffected.
rclone sync — Mirror visibility, connection log, saved configs
- Mirror toasts surface deletions. The "Mirror" mode toast now reports the delete count alongside transferred files (
2 files transferred, 1 files deleted) instead of only transfers. When rclone's skip the delete pass because of source errors behaviour fires (mode = Mirror, errors > 0, zero deletes), the toast gets adeletions skipped — source errorssuffix. - Sync events in the connection log (#157, #158). Every Copy / Mirror / Move now writes one entry to Settings → View connection log with mode, source, destination, filters, transfers, deletes, errors, duration, the last per-file error, and a deletions suppressed hint when Mirror's no-delete-on-error path fires. Helps diagnose "Mirror behaves like Copy" reports by surfacing the offending file path.
- Saved sync configurations (#159). The SFTP folder-sync dialog now lets you save a named src/dst/mode/filters bundle and recall it from a dropdown at the top of the dialog. Per-row delete prunes obsolete saved configs without leaving the dialog. Save and Save-as buttons appear below the dry-run checkbox once source and destination are filled.
Connection-edit toggle UX
- Boolean toggles (MCP reverse tunnel, Forward agent, VNC/RDP/SMB SSH-tunnel, Auto-reconnect, Tunnel-only, Disable alt screen, Reticulum local-sideband) now use Material 3 Switch instead of FilterChip — ON/OFF reads unambiguously. Enum chip groups (sync mode, file transport) keep using FilterChip.
- MCP reverse-tunnel toggle no longer flips off. The chip used to silently revert to OFF after the dialog's async DB read landed, then save would wipe the rule. Now re-syncs from the async value when it arrives.
Ed25519 key export reliability
SshKeyExporter's PEM-detection short-circuit was matching any byte sequence starting with - (0x2d), colliding with ~1 in 256 randomly-generated Ed25519 seeds and producing an invalid PEM for those keys. Fixed by matching the full -----BEGIN preamble. Regression test pins the CI-captured failing seed.
New MCP tools for agents
- rclone sync:
start_rclone_sync,get_rclone_sync_status,cancel_rclone_sync,get_rclone_stats,reset_rclone_stats. - Saved sync configs:
list_saved_sync_profiles,save_sync_profile,delete_sync_profile. queue_terminal_input(power-user, off by default): type text + Enter into any connected SSH session at the next matching prompt. Pre-delivery consent on the phone with 5 / 10 / 30-minute Allow for N min windows. Enable in Settings → Agent endpoint.
Assets
haven-5.37.0-arm64-release.apk— arm64-v8a (most modern phones)haven-5.37.0-x64-release.apk— x86_64 (emulators, ChromeOS)app-arm64-release.aab/app-x64-release.aab— Play Store bundles (unused; Play Store distribution was discontinued 2026-04-19)
SHA-256
759985539b4e17a9049affde634846f249199e0356be4c3b79f4b078e0d56d97 haven-5.37.0-arm64-release.apk
45ce327c11e10ee7ce41ba8aab28f2edaa55d5d8f66c5a0c96003a3c4ebcb7b9 haven-5.37.0-x64-release.apk
Full changelog: v5.36.0...v5.37.0