Page 1 of 2

Reboot & Power off

Posted: 07 Jul 2013 13:31
by ahmadmll
hi friends
how can i reboot Or power off the phone by actions?

Re: Reboot & Power off

Posted: 07 Jul 2013 15:39
by pat2net
Is your phone rooted?

Re: Reboot & Power off

Posted: 07 Jul 2013 16:03
by ahmadmll
yes

Re: Reboot & Power off

Posted: 07 Jul 2013 16:28
by pat2net
Great you have many choice. First you must activate the root functions in the setting menu of automagic.
After you can make a flow with the action reboot or shutdown. You could add a shortcut to your flow to start the action.

You can also use the action execute root command and use the reboot command or reboot -p to shutdown see the help (?). If you need help to make a flow and shortcut just tell me.

Re: Reboot & Power off

Posted: 07 Jul 2013 18:06
by ahmadmll
tanx my friend!!!!!!!!!!!!!!!!!!!!!!!!
i love u
:D

Re: Reboot & Power off

Posted: 07 Jul 2013 18:16
by ahmadmll
how can i learn this root command?
can we use them foe enable gps without question (agree or not)?

Re: Reboot & Power off

Posted: 07 Jul 2013 20:37
by pat2net
Shure, you can use the the action "set GPS state" on or off. I use this to enable the GPS when i use some application and to disable the GPS when the app close. I can send you the flows if you want.

For use the execute root command I don't really use it but you can have more info in this topics:

http://automagic4android.com/forum/view ... f=5&t=1825

Re: Reboot & Power off

Posted: 07 Jul 2013 21:08
by ahmadmll
I use gps state,but it dont work anythin
(my android is 4.0.1-xperia p)
Please send your flow to i test it

Re: Reboot & Power off

Posted: 07 Jul 2013 21:25
by pat2net
I don't think it will help you. The flow is simple. You must put the app you want in the trigger.

http://automagic4android.com/flow.php?i ... b670335082

Re: Reboot & Power off

Posted: 08 Jul 2013 11:07
by ahmadmll
Did not work in my phone