Monday, May 2, 2016

[HOW-TO][TASKER][ROOT][5.0/6.0+] Turn Data On/Off with Shell Command in Tasker

Hello friends;

If you have problem with toggle data in Tasker with Marshmallow, use these commands below.
I tested on HTC M8 Sense 7 Marshmallow(Rooted)

In tasker run these codes in run shell:
Tick "Use Root" in run shell.


To enable :

Code:
setenforce permissive;
svc data enable;
setenforce enforcing


To disable :

Code:
setenforce permissive;
svc data disable;
setenforce enforcing


from xda-developers http://ift.tt/1UrvAEr
via IFTTT

No comments:

Post a Comment