Skip to content

unbraid 2.9.1

Choose a tag to compare

@giulioc84 giulioc84 released this 14 Nov 10:14
· 363 commits to main since this release

unbraid 2.9.1 adds backup and restore in Settings and lets an app follow the default route, with many fixes to routes and profiles. Apps whose route no longer exists are now blocked, and if your saved settings can't be opened, apps stay offline instead of using your normal connection. Please read Before you update: going back to an older version means uninstalling, and after updating from 2.8.6 the VPN stays off until you tap Connect.

Before you update

  • Going back needs an uninstall. After this update you can't go back to an older version without uninstalling unbraid, because Android doesn't install an older version of an app over a newer one. Uninstalling deletes everything unbraid keeps on the phone, including routes, app choices, profiles, favourites, own servers and their keys, home network settings, provider sign-ins and statistics, and it doesn't free this phone's device slots at your providers, so sign out of each provider in unbraid first. If unbraid then says a device slot couldn't be released, remove the device in your account on the provider's website.
  • Make a backup after updating. Once you are on 2.9.1, save a backup in Settings, Backup and restore, and keep its passphrase safe: unbraid can't recover it. A backup can't be restored into 2.8.6 or older. Unless you turn on Include server keys and passwords, it leaves out your own servers' keys and passwords and your home WireGuard, so keep your WireGuard, OpenVPN and Shadowsocks files to add them again later. Provider sign-ins are never saved in a backup: after restoring on another phone, sign in to each provider again.
  • Tap Connect after this update. The VPN is off after updating from 2.8.6, without a notice, until you open unbraid and tap Connect, unless Android's Always-on VPN starts it. A timed pause running during this update may not resume by itself either. From the next update on, unbraid tries to reconnect by itself, or shows a notice to tap when it can't.
  • Saved servers at an unusable address. A provider server you saved at an address that can't be used no longer connects and asks you to Pick the server again.
  • Direct as the default route. If Direct is your default route and at least one app uses a VPN route, connections Android can't tie to an app are now refused instead of using your normal connection. Some system traffic that belongs to no app may be refused too.
  • Missing routes. An app whose chosen route no longer exists is now blocked, apart from local and home network traffic you allow, and a default route that no longer exists stops unbraid from connecting. Choose another route on Routes.
  • Shadowsocks with a plugin. Calls and other UDP traffic no longer go through Shadowsocks routes that use a plugin.

New features

  • Backup and restore. Backup and restore in Settings saves your setup to one file locked with a passphrase you choose, and brings it back on this phone or another one with unbraid 2.9.1 or newer. The file holds your routes, app choices, favourites, profiles, own servers and settings; provider sign-ins, your Tailscale sign-in and settings, and statistics are never in it, so on another phone you sign in to your providers again. Before anything changes, restoring says what it replaces and can keep your current setup as the profile Previous.
  • Backup and restore. Your own servers' keys and passwords, and your home WireGuard, go into the file only if you turn on Include server keys and passwords, and then a passphrase that unbraid rates as easy to guess is refused. The switch is always shown; without own servers or home WireGuard it stays off, as there is nothing to include. Without them, the routes of a restored own server stay blocked until you add its config again with Add its config again in Settings, unless this phone still has that server.
  • Backup and restore. Restoring replaces the profiles on this phone, apart from the setup you choose to keep as Previous. Choices for apps that aren't installed yet are kept for 30 days, so you can install those apps after restoring. Restoring while unbraid is connected reconnects with the restored setup, and apps may be offline for a few seconds.
  • Backup and restore. A new install can restore a backup from the sign-in screen with Restore a backup, and a backup picked under Import a config file is restored instead of imported.
  • Apps. An app's menu has Follow default, so the app goes wherever the default route goes. A route you pick for an app stays its own choice, even when it is also the default.
  • VPN behaviour. From the next update on, when an update of unbraid stops a running VPN, unbraid tries to reconnect by itself where Android confirms the update stopped it; otherwise, and always on Android 13, it shows unbraid is off after the update. Tap to reconnect. It doesn't reconnect after Disconnect, Pause or a Force stop that Android reports. For this, unbraid keeps a note on the phone of whether the VPN is on, and that note never leaves the phone.

