pie location not working - Tasker Tips & Tricks

Can anyone please tell me why location based profiles don't seem to work since I upgraded to pie 9?

Same Problem here....

Location works fine in Tasker on my Google Pixel 3 with Pie.
Only after the import of the tasks from Oreo to my new phone I had to reset the location of at least one location profil to get the location working again.
Have you checked the permission for Tasker to use the location?
Just for information: In Pie there's no "Energy Saving" location mode anymore. You can only switch between off, GPS only and GPS+wifi+bluetooth.

With Tasker, a user can create a task to set location mode to High Accuracy or Battery Saving Mode without root. I can confirm it is working on Pie.

You guys aren't understanding my problem. What DOESN'T work is having a profile get triggered by entering/exiting a geofence.
For example before I moved to Pie, I had a profile that turned my wifi on and off as I arrived home/left home by setting up a geofence 1km around my home. Now since I've upgraded to Pie, that profile never works anymore.

Related

Pie and One UI Location Setting

I'm under the impression that the only way to fully disable location settings is to turn on Airplane Mode? Because I think when you turn off location settings it still leave the GPS on, right? I just miss on Oreo having more control over location settings. Google really arm twisting us with this Pie stuff, huh?
I believe you are wrong. As I have just tested it on my N950N, when I tried using Sygic with the Location Settings Off. A message came up asking me to enable Location Settings before I could use Sygic.
iceepyon said:
I believe you are wrong. As I have just tested it on my N950N, when I tried using Sygic with the Location Settings Off. A message came up asking me to enable Location Settings before I could use Sygic.
Click to expand...
Click to collapse
Did it ask because it wanted the better location accuracy of combining GPS and data/wifi? I wonder if it wasn't satisfied with only GPS?

Tasker - SecureTask is not starting

Hello,
I'm going crazy here.... I've installed Tasker on my new Lenovo Tab M7 TB-7305F (7 Inch with Android 9.0 GO - NOT rooted). Tasker works fine. Since I want to kill apps I installed the plugin "SecureTask". And: I succeeded to get it working. Everyting is working fine. Until I reboot. After a reboot: When I try Tasker to execute the plugin-command SecureTask - Tasker waits long and can't execute the plugin. It seems Tasker can't call the plugin SecureTask / can't connect to it. When I manually load SecureTask (Icon on the desktop - only a config-screen comes up - I leave the config-screen with the back-button): After that everything works again. It seems: After SecureTask was loaded once everything is OK. But Tasker can't start the plugin.
Humpf? After a lot of hours of investigating..... I'm out of ideas. Any help?
That sounds like there's a problem getting a background process running after boot for SecureTask. Assuming that all of the permissions for SecureTask have been granted through ADB, I would contact the developer and see what he says.
A work around might be to use Tasker to launch SecureTask after boot. You could then use it to close itself
Thanks... exactly the opinion I have at the moment. In the meantime I found a contact address in SecureTask itself - so I will contact the developer.
Enabling SecureTask after boot by Tasker.... good idea That will be a screen-flickering... but that's at 5 am - so nobody will care about that. I will test this... :good:
Just to report my efforts.... I contacted the support of SecureTask - and got an email-chat within minutes. Incredible support - thank's a lot, John Doe (support of SecureTask)!!!
He told me how to get a logcat. Reason, why it's not working:
BroadcastQueue: TabletMaster Service: not allowed to launch app com.balda.securetask/10110 for broadcast Intent { act=com.twofortyfouram.locale.intent.action.FIRE_SETTING flg=0x14 cmp=com.balda.securetask/.receivers.FireReceiver (has extras) }
=> The OS is blocking the broadcast. No clue why. So it seems my Lenovo Tab M7 TB-7305F has a strange behaviour... no chance to get it working.
Btw: Killing SecureTask with it's own didn't work. So I had to choose now a complete different approach without SecureTask.
airplane mode
Hi, bit off topic maybe, but I saw that this is a quite recent threat and it is involved with SecureTask plugin, so I decided to hook up instead of creating new one
This week I bought Samsung Galaxy Tab S5e. It's operating on Android Pie and UI One interface. I'm reluctant to root it yet (all the more the procedure is not obvious), but I want to recreate as much functionality as possible from my old rooted Samsung tablet So SecureTask plugin is the obvious choice.
I'm trying to find a way to automate turning the airplane mode on/off. On my old tablet I created a profile that triggered airplane mode according the time schedule as soon as Tasker detects that the device is plugged in to a power source. I've tried to recreate this profile with the help of SecureTask. Of course in advance I granted to the plugin all possible permissions using adb and even successfully set it as the device owner. Then I found a secure setting responsible for turning the airplane mode on/off and set appropriate values. And when I test the created tasks, the green circle appears and the quick toggle in the notification drawer turns on, but it seems that the system doesn't listen to the call - the airplane mode actually doesn't turn on. The system seems to listen only when I turn the quick toggle on manually. So I wonder if there is something I'm missing or maybe it is not achievable at all without root on this firmware?
Would be grateful for any insight, maybe from you @ktmom, boss Thanks in advance.
@Lord Sithek, AFAIK, the only way you can toggle mobile data or WiFi radios is after a reboot and that may not work on all devices. Google "long ago" removed the ability to directly control those radios, even with root. Bluetooth does tend to toggle though.
So if it's going to work at all, you would have to toggle off and then reboot.
My opinion is its best to use touch emulations to activate the quick setting tile.
ktmom said:
@Lord Sithek, AFAIK, the only way you can toggle mobile data or WiFi radios is after a reboot and that may not work on all devices. Google "long ago" removed the ability to directly control those radios, even with root. Bluetooth does tend to toggle though.
So if it's going to work at all, you would have to toggle off and then reboot.
My opinion is its best to use touch emulations to activate the quick setting tile.
Click to expand...
Click to collapse
Ok, thanks for the response. I have Auto Input plug installed as well, so I'll give it a shot
ktmom said:
My opinion is its best to use touch emulations to activate the quick setting tile.
Click to expand...
Click to collapse
The problem is that it needs to turn the screen on. I keep my device in book cover so... pain in the arse :cyclops: I think I'll probably switch to "do not disturb" mode, at least it works right away
Sent from my mido using XDA Labs
Marienkaefer said:
Hello,
I'm going crazy here.... I've installed Tasker on my new Lenovo Tab M7 TB-7305F (7 Inch with Android 9.0 GO - NOT rooted).
Click to expand...
Click to collapse
I too just purchased a lenovo Tab M7 TB-7305F (7 Inch with Android 9.0 GO - also NOT rooted).
Sorry for intruding.
Have you found a forum for this tablet?
One specific question I have is with screen rotation. In android pie you get rotation control by turning off auto-rotation in settings. That way when you rotate the tablet a small icon appears briefly in a corner. When that icon is tapped the display rotates. If not tapped on the display does not rotate.
That is what happens in my other android pie devices. But for some reason this icon does not appear on this tab. So I'm looking for a forum for help. Have you found one?
Lord Sithek said:
Hi, bit off topic maybe, but I saw that this is a quite recent threat and it is involved with SecureTask plugin, so I decided to hook up instead of creating new one
This week I bought Samsung Galaxy Tab S5e. It's operating on Android Pie and UI One interface. I'm reluctant to root it yet (all the more the procedure is not obvious), but I want to recreate as much functionality as possible from my old rooted Samsung tablet So SecureTask plugin is the obvious choice.
I'm trying to find a way to automate turning the airplane mode on/off. On my old tablet I created a profile that triggered airplane mode according the time schedule as soon as Tasker detects that the device is plugged in to a power source. I've tried to recreate this profile with the help of SecureTask. Of course in advance I granted to the plugin all possible permissions using adb and even successfully set it as the device owner. Then I found a secure setting responsible for turning the airplane mode on/off and set appropriate values. And when I test the created tasks, the green circle appears and the quick toggle in the notification drawer turns on, but it seems that the system doesn't listen to the call - the airplane mode actually doesn't turn on. The system seems to listen only when I turn the quick toggle on manually. So I wonder if there is something I'm missing or maybe it is not achievable at all without root on this firmware?
Would be grateful for any insight, maybe from you @ktmom, boss Thanks in advance.
Click to expand...
Click to collapse
I don't know if it needs root (I am always rooted), but there is an Airplane Mode On and Off in Tasker, under Net category.
I have a task that checks if %AIR is on or off, and turn on and off accordingly.
---------- Post added at 04:33 PM ---------- Previous post was at 04:29 PM ----------
ktmom said:
@Lord Sithek, AFAIK, the only way you can toggle mobile data or WiFi radios is after a reboot and that may not work on all devices. Google "long ago" removed the ability to directly control those radios, even with root. Bluetooth does tend to toggle though.
So if it's going to work at all, you would have to toggle off and then reboot.
My opinion is its best to use touch emulations to activate the quick setting tile.
Click to expand...
Click to collapse
It still is fine to toggle mobile data on and off (in my case, either Mobile Data 1 or 2 due to having dual sims), as well as wifi, without rebooting. Even works in Macrodroid (the mini Tasker-like app)
Android app Tasker

