Every agent build the fleet can update to, newest first. Download · Docs
The agent no longer sends any logs from the board to the log house (Loki). It never should have: the apps on a machine own their own logging, and Polaris now sends its own lines, including everything it says to the machine's hardware and the card terminal, directly. The agent's job is to keep the board reachable and its apps installed and running, and that is unchanged. The operator tools that read a board on demand still work: `tether logs`, `tether agent-logs`, the live log viewer, and the board's own event history that `tether status` shows. An app update on a slow or unreliable connection can now finish. When the download of the new app breaks part-way, for example because the link stalls, the agent picks up from the point it had reached instead of starting the whole file again, so a machine on a weak signal that kept failing at the same few megabytes will get there. The overall limit of 20 minutes for one update is unchanged, and the finished file is still checked against its fingerprint before anything is installed.
* `Upgrade:` removed the continuous log shipper in full: `LogShipper`, `ShipPipeline`, `NoiseFilter`, `RepeatCollapser`, `LokiPushClient`, `LogShipBuffer`, `LogTarget`, the DEBUG ring and window (`DebugRing`, `DebugWindow`, `WindowTrigger`, `FaultTrigger`), the system and kernel log sources, the comm-log spool shipper (`CommlogShipper`/`CommlogPoller`/`CommlogRootFs`/`CommlogCursor`/`CommlogPayload`), the root logcat stream and its pid router (`LogcatStream`, `PidRouter`, `ResumeCursor`, `ThreadtimeHeader`, `BoundedLineQueue`, `LogcatLineParser`, `LogEntry`, `LogLevel`, `Routed`, `AuditNoise`), the `LOKI_PUSH_URL` build field and their tests. Nothing in the agent pushes to Loki any more. This also removes the 1.2.107 Polaris exemption (`LogShipper.bypassesCollapse`) * `Upgrade:` removed the commands `tether.logs.level`, `tether.logs.enabled`, `tether.logs.target`, `tether.logs.denytags` and `tether.logs.window` (and `TetherConfig`'s `logs*` settings, `tenant`, `machineId`). They now route as `IGNORE` (pinned in `CommandRouterTest`), so a control that still sends one gets no ack. Kept: `tether.logs` (event log + logcat tail for `tether agent-logs`) and `tether.logcat.start/stop` (the live viewer: `LogcatSession`, `LogcatLease`, `LogcatBatcher`, `LogcatDiff`), which never went through the shipper * `Fix:` one-time cleanup on service start (`TetherService.clearLegacyLogShipping`): deletes `logship_*` files from the files dir (the ship buffer and DEBUG ring, up to ~7 MB per board) and the shipper's preference keys, including the push login that `tether.logs.target` had stored * `Upgrade:` the 5 s pid refresh, which lived inside `LogShipper.pollCycle`, is now `telemetry.PidPoll`: same single root round trip (pids, vending app RSS, install id, dma-buf every 5 min), same low-memory guard and su-helper reaping, feeding `AppWatch`, `BoardMetrics` and `CodecGuard` unchanged. It now runs on every board; the old `tether.logs.enabled=false` also stopped it * `Upgrade:` `AppWatch` no longer reads the logcat stream. Two things that came from it are gone: `app.died` no longer carries `cause=lowmemorykiller` (it had no other source), and DropBox is looked at once a minute (from the lifecycle tick) instead of on an `ANR in` line, so an `app.anr` for an app that survives is reported within about a minute. `AppEvents` no longer opens DEBUG windows (`app_died`, crash and ANR triggers) * `Upgrade:` `board.top` snapshots (`tether.diag`) were switched off by `tether.logs.enabled=false`; `BoardTop` no longer takes that gate and is always on * `New:` resumable app download (`Http.fetch`, used by `Http.download`, so `app.update` and the agent's own self-update): when a transfer breaks (read timeout, reset, an early close, a 5xx/408/429), the next attempt sends `Range: bytes=<bytes on disk>-` and appends on a 206 whose `Content-Range` starts at that byte. A 200 (server ignored Range), a 206 from the wrong offset or a 416 restarts from zero and truncates the file. Backoff between attempts is 2 s, 5 s, then 10 s. An attempt that lands at least one byte resets the count; 8 attempts in a row that land nothing end it with the last error. A 4xx other than 408/429 (an expired presigned URL) fails at once. The existing deadline (`Commands.DOWNLOAD_DEADLINE_MS`, 20 min over the whole fetch) is checked before each attempt, per chunk and in the backoff sleep, and ends a link that keeps breaking but keeps moving. `Accept-Encoding: identity` is sent so Range counts file bytes. The sha256 is taken over the whole finished file. Progress reports bytes of the whole file across attempts * Measured: `storage.mtm.mn/vendingcore/vendingcore-latest.apk` honours Range (`206`, `Content-Range: bytes 1000000-1000999/34862798`, `Accept-Ranges: bytes`). The presigned URL control hands out is the same MinIO host * Not verified on a board: unit-tested only (fake transport for resume, restart, 416, short read, stall limit and deadline; a real socket for the Range header and 206 parsing). Bench .69 (~40 KB/s) has not run an `app.update` on this build * Known gap: a download that fails (deadline, stall limit) deletes the partial file; the next `app.update` starts from zero. Control still serves `GET /v1/logs` from Loki, which will now show no new agent-sent lines
On Polaris machines, every conversation between the app and the machine's hardware, and every exchange with the card terminal, now reaches the log house line by line, including a reply that is identical to the one before it. Until now a poll that answered the same thing ten times in a row showed up as one line plus a "still the same" line every five minutes. Nothing changes on SNBC boards running the older app, on UniWin boards, or for any other log line. An app update on a slow connection no longer leaves the machine stuck on its maintenance screen. Before, a download that took longer than about five minutes made the agent look frozen, its watchdog restarted it mid-update, and the app stayed in maintenance until someone released it by hand (bench .69, 2026-11-18, ~95 KB/s). The download now runs beside the agent instead of blocking it, shows its progress every 10 seconds, gives up after 20 minutes, and if the agent ever does die mid-update the next start takes the app out of maintenance.
* `New:` lines from `com.vms.polaris` with tag `Polaris/Hw` (driver calls and events) or `Polaris/Pos` (card-terminal exchanges) skip `RepeatCollapser` (`LogShipper.bypassesCollapse`, applied in `ShipPipeline`); the level floor and the noise denylist still decide first, and `driver_root` stays denylisted for polaris. Every other tag, and the same tags from another package, collapse as before * `Fix:` `app.update` ran on the single worker thread that also writes the watchdog heartbeat, so a slow download (~6 min at 95 KB/s) starved the heartbeat and the watchdog killed the agent mid-update. It now runs on its own thread (`AppUpdateRunner`, one at a time; a second is acked `deferred:update_in_progress`) and the watchdog limits are unchanged (!138) * `New:` one 20-minute deadline over the whole fetch, delta and full download together (`failed:download_deadline`); `cmd.progress` stage `downloading` carries `done/total MB (pct)` every 10 s (!138) * `Fix:` an `app.update` interrupted by process death left the vending app in maintenance. `UpdateMarker` is written before `Maintenance.enter` and cleared on every exit path; on service start a leftover marker sends `EXIT_MAINTENANCE`, relaunches the app, and rolls back to the stash if the app is dark (`UpdateRecovery`) (!138) * Known gap: the agent's own self-update (`tether.update`) still downloads on the worker thread with no overall deadline * Not verified on a board before this release: unit-tested only (needs Polaris 2.0.62, which is the first build to log under these tags)
A board whose manufacturer tells us the organisation now registers itself: SNBC boards go to VMS and UniWin boards (the Jetinno coffee machines) go to UBCC, with no button to find and press. The setup screen shows "Байгууллага: VMS (автоматаар)" instead of the picker. A board with any other manufacturer still shows the picker and waits for someone to choose. The screen also swaps the picker for the locked line as soon as the board has registered, instead of staying stale until it is reopened.
* `New:` `TenantChoice.inferred(manufacturer)` (snbc -> vms, uniwin -> ubcc, same rule as control's `vendor()`); `forHello` takes the manufacturer: claimed -> absent, stored pick wins, else inferred, else empty. Fixes the 2026-11-13 reinstalled VMS board that sat pending until someone found the register button * `Fix:` `SetupActivity` rebuilds the organisation section from the poll when the board becomes locked * Not verified on a board before this release: unit-tested only
The setup screen now asks which organisation a new board belongs to, VMS or UBCC. Until now every new board was filed under VMS, so a Jetinno coffee machine (UBCC) showed up in the wrong place and nobody could see it. The person at the machine picks once, confirms, and after the board has registered the choice is locked. Boards already in the fleet are not affected and see no change except a line saying their organisation is locked.
* `New:` `TenantChoice` and a VMS / UBCC picker on `SetupActivity` with a confirm dialog; stored as `tenant_choice`, refused once the board holds a control token * `New:` `hello` carries `tenant`: absent after the claim, empty while nothing is picked (control keeps the board pending instead of binding it into the open window's default tenant), the slug once picked. Needs control with migration 0063; an older control ignores the field and binds as before * `New:` `ProvisionReceiver` accepts an optional `tenant` extra under the same rules, for script installs * Not verified on a board yet: the screen was built and unit-tested (`HelloTest`) but not looked at on bench .69 / .71 before this release.
On the SNBC boards the touchscreen sometimes does not come up after a restart and the machine sits there unusable. Tether now notices when the touchscreen is missing and tells the console. If it stays missing for several minutes, tether switches off and on the USB hub the screen hangs off, the same thing a technician does by pulling the cable, and reports whether that brought the touchscreen back. It never reboots the machine, and it waits long enough that a card payment in progress is not cut off. Tether also now sends the board's own hardware error messages (USB, storage, memory, power) to the logs, so when a board loses its touchscreen the reason is there afterwards. The UniWin board is not affected; nothing changes for customers.
* `New:` `board.touch_missing` / `board.touch_recovered`: sampled from the touchscreen probe; capped per hour (`TouchEvents`) * `New:` `TouchRecovery`: after 360 s without touch, power-cycles the touchscreen's direct parent USB hub through its sysfs `authorized` node (a failed cycle is retried once); never a hub plugged straight into a root port (`2-1`: the modem lives behind it), at most 4 cycles an hour, `touch_recovery=off` in the lifecycle store disables it. Emits `board.touch_recovery` and `board.touch_recovery_failed`, never reboots * `New:` the touchscreen's USB path is learned from `/proc/bus/input/devices` while it works and persisted, since it cannot be read once the screen is gone (`TouchPath`, `UsbHubs`) * `New:` kernel log source, labelled `package=kernel`: `logcat -d -b kernel`, filtered on the board with `grep -E` before `tail`, so noise cannot push a fault out of the window. Ships every `E`/`F` line and every `W` line except a short known-noise list, plus an allow-list of USB, storage, memory and power faults worded as notes. Read about every 60 s through the system poll; the first read of a run reaches back over the whole boot (5000 lines), later ones 2000 * `New:` kernel source has separate hourly budgets, 500 errors and 200 warnings, so a flood of warnings cannot push an error out; drops are reported as one `TetherKernelLog` warning at most every 10 min * `Upgrade:` `HourlyCap.canAdmit` peeks at the budget without spending it * Both touch recovery and the kernel source apply to API 24-25 only (`TouchScope`, the snbc class). On API 23 (uniwin) and API 26+ neither runs and no `su` call is made. Verified 2026-11-09: on bench `.69` (snbc) a touchscreen deauthorized by hand was reported missing, its hub `2-1.2` cycled after 385 s and touch came back (`board.touch_recovered`), and the resulting `USB disconnect` lines reached Loki as `package=kernel`. On bench `.71` (uniwin M190) and an a527 UniWin-Link neither feature runs (touch is not on USB there); agent, root and tunnel are normal
The signal strength boards report on 4G is now the real reading (it showed about 25 dB too strong on SNBC boards), and boards now say how much data the vending app itself uses. Tether also stops uploading thousands of harmless system permission messages a day from each board, which cuts its own log traffic by about nine tenths. All boards; nothing changes for customers.
* `Fix:` LTE dBm reads RSRP (`getLteRsrp`/`getLteDbm`/`toString` field, then the SNBC modem's CDMA-slot value) instead of the GSM asu formula, which reported -51 for a -75 dBm link (agent#25) * `Fix:` `net_app_*` comes from `NetworkStatsManager` with the `GET_USAGE_STATS` appop granted through root; `TrafficStats` returns UNSUPPORTED for another app's uid on API 24+ (agent#26) * `Fix:` SELinux `avc: denied` audit lines are dropped before upload and summarised once per 5 min; thermal is read every third sample (agent#27)
Boards now report how much mobile and total data they use, how strong the signal is, what kind of link they are on (Wi-Fi, 4G and so on) and how often the MQTT connection reconnects. The console uses this to show weak-signal and high-data boards. This includes the SNBC boards, whose modem signal and SIM state were not being read. All boards; nothing changes for customers.
* `New:` `board.metrics` carries data usage, network signal and MQTT link quality (agent#24) * `Fix:` the modem is probed (phone type, SIM state) instead of trusting `FEATURE_TELEPHONY`, which the SNBC ROM does not declare, so signal, generation, operator and SIM state are reported there (!129)