Tasker with Note8 - Discuss Here! - Samsung Galaxy Note 8 Guides, News, & Discussion

Hello fellow Note8 and Tasker users. I'm huge fan of both and usually have lots of questions on how to accomplish things in Tasker. Some of those things are device specific, so I thought a thread here may be handy.
Let me start with this: does anyone know how to use Tasker to activate PowerSave mode? I'm a teacher and I'd love to have this active when I'm teaching (then turn that off during my lunch break/plan period). Is there a certain intent I'd have to send? Or is it simpler?

Also, without root, I cannot turn on/off mobile data or adjust GPS settings...
Any workaround that you guys know of?

Here you go: https://www.reddit.com/r/tasker/comments/4zsi0e/project_share_toggle_settings_eg_location_mobile/

In case Tasker can't help you, I am doing everything you have mentioned using Bixby Voice. Just set up the Quick Actions and assign a voice prompt to it.

wnp_79 said:
In case Tasker can't help you, I am doing everything you have mentioned using Bixby Voice. Just set up the Quick Actions and assign a voice prompt to it.
Click to expand...
Click to collapse
https://www.youtube.com/watch?v=y8M-cJYszKE

Spere said:
Here you go: https://www.reddit.com/r/tasker/comments/4zsi0e/project_share_toggle_settings_eg_location_mobile/
Click to expand...
Click to collapse
This... Is... Amazing!!! Thank you!!

PsiPhiDan said:
This... Is... Amazing!!! Thank you!!
Click to expand...
Click to collapse
not work help _?

wnp_79 said:
In case Tasker can't help you, I am doing everything you have mentioned using Bixby Voice. Just set up the Quick Actions and assign a voice prompt to it.
Click to expand...
Click to collapse
That's actually really cool and I didn't know it could do that. The beauty of Tasker however is that it's automated. I don't even have to think about it. I step into work and my phone is on Powersave mode with no mobile data connection or Wi-Fi (while I teach). I get in my car and my GPS is in high accuracy mode. I go in the library and my phone is on silent. I go to a house I'm tutoring in and my calculator app is already pulled up. It's a thing of beauty!

Okay so it turns out the method linked earlier is already "prepackaged" so to speak: it's included in Auto Tools! I already had that app and didn't even know it could do this. So you still need to use ADB to grant it the proper permissions but it will save you the effort of getting the app factory and importing the xml file and exporting the app.
I'm excited to see if I can toggle mobile data this way! It seems to be hit or miss for different devices. Anyone tried on their Note 8?

Spere said:
Here you go: https://www.reddit.com/r/tasker/comments/4zsi0e/project_share_toggle_settings_eg_location_mobile/
Click to expand...
Click to collapse
I have been reading over this for a while. I was wondering if this would allow for toggling on and off wifi hotspot? I've been trying, but I read something regarding Nougat and how the name/service or something was changed.
I have no problem toggling it off and on using the quick tiles, but I have an Android car unit that I use my Hotspot for.
This worked on my older phones, being able to stick an NFC tag to my phone mount in the car to toggle the Hotspot on when placed in it. Or having the Hotspot start/stop when connecting or disconnecting from the unit's Bluetooth.
Thank you for any help in advance.

@wigglitz I'm not sure how to toggle Hotspot, at least didn't find anything related on System-, Global or Secure Settings.
If you are using Toggle Setting method linked before, here is how you can find what you can change:
These commands will show you list of available settings with current values
Code:
adb shell settings list secure
adb shell settings list global
adb shell settings list system
Now, if you are unsure if some setting is what you think it to be, I'll give you an example how to check it.
Let say by using command adb shell settings list secure you find setting install_non_market_apps
Now if you are unsure if that is the one toggling Unknows sources on/off, do this:
Toggle Unknows sources off from settings, then type:
Code:
adb shell settings get secure install_non_market_apps
This will return 0 (because you set if off)
Toggle it back on from settings and run same command, now it will return 1
Now you can be pretty sure that's the one and will be able to make task to automatically allow installing apps from unknown sources when opening Substratum (for example)

