Skip to content

Execute a script in /sdcard location on termux via adb without physical access to remote android device #3249

Closed Answered by agnostic-apollo
tathastu871 asked this question in Q&A
Discussion options

You must be logged in to vote

The adb shell user does not request RUN_COMMAND permission, so it cannot send RUN_COMMAND intents. You could use run-as command over adb if using github debug builds (not F-Droid) or if you have rooted your device, then can send intent with su inside the adb shell.

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@tathastu871
Comment options

@agnostic-apollo
Comment options

@tathastu871
Comment options

@agnostic-apollo
Comment options

Answer selected by agnostic-apollo
Comment options

You must be logged in to vote
3 replies
@agnostic-apollo
Comment options

@tathastu871
Comment options

@agnostic-apollo
Comment options

Comment options

You must be logged in to vote
1 reply
@agnostic-apollo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants