I have created one C binary named "SocketServer" for android. I pushed the binary into my rooted android phone's /data/local/tmp directory using
adb shell push SocketServer /data/local/tmp/
I have given permission to the exe using
adb shell chmod 0777 /data/local/tmp/SocketServer
Now i want to run this SocketServer executable using a C program running in a windows PC. Need help..
If
/data/local/tmpis not mountednoexec(which it most likely is), you can run it using:Note that
chmod 777is always a bad idea though, and only Ubuntu people do that…