[ANSWERED] Uploading and running a test binary using sdb, possible?

[ANSWERED] Uploading and running a test binary using sdb, possible?

BY 21 Feb 2017 Native Application Development

Hi,

I know I can upload and download files using sdb. But is it possible to upload a test binary to the device, and run it from “sdb shell”? I have tried to do this, and upload the binary (to /tmp – that the reasonable place to try), and even after chmod +x and checking the permissions are correct, the binary still won’t run, not even under sdb shell.

Is this possible at all under Tizen (perhaps I choose the wrong directory? Perhaps it should be somewhere else, not in /tmp)? Or this is strictly forbidden an everything has to be uploaded under the auspices of a TPK? Inquiring mind wants to know.

PS: I have tried uploading a static binary, a shared binary, all results are the same. I know that Tizen implements SELinux and stuff but I’m not very clear on its policies of what are and aren’t allowed.

Thank you.

PS: Platform: Tizen 2.3.2, Device: Gear S3.

Written by