Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Supported platforms

The systems Tetheron runs on, what each feature needs, and what has been tested. Entries marked 0.5.0 ship with the next release. The latest release is 0.4.1.

Tested on

Everything was tested on one computer and one phone.

Tested
DistributionLinux Mint 22.2, x86-64
SessionCinnamon on X11
GraphicsNVIDIA, decoder nvh264dec
Bluetooth adapterRealtek RTL8852BU
Component versionsGTK 4.14, libadwaita 1.5, GStreamer 1.24, PipeWire 1.0.5, WirePlumber 0.4.17, BlueZ 5.72, adb 35.0.0, v4l2loopback 0.12.7 (0.5.0)
PhoneSamsung Galaxy A55
Android 16, One UI 8.5 (releases 0.1.0 to 0.4.1)Pairing, notifications, messages (SMS send and receive, MMS receive), contacts, photos, files, clipboard, media, phone controls, calls and call audio, enhanced set-up over USB and Wireless debugging, whole-screen mirroring, one app in its own window
Android 17Phone as webcam (0.5.0) over USB and Wireless debugging. Other features were not tested again after the phone’s update.

Not tested, which does not mean known to fail:

  • Other distributions, Wayland sessions, other desktop environments, arm64.
  • The tarball and its install script on Fedora and Arch Linux. The script was run on Linux Mint only.
  • VA-API decoders (Intel, AMD), other Bluetooth adapters, a Bluetooth headset as the call audio device, WirePlumber 0.5.
  • Android 14 and 15 on a device, and phones of other manufacturers.
  • MMS send on a mobile network.
  • The Apps tab, pinning an app and phone audio playback on the desktop, on a phone. Their parts passed automated tests.
  • Switching Wireless debugging back on after a phone restart.
  • Samsung Auto Blocker.
  • Webcam (0.5.0): a locked phone, the camera privacy switch, creating the virtual camera through the installed service, creating it at every boot.

Desktop

Distributions and architecture

The desktop side is published for x86-64 (amd64) in two forms: a Debian package, tether, and from release 0.5.0 a tarball with an install script, tether-<version>-linux-x86_64.tar.gz. Both are on the GitHub releases page and nowhere else.

DistributionStatus
Linux Mint 22.x (Ubuntu 24.04 base)Supported, Debian package
Ubuntu 24.04 and newer, and derivativesSupported, Debian package. The package is built on Ubuntu 24.04.
Debian 13 and newerSupported, Debian package
Fedora 40 and newerTarball (0.5.0). Not tested.
Arch Linux and derivativesTarball (0.5.0). Not tested.
Other distributions with systemd, glibc 2.39, GTK 4.14 and libadwaita 1.5, or newerTarball (0.5.0). You find the dependencies’ package names yourself.
Older distributions and arm64Nothing published. Build from source.

The programs in the tarball are the ones in the Debian package. They are built on Ubuntu 24.04 and need at least its versions of glibc, GTK and libadwaita. Install Tetheron on Linux has the steps for both forms.

A Flatpak is planned (Roadmap).

Session type

Tetheron runs in X11 and Wayland sessions, with these differences:

BehaviourX11Wayland
Clipboard, phone to desktop, app runningSet at onceSet at once while the app’s window has focus. Otherwise the app shows a notification or a toast with a Copy action.
Clipboard, phone to desktop, app not runningThe daemon sets it with xclipThe daemon sets it with wl-copy
Clipboard, desktop to phone, app runningSent on every changeSent only while the app’s window has focus
Clipboard, desktop to phone, app not runningThe daemon reads the clipboard once a second with xclipNot available
Stay on top in mirror windowsAvailable when wmctrl is installedNot available
Incoming-call banner kept above other windowsWhen wmctrl is installedNo
Pinned phone apps grouped under their own iconWindow class tether-<device8>-<package>Application id of the same name

Desktop environment

The app uses GTK 4 and libadwaita and does not depend on one desktop environment.

FeatureRequirement
Tray iconA StatusNotifierItem host. Cinnamon and KDE Plasma have one. GNOME needs an AppIndicator extension. Without a host the app runs without a tray icon.
Desktop notificationsA notification server (org.freedesktop.Notifications). Action buttons need a server that supports actions.
Reply inside the notificationA server that announces inline-reply (KDE Plasma). On other servers Reply opens the reply box of the app.
Media keys and media applets for the phoneAn MPRIS client in the desktop environment
Start at loginSupport for XDG autostart entries

Package dependencies

PackageRelationUsed for
Shared libraries found at build time ($auto)DependsGLib, GTK, D-Bus, GStreamer and system libraries the programs link to
libgtk-4-1, libadwaita-1-0DependsThe app
avahi-daemonDependsmDNS discovery of phones, discovery of Wireless debugging
adbDependsEnhanced tier
pipewire-bin, libspa-0.2-bluetoothDependsCall audio over Bluetooth, ringtone, echo cancellation
gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, gstreamer1.0-glDependsScreen mirroring, app windows, phone audio, webcam (0.5.0)
ufwRecommendsThe firewall profile Tether
bluezRecommendsBluetooth pairing and the hands-free link for calls. Without it the daemon does not announce the bluetooth capability.
wireplumberRecommendsCall audio routing
gstreamer1.0-plugins-badRecommendsH.264 parser (required for mirroring and webcam) and hardware decoders
gstreamer1.0-libavRecommendsSoftware H.264 decoder
v4l2loopback-dkms (0.5.0)SuggestsKernel module for the virtual camera. Installs DKMS, kernel headers and a compiler.
v4l2loopback-utils (0.5.0)Suggestsv4l2loopback-ctl, used to add a device to a module that is already loaded (v4l2loopback 0.13 and newer)

