I would like to execute a script at logout with my GS7 android 9 (Resurrection Remix). I see that it is advised to use tasker. I guess it is possible to do that without installing a graphical application.
I connect to the smartphone through adb and have a shell. Where can I write a file in the file system with bash or python commands that will be executed at logout ? Also, how should I manage the bash or python environment in order to have it working ?
Thanks for your time.
Asked by yoarch
(31 rep)
Dec 18, 2020, 10:55 AM
Last activity: Dec 20, 2020, 10:22 AM
Last activity: Dec 20, 2020, 10:22 AM