About the licence and distribution
The licence
Everything in the repository is licensed GPL-3.0-or-later: the Android app, the desktop programs, the protocol schemas, the build scripts and this documentation.
For you as a user this means that you may run Tetheron for any purpose, read and change its source, and pass on copies, changed or unchanged. Whoever distributes a changed version must make its source available under the same licence.
The project chose a copyleft licence because of that last condition. The link between your phone and your computer should stay under your control. A permissive licence such as MIT or Apache-2.0 would let a phone manufacturer or a cloud company ship a closed version with a proprietary relay in the middle. Version 3 of the GPL was chosen because Apache-2.0 code can be combined into a GPL-3.0 work and cannot be combined into a GPL-2.0-only one.
The costs are that code under GPL-incompatible licences cannot be linked, and that some companies do not contribute to or embed GPL-3.0 software. ADR-0009 has the full comparison, including MPL-2.0 and AGPL-3.0.
Contributing: a sign-off and no contributor agreement
Contributions are accepted under the
Developer Certificate of Origin (DCO).
You add a Signed-off-by line to each commit, which certifies that you have
the right to submit the work under the project’s licence.
Submit a pull request shows how.
There is no contributor licence agreement (CLA). A CLA would let the project relicense contributions later, which deters contributors and puts that power in the maintainer’s hands. Without one, nobody, the maintainer included, can move Tetheron to a licence other than a later GPL version without the consent of every contributor.
Code and knowledge from elsewhere
Open-source code may be reused under a licence compatible with GPL-3.0, and
must be credited. The
NOTICE file
carries the credits. Today there are two. The shell helper behind the
enhanced tier is an independent implementation that follows techniques
documented in and used by scrcpy (Apache-2.0), and the files that do so say
it in their header. The desktop app links gst-plugin-gtk4 (MPL-2.0).
One rule binds every contributor. Do not contribute code or knowledge that was obtained by reverse engineering proprietary software, such as decompiling an app or capturing its traffic. Public documentation and behaviour that any user can see are fine.
Phone Link and Link to Windows are trademarks of Microsoft; Tetheron is not affiliated with Microsoft.
Why Tetheron is not on Google Play
The Android app is an APK file on the releases page, and that is the only place it is published. It will not be on Google Play, because it needs permissions and behaviours that Play’s policies forbid, or put behind a review, for an app that is not the phone’s default handler:
- reading and sending SMS and reading the call log without being the default SMS or phone app
- access to all files, for deleting photos from the desktop
- the list of all installed apps, for notification icons and the app list
- the exemption from battery optimisation
- a second entry point that is designed to be run as Android’s
shelluser
Play would also require signing through Play. ADR-0008 records the decision.
This has costs for you. Nothing updates the app automatically, so you install each new release yourself. On Android 13 and later you may have to choose Allow restricted settings before you can grant notification access; see Grant Android permissions.
It has one cost for the project, which holds the key that signs the APK. Android accepts an update only if it is signed with the same key, so a lost key would mean a new app identity. The fingerprint of the signing certificate is published so that you can check a download.
The app contains no Google Play Services and no Firebase, and the project’s rules forbid adding them. Tetheron does not use Google’s push service to wake the phone.
Install Tetheron on Android has the steps.
Why a Debian package first and Flatpak later
The desktop side is one Debian package, also on the releases page. It contains the daemon, the desktop app and the command-line tool, and supports Ubuntu 24.04 and newer, derivatives such as Linux Mint 22, and Debian 13 and newer.
A .deb was chosen because it is the only format that can install all of
the following without you configuring anything: a systemd user unit that
starts the daemon at login, a D-Bus activation file that starts the daemon
when you open the app, a firewall profile for ufw, and dependencies on the
distribution’s own avahi-daemon and adb.
A Flatpak is planned. It did not come first because the daemon fits poorly
in a sandbox: it has to own a name on the session bus, talk to Avahi and
BlueZ, start adb, and be started by systemd. Snap and AppImage were
rejected because neither can install the unit and D-Bus files, and Snap is
disabled by default on Linux Mint.
Until the Flatpak exists, only the Debian and Ubuntu family has a package.
For other distributions, such as Fedora and Arch Linux, releases from 0.5.0
carry a tarball with the same programs and an install script. The script
puts the unit, the activation file and the rest under /usr/local and
enables the daemon. It cannot declare dependencies, so you install the
distribution’s packages yourself, and it tells you which are missing.
Updates are manual in both forms.
Install Tetheron on Linux has the steps for
both.
Why Tetheron is not your SMS app
Tetheron shows your text messages on the desktop and sends new ones, but it does not become the phone’s default SMS app. Your phone keeps using Google Messages or Samsung Messages.
Android lets any app with the SMS permissions read and send messages. Only the default SMS app may change what is stored: mark a message as read, delete it, save a draft. Becoming the default would mean replacing your messaging app with a complete one of Tetheron’s on the phone. You would also lose RCS chats, because RCS has no public interface for third-party apps. ADR-0011 rejects that.
You meet the consequences in three places:
- Reading a message on the desktop does not mark it as read on the phone. The desktop keeps its own read state.
- You cannot delete messages on the phone from the desktop.
- RCS chats are not in the Messages tab. They still reach the desktop as notifications that you can reply to.