On Sep 8, 2:48 pm, Naseer <
naseer.ah...@gmail.com> wrote:
> This used to work -
> adb shell am start -a android.intent.action.CALL tel:1234
> However, now I get this error -
> cmp=com.android.phone/.OutgoingCallBroadcaster } from null (pid=-1,
> uid=-1) requires android.permission.CALL_PHONE
> Is there a workaround for this ?
I would guess that if you made an application with this permission,
that installed a command line executable that was setuid to itself
somewhere where the adb shell could execute it, you could delegate the
task to it. The more android-style way to do it would probably be to
make an app with this permission containing an activity that would
launch on a custom intent and send that intent from the command line?