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

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 sudo on the desktop.

1. Install Tetheron on the desktop

  1. 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 with tether-android- and ends with .apk. The browser saves them to ~/Downloads.

  2. Open a terminal and install the package:

    cd ~/Downloads
    sudo apt install ./tether_*_amd64.deb
    

    apt lists the packages it adds and asks you to confirm. Near the end of its output you see two lines that start with tether:.

  3. Start the daemon, the background service that talks to the phone:

    systemctl --user daemon-reload
    systemctl --user enable --now tetherd.service
    

    The commands print nothing when they succeed.

  4. Allow Tetheron through the firewall:

    sudo ufw allow Tether
    sudo ufw allow mdns
    

    Each command answers with Rules updated or Rule added. If the terminal says ufw: command not found, your desktop has no ufw firewall and there is nothing to allow. Go on.

  5. 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.

  1. 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.

  2. Open Settings → Developer options, switch USB debugging on and confirm the phone’s question.

    The switch stays on.

  3. Connect the phone to the desktop with the USB cable and unlock the phone.

  4. In the terminal on the desktop, run:

    adb devices
    

    The 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 be device.

  5. Install the app:

    adb install tether-android-*.apk
    

    After a few seconds the command prints Success. If the phone asks about scanning or blocking the app, choose to install it.

  6. 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.

  1. Tap Get started.

  2. On Show a status notification, tap Allow notifications, then Allow in the system dialog.

    The screen says Granted. Tap Continue.

  3. 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.

  4. If Android refuses and shows a Restricted setting message, lift the restriction and try again. Otherwise go to step 5.

    1. Open the phone’s Settings → Apps → Tetheron.
    2. Tap the ⋮ menu in the top-right corner.
    3. Choose Allow restricted settings and confirm with your PIN or fingerprint.
    4. Go back to the app and tap Open notification access settings again. Tap Tetheron, switch it on and confirm the warning.

  5. Go back to the app.

    The screen says Notification access is on. Tap Continue.

  6. 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.

  7. 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.

  8. 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

  1. 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.

  2. 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.

  3. On the phone, tap Continue.

  4. 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.

  5. 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.

  6. 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

  1. Ask someone to send you a message in a chat app, or send one to yourself from another device.

  2. 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

  1. 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.

  2. 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