Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

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

$
0
0
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

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>