I know theres no possible way to do it with the stock rom but I'm running CM7 and i was wondering if theres a way to do it with Tasker on CM7.
myunitisz said:
I know theres no possible way to do it with the stock rom but I'm running CM7 and i was wondering if theres a way to do it with Tasker on CM7.
Click to expand...
Click to collapse
There is a setting on stock to only use 2g...not sure what tasker is but there is also a setting in CPU Tuner that allows you to define which networks you connect to.
kenvan19 said:
There is a setting on stock to only use 2g...not sure what tasker is but there is also a setting in CPU Tuner that allows you to define which networks you connect to.
Click to expand...
Click to collapse
You should check out Tasker. It's very powerful.
In a nutshell, you setup conditions, and if those conditions occur, tasks to be completed.
So the OP here would decide when he want's the phone to be 2G only (the condition) and what action Tasker should take, such as turn on 2G only (the task).
I've only just started playing with it, but it's getting a lot of good praise from devs like Paul O'Brien (MCR).
distortedloop said:
You should check out Tasker. It's very powerful.
In a nutshell, you setup conditions, and if those conditions occur, tasks to be completed.
So the OP here would decide when he want's the phone to be 2G only (the condition) and what action Tasker should take, such as turn on 2G only (the task).
I've only just started playing with it, but it's getting a lot of good praise from devs like Paul O'Brien (MCR).
Click to expand...
Click to collapse
Hmm I might have to look into that, thanks Distorted!
myunitisz said:
I know theres no possible way to do it with the stock rom but I'm running CM7 and i was wondering if theres a way to do it with Tasker on CM7.
Click to expand...
Click to collapse
i'm not on CM7 but my solution to this was to install Any Cut and create a shortcut to the specific settings menu "Mobile network settings" with the "Use only 2G networks" toggle. i pretty much keep 2g on at all times unless i'm using maps or am going online, etc.
kramer987 said:
i'm not on CM7 but my solution to this was to install Any Cut and create a shortcut to the specific settings menu "Mobile network settings" with the "Use only 2G networks" toggle. i pretty much keep 2g on at all times unless i'm using maps or am going online, etc.
Click to expand...
Click to collapse
So, I'm not a Tasker expert by any means, but that's a scenario where I think you would tell Tasker to look for whenever you open Maps, then to automatically switch you to 3G.
distortedloop said:
So, I'm not a Tasker expert by any means, but that's a scenario where I think you would tell Tasker to look for whenever you open Maps, then to automatically switch you to 3G.
Click to expand...
Click to collapse
Very cool. I'll have to check it out and see if I can get it to turn on GPS when I open maps (the only time I use GPS).
ya it works well on CM7 but not on stock I could never get the gps to turn on
Does it work? I thought the 3g/2g toggle is still on the todolist of tasker.
Related
does anybody know of an app or function which allows me to selectively enable or disable 3g data access for certain apps?
I would need to have e-mail and calendar sync operating in push mode (i.e. all times on/connectable), but would like to suppress data connections for some other apps when there is no wifi connection.
i don't have (don't get) an unlimited data plan and android/some apps seem quite talky =). And I only have 100-250megs/month available.
I know there is an iptables firewall available for certain ROMS but it has not (yet?) been ported to Samsung Galaxy. Furthermore my guess is, a firewall would generally disable access, not only on 3g connections.
ty in advance
im in the exact same position you are with the same phone haha.
i would also love to know whether it's possible because i have a feeling the weather widget im using is trying to get information when i dont want it to.
My guess is, that the weather widget is just one of many =)
Hope there will be some positive reply on this
UltimateJuice, the pay version of the free JuiceDefender has a feature that can enable/disable data per app that is currently running. On top of that, it has a plethora of data on/off options that should be looked into regardless
1step further
c00ller said:
UltimateJuice, the pay version of the free JuiceDefender has a feature that can enable/disable data per app that is currently running. On top of that, it has a plethora of data on/off options that should be looked into regardless
Click to expand...
Click to collapse
that sounds not bad already. do you know if it is possible to set some access-blocking based on connection type?
TY
I don't have the pay version myself, but I don't think it has rules for connection type. What exactly do you mean by connection type?
c00ller said:
I don't have the pay version myself, but I don't think it has rules for connection type. What exactly do you mean by connection type?
Click to expand...
Click to collapse
being on WIFI vs. GSM Data.
karmakuma said:
being on WIFI vs. GSM Data.
Click to expand...
Click to collapse
It does the have controls for automatic turning on WiFi based on certain conditions, but it doesn't look like it gets to the point of being app-specific.
I think it's easier if you consult the official website, lol http://www.latedroid.com/2010/01/juicedefender.html
Any other ideas? Cus that seems to be a taff one
Am I thinking in the wrong direction?
APNDroid is not a solution since it essentialy kills of all traffic over GSM and e-mail + calender sync is a must have for me...
Check out DroidWall in the market. It seems to work for me. I enable all apps to be able to use wifi and disabled most apps via 3G
info5i2002 said:
Check out DroidWall in the market. It seems to work for me. I enable all apps to be able to use wifi and disabled most apps via 3G
Click to expand...
Click to collapse
Droidwall only runs in some ROM´s, in those which includes certain modules in kernel compilation.
It´s not working on my HTC Desire custom ROM, so i bought JuiceDefender weeks ago and happy at the moment with its works.
Hey there, I'm looking for a little app on my Froyo that will turn on the WiFi and disable the 3G as soon as I reach my home (for example) and when I move outside again, that it'll disable the WiFi and enable the 3G.
Whether it's done by GPS or done simply by noticing if the WiFi signal is available, I don't mind. Does anyone have a clue about this?
I'm not sure if either can do it since I've yet to use them, but you may want to look into two programs, one called "Tasker" the other "Locale"
Both have the ability to execute location based tasks.
I've used both Tasker and Setting Profiles to accomplish this. Tasker is very powerful, but a bit fiddly to get working correctly.
SP is simpler, and works very well. The jury is still out.
There are a few apps that will do that like tasker and locale, but for my needs I use setting profiles.
Y5
Y5 do it great. remembers WIFI location acording to cell info (doesn't waist battery for GPS) and turn on and of.
only bug in my eyes it that in order to shut down WIFI on a remembered location, you need to disable app or forget location.
Thanks so far for the replies! Right now I'm trying Y5. The rest doesn't really work for me. I've tried Tasker, but no... then I've bought "Setting Profiles" as it seemed to be promising, but it doesn't recognize the places where I'm at. Both through GPS as well as cell towers... it knows where I am, but doesn't change my profile. Big pity!
So, now I'm trying Y5. Only down side is that so far none of the programs has the ability to disconnect the 3G upon activating WiFi.
akito said:
Thanks so far for the replies! Right now I'm trying Y5. The rest doesn't really work for me. I've tried Tasker, but no... then I've bought "Setting Profiles" as it seemed to be promising, but it doesn't recognize the places where I'm at. Both through GPS as well as cell towers... it knows where I am, but doesn't change my profile. Big pity!
So, now I'm trying Y5. Only down side is that so far none of the programs has the ability to disconnect the 3G upon activating WiFi.
Click to expand...
Click to collapse
i think it does!
at least in HTC DESIRE it turn 3G off
Locale can do the job. For example, you can set 3 situations.
Set 'At Home' Situation - Condition: Location plug in(any good location plug in)
- Settings: Locale variable plug-in, add, type 'Home', True.
Set at Defaults - Add Locale variable, add Home = False
Add Wifi - Off
Add 3G - ON
Set Wifi - Conditions: Home = True
Settings: Wifi on
3G off
For my case, I've added Appli Detection condition for the Wifi situation where it detect my browser, etc and perform the wifi on. Hope this helps. IMO, Locale does best and is simple.
I use Tasker to do exactly what you ask.
When I get home, Wifi turns on, 3G turns off. And vice versa when I leave.
Same when I get to work.
I do both of these without the need for GPS or even cell tower location..it's based on when I'm near my home wireless network.
Also turns off wifi, 3G and screen rotation when I'm in bed.
And then makes me breakfast in the morning (well, not quite, but it's almost that good! )
Okay guys, I have definitly uninstalled Setting Profiles. I can't seem to rely properly on it. One time it works, the other time it doesn't. So, I simply don't want it anymore
Now I'm trying Tasker, seems promising. I have downloaded APNDroid next to it, as Tasker was notifying me about the fact it needs that program to be able to (dis)connect the 3G. Now.... I'm stuck for a bit. I have made tasks, but have trouble with the profile. The location, I would like that to be done as the scotsman has got it. According to if it finds your home as well as, in my case, work network. How to do that? Cause when I want to set my location, it takes me to google maps. And I take it that works by GPS. No problem neither, but drains the battery a bit more... Would anyone be so kind to give me quick and short step through?
akito said:
Okay guys, I have definitly uninstalled Setting Profiles. I can't seem to rely properly on it. One time it works, the other time it doesn't. So, I simply don't want it anymore
Now I'm trying Tasker, seems promising. I have downloaded APNDroid next to it, as Tasker was notifying me about the fact it needs that program to be able to (dis)connect the 3G. Now.... I'm stuck for a bit. I have made tasks, but have trouble with the profile. The location, I would like that to be done as the scotsman has got it. According to if it finds your home as well as, in my case, work network. How to do that? Cause when I want to set my location, it takes me to google maps. And I take it that works by GPS. No problem neither, but drains the battery a bit more... Would anyone be so kind to give me quick and short step through?
Click to expand...
Click to collapse
I use Tasker, but I do not believe you can use WiFi location if WiFi is off. Location base uses GPS. You can set an option to do tasks if the WiFi connects. 3G is automatically disabled on my Incredible when WiFi connects, so I do not have to implicitly set it off. Just be sure to adjust your radius when you use GPS location. You do not want to drive way down the street to have WiFi turn off and 3G come back on.
I use Tasker to also launch the car app when bluetooth connects in my truck. There are good examples on the Tasker Web site.
I am new to using Tasker and am using it on my Nexus 5. For those Nexus 5 users who are using Tasker, are you having any problems? Do you know if Tasker has been updated to fully work with 4.4? I have checked Tasker's wiki and the last update for 4.0+ is/was 6/17/2013.
Basically what I am getting at, as I am building profiles/tasks, I am trying to determine if/when my profile/task does not work, it is me or is it Tasker not being updated?
I have searched the Nexus 5 Themes and Apps forum here and did not see much mention regarding Tasker. I am posting here rather that Q&A as Tasker is an app.
I appreciate your help.
Mark
I use it. No problem for me
Envoyé de mon Nexus 5 en utilisant Tapatalk
Only issue I've run into so far is with the Secure Settings plug in not toggling gps on one of my profiles. Other than that all my other profiles work without issue.
AndrasLOHF said:
Only issue I've run into so far is with the Secure Settings plug in not toggling gps on one of my profiles. Other than that all my other profiles work without issue.
Click to expand...
Click to collapse
I also have issues with Secure Settings, but that's because Secure Settings hasn't been properly updated I believe.
All my profiles work with Tasker. I had to change some of the complicated ones to reference different directory paths but otherwise fine. Secure Settings profile is working too, but thats to turn off pattern lock....
rootSU said:
All my profiles work with Tasker. I had to change some of the complicated ones to reference different directory paths but otherwise fine. Secure Settings profile is working too, but thats to turn off pattern lock....
Click to expand...
Click to collapse
Turning off pattern lock (I assume is the same as lock screen) is the problem I am having trying to get it to work.
19android said:
Turning off pattern lock (I assume is the same as lock screen) is the problem I am having trying to get it to work.
Click to expand...
Click to collapse
I use Widgetlocker as my main lock screen. When I am not at home, I want the Android stock pattern lock behind it. When I am at home (triggered by WiFi connection) I want it off.
Pattern lock and lock screen are not the same. Pattern lock has it's own specific setting within Secure Settings.
If you want to disable the basic lock screen go to Display/Keyguard and set it to off.
AndrasLOHF said:
If you want to disable the basic lock screen go to Display/Keyguard and set it to off.
Click to expand...
Click to collapse
Yes...I want to disable the basic lock screen. I did go to Display/Keyguard and set it to off for the task. I also set the exit task to on. I will try it out again when I get home.
Still trying to find a way for tasker to toggle LTE... secure settings lte toggle plugin only works on cm based roms..
Sent from my Nexus 5 using Tapatalk
Keylock off works fine for me.
Tasker works perfect for me so far. Also, no issues on Secure Settings. At least for the functions I use it for.
My last Tasker creation was using my old Nexus 4 as a motion camera/IP camera. Whenever I connect to my wifi it disables the camera, Once I leave it turns it on.
Gets pretty creepy when you get false positives and it takes pictures of nothing though
I am having significant problems with Tasker on the N5. I am not able to set profiles by using the cell near state. Whenever I scan for towers when I'm on LTE it returns no results. If I put my phone on 3G, then it finds towers.
This was never a problem on my EVO LTE. I think it has to do with Sprint upgrading towers to Network Vision and this being a triband phone.
Sent from my Nexus 5
I have Tasker set to turn on my wifi when I get in range of my house. Since the N5 has LTE, tasker can't seem to get the cell location thing figured out. It must be different than 3g/edge. I had to set it up to remember cell towers instead.
kgeissler said:
I have Tasker set to turn on my wifi when I get in range of my house. Since the N5 has LTE, tasker can't seem to get the cell location thing figured out. It must be different than 3g/edge. I had to set it up to remember cell towers instead.
Click to expand...
Click to collapse
How did you get it to remember cell towers if it doesn't work on LTE?
Sent from my Nexus 5
Cannot get tasker/secure settings to toggle the GPS.
Else, my profiles seem to be working as expected.
Use the secure settings alternative helper to toggle GPS/location settings.
darcmage said:
Use the secure settings alternative helper to toggle GPS/location settings.
Click to expand...
Click to collapse
^^^^^THIS^^^^^ I made this mistake earlier. It is not enough to just have the Helper installed. You also must have the Alternative Helper checked. All is good now. No gps unless Maps is loaded =) =) =).
boomer8403 said:
How did you get it to remember cell towers if it doesn't work on LTE?
Sent from my Nexus 5
Click to expand...
Click to collapse
I think tasker has a problem with the triangulation on the LTE network. Anyway...I created a new state, hit phone, then "cell near". Hit the "scan" button and walk around your house so it can pick up the 2 or 3 towers. I then just used the newly created "state" to determine when I was close to my house.
http://tasker.dinglisch.net/userguide/en/loctears.html#cell
kgeissler said:
I think tasker has a problem with the triangulation on the LTE network. Anyway...I created a new state, hit phone, then "cell near". Hit the "scan" button and walk around your house so it can pick up the 2 or 3 towers. I then just used the newly created "state" to determine when I was close to my house.
http://tasker.dinglisch.net/userguide/en/loctears.html#cell
Click to expand...
Click to collapse
If you read my initial comment, you would have seen that this is exactly what I'm having trouble with. It works on 3G but DOESN'T work on LTE.
Sent from my Nexus 5
boomer8403 said:
If you read my initial comment, you would have seen that this is exactly what I'm having trouble with. It works on 3G but DOESN'T work on LTE.
Sent from my Nexus 5
Click to expand...
Click to collapse
That is what worked for me and it find several towers by my house on LTE. I am on T-Mobile, so that may make a difference.
Hi all,
Interesting problem I have with llama. Getting Nlpwakelocks as shown in the screenshot.
I've set work and home, and the wakelock was happening at work. My work setting is only to disable GPS, Enable mobile data and disable WiFi if not connected. Any ideas about why llama is causing this? I've seen Nlpwakelocks else where but not under the Llama app.
Regards,
John
How is llama set to know you're at work? If you've used location, you will get wakelocks
Sent from my Nexus 5 using Tapatalk
Currently I'm using the Map addon for Llama. Previously on another ROM I hadn't tried it and wasn't getting this issue. Will remove the addon and post results tomorrow.
Thanks for the help.
Regards,
John
Yeah because llama needs to check if you're in a location so uses location services (nlp) to do so.
Sent from my Nexus 5 using Tapatalk
jrbalazo said:
Currently I'm using the Map addon for Llama. Previously on another ROM I hadn't tried it and wasn't getting this issue. Will remove the addon and post results tomorrow.
Thanks for the help.
Regards,
John
Click to expand...
Click to collapse
There are usually better ways to go about doing what you want to do. I use Tasker for it, but I have Tasker profiles run based on time and day. Times when I should be at work, Tasker checks if I'm connected to the home wifi. If I am not, then it does all the things. If I am still connected to the home wifi when I should be at work, I must be at home, so the profile aborts.
This profile uses time and wifi connection status to determine my location.
Of course, this may not be possible for your job. But there is usually more than one way to solve a problem.
Aerowinder said:
There are usually better ways to go about doing what you want to do. I use Tasker for it, but I have Tasker profiles run based on time and day. Times when I should be at work, Tasker checks if I'm connected to the home wifi. If I am not, then it does all the things. If I am still connected to the home wifi when I should be at work, I must be at home, so the profile aborts.
This profile uses time and wifi connection status to determine my location.
Of course, this may not be possible for your job. But there is usually more than one way to solve a problem.
Click to expand...
Click to collapse
Exactly the same set up for me
Sent from my Nexus 5 using Tapatalk
Aerowinder said:
There are usually better ways to go about doing what you want to do. I use Tasker for it, but I have Tasker profiles run based on time and day. Times when I should be at work, Tasker checks if I'm connected to the home wifi. If I am not, then it does all the things. If I am still connected to the home wifi when I should be at work, I must be at home, so the profile aborts.
This profile uses time and wifi connection status to determine my location.
Of course, this may not be possible for your job. But there is usually more than one way to solve a problem.
Click to expand...
Click to collapse
Seems pretty logical to me. If this doesn't work out I'll find better ways to control the functions.
Regards,
John
Well seems at work there is no problems with llama wakelocking at all. Obviously the NLP from location based tracking was the problem as you stated. I think tasked would be more appropriate for my usage, so I'll give it a try tonight.
Are there any apps that will auto toggle to 2g on Wi-Fi on stock based ROMs that DO NOT require Xposed? Tasker and Secure settings are out of the question as the options are blacked out and not able to be turned on. The main 2 apps I've seen required Xposed.
Stock-based ROMs are almost nonexistent since you would have to decompile, modify smali and recompile, not build from source.
AOSP and CAF ROMs are built from source.
Thanks for clarifying.
Any ideas on apps that do what I'm looking to do?
Data is off when WiFi is on. ?
For sure.
However what I'm seeking to do has nothing to do with data. It's about having the strongest cell signal possible. When LTE is set to recommended my cell signal almost never shows green. It is constantly in yellow, red, or no signal and my phone shows crazy times being awake to find a stronger signal. When I set the phone to 2G recommended my phone almost ALWAYS is in the green. In the exact same locations(sofa at home/desk at work). Idle drain is much much lower with the stronger cell signal.
The attached screenshot is of a typical work day with 2G set to recommended.
@AndrasLOHF I have a tasker profile I could send to you. Why do you say tasker is out of the question? What option is blacked out?
Sandman-007 said:
@AndrasLOHF I have a tasker profile I could send to you. Why do you say tasker is out of the question? What option is blacked out?
Click to expand...
Click to collapse
Which ROM are you running? If i remember correctly i had a working profile on SlimKat. On stock, PA, and the latest dev preview the 2g/3g option was always grayed out.
AndrasLOHF said:
Which ROM are you running? If i remember correctly i had a working profile on SlimKat. On stock, PA, and the latest dev preview the 2g/3g option was always grayed out.
Click to expand...
Click to collapse
You can use the state 'connected WiFi' and the task Network > Mobile data > Mode set to 2G only.
Get rhe option not available on that one too.