Can I run my binary executable file or script bash file on a non-rooted device? I have a small script like this:
#helloworld.sh
echo "hello world"
I saved it in /sdcard
and try to run, but i got "Permission denied". I have researched, the reason is Execute permissions on the SDCard
is blocked.
Is it possible to run? How can I do that without SU
command? I think it is very helpful if somehow can execute any script file.
adb shell
) and trychmod 777 /path/to/helloworld.sh
. I'm not sure if you can do that on a non-rooted device