Run iPerf test from macro - permission denied

tomartinh

New member
I have compiled an Android binary for iperf3 and inserted it into the phone's directory /data/local/tmp and made it executable (777), when I run it via adb it works fine but when I try to run it from a Shell Script in my macro I get an error "can't execute: Permission denied". I have applied the adb hack but it still returns the error. Any ideas as to whether there is a way to do this? Or is there another way of running an iperf3 test autonomously from a macro. Thanks
 

Endercraft

Moderator (& bug finder :D)
I if remember correctly it doesn't work even with 777 because MacroDroid does not have execute permissions for the parent directory (here would be /data).
 

tomartinh

New member
I if remember correctly it doesn't work even with 777 because MacroDroid does not have execute permissions for the parent directory (here would be /data).
Thanks, that makes sense, any ideas if there's a directory where I can place the iPerf3 binary where macrodroid's shell script can run it?
 

Dimlos

Well-known member
I have confirmed that iperf3 can be used with Termux.
It will be possible to control it from MacroDroid by using Termux:Tasker.
 
Top