Changes and enhancements

  • Routes. With Direct as the default route and at least one app on a VPN route, connections Android can't tie to an app are refused instead of using your normal connection. Some system traffic that belongs to no app may be refused too.
  • Routes. Remove route and removing a route from a profile now ask first, saying how many apps chose the route and which profiles lose it. When apps that follow the default would move, Make default first says how many.
  • App. If unbraid finds settings saved in a newer format than it can read, it leaves them untouched and says These settings were saved by a newer unbraid. Update unbraid, or start fresh. If the VPN starts meanwhile, other apps stay offline.
  • Providers. Server lists leave out servers without a usable public address, and server addresses and keys from providers get more checks before connecting. A saved provider server at an address that can't be used asks you to Pick the server again.
  • Imports. Config files are read in the background, imported names lose control and text direction characters, and error messages name the wrong field or unsupported line without repeating its value. Closing the import prompt while a file is still being read cancels the import, and Shadowsocks imports refuse malformed server addresses.
  • Error messages. Error messages hide more kinds of account details, passwords and keys, and release builds keep less detail from the connection engine in the app's log.
  • Updates. In the GitHub build, the update check identifies itself only as unbraid, without your phone model or Android version, and it no longer runs before you accept the terms.
  • Local & home access. Removing the home WireGuard tunnel asks first and says that its configuration and key will be forgotten.
  • Apps. An app set to Direct that Android leaves outside unbraid now says so in its menu: it gets no filter and no home network access.
  • Apps. An empty app list says why, for example a search that only matches hidden system apps or a route filter with no apps, and offers the way back. The chosen route filter scrolls into view.
  • Location picker. The picker says when a list is still loading, why it failed or what narrowed it, and it comes back after you add a provider or open Settings from it.
  • App. The wording is more consistent: route for your list of routes, Own servers, Own DNS server and Connections at once, in British spelling.
  • App. App rows tell TalkBack which route each app uses, and Stats charts have spoken summaries.
  • App. The texts on blocking without VPN, the update check and Copy a report say plainly what they cover, including that unbraid's own sign-ins and the update check use your normal connection.
  • Widget. The widget asks Android to refresh it every 30 minutes, and its Connect says Open unbraid to allow it as your VPN when the VPN permission must be given again. After Android stops the app, the widget can still show the old status until its next refresh.
  • Terms of use. The Terms of use at unbraid.app/terms are updated. They now explain that some traffic handled by Android or macOS may not follow an app's route, that DNS filters are best effort and no substitute for parental controls or antivirus, and how the terms apply after you stop using the app or if unbraid is taken over. You don't need to accept them again in the app.

