Endercraft
Moderator (& bug finder :D)
Try running command with Termux instead (find it on F-Droid.
I'm sorry but I'm afraid this is not allowed to me, because it is a company held phone, and we are not supposed to install apps not coming from play.store.Try running command with Termux instead (find it on F-Droid.
It's also available on the play store but it has less capacibilities.
OK, my Galaxy is connected to my Linux workstation.As long as you run them on your device..
chmod 777 _MyDir
chmod: changing permissions of '_MyDir': Operation not supported
mkdir -p "target directory full path"
cp -f "file in source directory" "full path of target file in target directory"
Seems like your file system doesn't support changing permissions - I have the same result.
If you could use files inside MacroDroid's data everything would be easier because it would be owner of its own files.
If you could use files inside MacroDroid's data everything would be easier
I wonder if playing copied file stored inside a folder created by MD would work?
Code:mkdir -p "target directory full path" cp -f "file in source directory" "full path of target file in target directory"
Run the command with the helper app. Then, play the target file with play sound action.
echo ok
command with helper (don't open helper first!!). If it doesn't work then it isn't running.I meant if you only need files in MacroDroid you could make some sort of storage inside MacroDroid's data files and use them here. But that would be only for specific casesWhat do you mean by:
(quote)
If timeout doesn't that mean helper isn't running ? Try this simpleecho ok
command with helper (don't open helper first!!). If it doesn't work then it isn't running.
Don't worry @Dimlos the only thing is missing in my Macro is using a random file in my morning alarm.I'd like to share a guess that @LinerSeven and I talked about this in another community.
I think @iwally device is access restricted by the administrator and the normal approach cannot solve the problem.
I also tried to verify with Test DPC using Galaxy, but I am not familiar with Test DPC and could not reproduce the phenomenon.
My personal opinion is that if you want to use MacroDroid without any restrictions, you should prepare another device for private use.
Since I tested with helper in foreground it seems to be working.So your problem isn't file permissions then, it's just that you have a helper problem. That may not be noticeable at first but if it always timeouts then there is a problem with helper itself.
Try running the shell script with MD helper open in foreground to see if that works. If nothing happens then you should reinstall MD helper and if that doesn't work do the same for MacroDroid itself.
I posted a sample macro in the previous thread that allows random file playback.Don't worry @Dimlos the only thing is missing in my Macro is using a random file in my morning alarm.