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

ADR-0011: SMS: Tether is a non-default SMS app

  • Status: accepted
  • Date: 2026-11-08
  • Deciders: maintainer, after the November 2026 research round
  • Tags: android, messages

Context

Phone Link shows the phone’s SMS/MMS threads on the PC and sends replies, while the phone keeps using its own Messages app (Samsung Messages or Google Messages, including RCS). It is not the default SMS app on the phone. Android’s SMS model since 4.4 (KitKat):

  • Any app with READ_SMS can read the SMS/MMS content providers (Telephony.Sms, Telephony.Mms, Telephony.Threads) and watch them with a ContentObserver; RECEIVE_SMS/RECEIVE_MMS/RECEIVE_WAP_PUSH deliver incoming messages as broadcasts to non-default apps too (after the default app).
  • SmsManager.sendTextMessage/sendMultipartTextMessage works from any app with SEND_SMS, and the system writes the sent SMS into the provider on the app’s behalf so it appears in the default Messages app.
  • Only the default SMS app may write to the providers directly: mark as read, delete, create drafts, change thread state, or store received/sent MMS. A non-default app sending MMS via SmsManager.sendMultimediaMessage must build the PDU itself and the sent MMS is not reliably recorded in the provider on all devices.
  • Becoming the default SMS app means replacing the user’s Messages app on the phone with ours, losing RCS (no third-party RCS API exists; Google Messages and Samsung Messages implement RCS privately) and committing to a full phone-side messaging UI. Android does allow a temporary default switch (RoleManager/ACTION_CHANGE_DEFAULT prompt), which some backup apps use to perform writes and then switch back; it is a jarring two-prompt flow.

Phone Link’s known limitations here (read state not synced back to the phone, no delete from PC on most phones, RCS only on Samsung via a partnership) are consequences of exactly this model.

Decision

  • Tether on Android is a non-default SMS app. It requests READ_SMS, SEND_SMS, RECEIVE_SMS, RECEIVE_MMS, RECEIVE_WAP_PUSH, READ_CONTACTS, READ_PHONE_STATE (SIM info) at runtime in M2 onboarding.
  • It reads threads and messages from the providers with a ContentObserver for live updates, sends SMS with SmsManager (multipart, per-SIM subscriptionId), and sends MMS by building the PDU (Klinker android-smsmms, Apache-2.0, or our own encoder) and sendMultimediaMessage, recording sent MMS in Tether’s own cache when the provider does not.
  • It does not mark as read, delete or draft on the phone; the desktop keeps its own read state and unread counts per device. The desktop UI says so in the thread view (“Read status is not synced to the phone”).
  • RCS is out of scope for the Messages feature (no public API). RCS conversations still reach the desktop as notifications with inline reply via the notifications feature, which is what Phone Link offers on non-Samsung phones.
  • A later ADR may add an optional “temporary default” flow for delete if users ask; it is not planned.

Consequences

Positive

  • The user keeps their Messages app, RCS, spam filtering and backups untouched.
  • Scope stays bounded: no phone-side messaging UI, no MMS receiving/storing pipeline beyond reading what the default app stores.
  • Same model and the same limits as Phone Link, so parity expectations are met rather than exceeded in confusing ways.

Negative / risks

  • Read state and deletions do not propagate to the phone. Documented gap.
  • MMS sending from a non-default app is the least-tested path on OEM firmware; carrier APN settings must be read (Telephony.Carriers, needs READ_PRIVILEGED_PHONE_STATE on some versions, which we lack) or obtained via SmsManager.getCarrierConfigValues. Mitigation: M2 verification on a real carrier; fall back to “open on phone” if MMS send fails.
  • The SMS permission group triggers Android’s “this app wants to read your messages” prompt; fine for sideload (ADR-0008).
  • Dual-SIM handling depends on READ_PHONE_STATE for SubscriptionManager. Accepted.

Alternatives considered

  • Become the default SMS app: full phone-side messaging UI, loss of RCS, user disruption. Rejected.
  • Temporary default switch for writes: two prompts per delete, confusing; deferred unless demanded.
  • Notification-only messaging (reply via notification actions, no history): insufficient parity; it is already what the M1 notification feature gives, and M2 adds history on top.
  • Read SMS via the notification listener only: misses history and attachments. Rejected.