execute ussd from shell-script Every month I need to execute USSD-command. I want to automatize it. My idea is to write shell-script for SManager. I found two ways to make a call (tested from adb):

service call phone 2 s16 '*100#'


and

am start -a android.intent.action.CALL -d tel:*100#


But this commands call to *100# instead of execute ussd.

My Android is 4.2.2, rooted Cyanogen 10.1.3
replace # to %23, so:

service call phone 2 s16 '*100%23'


or

am start -a android.intent.action.CALL -d tel:*100%23