apt installs dependencies and, unless told otherwise, recommended packages. It does not install suggested packages.

The tarball’s install script installs no packages. It checks for them and prints the install command. These are the packages of Fedora and Arch Linux that match the Debian ones. A message of the app or the daemon that names a missing package uses the name for the distribution it runs on (0.5.0), read from /etc/os-release. On a distribution outside these three families it describes the component.

Debian packageFedoraArch Linux
libgtk-4-1, libadwaita-1-0gtk4, libadwaitagtk4, libadwaita
avahi-daemonavahiavahi
adbandroid-toolsandroid-tools
pipewire-bin, libspa-0.2-bluetoothpipewire, pipewire-utilspipewire, pipewire-audio
wireplumber, bluezwireplumber, bluezwireplumber, bluez
gstreamer1.0-plugins-base, gstreamer1.0-glgstreamer1-plugins-basegst-plugins-base
gstreamer1.0-plugins-goodgstreamer1-plugins-goodgst-plugins-good
gstreamer1.0-plugins-badgstreamer1-plugins-bad-freegst-plugins-bad
gstreamer1.0-libavgstreamer1-plugin-openh264 (decoder openh264dec)gst-libav
ufwfirewalld is the default firewall. No profile is installed for it.ufw
v4l2loopback-dkms, v4l2loopback-utils (0.5.0)akmod-v4l2loopback from RPM Fusion Freev4l2loopback-dkms, v4l2loopback-utils, kernel headers

What each feature needs

FeatureNeeds on the desktopWithout it
DiscoveryAvahi running, or UDP broadcast on the network. UDP and TCP 7360 open.Add the phone by address
Notifications, messages, contacts, photos, files, media, phone controlsNothing further
Clipboard with the app closedxclip (X11) or wl-clipboard (Wayland). Not installed by the package.Clipboard sync works only while the app runs
Calls: banner, answer, decline, dial, call logNothing further
Call audio on the desktopA Bluetooth adapter, BlueZ, PipeWire with its Bluetooth plugin and the hands-free role (hfp_hf), WirePlumber. Tools used: pw-dump, pw-link, pw-cli, pw-metadata, wpctl.Call audio stays on the phone
Echo cancellationPipeWire’s echo-cancel module (pipewire program)Call audio without echo cancellation
Ringtonepw-play or paplay, and the sound /usr/share/sounds/freedesktop/stereo/phone-incoming-call.ogaNo ringtone on the desktop
Enhanced tieradb from platform-tools 34.0.0 or newer, with USB or Wireless debuggingEnhanced state unavailable. Mirroring, app windows, phone audio and webcam are not offered.
Screen mirroring and app windowsGStreamer element h264parse (gstreamer1.0-plugins-bad) and an H.264 decoderThe mirror window names the missing package
Phone audio on the desktopGStreamer and a PipeWire or PulseAudio sound serverPhone audio state unsupported
Phone as webcam (0.5.0)The v4l2loopback kernel module, pkexec (polkit) for the set-up, the parser and a decoder as for mirroringVirtual camera state not_installed

H.264 decoders are tried in this order: vah264dec (VA-API), nvh264dec (NVIDIA), v4l2slh264dec, avdec_h264 (gstreamer1.0-libav), openh264dec. The first that is installed and works is used.

Minimum versions

ComponentMinimum
GTK4.14 (Ubuntu 24.04)
libadwaita1.5 (Ubuntu 24.04)
adb (platform-tools)34.0.0, enforced by the daemon
PipeWire1.0
WirePlumber0.4.17
GStreamer1.20
BlueZ, v4l2loopback (0.5.0)Not specified

With v4l2loopback 0.12 the set-up cannot add its device to a module that another program loaded first. 0.13 and newer can. With Secure Boot the module must be signed with an enrolled key.

Phone

PropertyValue
MinimumAndroid 14 (API level 34, minSdk)
TargetAndroid 15 (API level 35, targetSdk)
Package nameorg.tether.android
DistributionAPK from the GitHub releases page. Not on Google Play.

The enhanced tier checks each of its functions on the phone when the shell helper starts and hides a function that fails the check (Privilege tiers and adb).

Behaviour that differs by manufacturer

SystemBehaviour
Samsung One UIThe system puts apps to sleep regardless of the Android battery setting. The app must be added to Never sleeping apps. The set-up wizard shows this step on Samsung phones only.
Samsung One UIWireless debugging switches off when the phone restarts. The system switches it off again at once on a Wi-Fi network that was not allowed for Wireless debugging.
Samsung One UI 6 and newerAuto Blocker blocks installing APKs from some sources and blocks adb.
Samsung One UI 8.5 (Android 16)The permission for a self-managed companion device association is reserved for system apps. The wizard skips the companion step. See Android permissions and grants.
Samsung One UI 8.5Call audio switching works only with the MANAGE_ONGOING_CALLS grant. The telecom command for call companion apps has no effect.
Android 13 and newer, all manufacturersNotification access for an app installed from an APK can be a “restricted setting” that has to be allowed first (Grant Android permissions).