ShellMS
ShellMS copied to clipboard
Failure calling service activity
Since a recent upgrade of Android (Android 10), the code is no longer working. When issuing the command from the command line in the smartphone:
am startservice --user 0 -n com.android.shellms/.sendSMS -e contact $phonenumber -e msg "$message"
I get as error "cmd: Failure calling service activity: Failed transaction (2147483646)" on the command line.
I log in into the phone not with adb, which is not allowed by other apps for security reasons but with ssh.
It seems to be a problem of permissions, perhaps related to SELinux. Since my phone is not rooted, I cannot issue the command as super user and I cannot enforce SELinux into permissive mode.