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

Milestone 3 verification checklist (calls)

Prerequisites: the M3 .deb installed (sudo apt install ./desktop/target/debian/tether_*.deb && systemctl --user restart tetherd), the M3 APK on the phone, call permissions granted:

for p in READ_PHONE_STATE ANSWER_PHONE_CALLS READ_CALL_LOG CALL_PHONE BLUETOOTH_CONNECT BLUETOOTH_ADVERTISE; do adb shell pm grant org.tether.android android.permission.$p; done
adb shell appops set org.tether.android MANAGE_ONGOING_CALLS allow   # one-time: binds the in-call service (per-call control, audio routing from the PC)

Watch: tether-cli watch, journalctl --user -fu tetherd, adb logcat -s Tether.Calls Tether.CallLog Tether.Bt.

Verified 2026-11-11 with the release daemon: capabilities negotiated (control: true dial: true), call log synced with contact names, Bluetooth state reported (unpaired).

Verified 2026-11-15 with a debug daemon and debug APK on the A55: B3 and B4 (incoming and outgoing calls, two-way audio on the PC’s speakers and microphone without echo, This PC / Phone / Speaker switching). Background and diagnosis recipe: docs/notes/2026-11-15-call-audio-spike.md.

Call control (no Bluetooth needed)

#StepExpect
K1Call the phone from another phoneBanner + notification with Answer/Decline within ~1 s, ringtone on the PC, desktop media paused
K2Answer from the bannerCall active on the phone, in-call window with timer; audio on the phone
K3Mute / unmute, hang up from the PCPhone mic mutes; call ends; log entry appears
K4Let a call ring out“Missed call” notification with Call back; missed badge on the Calls tab
K5Decline from the notificationCaller hears rejection; not counted as missed
K6Dial from the Calls tab (a number you may call)Phone places the call on the chosen SIM
K7Answer on the phone itselfBanner closes on the PC

Bluetooth and call audio on the PC

#StepExpect
B1rfkill list bluetooth unblocked, bluetoothctl show Powered: yesPreconditions
B2Calls tab → Set up call audio (or tether-cli bt <id> pair)Stages discovering → confirm with a 6-digit code shown on both PC and phone → connecting → done; tether-cli bt <id> says connected
B3Incoming call → Answer on PCtether-cli calls <id> shows audio: pc; two-way audio through PC speakers/mic; pw-link -l | grep bluez shows the links; a few seconds in, journalctl --user -u tetherd says echo canceller started and the caller does not hear themselves
B4Switch audio PC → Phone → Speaker → PC in the in-call windowAudio moves and the selected button follows (also when switched on the phone). Without the MANAGE_ONGOING_CALLS grant only Phone works (the PC closes the SCO link); Speaker/PC toast a reason
B5After hang-upPrevious audio profile and default devices restored; earbuds still work
B6If audio stays on the phoneHFP nodes exist only while the phone holds SCO open: pw-dump | grep -c headset-audio-gateway during the call. Note the phone card’s profiles: pw-dump | jq '.[]|select(.info.props."device.api"=="bluez5")|.info.params.EnumProfile[].name'; check journalctl --user -u tetherd | grep -E "HFP|call audio"