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
-
The desktop package:
tether-cli --version -
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
-
The desktop: distribution and version, desktop environment, and session type. The session type is printed by:
echo $XDG_SESSION_TYPEThe answer is
x11orwayland. Several features behave differently on the two. -
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.
-
Reproduce the problem and note the time.
-
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.
-
Connect the phone so that
adb deviceslists it. -
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.keyor any other file from the data directory. The key is this desktop’s identity.
File the issue
-
Open a new issue and choose Bug report.
-
Fill in the form:
Field What to enter What happened What you did, what you expected, and what happened instead Steps to reproduce Numbered steps from a known state, such as “phone paired and connected” Area The feature the problem belongs to Tether versions Both versions from above Desktop Distribution, desktop environment, X11 or Wayland Phone Model, Android version, manufacturer’s version Logs The cleaned logs -
Say how often the problem occurs: every time, sometimes, or once.
-
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.