Home > Software design >  Adb command for call sim2
Adb command for call sim2

Time:01-27

I want to call by sim2 using adb command (Dual sim state)

This is call using adb command but default call is only sim1

adb shell am start -a android.intent.action.CALL -d 123-4567

Is there an adb command to change the default call in a dual sim situation?

call by sim2 setting using adb command

CodePudding user response:

You can use the sim_slot as follows :

adb shell am start -a android.intent.action.CALL -d tel:<phone_number> --es sim_slot "1"

Where "1" corresponds to SIM 2.

CodePudding user response:

To find out the current ID value run:

adb shell settings get global multi_sim_voice_call

Use this command to switch to the appropriate ID before calling:

adb shell settings put global multi_sim_voice_call <ID>
  • Related