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

Report a bug

A maintainer needs the versions, a description of both devices and the logs to reproduce a problem. Collect them, remove personal data, then file the issue.

Important

Do not file a security problem in the public tracker. Anything that could let someone read or inject phone data, pair without consent, or run code on either device goes through the private process in SECURITY.md: on the repository page, Security → Report a vulnerability.

Before you begin

  • Look for the symptom in Troubleshoot.
  • Check that both devices run the latest release. Fixes are made for the latest release only.
  • Search the existing issues for the same problem.

Collect the versions

  1. The desktop package:

    tether-cli --version
    
  2. The phone app: open it, tap the Settings icon and read the last line of the screen. The phone’s Settings → Apps → Tetheron (Tether in 0.4.1 and earlier) shows the same version.

Both should be the same release.

Describe the two devices

  1. The desktop: distribution and version, desktop environment, and session type. The session type is printed by:

    echo $XDG_SESSION_TYPE
    

    The answer is x11 or wayland. Several features behave differently on the two.

  2. The phone: model, Android version and the manufacturer’s version of Android (for example One UI and its version). Find them in the phone’s Settings → About phone.

Collect the daemon’s log

The daemon writes its log to the journal of your user session.

  1. Reproduce the problem and note the time.

  2. Save the log of the last ten minutes to a file. Change the time span so that it covers the moment of the problem.

    journalctl --user -u tetherd.service --since "10 minutes ago" > tetherd.log
    

If the problem is in the desktop app’s window, also capture the app’s own log. Quit the app (Quit in the main menu or the tray menu), start it from a terminal, reproduce the problem and quit again:

RUST_LOG=tether=debug tether 2> tether-app.log

Collect the phone’s log

The phone app has no log export yet. Its log is read from the desktop over adb, which needs USB debugging or Wireless debugging switched on on the phone: see Install Tetheron on Android or Set up the enhanced tier. If you have not set this up, leave the phone’s log out and say so in the issue.

  1. Connect the phone so that adb devices lists it.

  2. Reproduce the problem, then save the app’s lines of the phone’s log:

    adb logcat -d -v time | grep -E "Tether\." > tether-phone.log
    

Remove personal data

Read the logs before you share them. Message text is kept out of the logs at the normal level, but names and identifiers do appear.

Open each file in a text editor and replace:

  • names of people and of your devices,
  • phone numbers and e-mail addresses,
  • text of messages and notifications, if any is present,
  • device ids (64 hexadecimal characters, usually shortened to the first eight) and adb serial numbers,
  • IP addresses, Wi-Fi network names and Bluetooth addresses,
  • file names and paths that reveal something about you.

Use a placeholder such as <phone-number-1>, and the same placeholder for the same value throughout, so that the log can still be followed. In screenshots, crop or blur names, numbers, messages, photos and notifications.

Warning

Do not attach ~/.local/share/tether/identity.key or any other file from the data directory. The key is this desktop’s identity.

File the issue

  1. Open a new issue and choose Bug report.

  2. Fill in the form:

    FieldWhat to enter
    What happenedWhat you did, what you expected, and what happened instead
    Steps to reproduceNumbered steps from a known state, such as “phone paired and connected”
    AreaThe feature the problem belongs to
    Tether versionsBoth versions from above
    DesktopDistribution, desktop environment, X11 or Wayland
    PhoneModel, Android version, manufacturer’s version
    LogsThe cleaned logs
  3. Say how often the problem occurs: every time, sometimes, or once.

  4. Submit the issue.

For a question or an idea, use the discussions. For a missing feature, check the feature list and the roadmap first. If it is not planned, choose Feature request in place of Bug report.