Hi all,
For a while as I was turning on Location on my D6603 the system was asking if I wanted High Accuracy or Device only mode.
Once I mistakenly pressed "don't ask again" or something like that and chose High Accuracy. From then on every time I turn on Location it goes to that mode. BUT even if I change manually in settings the mode to Device only, every time I turn Location on again, it goes back to High Accuracy.
QUESTION : how can I change default mode to Device Only or alternatively go back to having the question asked the mode I want each time?
I want that because High accuracy is not so helpful + much more greedy with battery.
Thanks!
Hi all,
I ended up finding two solutions on android.stackexchange:
- Rooted: edit this file: data > data > com.google.android.gms > shared_prefs > nlp-prefs.xml
Change the value of confirmNlp to true. <boolean name="confirmNlp" value="false" />
- Not rooted :if willing to sacrifice third-part apps' data associated with their Google account, can consider clearing data of Play services' app as a solution. Set location mode to Device only for once, disable location mode, launch Settings app → Apps → All apps → Google Play services → Force stop → Manage Space → Clear data → Force stop again → optionally reboot.
regards!
Related
Anyone finding success with Tasker getting GPS control working on their Nexus 5 (Android 4.4)?
Tasker v4.1
Rooted
Secure Settings Pro/Helper
Example:
Profile>Application "GoogleMaps">New Task ("GPS On")>Plugin>SecureSettings>Edit>HelperActions>GPS>On>Save
ExitTask same as above but GPS>Off
When I launch GoogleMaps I can see Tasker working, but from within Tasker I see an error: "An error occurred while executing Action:GPS"
Any suggestions? Related to "Location Mode" setting approach with "High Accuracy", "Battery Saving", "Device Only" options?
Thanks!
I solved this problem using Helper Alternative in Secure Settings (last option of Helper tab in Secure Settings)
Now with "gps on" action you switch from battery saving mode to high accuracy, and vice versa vith "gps off".
You can also use the action to enable/disable the entire location service but in that case every time you want it on it shows an annoying google location consent disclaimer
aecant said:
I solved this problem using Helper Alternative in Secure Settings (last option of Helper tab in Secure Settings)
Now with "gps on" action you switch from battery saving mode to high accuracy, and vice versa vith "gps off".
You can also use the action to enable/disable the entire location service but in that case every time you want it on it shows an annoying google location consent disclaimer
Click to expand...
Click to collapse
Where is the option for battery saving mode or high accuaricy? I set it up only for Location services and the google location consent appear.
Also, is it possible to set it off in another way? because if I click in Tasks button in my phone, it suddenly turns gps off although Maps keeps running in the background
chimas16 said:
Where is the option for battery saving mode or high accuaricy? I set it up only for Location services and the google location consent appear.
Click to expand...
Click to collapse
you can switch between battery saving mode and high accuracy toggling the gps option:
gps on -> high accuracy
gps off -> battery saving mode
chimas16 said:
Also, is it possible to set it off in another way? because if I click in Tasks button in my phone, it suddenly turns gps off although Maps keeps running in the background
Click to expand...
Click to collapse
I use a workaround, I have set tasker to wait 20 seconds before disabling gps when i close apps that need location services, so when I switch to another app it doesn't turn off gps immediatly. I don't know other methods to make tasker consider that the app is running in the background
aecant said:
you can switch between battery saving mode and high accuracy toggling the gps option:
gps on -> high accuracy
gps off -> battery saving mode
I use a workaround, I have set tasker to wait 20 seconds before disabling gps when i close apps that need location services, so when I switch to another app it doesn't turn off gps immediatly. I don't know other methods to make tasker consider that the app is running in the background
Click to expand...
Click to collapse
How do you set tasked to time out after certain time? I keep trying but it just stays on high accuracy
p4ranoid4ndroid said:
How do you set tasked to time out after certain time? I keep trying but it just stays on high accuracy
Click to expand...
Click to collapse
i set a "wait" action before disabling gps
aecant said:
i set a "wait" action before disabling gps
Click to expand...
Click to collapse
How do you set a wait action? Create another task?
p4ranoid4ndroid said:
How do you set a wait action? Create another task?
Click to expand...
Click to collapse
no, you add an action, just hit the plus button>task>wait and set the amount of time you desire
GPS or locational services turning on solution
I created this tasker for if my phone got lost, but could be used for the Google Maps apps or Photo geotagging. This is for phones that are locked and require the google consent notice to be accepted.
Profile: recieved text "lostphone"
Task:
Secure settings: pattern lock disabled
Secure settings: wake phone
WIFI on
Mobile Data on
Secure settings: Location Services Enabled
Wait: 2 seconds
Dpad: Right repeat x2 (this is because the first time it doesn't work)
Dpad: Press repeat x1
Wait: 2 seconds
Secure settings: Pattern lock enabled
Secure settings: lock device
this makes the phone vulnerable but it only takes seconds for the phone to relock itself
Lewis
Hi,
I just installed tasker app on my Galaxy S7 Edge.
I tried to create a task to switch on GPS when running Pokemon App and then switch off once app is closed.
Task:
1. Launch App
App Pokemon Go Data %LOC
I run the task, as expected, it opens pokemon go app and 4G(gps) icon appears on the upper-left corner of my phone. But the icon won't disappear when I manually turn off the Location on Quick Settings.
Please help how to restore Location icon on-off.
Thank you
This is something I've noticed recently.
Whenever you turn on location...it keeps giving you a popup notice asking permission for "location reporting".
This can get quite annoying , not sure why it can't just save the permission
Also the choice of location access level (high accuracy, medium, device only)...does not get saved either...when you turn it off and on again...it resets to "High accuracy"...when i only want "device only all the time".
Lastly...if you have the power widget (stock) and turn on and off the location from there ...it doesn't get turned off when you turn it off (from the widget)
Do you guys get this too ?
Hi fellow XDA members, I just came across this awesome app called Tasker. I am still trying to figure it out and learning about it but i know it got huge potential to automate our devices. Many of you must be experts in using it. So I created this thread for all to share their best and favourite Tasker profiles for OnePlus 2. Looking forward to see some wonderful ideas to automate our beloved OnePlus 2.
tasker is not device or rom specific at all, hence i don't think that people ( experienced users ) who us tasker in a sophisticated manner would read and post much in this thread, there are dedicated tasker thread. just stumbled in to see what tasker profiles (tasks) would be especially for the OP2 and as suspected, there are none yet.
I've been looking for a way to use the fingerprint sensor, to secure certain apps, such that only I can access them with my fingerprint. I haven't succeeded yet, so if anyone has an Idea I would appreciate it.
Jakob1379 said:
I've been looking for a way to use the fingerprint sensor, to secure certain apps, such that only I can access them with my fingerprint. I haven't succeeded yet, so if anyone has an Idea I would appreciate it.
Click to expand...
Click to collapse
That's a great idea. Experts, please shed some light on this if it's possible or not.
I don't own a OPO, but I imagine the profiles I run would work on any android. I've only got a few at the moment, some I ditched because I no longer had a use for them since getting on PAC ROM.
Current profiles are:
ClearCache. Autolaunches the Fast Cache Cleaner app everyday at 6:00PM. The app has no UI, so it doesn't interfere with what I'm doing at the time and just quietly clears cache in the background.
LowerMediaVolume: When headphones are plugged in, media volume gets reset to 2. Got sick of scaring the pants off myself when I'd go to listen to music and had forgotten my media volume was maxed out...
TurnGPSOnWhenWazeIsLaunched: I use Waze as my navigator, so I have it set to automatically turn GPS on (through the Secure Settings plugin) when the app is launched. Also included an exit task so once I leave navigation, GPS will shut off as well.
BirthControlTxt and CleaningReminder: They're similar profiles for my bad memory. Everyday at 11:45PM, my phone sends me an SMS reminding me to take my pill (I also have an alarm for this set at 11, this alert is a fallback just in case my alarm goofs). CleaningReminder is set to go off every Monday, but I only clean the factory every other Tuesday. So I set the cool down period to every 13 days, and hopefully that will 'disable' the alert every other Monday. I just made that one so I haven't gotten to test that. In the past, I also had an AutoReboot profile to reboot the phone everyday at 7AM, but I haven't gotten ballsy enough to try it since switching to a somewhat unstable ROM
http://forum.xda-developers.com/galaxy-grand-duos/themes-apps/app-tasker-to-customize-phone-t2876179
Check this out.. I have most of them now also..
Data off when screen off and the data connects when turning on the screen
zombunny said:
TurnGPSOnWhenWazeIsLaunched: I use Waze as my navigator, so I have it set to automatically turn GPS on (through the Secure Settings plugin) when the app is launched. Also included an exit task so once I leave navigation, GPS will shut off as well.
Click to expand...
Click to collapse
Can you share this profile
I can't get to turnoff the gps
Sent from my ONE A2005 using Tapatalk
fburgos said:
Can you share this profile
I can't get to turnoff the gps
Sent from my ONE A2005 using Tapatalk
Click to expand...
Click to collapse
Certainly.
Profile: Application/Waze
Task: Plugin/Secure Settings/System + Actions/GPS/Set ON
Exit task (to create exit tasker: once you have built the above Task, go into your profiles, expand your Waze profile, and long press on your task, then select to add an exit task): Plugin/Secure Settings/System + Actions/GPS/Set OFF.
Results may vary from device to device. This profile worked great when I had a Jellybean stock ROM, now I'm running PAC on 5.1 and while it does work, it occasionally will put my GPS on 'device only' instead of high accuracy, so for reliablity I just toggle GPS myself in my notification bar until I think or hear of a way to do this more reliably in Tasker.
I did it that way but wasn't working...
Cleaned flashed oxygen now works
Thanks
Sent from my ONE A2005 using Tapatalk
Need some help...
Trying to use Tasker to create an action to the 4636 Hidden Menu, so then can export it to an app for quick access.
Was originally trying to do it the phone but didn't work...
Right now I'm trying:
System > Send Intent
Action: android.intent.action.MAIN
Package: com.android.settings
Class: com.android.settings.TestingSettings
Still nothing though
Thanks
khaos64 said:
Need some help...
Trying to use Tasker to create an action to the 4636 Hidden Menu, so then can export it to an app for quick access.
Was originally trying to do it the phone but didn't work...
Right now I'm trying:
System > Send Intent
Action: android.intent.action.MAIN
Package: com.android.settings
Class: com.android.settings.TestingSettings
Still nothing though
Thanks
Click to expand...
Click to collapse
Figured it out...
Needed one additional setting
System > Send Intent
Action: android.intent.action.MAIN
Package: com.android.settings
Class: com.android.settings.TestingSettings
Target: Service
Tried to set tasker to turn on gps when i launch waze but gps cannot be turned on although I have set it properly through secure settings. Anybody can help?
Sent from Oneplus²
Tasker for dark mode?
I'm wondering if Tasker can be used to turn on dark mode on the Oneplus 2 at a specific time of the day. What task option do I use?
spicediablo said:
Tried to set tasker to turn on gps when i launch waze but gps cannot be turned on although I have set it properly through secure settings. Anybody can help?
Sent from Oneplus²
Click to expand...
Click to collapse
I did the same with Google Maps..
PROFILE:
App > GMaps (os Waze)
ENTRY TASK (GPSMax):
Plugin > Secure Settings >System+ Actions > Location Mode > High Accuracy
[Flash "High Accuracy GPS enabled"]
EXIT TASK (GPSMin):
Plugin > Secure Settings > System+ Actions > Location Mode > Battery Saving
I always have battery seving location ON, so I just need to turn on High Accuracy while I'm using GMaps.
You have to install Secure Settings plugin and enable its XPosed Module
aroblu94 said:
I did the same with Google Maps..
PROFILE:
App > GMaps (os Waze)
ENTRY TASK (GPSMax):
Plugin > Secure Settings >System+ Actions > Location Mode > High Accuracy
[Flash "High Accuracy GPS enabled"]
EXIT TASK (GPSMin):
Plugin > Secure Settings > System+ Actions > Location Mode > Battery Saving
I always have battery seving location ON, so I just need to turn on High Accuracy while I'm using GMaps.
You have to install Secure Settings plugin and enable its XPosed Module
Click to expand...
Click to collapse
I think I got the settings right but it's not working.
Below is the description in text
Profile: Waze/gps (6)
Application: Waze, Sygic or Maps
Enter: GPS (7)
A1: Secure Settings [ Configuration:Location Mode/High Accuracy Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
A2: Display AutoRotate [ Setn ]
Exit: Autorotate Off (13)
A1: Display AutoRotate [ Setff ]
Sent from Oneplus²
spicediablo said:
I think I got the settings right but it's not working.
Below is the description in text
Profile: Waze/gps (6)
Application: Waze, Sygic or Maps
Enter: GPS (7)
A1: Secure Settings [ Configuration:Location Mode/High Accuracy Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
A2: Display AutoRotate [ Setn ]
Exit: Autorotate Off (13)
A1: Display AutoRotate [ Setff ]
Sent from Oneplus²
Click to expand...
Click to collapse
Did you try putting a 1 second Wait at the beginning? Maybe the phone just needs some time..
And use a Flash in order to see if the profile is fired
How do I do that? Can you please give the exact options to set?
aroblu94 said:
Did you try putting a 1 second Wait at the beginning? Maybe the phone just needs some time..
And use a Flash in order to see if the profile is fired
Click to expand...
Click to collapse
Sent from Oneplus²
spicediablo said:
How do I do that? Can you please give the exact options to set?
Sent from Oneplus²
Click to expand...
Click to collapse
Before your A1 do:
Alert > Flash > "GPS fired" (and check the long option)
Activity > Wait > 1s
I can't find activity...
Anyway, the profile is activated but my gps doesn't change to high accuracy....
aroblu94 said:
Before your A1 do:
Alert > Flash > "GPS fired" (and check the long option)
Activity > Wait > 1s
Click to expand...
Click to collapse
Sent from Oneplus²
HI
I have the galaxy 6 for an year , and i dont have money to replace battery, and i need that the phone will hold for the all day...
he is rooted and exposed and have greenfy
but still, the battery over after 4 hours :/
please give me advise what can i do to keep as much as possible battery during the day.
thank you
1. FULLY CLEAN WIPE and flash Xterolite rom
2. Use power saving mode
3. Keep brightness low
4. Turn off all vibrations
5. Turn off lights from buttons
6. Turn off all advanced features in settings
7. Use black wallpaper
8. Turn off auto sync
9. Turn off " Security policy updates" and "Send security reports" in security settings
10. Turn off android device manager in device administrators
11. Turn off all unnecessary things in Display settings
12. Do not use automatic date and time
13. Turn off "Back up my data" in settings under "Backup and reset"
14. Turn off location
15. Turn off Wifi, Bluetooth, Data, NFC. Nearby device scanning, Printing plugins
16. Do not use apps like clean master
17. Do not install the "Google" app
18. Do not install lots of apps
fahad999 said:
1. FULLY CLEAN WIPE and flash Xterolite rom
2. Use power saving mode
3. Keep brightness low
4. Turn off all vibrations
5. Turn off lights from buttons
6. Turn off all advanced features in settings
7. Use black wallpaper
8. Turn off auto sync
9. Turn off " Security policy updates" and "Send security reports" in security settings
10. Turn off android device manager in device administrators
11. Turn off all unnecessary things in Display settings
12. Do not use automatic date and time
13. Turn off "Back up my data" in settings under "Backup and reset"
14. Turn off location
15. Turn off Wifi, Bluetooth, Data, NFC. Nearby device scanning, Printing plugins
16. Do not use apps like clean master
17. Do not install the "Google" app
18. Do not install lots of apps
Click to expand...
Click to collapse
hahaha that's it ... or buy a nokia 3310 ?
Envoyé de mon Nexus 6P en utilisant Tapatalk
i used the deepsleep fix zip (can be found here on xda) that increased the battery life by 40% what it was before.
i also use greenify. it is the best battery saving app i found so far.
Hello,
All is in the topic, I've got an app that starts automatically when my phone is powered on.
It is Aircall, an app I use for passing and receiving calls at work.
I would like this app not to start automatically each time I power on the phone.
Is there a setting for disabling some apps to autostart ? Or an app you can advise ?
Thanks for your help.
Check the app's preferences to see if there are options.
In the Android settings, go to Apps > See All > (your app. eg Air Call) > App battery usage and set it to 'restricted.' This will greatly restrict an app's ability to do many things in the background.
Other than that, you'd have to root your device to get any more control over the app using something like Servicely (Google Play Store), My Android Tools (apkmirror.com), Permission Manager X (fdroid), AppOppsX (fdroid), or Blocker (fdroid) to control the app's broadcast receivers. Apps can choose to respond to various phone states such as when a boot is completed, when network connectivity changes, power is connected/disconnected, etc. It can take some aggressive action to fully prevent an app from always running.
If you're just annoyed by a notification icon in your notification area you can always disable that app's notification so it doesn't appear.
I have tried all of these things to control apps but if apps use a lot of various broadcast receivers they will find ways to keep running. You may find stopping it to have unintended consequences. It being a work app, I'd consider simply disabling the app's notificaiton if it has a persistent notifcation or something. The next step would be to restrict the app as in 2. The most aggressive thing is to root and tinker with its broadcast receivers.
Hello jawz101,
Thank you very much for this very complete answer.
All your precise instructions are very interesting.
I'll have a look at all these solutions.
Thanks again.
I am not sure about straight forward solution. But I would like to use Greenify app. Add apps to it once and run it once everytime you restart your phone.