wigglitz said:
I have been reading over this for a while. I was wondering if this would allow for toggling on and off wifi hotspot? I've been trying, but I read something regarding Nougat and how the name/service or something was changed.
I have no problem toggling it off and on using the quick tiles, but I have an Android car unit that I use my Hotspot for.
This worked on my older phones, being able to stick an NFC tag to my phone mount in the car to toggle the Hotspot on when placed in it. Or having the Hotspot start/stop when connecting or disconnecting from the unit's Bluetooth.
Thank you for any help in advance.
Click to expand...
Click to collapse
Look into Auto Tools (Tasker plugin). That's what I'm using instead. There's definitely an option to toggle hotspot. There's literally hundreds of settings to tinker with, but my understanding is that the success of the individual options depends on the phone model.
I'm testing to see if I can toggle mobile data on the Note 8 and if time, I can test wifi hotspot too. :good:

GOOD NEWS!!!
Mobile data CAN be enabled/disabled without root on the Snapdragon model!!
Use the app Auto Tools with Tasker, give the appropriate permissions with ADB, and it works beautifully!! I'm so happy. ???
GPS works too - I can change it from battery saver to high accuracy and back at will.

I used to disable Mobile data, but now I leave it ON all the time. When you connect to wifi it's not in use so why to even bother turning it off? When I'am not on Wifi it's on. What I'am thinking of doing to save more battery is switch to 2G when connected to wifi, my 3GB/4GB signal strength is not so good. Should save a lot of battery when at home.

mankvl said:
I used to disable Mobile data, but now I leave it ON all the time. When you connect to wifi it's not in use so why to even bother turning it off? When I'am not on Wifi it's on. What I'am thinking of doing to save more battery is switch to 2G when connected to wifi, my 3GB/4GB signal strength is not so good. Should save a lot of battery when at home.
Click to expand...
Click to collapse
I am a teacher. The wifi signal in my building isn't great plus I don't need it anyway when I teach. I turn off pretty much everything during the times I teach. I have Tasker turn Wi-Fi back on for my lunch/plan period and turn off powersave mode. I used to lose 30%+ a day at work while not even touching my phone (awful signal primarily). I'm hoping this helps me keep it to 10% or less lost. I'll report back!

PsiPhiDan said:
I am a teacher. The wifi signal in my building isn't great plus I don't need it anyway when I teach. I turn off pretty much everything during the times I teach. I have Tasker turn Wi-Fi back on for my lunch/plan period and turn off powersave mode. I used to lose 30%+ a day at work while not even touching my phone (awful signal primarily). I'm hoping this helps me keep it to 10% or less lost. I'll report back!
Click to expand...
Click to collapse
Turning wifi is a must if you leave it on it will always scan for new wifi and drain battery. I use signal towers to turn it on when at home and off when not, works rly good and no battery drain.

Any idea how to turn on the Blue Light Filter with Tasker? I'm using Autotools as well. Can't seem to get the setting values to adjust. I tried the system setting Blue_Light_Filter and set it to 1, but that didn't work.

PsiPhiDan said:
Any idea how to turn on the Blue Light Filter with Tasker? I'm using Autotools as well. Can't seem to get the setting values to adjust. I tried the system setting Blue_Light_Filter and set it to 1, but that didn't work.
Click to expand...
Click to collapse
If auto tools can't help you can toggle any quick toggle with auto input.

mankvl said:
If auto tools can't help you can toggle any quick toggle with auto input.
Click to expand...
Click to collapse
I tried that but when I give Auto Input accessibility rights, my phone turns to a slug. Everything lags. It immediately stops when I remove accessibility rights. Do you have a similar issue or have you tried Auto Input on this phone yet?

PsiPhiDan said:
I tried that but when I give Auto Input accessibility rights, my phone turns to a slug. Everything lags. It immediately stops when I remove accessibility rights. Do you have a similar issue or have you tried Auto Input on this phone yet?
Click to expand...
Click to collapse
I'am using it to toggle NFC and 0 lag on the phone. Rly strange. I might try auto tools saw one script/app that can toggle such things now ?

Related

dissable phone signal + enable wifi possible?

Hi I was hoping someone could help me with this. The only way I can see to disable the phone signal is to turn on airplane mode, however this will obviously prevent me from then enabling wifi. Is there a way to run the handset with just wifi enabled?
erm, kinda! you can use a settings widget included in the touchflo UI to disable mobile data, but not turn the whole phone off apart from airplane mode that i know of.
rhedgehog said:
erm, kinda! you can use a settings widget included in the touchflo UI to disable mobile data, but not turn the whole phone off apart from airplane mode that i know of.
Click to expand...
Click to collapse
Thanks I spotted that but it was the whole phone part I wanted to turn off. How I miss the old HTC comm manager!
s4vva said:
Is there a way to run the handset with just wifi enabled?
Click to expand...
Click to collapse
Remove the sim card.
Volker1 said:
Remove the sim card.
Click to expand...
Click to collapse
haha very good.
I wanted to do something similar. That is, have all wireless turned off except for GPS (in order to preserve battery life). I put the hero in airplane mode and then turned on the GPS. Nice to know that works! Not sure why you cant use the same procedure for Wifi (but I can't either).
Volker1 said:
Remove the sim card.
Click to expand...
Click to collapse
Will not help... you can still make emergency calls without the SIM... it won't turn off the GSM/3g radio.
does anyone know of a widget that will just toggle the phone on/off like the HTC Widgets for bluetooth, wifi etc. ?
Just found an application in the market called "Airplane Autoswitch" which apparently switches on airplane mode according to a schedule, but keeps WiFi switched on. Assuming it works, this definitely implies that you should be able to write a toggle widget to do the same thing on demand.
Regards,
Dave
An app as just been released called "airplane mode wifi" which seems to do what you are asking.
gaz31 said:
An app as just been released called "airplane mode wifi" which seems to do what you are asking.
Click to expand...
Click to collapse
Thanks, i'll check it out.
Well tried it it works after a fashon dose not turn wi-fi on if it of and once working you cannot turn wi-fi on. but if wi-fi is on it works and dose turn of phone signal other anoying thing it it works on timer

[Q] Profile manager with GPS auto switch?

Is there a profile manager (like Profile Scheduler from playstore), which can swithch ITSELF on and off GPS?
I mean that now in all the existing profile managers when switching profile it can on/of BT, data, sound etc... But I have to switch the GPS myself, since the software can not do it, and the GPS status is just the way it did the last manual switch.
I know that this feature has been disabled by Google, but maybe on rooted device...
No solution?
Have you tried moving the apk to /system/app? It may or may not work, but assuming that the app tries to turn off the GPS in "the normal Android way", moving it to /system/app would grant the app the permission needed to turn off the GPS.
qwerty12 said:
Have you tried moving the apk to /system/app? It may or may not work, but assuming that the app tries to turn off the GPS in "the normal Android way", moving it to /system/app would grant the app the permission needed to turn off the GPS.
Click to expand...
Click to collapse
Tried this yesterday.
Unfortunately, Profile Scheduler app just stopped working
GrimPivo said:
Is there a profile manager (like Profile Scheduler from playstore), which can swithch ITSELF on and off GPS?
I mean that now in all the existing profile managers when switching profile it can on/of BT, data, sound etc... But I have to switch the GPS myself, since the software can not do it, and the GPS status is just the way it did the last manual switch.
I know that this feature has been disabled by Google, but maybe on rooted device...
Click to expand...
Click to collapse
Go Power Master does that...
wl3gan said:
Go Power Master does that...
Click to expand...
Click to collapse
This is not quite what I need. I just want to one-click switcher for the profiles that contains settings for sound, brightness, networks, data... and thats all.
Don't even need a schedule. I want to select a profile on the desktop, and get ALL of the settings are configured
So far, no solution
Not sure if you already thought of a solution?
GrimPivo said:
This is not quite what I need. I just want to one-click switcher for the profiles that contains settings for sound, brightness, networks, data... and thats all.
Don't even need a schedule. I want to select a profile on the desktop, and get ALL of the settings are configured
Click to expand...
Click to collapse
Thinking outside the box...
If I understand your problem correctly you are simply looking for an easily activated profile change. I used to be looking for an app that would do this by gps, or time triggers and found many apps that did not quite meet the standard. I have resorted to an NFC(near field communication) writer and activator app that is called trigger. You can set up different tasks that would normally be triggered using NFC chips that you can purchase and program to store in various location. I have weighed the pros and cons of purchasing the chips and I have opted to create several tasks for different settings like meetings, work, home, etc... I then create a shortcut for each task and whenever I change locations I simply toggle the task and it will run changing anything from Mob/WiFi, and ringer tone/vol. This was an acceptable solution for my profile changing needs. Hope this helps you out!!!

How to stop phone from asking location consent?

So every time I turn on and off the GPS, I keep getting 2 location consent pop ups that I have to agree to. Is there a way to agree to it once and never have the popup again?
chinkster said:
So every time I turn on and off the GPS, I keep getting 2 location consent pop ups that I have to agree to. Is there a way to agree to it once and never have the popup again?
Click to expand...
Click to collapse
You can try this xposed module that disables the location consent all together. I haven't tried it myself on this phone but it worked for me on the S4
http://forum.xda-developers.com/showthread.php?t=2449926
- Sent From My G3
mobile data too
chinkster said:
So every time I turn on and off the GPS, I keep getting 2 location consent pop ups that I have to agree to. Is there a way to agree to it once and never have the popup again?
Click to expand...
Click to collapse
I have the same issue with having to give consent when I turn mobile data on/off. I can't stand it, if I want to turn data on/off from the lockscreen I have to unlock the phone and click ok.
Mistertac said:
You can try this xposed module that disables the location consent all together. I haven't tried it myself on this phone but it worked for me on the S4
http://forum.xda-developers.com/showthread.php?t=2449926
- Sent From My G3
Click to expand...
Click to collapse
I installed it and it has only taken off one of the two consent dialogs. So it's better than it was, but still not to gone as far as I can see
I noticed that if I refused to click on anything in the settings app when the consent came up it would keep coming up. After hitting anything in the settings app fixed it. Not asking for consent when turning on and off data.
BTW I discovered when I first got my Note 3 was allowing apps and Google to use networks for location discovery would drain the battery a lot. Just leave it to GPS if you need location info. Sounds strange but it works. I found GPS just for a General location does not use much battery. WiFi actually takes more juice. Seems to be the same on this phone also.
johnciaccio said:
I noticed that if I refused to click on anything in the settings app when the consent came up it would keep coming up. After hitting anything in the settings app fixed it. Not asking for consent when turning on and off data.
BTW I discovered when I first got my Note 3 was allowing apps and Google to use networks for location discovery would drain the battery a lot. Just leave it to GPS if you need location info. Sounds strange but it works. I found GPS just for a General location does not use much battery. WiFi actually takes more juice. Seems to be the same on this phone also.
Click to expand...
Click to collapse
Your first paragraph is incoherent. Can you elaborate?
stargate125645 said:
Your first paragraph is incoherent. Can you elaborate?
Click to expand...
Click to collapse
When I first started to use the G3 the phone would it would bring up a screen regard to the location settings. I am sorry I do not remember what it looked alike exactly. I just remember I would just hit the Home button and go back to whatever I was going. I eventually went to the Settings/General/Location screen and set my prefences there. After doing this I never got a screen/popup asking about location. It never asked me about location when turning off data. I did not try turning off data before adjusting the location settings.
Hope that helps.
Mistertac said:
You can try this xposed module that disables the location consent all together. I haven't tried it myself on this phone but it worked for me on the S4
http://forum.xda-developers.com/showthread.php?t=2449926
- Sent From My G3
Click to expand...
Click to collapse
I tried it and it did not work on the LG G3

My Way of Turning Cell Radio off When Wifi Connected

I'm sure this has been done with Tasker etc, but here is my way of turning off the cell radio when connected to my home wifi. Saw just shy of 6 hours screen on time today for the first time so thought I'd share.
When connected to home/work wifi, it turns off the cell radio, thereby relying on Wifi for Project Fi calls and texts. When leaving home/work wifi range, cell radio is re-enabled.
Download and install Automate: https://play.google.com/store/apps/details?id=com.llamalab.automate&hl=en
Open it and click on the people icon on the top right corner of the app. Search Project Fi Airplane Mode. This is my "flow", download it then back out to the main screen.
Click "Project Fi Home Wifi=Airplane Mode". Click the pen icon on top, then Flowchart. Here we will change it from my network to yours. Click on the "when wifi connected" box. When you're connected to your home or work wifi network, select pick a network box and select it. Click done Click check mark on top. Install the permissions listed on this screen. Click start. Enjoy some nice battery savings Project Fi users!
I see, this app uses electrical grid to explain your automation, i use tasker but it requires secure settings to enable flight mode etc. Which has been broken since android L i believe, will try this app as it has the fucntions required
republicano said:
I see, this app uses electrical grid to explain your automation, i use tasker but it requires secure settings to enable flight mode etc. Which has been broken since android L i believe, will try this app as it has the fucntions required
Click to expand...
Click to collapse
I don't do much with Secure Settings, but it's been working fine for what I do with it, which is mostly GPS toggles. I just couldn't do system less root
republicano said:
I see, this app uses electrical grid to explain your automation, i use tasker but it requires secure settings to enable flight mode etc. Which has been broken since android L i believe, will try this app as it has the fucntions required
Click to expand...
Click to collapse
The Airplane Radios feature is still working perfectly from secure settings. I'm using it right now and it's working nicely! The only issue with it atm has been that, like @inzandity stated, Secure Settings does not cooperate with Systemless root, but that's really no big deal if you dont care much for Android Pay.
republicano said:
I see, this app uses electrical grid to explain your automation, i use tasker but it requires secure settings to enable flight mode etc. Which has been broken since android L i believe, will try this app as it has the fucntions required
Click to expand...
Click to collapse
Yes, it's really a great UI. I found the app this week and have had a lot of fun making tasks with it.
hawkswind1 said:
Yes, it's really a great UI. I found the app this week and have had a lot of fun making tasks with it.
Click to expand...
Click to collapse
I want to play around more with this as I like the interface. The only problem I'm having is, currently I'm using phhusson's superuser and it doesn't seem to be getting the su request from Automate. Up until now, I've used Tasker and Secure Settings to do the same and they work fine.
Tasker will do that, GravityBox will do it too, and so will multiple IFTT type apps. Not sure there is much new here.
GroovyGeek said:
Tasker will do that, GravityBox will do it too, and so will multiple IFTT type apps. Not sure there is much new here.
Click to expand...
Click to collapse
I'm aware of Tasker + Secure Settings, but where is this in GravityBox? I don't see anything in Smart Radio that shuts off the radio completely when connected to wifi. Also curious which apps in particular do this.
hawkswind1 said:
I'm aware of Tasker + Secure Settings, but where is this in GravityBox? I don't see anything in Smart Radio that shuts off the radio completely when connected to wifi. Also curious which apps in particular do this.
Click to expand...
Click to collapse
Yes, Smart Radio will not turn off the radio completely, but you can set it to 2G mode where the power consumption drops drastically relative to LTE. Now that you have pointed this out, why would you want to shut off the radio completely when connected to WiFi? That means that you loose phone functionality, and cannot receive or make phone calls.
As for apps that do this https://ifttt.com/ should work, at least before Marshmallow where Google clamped down on some settings adjustments.
GroovyGeek said:
Yes, Smart Radio will not turn off the radio completely, but you can set it to 2G mode where the power consumption drops drastically relative to LTE. Now that you have pointed this out, why would you want to shut off the radio completely when connected to WiFi? That means that you loose phone functionality, and cannot receive or make phone calls.
As for apps that do this https://ifttt.com/ should work, at least before Marshmallow where Google clamped down on some settings adjustments.
Click to expand...
Click to collapse
No phone functionality is lost that I'm aware of, since Project Fi calls and texts will be routed through the wifi connection.
hawkswind1 said:
No phone functionality is lost that I'm aware of, since Project Fi calls and texts will be routed through the wifi connection.
Click to expand...
Click to collapse
Got it, I did not read your OP in sufficient detail. For those that have Project Fi this could be value added. In my experience the 2G radio draws negligible power (standby time in 2G of a phone with a 3000mAh battery will be measured in weeks with the screen off) so the difference between fully off, and 2G only (or even 3G only) will be minor with respect to SOT, which will be dominated by the screen and wifi anyway.
​
GroovyGeek said:
Got it, I did not read your OP in sufficient detail. For those that have Project Fi this could be value added. In my experience the 2G radio draws negligible power (standby time in 2G of a phone with a 3000mAh battery will be measured in weeks with the screen off) so the difference between fully off, and 2G only (or even 3G only) will be minor with respect to SOT, which will be dominated by the screen and wifi anyway.
Click to expand...
Click to collapse
I think that's right. 2g uses very little power, unless you are in a building or house that has low signal. I work in GM factory where I can barely pull 2g data.
Is there any way you could update this to include Bluetooth turning on after airplane mode is activated in addition to wifi, that way my smart watch can always stay connected too. Either way thanks for the post, it works great!
DistortStatic said:
Is there any way you could update this to include Bluetooth turning on after airplane mode is activated in addition to wifi, that way my smart watch can always stay connected too. Either way thanks for the post, it works great!
Click to expand...
Click to collapse
I just uploaded a version that will keep bluetooth on as well. Find it by searching the community for "project fi bluetooth"
hawkswind1 said:
I just uploaded a version that will keep bluetooth on as well. Find it by searching the community for "project fi bluetooth"
Click to expand...
Click to collapse
Thank you so much, this is going to be amazing for my battery life. Toggling airplane mode and wifi and Bluetooth just became too tedious after awhile, but now I can save power effortlessly.

Phone disconnects from Wi-Fi in sleep mode

Greetings. I have a problem with my phone and Wi-Fi connection.
My phone is a Sony Xperia J running stock Android 4.1.2. When I leave it for a while in sleep mode, whether charging or not, it disconnects from my Wi-Fi connection and uses my phone's data, draining my data plan.
I need your help concerning this issue. Here are some of my phone's related settings:
Keep Wi-Fi on during sleep: Always.
Avoid poor connections: Unchecked.
Extended Standby Mode: Unchecked.
Thanks in advance.
UPDATE: Since then I've disabled my data plan so I can check if my phone is properly connecting to my Wi-Fi or not. It seems that yesterday I had no problem, but today I'm experiencing it. I don't know what should I do. :crying:
Maralagidyne said:
Greetings. I have a problem with my phone and Wi-Fi connection.
My phone is a Sony Xperia J running stock Android 4.1.2. When I leave it for a while in sleep mode, whether charging or not, it disconnects from my Wi-Fi connection and uses my phone's data, draining my data plan.
I need your help concerning this issue. Here are some of my phone's related settings:
Keep Wi-Fi on during sleep: Always.
Avoid poor connections: Unchecked.
Extended Standby Mode: Unchecked.
Thanks in advance.
Click to expand...
Click to collapse
Did u use SIPdroid?
If yes uninstall it.
Sent from my OPO using CM14.1 <3
Also make sure that you don't have the battery saver mode on or another app that tries to save battery because they will often interfere and disable that for you as well.
KrYptoNxXx said:
Did u use SIPdroid?
If yes uninstall it.
Sent from my OPO using CM14.1 <3
Click to expand...
Click to collapse
No, I don't have that app installed.
es0tericcha0s said:
Also make sure that you don't have the battery saver mode on or another app that tries to save battery because they will often interfere and disable that for you as well.
Click to expand...
Click to collapse
I don't have that mode on either on my phone settings or my app's.
* * *
UPDATE: Since then I've disabled my data plan so I can check if my phone is properly connecting to my Wi-Fi or not. It seems that yesterday I had no problem, but today I'm experiencing it. I don't know what should I do. :crying:
Only other setting I can think of that controls that is in Developer Options. There's one that's aggressive hand off from wifi to cellular data and one for keep data on at all times. If you haven't enabled Developer Options yet then forget I mentioned it as it'll not be on by default.
es0tericcha0s said:
Only other setting I can think of that controls that is in Developer Options. There's one that's aggressive hand off from wifi to cellular data and one for keep data on at all times. If you haven't enabled Developer Options yet then forget I mentioned it as it'll not be on by default.
Click to expand...
Click to collapse
I have Developer Options enabled and I don't see any of these options there.
Anyway, I think I have found the cause of the problem (a conflicting application, I just did a clean reinstall of it) and so far I'm good, if the problem persists I'll post again.
Thank you everyone who participated in this thread.
Glad to hear that it seems you found the cause. Please let us know what app in case someone else has the same issue and stumbles across your post.
Well, it was WhatsApp. Apparently I had a duplicate APK in my SD card (I use Link2SD) from before the factory reset. I say it was a duplicate because I unlinked WhatsApp from the SD card, but when I uninstalled it it said it was removing it from the SD card.
Thanks again!

Categories

Resources