Skip to content

unbraid 3.2.5

Choose a tag to compare

@giulioc84 giulioc84 released this 26 Nov 08:56
· 40 commits to main since this release

unbraid can now send apps through a SOCKS5 proxy that another app runs on your phone, such as v2RayTun, for chosen apps or as the default route. This version also brings the fixes from 3.2.3, which was not released separately: safer routing when a change or a restore meets a starting VPN, stricter Proton VPN server checks, and tidier backups. Proton VPN users who signed in with only a private key need to sign in again.

Before you update

  • Proton VPN. If you signed in with only a private key, sign in again with the complete WireGuard file from Proton after updating. Until then, a location that can't be checked stays blocked.
  • App routes. The update keeps the routes of apps already installed. If you're not sure where an app came from, check it in Apps in each profile.
  • Going back. Going back to 3.2.2 means uninstalling, and 3.2.2 can't read a backup made with this version once any app has a route or Direct, or a proxy server is set. If you might go back, make a backup in 3.2.2 before you update.

New features

  • Proxy servers. Add a SOCKS5 proxy that another app runs on this phone under Settings, Providers & servers, Add connection, Proxy server: choose its app, enter its port and its login if it has one. Then pick it for single apps in Apps, or make its route the default in Routes.
  • Proxy servers. Before unbraid sends a connection or a password to the proxy, it checks that the port belongs to the app you chose, for every connection and every UDP packet. If the proxy app stops while unbraid runs, the apps whose route is the proxy are offline instead of going around it.
  • Proxy servers. Calls and video (UDP) are off by default. Turn on Calls and video (UDP) on the proxy server's page after reading its warning.
  • Proxy servers. The proxy app itself stays on Direct, and unbraid refuses changes that would take it off Direct while its proxy is in use, in every profile. The status says Connected only after a check answered, and tells you to check the proxy app when it doesn't.
  • Proxy servers. Some limits apply. Android's Block connections without VPN can't be used with a proxy server, so the leak-proof guide asks for Always-on VPN only. A proxy can't be used for website routes, and with a proxy as the default, name lookups need the proxy to allow TCP port 53. After restoring a backup, confirm the proxy's app and enter its login again. Each proxy server carries up to 256 connections and 128 UDP flows at once.

Changes and enhancements

  • Routes. A change that moves apps off Direct is applied at once, instead of after the short wait for more edits.

Bug fixes

  • Connection. When a change can't start and the previous setup doesn't come back either, apps inside the VPN now stay offline instead of going online without it. unbraid says so and keeps trying, and apps you set to Direct keep working.
  • Connection. An edit, a profile switch or a restore made while the VPN is starting is now used for that start. Before, apps could be online without the VPN for a moment when a backup was restored just then.
  • Connection. When Android refuses every replacement for a tunnel that leaves an app out, unbraid no longer says that apps are offline, and tries again soon.
  • Backup and restore. If a restored setup fails to start, apps stay offline while unbraid keeps trying it, and the previous setup isn't started again.
  • Proton VPN. Paid and Free routes now check the server against the WireGuard configuration you downloaded from Proton. A saved location that can't be checked stays blocked.
  • App routing. When apps inside the VPN have different routes, connections Android can't tie to an app no longer fall through to the default VPN route.
  • Routing. UDP traffic from one app socket follows the route chosen for each destination. A route waiting for a DNS reply no longer holds up other routes or Direct connections.
  • Block. While an app is blocked, unbraid refuses tailnet DNS requests that Android can't tie to an app. Identified apps and Tailscale's own lookups still use tailnet DNS.
  • Restored app routes. An app installed after its 30 day restore window follows the profile's default route. Apps installed in time keep their saved route, and a route stays on hold if Android can't confirm the app's install date or signature.
  • Backup and restore. Without server keys, a backup now keeps only a WireGuard server's name, endpoint and public key, so add its config again after restoring, even on the same phone. The restore preview also warns when a backup changes the certificate, fingerprint or name an OpenVPN server must present.
  • DNS & filtering. When the table of stand-in addresses runs low, one app can no longer take every remaining address.
  • Switch by network. The Wi-Fi profile now applies only on Wi-Fi or Ethernet. Bluetooth tethering and similar connections keep the current profile.
  • IVPN. Active routes show when a key change is pending, and unbraid retries by itself. QR scanning reads a picture once, uses less memory and keeps an account ID you typed meanwhile.
  • Routing. Fragmented pings to a name with several addresses use the address the route chose.
  • WireGuard. After a reconnect, new TCP connections are less likely to reuse a source port the server still holds from an earlier connection.

Install

Download unbraid-3.2.5.apk below and open it on your phone. It requires Android 13 or later on a 64-bit ARM device. Install it over the GitHub version of 3.2.2, or over a 3.2.4 test build, to keep your settings.

This build has no Google Play Billing or in-app tip jar. It uses Google's open-source AndroidX libraries.

Android allows one active VPN app per user or profile. Before starting unbraid, turn off any other VPN app in that profile, including its Always-on VPN setting.

Check the download

Download both unbraid-3.2.5.apk and SHA256SUMS into the same folder. From that folder, run:

shasum -a 256 -c SHA256SUMS

The result should say unbraid-3.2.5.apk: OK.

The APK uses the same signing certificate as the GitHub version of 3.2.2. Its SHA-256 fingerprint is:

42:BA:8E:3D:52:1C:DE:47:B7:C3:E6:93:94:ED:97:73:91:0D:B3:C0:CD:DC:BA:28:9C:EA:5D:B4:39:09:F5:EB