Skip to content

Failure calling service activity #31

@pierrefrancois

Description

@pierrefrancois

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions