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)
| # | Step | Expect |
|---|---|---|
| K1 | Call the phone from another phone | Banner + notification with Answer/Decline within ~1 s, ringtone on the PC, desktop media paused |
| K2 | Answer from the banner | Call active on the phone, in-call window with timer; audio on the phone |
| K3 | Mute / unmute, hang up from the PC | Phone mic mutes; call ends; log entry appears |
| K4 | Let a call ring out | “Missed call” notification with Call back; missed badge on the Calls tab |
| K5 | Decline from the notification | Caller hears rejection; not counted as missed |
| K6 | Dial from the Calls tab (a number you may call) | Phone places the call on the chosen SIM |
| K7 | Answer on the phone itself | Banner closes on the PC |
Bluetooth and call audio on the PC
| # | Step | Expect |
|---|---|---|
| B1 | rfkill list bluetooth unblocked, bluetoothctl show Powered: yes | Preconditions |
| B2 | Calls 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 |
| B3 | Incoming call → Answer on PC | tether-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 |
| B4 | Switch audio PC → Phone → Speaker → PC in the in-call window | Audio 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 |
| B5 | After hang-up | Previous audio profile and default devices restored; earbuds still work |
| B6 | If audio stays on the phone | HFP 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" |