Bug fixes

  • Apps. An app's chosen route is kept when it is the same as the default route, also over this update.
  • Routes. A saved server or route that carries the default route can't be removed until you choose another default, and Choose default opens the picker. Signing out of Tailscale waits the same way while one of its exit routes carries a default.
  • Routes. Switching profile no longer throws away routes that are in no profile: Use first asks Save your current setup first?, and a setup saved without a name is kept as Previous.
  • Routes. Importing a connection or signing in to a provider keeps the routes and default route you already set up.
  • Routes. Choosing a saved server for an app or as the default reuses its route instead of adding another, and a route taken out of its last profile is removed instead of staying hidden.
  • Routes. A default route that no longer exists stops unbraid from connecting, and apps on a route that is gone are blocked instead of using your normal connection. Routes says what is missing and offers Choose or Follow default.
  • App. If unbraid can't open your saved settings when the VPN starts, other apps stay offline instead of using your normal connection, until the settings open again or you choose Start fresh.
  • Connections. A provider route whose servers keep failing is no longer moved to another server every two minutes. Moves wait 2, 5, 15 and 30 minutes, then the route shows Doesn't work on this network until the network changes or you connect again.
  • Connections. A rare crash when a connection check met a route change, reload or disconnect is fixed, and connecting no longer leaves unused network parts behind each time.
  • Connections. Shadowsocks routes with a plugin look up names through the plugin and carry TCP traffic only, and the route says that calls and other UDP traffic don't go through it. Their connection checks use HTTPS only.
  • Connections. The connection engine gets the current network when it starts, and a VPN service that has ended no longer affects the next connection.
  • Providers. When you sign out, unbraid keeps a pending release of this phone's device slot at the provider and retries it, a limited number of times, when you open the app; if it can't release it, a notice says where to remove the device yourself, and dismissing it stops the retries. Until the slot is released or the retries stop, that provider's sign-in stays encrypted on the phone; then it is deleted.
  • Providers. A token, account number or login the provider turns down is reported as not accepted, instead of asking you to try again later. A public server list that fails to load no longer counts as a refused sign-in, and a failed Mullvad account check is no longer taken for a removed device.
  • Providers. Requests to VPN providers no longer follow redirects.
  • Location picker. Protocol and the provider's blocking change only when you tap a location, so closing the picker or going back leaves the route as it was. A server list dated in the future is refreshed.
  • DNS & filtering. Choosing your first filter switches it on for VPN routes, so it works at once. When a filter applies nowhere, Settings says not applied.
  • Imports. WireGuard imports check the IPv4 interface address, ranges and endpoint before saving, instead of saving a file that later stops every route from starting; IPv6 entries are still left out. After Start fresh, the first server you import from Settings becomes the default route.
  • Apps. On Android 15 and later, an app that Android archives keeps its route.
  • Apps. The app menu offers only the routes of the profile shown, and app counts stay hidden until you allow unbraid to read the app list.
  • Local & home access. On Android 17, connecting asks for Nearby devices when local network access needs it, also when Block connections without VPN is only noticed after connecting.
  • Direct apps. Turning on Block connections without VPN while connected takes effect without reopening unbraid, so Direct apps no longer stay offline.
  • VPN behaviour. If Android refuses to resume a timed pause by itself, for example after an app update, a notice says unbraid couldn't resume by itself. Tap to reconnect. This covers pauses started in this version.
  • Quick settings tile. The tiles say Disconnecting until the tunnel is down, instead of turning off while still saying On.
  • Stats. The same traffic shows the same percentage on every Stats page. App flows names a removed app Removed app with its saved name and groups system traffic with no matching app as Other system traffic; for this, with statistics on, unbraid keeps app names on the phone, and they never leave it.
  • Speed test. During a Tailscale exit node test, traffic of apps on the Tailscale route counts toward the node being tested.
  • Speed test. A running test keeps going when the phone is turned. A test that never reaches a test server says so and no longer uses one of the day's tests, and Test with the nearest server no longer repeats itself.
  • App. Sheets open in full, so their buttons stay on screen, and the time a pause ends stays visible on Routes.
  • App. Many titles, fields and buttons make more room for large fonts and narrow screens, and buttons on the main screens are easier to tap. A few headers can still be tight at the largest font size on narrow phones.
  • Routes. An own server's card no longer shows a made up server name and 0% load, and profile summaries count apps instead of routes.
  • Settings. The Tailscale row tells home access apart from exit node use only.

Install

Download unbraid-2.9.1.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 2.8.6 to keep your settings.

This build has no Google Play Billing or in-app tip jar. Like the Play version, 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-2.9.1.apk and SHA256SUMS into the same folder. From that folder, run:

shasum -a 256 -c SHA256SUMS

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

The APK uses the same signing certificate as the GitHub version of 2.8.6. 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