Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


peejayw

1913 posts

Uber Geek
+1 received by user: 123


#193556 15-Mar-2016 08:17
Send private message

I need to automate a process as follows.....

 

 

 

At Home, switch 2g on, wifi on.

 

Leave Home, switch 3g/4g on, wifi off.

 

Tasker and others will do the wifi on/off but I cant find a way of switching between 2g and 3g/4g.

 

 

 

Any suggestions?





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic

Stu

Stu
Hammered
8737 posts

Uber Geek
+1 received by user: 2390

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1513470 15-Mar-2016 08:22
Send private message

What android version? I believe Lollipop and above are going to give you grief switching mobile data.




People often mistake me for an adult because of my age.

 

Keep calm, and carry on posting.

 

Referral Links: Sharesies

 

Are you happy with what you get from Geekzone? If so, please consider supporting us by subscribing.

 

No matter where you go, there you are.




peejayw

1913 posts

Uber Geek
+1 received by user: 123


  #1513477 15-Mar-2016 08:36
Send private message

6.01 I dont want to switch mobile data as such, I want to switch the radio between 2g and 3 or 4g.

 

Settings/More/Mobile Networks/Preferred Network Type.

 

 





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


stevenz
2802 posts

Uber Geek
+1 received by user: 125


  #1513479 15-Mar-2016 08:37
Send private message

Yeah, without root access + the Secure Settings plugin you can forget it unfortunately, which is super annoying. Thanks Google.

 

 







peejayw

1913 posts

Uber Geek
+1 received by user: 123


  #1513480 15-Mar-2016 08:40
Send private message

I am not opposed to rooting so will I be able to do what I want with Tasker and Secure Settings and Root?





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Stu

Stu
Hammered
8737 posts

Uber Geek
+1 received by user: 2390

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1513482 15-Mar-2016 08:44
Send private message

That would be the only option that *may* work. Without root I don't think there's a way. I haven't seen the setting in the Secure Settings plug-in, but I don't have root access on the S7 to try it out anyway.

Good luck!




People often mistake me for an adult because of my age.

 

Keep calm, and carry on posting.

 

Referral Links: Sharesies

 

Are you happy with what you get from Geekzone? If so, please consider supporting us by subscribing.

 

No matter where you go, there you are.


stevenz
2802 posts

Uber Geek
+1 received by user: 125


  #1513486 15-Mar-2016 08:56
Send private message

Tasker + Root + https://play.google.com/store/apps/details?id=com.cygery.togglenetworktype

 

You may also be able to do it with the Secure Settings plugin.

 

 





 
 
 
 

Shop now for Lenovo laptops and other devices (affiliate link).
peejayw

1913 posts

Uber Geek
+1 received by user: 123


  #1513490 15-Mar-2016 09:02
Send private message

That app looks good, may be on a mission here, thanks.smile





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


d3Xt3r
697 posts

Ultimate Geek
+1 received by user: 132

Trusted

  #1513506 15-Mar-2016 09:30
Send private message

If you'd like a non-root solution, try AutoInput - you can use it to simulate touch events to toggle 3G/4G.

Although I'd highly recommend rooting your device if you can - it just makes automation tasks so much more easier.


Stu

Stu
Hammered
8737 posts

Uber Geek
+1 received by user: 2390

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1513552 15-Mar-2016 10:16
Send private message

 Things used to be so much simpler before Lollipop! 





People often mistake me for an adult because of my age.

 

Keep calm, and carry on posting.

 

Referral Links: Sharesies

 

Are you happy with what you get from Geekzone? If so, please consider supporting us by subscribing.

 

No matter where you go, there you are.


toxicbubble
44 posts

Geek
+1 received by user: 13


  #1513728 15-Mar-2016 14:11
Send private message

Nobody's asked yet, but what are you trying to achieve with that Tasker profile? If you're trying to save battery, you probably wont notice much between switching from 3G/4G down to 2G because all the data will be going via wifi at home anyway. The radios sleep pretty well on most phones when they're not active. I used to run a profile like this on the old galaxy Nexus, and later on the Nexus 4 with root+secure settings as mentioned. It does work, but I personally found it didn't really save any battery, if anything the Tasker profile waking the phone up used more.

How are you planning on detecting location? If wifi is off, you need to do location based tracking to work out when to turn on wifi. If you use cell tower location, I believe that's still the lowest battery usage, but I found leaving wireless on again barely used much battery.

Something to think about anyway, it's a fun experiment getting it all going and encourage you to give it a go if you're interested in doing so; but don't expect it to magically give you much battery savings


peejayw

1913 posts

Uber Geek
+1 received by user: 123


  #1513750 15-Mar-2016 14:39
Send private message

I have no 3g or 4g reception at home, only 2g. When I leave home and wifi I want 3g or 4g on for data. Battery save is not the issue.




 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


 
 
 

Stream your favourite shows now on Apple TV (affiliate link).
d3Xt3r
697 posts

Ultimate Geek
+1 received by user: 132

Trusted

  #1513809 15-Mar-2016 16:11
Send private message

peejayw: I have no 3g or 4g reception at home, only 2g. When I leave home and wifi I want 3g or 4g on for data. Battery save is not the issue.

 

Your phone should automatically connect to 2G if you don't have any 3G or 4G reception. If it's not doing this already, you might need to set the preferred network type in your phone's service menu.

 

To access the service menu, dial *#*#4636#*#* -> Phone information -> Set preferred network type.

 

Select LTE/gsm auto(PRL) and press back till you exit the menu.

 

You might want to give the other options a try as well (eg: gsm auto (PRL)) and see if it works better.


peejayw

1913 posts

Uber Geek
+1 received by user: 123


  #1513849 15-Mar-2016 16:27
Send private message

Well its a little more complicated, didnt want to muddy the water with too much detail initially. I do get a strong (4 bars) signal on 3g but it will suddenly drop completely out and then back to full strength after a few minutes, so when you are on a phone call the call will drop, guaranteed. This is not a phone issue, it happens to everyone in the house. It happens if the phone is sitting stationary on my desk full signal one moment, zilch the next. I have monitored the connection and it doesn't decrease, it drops out totally.

 

If I use 2g it never drops but when I leave the house I need to have it back to 4g for fastest data connection as I need to remotely monitor some home devices. Invariably, after being away from home with 3/4g connected, I come home, take a call and have it drop because I have not switched it back to 2g, very annoying.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


timmmay
20857 posts

Uber Geek
+1 received by user: 5349

Trusted
Lifetime subscriber

  #1513885 15-Mar-2016 17:37
Send private message

Root + LLama + Secure Settings = simple win . I can't say 100% sure you can do 2G/3G/4G but anything you can do with secure settings you can do with Llama. It's also good on battery, can do cell tower location based ring profiles, switch phone to airplane mode at night, all kinds of stuff.


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.