• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Mobile data switched on during phone ringing

I have been using True Caller app for recognizing unknown number but it require mobile data connection. So i need a tasker profile to switched on the mobile data during phone ringing and switched off after the call end. I am using android lollipop and my device is rooted. I am completely new to tasker. So detailed breakdown help is much appreciated.
 
Welcome to Android Forums.

What phone do you have and what carrier are you using? Does the carrier support simultaneous talk and data on your phone?

... Thom
 
Welcome to Android Forums.

What phone do you have and what carrier are you using? Does the carrier support simultaneous talk and data on your phone?

... Thom
I am using moto G first gen and yes my carrier support simultaneous talk and data.
 
That being the case ... why sin't Data just left on and you do what you want without intervention?

If the question is toggling Data ... you can do that with Tasker if root-ed.

(I am not root-ed and cannot verify anything that requires root.)

... Thom
 
Create a new profile to respond to phone ringing
(in profile tab press +....event - phone ringing)

for the associated task, there is only one action: run shell svc data enable
in other words: select "run shell", in the command block type "svc data enable" (no quotes), and check the box "use root"

If that doesn't work, try this instead (three actions)
run shell setenforce permissive
run shell svc data enable
run shell setenforce enforcing​
(all three with root checked).

If you should have need to turn off data at some point, it's the same except enable changes to disable.
 
Last edited:
Back
Top Bottom