Search code examples
androidadb

Adb command for call sim2


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


Solution

  • 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.