Is there a module to allow apps to toggle wifi?

For many years I was on a 7 based ROM (Super) and used IfTTT & Life360 to toggle wifi off/on as I departed/arrived at different locations.
Last weekend I started using a new phone (1+ 7T) running 10 and, while those applets ran, they didn't actually do anything.
Come to find out that Google no longer allows any apps, including IfTTT & Tasker, to turn wifi on & off ([URL="https://www.androidpolice.com/2019/03/19/android-q-wont-let-apps-turn-wi-fi-on-and-off-potentially-crippling-apps-like-tasker/]"Android Q Won't Let Apps Turn Wi-Fi On and Off, Potentially Crippling Apps Like Tasker”[/URL]).
Is there a module that can restore that functionality?

Equivalent of System Profiles in Android 11?

I have just got a Pixel 4XL. I let it run through various updates yesterday as I was setting it up and its now on shiny Android 11.
My previous phone was a Samsung S6 running my own build of LineageOS 15.1 (Android 8.1). There is a really handy feature in this - System Profiles. I had the Car Profile set to trigger on connection to the cars Bluetooth and to enable the Wi-Fi HotSpot. The default profile disabled the HotSpot and triggered on disconnection to the cars Bluetooth. I can't seem to find the equivalent of this in any of the settings. The nearest I can find is the 'Driving Mode' option in Connection Preferences. I can get it to trigger this profile on connection to the cars Bluetooth, however the only 'Behaviour' I can set is 'Do Not Disturb' or 'Open Android Auto'.
In Android 8.1 (LineageOS 15.1) there is a 'System Profiles' option in System settings where I can can figure the profiles. Is there an equivalent in Android 11?
Andy
I honestly dont think there is, as I haven't come across anything like that. I think your best bet would be to use Tasker to trigger those events.

Question light-sensor based night mode

hi, I'd like to have automatic change of the night mode with tasker or similar.
The phone apparently offers only time-based automation, but i want to have it to change based on light-sensor, for when i'm indoor.
I have an S20 at the moment and Samsung decided to prevent this. Tasker itself warns me that some vendors do it.
I'd like to know if this is possible on zenfone8.
Thanks
I installed the trial version of Tasker and could create a light-based automation. It only works when the screen is on.

Categories

Resources