Skip to content

Advanced Android Telecom Commands


Dump default dialer

adb shell telecom get-system-dialer
adb shell telecom get-default-dialer

Dump simcards slots

adb shell telecom get-max-phones

Enable a Phone Account

adb shell telecom set-phone-account-enabled com.example.telecom 1234567890 user123

Disable a Phone Account

adb shell telecom set-phone-account-disabled com.example.telecom 1234567890 user123

Register a Phone Account with a Label

adb shell telecom register-phone-account com.example.telecom 1234567890 user123 "Work"

Register a SIM Phone Account with Optional Capabilities

adb shell telecom register-sim-phone-account -e com.example.telecom 1234567890 user123 "Personal"

Set a User-Selected Outgoing Phone Account with Optional Capabilities

adb shell telecom set-user-selected-outgoing-phone-account -e com.example.telecom 1234567890 user123

Set a Test Call Redirection App

adb shell telecom set-test-call-redirection-app com.example.callredirection

Set a Test Call Screening App

adb shell telecom set-test-call-screening-app com.example.callscreening

Set a Phone Account Suggestion Component

adb shell telecom set-phone-acct-suggestion-component com.example.suggestion

Add or Remove a Call Companion App

adb shell telecom add-or-remove-call-companion-app com.example.companion 1

Register a SIM Phone Account with an Address

adb shell telecom register-sim-phone-account com.example.telecom 1234567890 user123 "Home" "123 Main St"

Unregister a Phone Account

adb shell telecom unregister-phone-account com.example.telecom 1234567890 user123

Set a Call Diagnostic Service

adb shell telecom set-call-diagnostic-service com.example.diagnostic

Set a Default Dialer

adb shell telecom set-default-dialer com.example.dialer

Get the Default Dialer

adb shell telecom get-default-dialer

Get the System Dialer

adb shell telecom get-system-dialer

Wait for Handlers to Finish

adb shell telecom wait-on-handlers

Set the SIM Count

adb shell telecom set-sim-count 2

Get the SIM Configuration

adb shell telecom get-sim-config

Get the Maximum Number of Phones

adb shell telecom get-max-phones

Stop Suppressing the Blocked Number Provider after a Call to Emergency Services

adb shell telecom stop-block-suppression

Clear Any Disconnected Calls that have Gotten Wedged in Telecom

adb shell telecom cleanup-stuck-calls

Remove Any Orphaned Phone Accounts that No Longer have a Valid UserHandle or Belong to an Installed Package

adb shell telecom cleanup-orphan-phone-accounts

Set the Emergency Phone Account Filter to a Specific Package

adb shell telecom set-emer-phone-account-filter com.example.emergency

Override the Call Diagnostic Service

adb shell telecom set-call-diagnostic-service com.example.diagnostic

Set the Default Dialer

adb shell telecom set-default-dialer com.example.dialer

Get the Current Default Dialer

adb shell telecom get-default-dialer

Get the Current System Dialer

adb shell telecom get-system-dialer

Set the System Dialer Override to a Specific Component

adb shell telecom set-system-dialer com.example.systemdialer

Wait until All Handlers Finish their Work

adb shell telecom wait-on-handlers

Set the Number of SIMs (2 for DSDS, 1 for Single SIM)

adb shell telecom set-sim-count

Get the mSIM Config String. "DSDS" for DSDS mode, or "" for Single SIM

adb shell telecom get-sim-config

Get the Maximum Supported Phones from the Modem

adb shell telecom get-max-phones

Set a Package Name for the Test Emergency Phone Account Package Filter

adb shell telecom set-test-emergency-phone-account-package-filter com.example.testemergency

Emit a Message into the Telecom Logs

adb shell telecom log-mark "Test step completed"