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 2 verification checklist

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.

Connection (ADR-0012)

#StepExpect
C1Desktop: tether-cli disconnect <id> (or GTK Disconnect)Both sides show disconnected; phone does not redial for ≥ 2 min; desktop Held = true
C2Desktop: tether-cli connect <id>Reconnects within 5 s; Held = false
C3Phone: tap Disconnect on the desktop cardDesktop drops, shows “Disconnected — press Connect”; desktop does not redial; phone card says “Disconnected by you”
C4Phone: tap ConnectReconnects
C5Phone: Unpair while connectedDesktop drops to “Available to pair” with no flicker, no reconnect loop in journalctl --user -u tetherd
C6Desktop: Unpair while the phone is offline (airplane mode), then bring the phone backPhone receives Unpair on first contact, shows the desktop as unpaired; no loop
C7Re-pair right after C5/C6 (SAS path)SAS visible on both sides, matches; after confirm the GTK page shows Disconnect/Unpair
C8QR 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
C9Restart tetherd while connectedPhone reconnects; GTK pages re-bind (SAS/Disconnect state correct)
C10Reboot the phone (adb reboot) without opening the appService starts (BootReceiver), reconnects within 60 s

Messages

#StepExpect
M1First connect after installtether-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
M2tether-cli messages <id> <thread>Newest messages first; bodies, dates and direction match the phone
M3Receive an SMS from another phoneMessageAdded within 2 s; desktop notification with sender name; GTK thread moves to top with unread badge
M4Send an SMS from GTK (and tether-cli send)Appears as pending, then sent; the phone’s Messages app shows it; MessageSendResult ok
M5Receive an MMS with an imageThread shows the image thumbnail; opening fetches the full part (AttachmentReady)
M6Send an MMS with an image from GTKDelivered on the recipient; or a clear “MMS not supported” error if the PDU path is not shipped
M7Dual SIM (if available)SIM selector in the composer; sub_id honoured
M8Contact names and photosThreads show names and avatars for numbers that exist in Contacts; tether-cli contacts <id> count equals the phone’s contact count

Media, DND, ring, connectivity

#StepExpect
D1Play Spotify/YouTube Music on the phoneGTK now-playing card updates with art; playerctl -l lists tether_<id8>; media keys on the keyboard pause/resume the phone
D2tether-cli media <id> nextTrack changes on the phone
D3Volume slider in GTKPhone media volume changes; phone volume keys move the slider
D4Toggle DND in GTKPhone DND icon changes; toggling on the phone updates GTK
D5Ring phone with the phone on silent and screen offRings loudly with vibration, full-screen Stop activity; Stop ends it; 60 s auto-stop
D6HeaderCarrier name, signal bars, Wi-Fi SSID (needs location permission) and airplane mode reflect the phone within 10 s

Clipboard, files, photos

#StepExpect
K1Copy text on the desktop (X11)Phone clipboard has it (paste in any app)
K2Phone: Quick Settings “Send clipboard” tileDesktop clipboard has it (GTK app running); on Wayland a notification with Copy appears if the window is unfocused
K3Phone: share a URL to TetherOpens in the desktop browser
F1Drag 3 files onto the device pageFiles appear in Downloads/Tether/ on the phone; progress in the Files tab
F2Phone: share 3 photos to TetherFiles land in ~/Downloads/Tether/; desktop notification with Open folder
F3Cancel a large transfer mid-wayPartial file removed on the receiver; both UIs show cancelled
P1Photos tabThumbnails load lazily; scrolling pages further; Screenshots tab filters
P2Drag a photo from Photos to NemoFull-resolution file lands in the folder
P3Delete a photo from the desktopConfirmation dialog; phone asks to confirm (or deletes directly with all-files access); grid updates
P4Take a photo on the phoneMediaChanged → new item appears on refresh

Multi-desktop / Wayland (pending from M1)

#StepExpect
W1GNOME Wayland sessionNotifications, tray (AppIndicator extension), app renders; clipboard limitations as documented
W2Second desktop paired to the same phoneBoth receive messages; media commands from either work