Connect your phone for the first time
In this tutorial we install Tetheron on a Linux desktop and on an Android phone, pair the two with a QR code, and answer a phone notification from the desktop. It takes about twenty minutes.
What you need
- A desktop running Ubuntu 24.04, Linux Mint 22 or Debian 13, or a newer version of one of them, on a 64-bit Intel or AMD processor. On Fedora or Arch Linux, do step 1 with Install Tetheron on Linux and continue here with step 2.
- A phone running Android 14 or newer.
- A USB data cable between the phone and the desktop.
- Both devices on the same Wi-Fi or wired network. A guest Wi-Fi network does not work, because it keeps devices apart.
- A password that lets you run
sudoon the desktop.
1. Install Tetheron on the desktop
-
On the desktop, open the releases page in a browser. Under the latest release, download two files: the one whose name starts with
tether_and ends with_amd64.deb, and the one whose name starts withtether-android-and ends with.apk. The browser saves them to~/Downloads. -
Open a terminal and install the package:
cd ~/Downloads sudo apt install ./tether_*_amd64.debaptlists the packages it adds and asks you to confirm. Near the end of its output you see two lines that start withtether:. -
Start the daemon, the background service that talks to the phone:
systemctl --user daemon-reload systemctl --user enable --now tetherd.serviceThe commands print nothing when they succeed.
-
Allow Tetheron through the firewall:
sudo ufw allow Tether sudo ufw allow mdnsEach command answers with
Rules updatedorRule added. If the terminal saysufw: command not found, your desktop has noufwfirewall and there is nothing to allow. Go on. -
Open Tetheron from the applications menu (Tether in 0.4.1 and earlier, on the phone as well).
The window shows No devices yet and a Show pairing QR… button. Leave the window open. We come back to it in step 4.
2. Install Tetheron on the phone
Tetheron is not on Google Play. We install it from the desktop over the USB
cable, with the adb tool that the desktop package brought along. The names
of the phone’s settings below are Samsung’s. Other phones name them slightly
differently.
-
On the phone, open Settings → About phone → Software information. Tap Build number seven times and enter the phone’s PIN when it asks.
Go back to the first page of Settings. There is a new entry, Developer options.
-
Open Settings → Developer options, switch USB debugging on and confirm the phone’s question.
The switch stays on.
-
Connect the phone to the desktop with the USB cable and unlock the phone.
-
In the terminal on the desktop, run:
adb devicesThe first time, the phone asks whether to allow USB debugging from this computer. Tick Always allow from this computer and allow it. Run the command again.
List of devices attached <serial> device<serial>is your phone’s serial number. The word after it must bedevice. -
Install the app:
adb install tether-android-*.apkAfter a few seconds the command prints
Success. If the phone asks about scanning or blocking the app, choose to install it. -
On the phone, open Tetheron from the list of apps.
The app shows Welcome to Tether.
You can unplug the cable now.
3. Grant the permissions
The phone app starts with a set-up wizard. We grant the three permissions that notifications need and skip the rest.
-
Tap Get started.
-
On Show a status notification, tap Allow notifications, then Allow in the system dialog.
The screen says Granted. Tap Continue.
-
On Notification access, tap Open notification access settings.
Android opens its list of apps with notification access. Tap Tetheron, switch it on and confirm the warning.
-
If Android refuses and shows a Restricted setting message, lift the restriction and try again. Otherwise go to step 5.
- Open the phone’s Settings → Apps → Tetheron.
- Tap the ⋮ menu in the top-right corner.
- Choose Allow restricted settings and confirm with your PIN or fingerprint.
- Go back to the app and tap Open notification access settings again. Tap Tetheron, switch it on and confirm the warning.
-
Go back to the app.
The screen says Notification access is on. Tap Continue.
-
On Stay connected in the background, tap Allow unrestricted battery use, then Allow in the system dialog.
The screen says Battery optimisation is off for Tether. Tap Continue.
-
On a Samsung phone, the wizard now shows One more step on Samsung. Follow the four lines on the screen: open the phone’s Settings → Battery → Background usage limits → Never sleeping apps, tap +, select Tetheron and tap Add. Return to the app and tap Continue. Other phones do not show this screen.
-
On Messages and contacts, tap Skip for now. Do the same on Photos and files and on Calls.
The wizard shows Find your PC, with a Scan QR button.
4. Pair by QR code
-
On the desktop, in the Tetheron window, click Show pairing QR….
A Pair by QR dialog opens with a QR code. Below it, the dialog says Valid for 5 minutes. Keep this window open while scanning.
-
On the phone, tap Scan QR. Allow the app to use the camera when Android asks, and point the camera at the code on the desktop’s screen.
The phone shows Paired with followed by the name of your desktop. The desktop shows the same message with the phone’s name, and the phone appears in the sidebar of the window.
-
On the phone, tap Continue.
-
On Register … as a companion, tap Register companion device and tap Allow in the system dialog. On some phones the screen says that the step is skipped and offers only Continue. Tap that.
-
On You’re all set, tap Open Tether.
The phone shows the app’s home screen. Under Paired PCs, the card for your desktop says Connected. A silent Connected to notification stays in the phone’s notification shade for as long as the link is up.
-
On the desktop, click the phone in the sidebar.
The Overview tab shows the phone’s battery level and, further down, a Notifications group.
5. See a notification arrive
-
Ask someone to send you a message in a chat app, or send one to yourself from another device.
-
Watch the desktop.
Within about a second, a desktop notification pops up with the sender and the text. The same notification appears as a row in the Notifications group on the Overview tab.
6. Reply to it, then dismiss it
-
In the Notifications group, type a short answer into the reply field of the row and click the Send reply button next to it.
The window shows Reply sent. On the phone, the chat app sends your answer as if you had typed it into the notification there.
-
Click the Dismiss on phone button of the row.
The row disappears from the desktop, and the notification disappears from the phone’s notification shade.
From now on the phone reconnects by itself when it comes back to the network, after a restart of either device, and when you log in to the desktop.
Where to go next
- Mirror your phone screen, the second tutorial. USB debugging is already on, so its steps 2 and 3 are done.
- Grant Android permissions to switch on what we skipped: messages, contacts, photos and calls.
- Security model for what pairing protects you from.