Repository navigation
✨ Highlights
🔋 The app listens instead of asking
TailSocks used to ask its daemon "what's new?" every couple of seconds on the main screen and every 15 seconds in the background. Now the daemon tells the app when something changes:
- The main screen, the notification, the widgets and the devices in the share sheet update the moment the connection, health, settings or the device list change, usually within a second.
- With nothing happening, nothing is read: an open main screen makes no status requests at all, and the background service no longer fetches the full status once a minute.
- A slow safety read every 30 seconds remains, so a missed event cannot leave a stale screen.
- The exit-node offline watch listens too: it no longer reads the whole tailnet's status every 30 seconds, and its warning comes after the stated 20 seconds.
👯 Two builds side by side
With both the release and a dev build installed, starting one while the other is running and would collide with it (the same ports, the VPN slot, Root Mode's routing) now shows a warning instead of two daemons quietly breaking each other.
🧭 Netcheck says "Connecting"
Right after Start, Netcheck used to say Offline for a few seconds, until the coordination server confirmed the device. It now says Connecting, reads the status once more by itself, and keeps "Offline" for a device that really is.
🛠 Root Mode, sturdier
- Switching a running connection from VPN or Proxy into Root Mode no longer ends with "The daemon stopped on its own".
- Routing rules removed from outside the app are noticed within a minute and put back.
- Two quick starts no longer launch a second daemon; the watchdog brings the service back after the app is killed.
- Root → VPN sets the tunnel up once, not twice.
💾 After a restore
A full restore now offers to restart the app so every screen picks the restored settings up, and comes back disconnected, as the dialog says.
🇷🇺 Что нового
🔋 Приложение слушает, а не спрашивает
Раньше TailSocks спрашивал у демона «что нового?» каждые пару секунд на главном экране и каждые 15 секунд в фоне. Теперь демон сам сообщает приложению об изменениях:
- Главный экран, уведомление, виджеты и устройства в меню «Поделиться» обновляются в момент, когда меняется подключение, состояние, настройки или список устройств, обычно в пределах секунды.
- Когда ничего не происходит, ничего и не читается: открытый главный экран не делает запросов статуса вовсе, а фоновая служба больше не запрашивает полный статус раз в минуту.
- Остаётся редкое страховочное чтение раз в 30 секунд, чтобы пропущенное событие не оставило устаревший экран.
- Проверка офлайна выходного узла тоже слушает события: она больше не читает статус всей сети каждые 30 секунд, а предупреждение приходит через заявленные 20 секунд.
👯 Две сборки рядом
Если установлены и релизная, и dev-сборка, запуск одной при работающей второй, с которой она столкнётся (те же порты, слот VPN, маршрутизация Root Mode), теперь показывает предупреждение, а не даёт двум демонам тихо ломать друг друга.
🧭 Netcheck пишет «Подключение»
Сразу после запуска Netcheck несколько секунд писал «Отключено», пока сервер координации не подтвердит устройство. Теперь он пишет «Подключение», сам перечитывает статус ещё раз и оставляет «Отключено» для устройства, которое действительно отключено.
🛠 Root Mode стал крепче
- Переключение работающего подключения из VPN или прокси в Root Mode больше не заканчивается сообщением «Демон остановился сам».
- Правила маршрутизации, удалённые извне, обнаруживаются в течение минуты и восстанавливаются.
- Два быстрых старта подряд больше не запускают второй демон; сторож поднимает службу после убийства приложения.
- Root → VPN поднимает туннель один раз, а не дважды.
💾 После восстановления
Полное восстановление теперь предлагает перезапустить приложение, чтобы все экраны подхватили восстановленные настройки, и возвращается отключённым, как и сказано в диалоге.
📋 Changelog
Added
- Main screen: starting while the other TailSocks build (release / dev) is running and would collide with it — the same node, Root Mode with tailscale0 in both, both in TUN, or an equal SOCKS5/HTTP/DNS port — now asks first: open the other app, start anyway, or cancel.
- Backup: after a full restore the app offers to restart itself: the connection is stopped (in Root Mode the daemon too), the restored settings are written again and the app reopens, instead of asking you to force-stop it.
Changed
- Battery: the main screen no longer polls the daemon: it updates the moment the connection, health, settings or devices change, and otherwise checks once every 30 seconds, and not at all while it is off screen; the Logs screen reads only new lines and only while shown; the daemon computes engine statistics only while the diagnostics card is open.
- Battery: the background service follows the same events: the notification, the devices in the share sheet and the widgets update when the daemon reports a change, not on a 15-second poll, and the service no longer asks the daemon for the full status once a minute.
- Exit node: the offline watch reacts to tailnet changes instead of polling the full status every 30 seconds; the warning now comes after the stated 20 seconds.
- Admin console: visual policy edits and the Review step are much faster on large policies, the console opens without waiting for the phone's own change log, and typing in the policy editor no longer redraws the dashboard under it.
- Settings opens faster: the tailnet address and the admin profile are read only when their pages open. The excluded-apps list opens at once; icons load as you scroll and are sharp.
- Files: switching tabs no longer reloads the inbox and the device list. Taildrive in other apps: file details load faster, and a share that just restarted is retried once instead of showing an error.
- Root Mode: Stop takes one root shell instead of four; the DNS health check asks a fresh name each time, so a cached answer no longer hides a dead upstream; a partially applied ruleset is retried, and a tailscale0 without its address or exit-node route is reported in the ROOT log.
- TUN: the compatibility engine no longer starts a probe process on every connect.
Fixed
- Peers, the live map and graph, the Files picker, the exit-node lists and paired devices no longer treat a status the daemon could not give as an empty tailnet: while the daemon is starting the screen keeps loading, a lasting failure is shown as an error with Retry, and data already on screen stays. Paired devices read "unknown" rather than "gone" while the daemon starts, and a Direct Share shortcut no longer silently does nothing.
- Root Mode: two starts in quick succession no longer launch a second daemon that strips the tailnet address and exit-node routes.
- Root Mode: the watchdog now brings the service back after the app is killed, instead of seeing the root daemon and doing nothing; DNS rules left by a daemon that died while the app was closed are removed when the app starts.
- Root Mode: a failed daemon start leaves a notification; the hosts sync no longer unmounts another module's
/system/etc/hosts; iptables waits for the xtables lock; switching modes and leaving Settings right away no longer leaves the service stopped. - After switching accounts, the new account is marked as signed in and its exit node is shown by name.
- Rotating the screen keeps the network sync warning, open dialogs and sheets, typed account details and a running update download; the update check and the notification permission request run once per launch.
- Backup: a full backup can no longer be saved with an empty password when the phone is rotated in the file picker; the password is asked again.
- Admin console: typing quickly in the JSON policy editor no longer jumps the cursor to the start; the tag pickers keep their tags when the policy cannot be read; a profile switch no longer carries the old tailnet's data into the new profile.
- Notifications: "File received", Taildrive downloads and TailCat now use the app's language, not the system's.
- Taildrop: two files with the same name can be sent at once, an interrupted send no longer leaves a copy in the cache, and sharing many files no longer freezes the screen while they open. A file sent to a managing device no longer hangs in "sending" when the device stops receiving.
- Taildrive: a download started just as another finished gets its progress notification; stopping the WebDAV proxy, or changing its credentials, ends transfers still running through it.
- TailCat: switching connections quickly no longer stops the one just started.
- Console: a command that does not end by itself is stopped after two minutes and shows its output, and closing the console stops a command that is still running.
- Netcheck no longer writes the tailnet's status to the system log, and its Start refuses an empty SOCKS5 address, like the main screen.
- TUN: a SOCKS5 password containing a quote no longer breaks the compatibility engine.
- The connection to the daemon recovers in seconds after a late drop, not 30 s.
- Automation: switching accounts through an assistant restarts the connection the same way Tasker does.
- About: the open-source licenses screen no longer lists OkHttp, Okio and DocumentFile, which the app never shipped.
- Language: the one chosen in the app now reaches Android 13+'s own per-app language setting, and TailSocks is listed on that system page (Settings → Apps → TailSocks → Language). A language picked there is taken over by the app, and "System default" there resets it. Before, the choice never left the app: the call used for it works only from a kind of screen this app does not have.
- Share: the file count on the share sheet reads "1 file", not "1 files".
- Taildrive: a device that shares no folders shows as empty instead of "Not found".
- Netcheck: right after Start it shows "Connecting" until the coordination server confirms this device, instead of "Offline".
- Root Mode: switching a running connection from VPN or Proxy to Root no longer ends with "The daemon stopped on its own" and no connection.
- Root Mode: routing rules removed from outside the app (for example by the system) are noticed within a minute and put back, instead of staying gone until Stop and Start.
- Accounts: the "Add account" dialog scrolls on a phone held sideways; the "Report the real OS" checkbox no longer sits over the auth key field with its label hidden.
- Netcheck: relay latency uses the translated unit; Russian spelling made consistent in a few settings labels.
- VPN: switching from Root Mode to VPN sets up the tunnel once instead of twice in a row.
- Widgets: the exit-node widget is no longer rewritten and redrawn every minute while nothing changes.
- Share: a
file:link written through/procis refused wherever it leads. - Root Mode: the lock that keeps two launches from starting two daemons no longer relies on
mkdiralone to decide who holds it.





