Manual device matrix for Milestone 2 (messages, contacts, media, DND, ring,
connectivity, clipboard, files, photos) plus the pairing/disconnect fixes from
ADR-0012. Run it on the real phone after every integration build; tick the
boxes in the “M2 status” section of docs/roadmap.md when done.
Setup: debug daemon (systemctl --user stop tetherd; RUST_LOG=info,tether=debug ./target/debug/tetherd) or the installed .deb; latest debug APK installed
(adb install -r), phone and desktop paired and connected (tether-cli devices). adb logcat -v time | grep -E "Tether\." in a second terminal.
# Step Expect
C1 Desktop: tether-cli disconnect <id> (or GTK Disconnect) Both sides show disconnected; phone does not redial for ≥ 2 min; desktop Held = true
C2 Desktop: tether-cli connect <id> Reconnects within 5 s; Held = false
C3 Phone: tap Disconnect on the desktop card Desktop drops, shows “Disconnected — press Connect”; desktop does not redial; phone card says “Disconnected by you”
C4 Phone: tap Connect Reconnects
C5 Phone: Unpair while connected Desktop drops to “Available to pair” with no flicker, no reconnect loop in journalctl --user -u tetherd
C6 Desktop: Unpair while the phone is offline (airplane mode), then bring the phone back Phone receives Unpair on first contact, shows the desktop as unpaired; no loop
C7 Re-pair right after C5/C6 (SAS path) SAS visible on both sides, matches; after confirm the GTK page shows Disconnect/Unpair
C8 QR path: tether-cli qr and scan with the app (or adb shell am start -a android.intent.action.VIEW -d '<uri>') Pairs with no SAS prompt on either side
C9 Restart tetherd while connected Phone reconnects; GTK pages re-bind (SAS/Disconnect state correct)
C10 Reboot the phone (adb reboot) without opening the app Service starts (BootReceiver), reconnects within 60 s
# Step Expect
M1 First connect after install tether-cli conversations <id> lists threads matching the phone’s Messages app order; sync progresses in the log; thread count equals adb shell content query --uri content://mms-sms/conversations?simple=true row count
M2 tether-cli messages <id> <thread>Newest messages first; bodies, dates and direction match the phone
M3 Receive an SMS from another phone MessageAdded within 2 s; desktop notification with sender name; GTK thread moves to top with unread badge
M4 Send an SMS from GTK (and tether-cli send) Appears as pending, then sent; the phone’s Messages app shows it; MessageSendResult ok
M5 Receive an MMS with an image Thread shows the image thumbnail; opening fetches the full part (AttachmentReady)
M6 Send an MMS with an image from GTK Delivered on the recipient; or a clear “MMS not supported” error if the PDU path is not shipped
M7 Dual SIM (if available) SIM selector in the composer; sub_id honoured
M8 Contact names and photos Threads show names and avatars for numbers that exist in Contacts; tether-cli contacts <id> count equals the phone’s contact count
# Step Expect
D1 Play Spotify/YouTube Music on the phone GTK now-playing card updates with art; playerctl -l lists tether_<id8>; media keys on the keyboard pause/resume the phone
D2 tether-cli media <id> nextTrack changes on the phone
D3 Volume slider in GTK Phone media volume changes; phone volume keys move the slider
D4 Toggle DND in GTK Phone DND icon changes; toggling on the phone updates GTK
D5 Ring phone with the phone on silent and screen off Rings loudly with vibration, full-screen Stop activity; Stop ends it; 60 s auto-stop
D6 Header Carrier name, signal bars, Wi-Fi SSID (needs location permission) and airplane mode reflect the phone within 10 s
# Step Expect
K1 Copy text on the desktop (X11) Phone clipboard has it (paste in any app)
K2 Phone: Quick Settings “Send clipboard” tile Desktop clipboard has it (GTK app running); on Wayland a notification with Copy appears if the window is unfocused
K3 Phone: share a URL to Tether Opens in the desktop browser
F1 Drag 3 files onto the device page Files appear in Downloads/Tether/ on the phone; progress in the Files tab
F2 Phone: share 3 photos to Tether Files land in ~/Downloads/Tether/; desktop notification with Open folder
F3 Cancel a large transfer mid-way Partial file removed on the receiver; both UIs show cancelled
P1 Photos tab Thumbnails load lazily; scrolling pages further; Screenshots tab filters
P2 Drag a photo from Photos to Nemo Full-resolution file lands in the folder
P3 Delete a photo from the desktop Confirmation dialog; phone asks to confirm (or deletes directly with all-files access); grid updates
P4 Take a photo on the phone MediaChanged → new item appears on refresh
# Step Expect
W1 GNOME Wayland session Notifications, tray (AppIndicator extension), app renders; clipboard limitations as documented
W2 Second desktop paired to the same phone Both receive messages; media commands from either work