Hi there,
I hope, someone can help me
I'm using Tasker for a while on several devices. For example I use profiles which turn location mode off or to high accuracy (using external app Autotools - Secure Settings) and mobile data on or off (using external app toggle data 5.0). This worked well until I updated our Oneplus 5T to Android 8.0.
The external app commands seem to work sometimes, but the rest of the profile tasks aren't executed and next time the commands don't work anymore.....
FYI: Autotools is granted permission to write secure settings and toggle data 5.0 has root access.
Toggle data 5.0 also got a widget to turn mobile data on or off and this works perfectly but tasker seems to have problems to use this external app and the app seems to freeze for a while after executing the task .
I attached an image from a run, where tasker managed to change location mode to high accuracy but stopped after this task with an error.
All apps are up to date (Tasker v5.1, Autotools v2.1.bf, Toggle Data 1.5.2.0) and the Oneplus 5T is on the latest Oxygen OS Version 5.0.4 (but on 5.0.3. the tasks didn't work either).
Thanks in advance
Better to include the log from running the task, probably a logcat as well since there is communication with plug-ins and it's always a good idea to share your profile when it's not working as expected. Make sure it's named - not a default name assigned by tasker. Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Then you'll be able to paste it. Be aware, it easier to use pastebin then link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters after, typically "on" and "off" to emoticons making it very hard to read.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Since you have root, you can try to use the Run Shell action instead.
lauralbaby said:
Since you have root, you can try to use the Run Shell action instead.
Click to expand...
Click to collapse
Thank you very much for your answer
After a quick research I found the two shell commands "svc data enable" and "svc data disable" to enable and disable mobile data which work fine with root permission:good:
Do you know, if there are commands for changing location mode to off and high accuracy, too? I only found commands like " adb shell settings put secure location_providers_allowed ' ' " but these didn't work.
Thanks in advance.
Try changing location_mode from 3 to 0.
lauralbaby said:
Try changing location_mode from 3 to 0.
Click to expand...
Click to collapse
Could you please tell me the exact command, for example for location mode 0? The command i found doesn't work because the terminal and tasker can't use ADB....
.
Just take off the "adb shell" part:
settings get secure location_providers_allowed
network,gps
Run the "get" command to be sure you have the right values before changing them.
(BTW if AutoTools doesn't work Secure Settings or Secure Task might be worth trying.)
lauralbaby said:
Just take off the "adb shell" part:
settings get secure location_providers_allowed
network,gps
Run the "get" command to be sure you have the right values before changing them.
(BTW if AutoTools doesn't work Secure Settings or Secure Task might be worth trying.)
Click to expand...
Click to collapse
With your help and another research and tests I finally found the solution:laugh:
Thank you very much for your help
If you or anyone else wants to know the correct commands:
Turn location mode to high accuracy:
Code:
settings put secure location_providers_allowed +network,gps
Turn location mode off:
Code:
settings put secure location_providers_allowed -network,gps
Turn mobile data on:
Code:
svc data enable
Turn mobile data off:
Code:
svc data disable
Related
Awesome developer Joao have (yesterday) released a brand new app called AutoTools to his big AutoApps-library. It´s supposed to be a ``supercharged Tasker´´. For example it has it´s own ``secure settings´´ very similar to the old original Secure Settings-app it self that stopped development a couple of years ago. And wait for it... it does NOT require root!
There are though warnings that claims the functions will not work on all phones and also to enable ``secure settings´´ you need to connect the phone to a PC and install a specific software etc. (all info is in the app).
I have not yet dived into all the functions myself but only checked it briefly. But this is exactly what Tasker needs And who else to bring it than Joao, he is really brilliant :good:
Read more HERE and take a look at the really informative Youtube video.
About the ``Secure settings´´ function.
AutoTools Secure Settings
This allows you to change settings on your device that you normally wouldn't be able to with Tasker
NO ROOT is needed for this action
Examples
Turn GPS on when in Google Maps, turn it off otherwise (No Root!)
Change Animation Speed with a Quick Tile on Android 7 and Above
Change input keyboard depending on situation
Set Screen Orientation
To use this, AutoTools needs to be granted permission to change secure settings on your device
How to grant AutoTools the Secure Settings permission
Enable Developer Mode: Go to Android Settings -> About Phone and look for the Build Number option. Touch it multiple times until developer mode is enabled.
Enable USB Debugging: Go to Android Settings -> and look for the Developer Options option. In there, enable the USB debugging option.
Install ADB on your PC: Check here for a quick way to do it.
Connect device to PC: Connect your device to a PC and look on your phone. A prompt should show up asking you to allow your phone to be debugged by your PC. Accept this.
Grant permission: Open a command line on your PC and write
adb shell pm grant com.joaomgcd.autotools android.permission.WRITE_SECURE_SETTINGS
Congratulations, AutoTools should now be able to use the "Secure Settings" action!
Click to expand...
Click to collapse
https://joaoapps.com/AutoApps/Help/...utotools.activity.ActivityConfigsettings.html
Warning info inside the app claims that ``mobile data´´ only will work on 25% of all devices, but I can confirm that it works on my S7 edge. Also power saver mode and GPS ''battery saver/high accuracy/off'' works as a charm.
Auto Tools been out for a hot minute…
snej81 said:
but I can confirm that it works on my S7 edge. Also power saver mode and GPS ''battery saver/high accuracy/off'' works as a charm.
Click to expand...
Click to collapse
And airplane mode?
You can toggle the Air Plane Mode by shell code, if you can't with that...
cottino said:
And airplane mode?
Click to expand...
Click to collapse
Just tried it and got some strange results lol. Airplane mode enables (icon lights up) and mobile data turns off BUT cell connection is still up and I can make calls and send texts. So you could say that I get ``almost airplane mode...´´.
I read about some Marshmallow bug though for third party apps writing system settings even with permissions, could be what causing this.. https://code.google.com/p/android/issues/detail?id=194376
loogielv said:
Auto Tools been out for a hot minute…
Click to expand...
Click to collapse
It has been out as a Beta app for a long time. It was released to the public a few days ago :-}
For Airplane Mode ( I don't have root), I use AutoInput to open up the notifications shade, then simulate a press of the airplane mode button. Works perfect
This is a lifesaver coming from Tasker + Secure Settings and System Module+ enabled which is not functioning with Marshmallow for GPS until I found someone talking about this app. Confirmed working with Marshmallow on LG G5 I'm very happy as soon as I saw it worked, I just bought the full version. This was the only issue I had as I like to use Waze often in my car and one or two less clicks is just another annoyance I didn't need :laugh:
can someone help me, I don't know how to install ADB, I'm running windows 10 home on my laptop,
Do i still need to do the adb command part if i'm rooted?
PAULRYAN52 said:
can someone help me, I don't know how to install ADB, I'm running windows 10 home on my laptop,
Click to expand...
Click to collapse
Not sure if you found the answer, but Google recently released an installer for just the tools like adb and fastboot: https://developer.android.com/studio/releases/platform-tools.html
I found out in the end
Hi everyone!
I just created my first Tasker plug-in. This plug-in enables you to send an adb shell command to any other device on the network that has adb over wifi enabled. I for example use it to turn my androidtv on or off by sending it the command "input keyevent POWER". You can also open specific activities in apps for example or simulate touch input.
Please read the description before using it and don't hesitate to leave feedback/bug reports/tips! This is my first app ever published so I still have a lot to learn.
You can download it for free from the play store:
https://play.google.com/store/apps/details?id=com.ADBPlugin
Edit: It's now also available on XDA Labs! You can find it here
First update is live!
This includes proper (cat)logs and Tasker errors if something went wrong, so if you run in any problems, you can now tell me . It also plays a lot nicer with the Tasker timeout system.
@Humpie
Thanks for this plugin. I allready made a project for my sony android tv. Start apps and controll media play.
But to make the plugin better I have some featur requests:
It would be nice to be able to work with tasker variables. e.g input text "%mytext".
Another feature reqest would be to get a output variable for commands with output like adb shell pm list packages.
MartelKombat said:
@Humpie
Thanks for this plugin. I allready made a project for my sony android tv. Start apps and controll media play.
But to make the plugin better I have some featur requests:
It would be nice to be able to work with tasker variables. e.g input text "%mytext".
Another feature reqest would be to get a output variable for commands with output like adb shell pm list packages.
Click to expand...
Click to collapse
Thanks for the tips! Will definitely add variable support and I'll also have a look at output variables. They are visible in the logs already, but not yet to tasker.
Why can't we use the built-in code Acton in Tasker? Is there a difference?
loogielv said:
Why can't we use the built-in code Acton in Tasker? Is there a difference?
Click to expand...
Click to collapse
In fact there is, since android 4.something google removed adb from android devices, so you can't perform adb commands from your phone, well aside from my plugin that is.
There would however be no difference if your remote device did have Tasker and you programmed it so that a certain action does something with code. However, you would have to figure out a way to contact that device etc...
Second update! The Plugin now has Tasker variable support!
(enjoy @MartelKombat btw I'm still thinking about how to implement your other request!)
I doont understand. I can type the code, but i do have to remove the "adb sell" part of the code but it's good to go… is that not what this plugin does?
Humpie said:
Thanks for the tips! Will definitely add variable support and I'll also have a look at output variables. They are visible in the logs already, but not yet to tasker.
Click to expand...
Click to collapse
Humpie said:
Second update! The Plugin now has Tasker variable support!
(enjoy @MartelKombat btw I'm still thinking about how to implement your other request!)
Click to expand...
Click to collapse
Any news on the output variable? I have high hopes since you mentioned you already see the output in the logs...
Thanks a lot for this plugin! It makes an unrooted phone much easier to control!
How to run root commands on an unrooted device with this plugin
I just wanted to share how I use this plugin, just to give others an example of what this nice plugin is capable of.
Recently, I bought a new device and for now, I have no intention of rooting it. Coming from a rooted OnePlus One, this means some of my Tasker profiles do not work as expected anymore and I have to find workarounds.
On LineageOS (and CyanogenMod before that), we have the option to display left/right cursor arrows in the navigation bar when typing text. I always loved this feature, since placing the cursor in the right position by tapping will always be a hit&miss game. Since my new device (S7 Edge) has no onscreen navigation bar, I was searching for a replacement solution to move the cursor. I came up with the idea that it would be quite handy to use the volume buttons for this. So, the idea was the following:
IF the keyboard is shown THEN use the volume keys to move the cursor (and suppress any volume changes, if possible).
It took me a while to figure out how to determine whether the keyboard is out (solution: install another keyboard and intercept the "change input method" notification as a trigger). Suppressing the volume keys' usual behaviour was easy (AutoInput -> Key Suppress) but the final step turned out to be quite difficult: How to move the cursor?
After doing some extensive research, I always came to the same point: "not possible without root". Damn.
But then, this plugin came in. The keyword "remote" in its name might suggest that you can use this plugin only to act from one device to another, but that's not true. Actually, you can use this plugin to run adb commands on the same device.
What does that mean? It means that you can run an adb shell command like "adb shell input keyevent xy" on your phone WITHOUT ROOT. In my case, I can run "input keyevent 21" and "input keyevent 22" to move the cursor. So, how can we do that?
Prerequisites:
Connect your device via ADB to a PC (google it if you don't know how) and run the command "adb tcpip 5555". That's it, you can disconnect your device now.
Then in Tasker, create an action with this plugin and type in the following:
IP Address: localhost
Port: 5555
ADB Shell Command: input keyevent POWER
Hit the play button to test this action. If you've done everything right, your screen will turn off.
Congrats, you just executed a command on an unrooted device which usually requires root privileges!
Important:
The only downside is, the tcpip setting does not survive a reboot, so you have to set the port 5555 again via PC after rebooting the device.
I hope I explained the important part well enough. If that's not the case, don't hesitate to quote me and I'll answer here.
digitalpig82 said:
Any news on the output variable? I have high hopes since you mentioned you already see the output in the logs...
Thanks a lot for this plugin! It makes an unrooted phone much easier to control!
Click to expand...
Click to collapse
I'm sorry for my absence, really busy with school etc. (honestly, I also completely forgot, I hope you can forgive me). I'll try to look into it soon (this week or the next) and see how far I get. I really like that you like my plugin! I just found out myself last week that I can let unrooted phones send shell commands to themselves using my plugin, so I'm glad to see you found it out as well! (I used it for snapchat to simulate volume key presses, which is also possible without root indeed: https://www.reddit.com/r/tasker/comments/699sav/project_share_handsfree_snapchat_picture_and/ It also works for other camera apps that require you to hold the button to film, like whatsapp etc)
Edit: I hope it pleases you to hear that today I started working on it again. I already have the responses bundled in a list in Java, now I just need to parse them to Tasker
loogielv said:
I doont understand. I can type the code, but i do have to remove the "adb sell" part of the code but it's good to go… is that not what this plugin does?
Click to expand...
Click to collapse
Yes, you have to remove the "adb shell" part since all my plugin does is access the adb shell part. This means commands like adb pull etc won't work, that requires a different type of connection, that for now I can't achieve with Tasker. But running any remote shell command should be fine (like how you would run it if you were directly running the commands from a terminal on your phone)
digitalpig82 said:
I just wanted to share how I use this plugin, just to give others an example of what this nice plugin is capable of.
Recently, I bought a new device and for now, I have no intention of rooting it. Coming from a rooted OnePlus One, this means some of my Tasker profiles do not work as expected anymore and I have to find workarounds.
On LineageOS (and CyanogenMod before that), we have the option to display left/right cursor arrows in the navigation bar when typing text. I always loved this feature, since placing the cursor in the right position by tapping will always be a hit&miss game. Since my new device (S7 Edge) has no onscreen navigation bar, I was searching for a replacement solution to move the cursor. I came up with the idea that it would be quite handy to use the volume buttons for this. So, the idea was the following:
IF the keyboard is shown THEN use the volume keys to move the cursor (and suppress any volume changes, if possible).
It took me a while to figure out how to determine whether the keyboard is out (solution: install another keyboard and intercept the "change input method" notification as a trigger). Suppressing the volume keys' usual behaviour was easy (AutoInput -> Key Suppress) but the final step turned out to be quite difficult: How to move the cursor?
After doing some extensive research, I always came to the same point: "not possible without root". Damn.
But then, this plugin came in. The keyword "remote" in its name might suggest that you can use this plugin only to act from one device to another, but that's not true. Actually, you can use this plugin to run adb commands on the same device.
What does that mean? It means that you can run an adb shell command like "adb shell input keyevent xy" on your phone WITHOUT ROOT. In my case, I can run "input keyevent 21" and "input keyevent 22" to move the cursor. So, how can we do that?
Prerequisites:
Connect your device via ADB to a PC (google it if you don't know how) and run the command "adb tcpip 5555". That's it, you can disconnect your device now.
Then in Tasker, create an action with this plugin and type in the following:
IP Address: localhost
Port: 5555
ADB Shell Command: input keyevent POWER
Hit the play button to test this action. If you've done everything right, your screen will turn off.
Congrats, you just executed a command on an unrooted device which usually requires root privileges!
Important:
The only downside is, the tcpip setting does not survive a reboot, so you have to set the port 5555 again via PC after rebooting the device.
I hope I explained the important part well enough. If that's not the case, don't hesitate to quote me and I'll answer here.
Click to expand...
Click to collapse
So...is it possible to create a version of the plugin that runs locally and doesn't disappear on a reboot?
kenkiller said:
So...is it possible to create a version of the plugin that runs locally and doesn't disappear on a reboot?
Click to expand...
Click to collapse
I would like to be able to create such a think but I don't think Google would allow it since it's a big security flaw to have adb opened to the world at all time without notifying the user. Some devices however have a debug over wifi function hidden in the developer options (like the nvidia shield android tv), there you can just enable it and it will probably survive a reboot.
However what I would advise to do if this option is not available, is to create a .bat file on your desktop containing "adb tcpip 5555". That way after a reboot you can just plug in your phone, click the bat file and be done!
Humpie said:
I would like to be able to create such a think but I don't think Google would allow it since it's a big security flaw to have adb opened to the world at all time without notifying the user. Some devices however have a debug over wifi function hidden in the developer options (like the nvidia shield android tv), there you can just enable it and it will probably survive a reboot.
However what I would advise to do if this option is not available, is to create a .bat file on your desktop containing "adb tcpip 5555". That way after a reboot you can just plug in your phone, click the bat file and be done!
Click to expand...
Click to collapse
Hmm....But there's this custom nav bar app where it allows users to grant it adb shell permissions, and the permission survives over reboots. Auto tools and Securetask relies on the same process as well.
I guess what we're asking for is something that's not as encompassing as your plugin. Me, I just want to execute the power command without root in a way that respects smart lock, which is possible now with your app but doesn't survive a reboot, or with the custom nav bar app, which survives a reboot, but restricts me to using it in a tiny button on the nav bar, as the dev doesn't seem interested in exposing the commands to external usage.
---------- Post added at 07:30 AM ---------- Previous post was at 07:28 AM ----------
We discussed it in this part here....
https://forum.xda-developers.com/an...avigation-bar-customize-t3590967/post72212488
kenkiller said:
Hmm....But there's this custom nav bar app where it allows users to grant it adb shell permissions, and the permission survives over reboots. Auto tools and Securetask relies on the same process as well.
I guess what we're asking for is something that's not as encompassing as your plugin. Me, I just want to execute the power command without root in a way that respects smart lock, which is possible now with your app but doesn't survive a reboot, or with the custom nav bar app, which survives a reboot, but restricts me to using it in a tiny button on the nav bar, as the dev doesn't seem interested in exposing the commands to external usage.
---------- Post added at 07:30 AM ---------- Previous post was at 07:28 AM ----------
We discussed it in this part here....
https://forum.xda-developers.com/an...avigation-bar-customize-t3590967/post72212488
Click to expand...
Click to collapse
It seems this app uses specific android permissions to be able to send events etc. However my plugin has no direct access to the android system (only by using the adb bridge), so granting my plugin these permissions won't help. What however would help is if I could find a way to enable adb over wifi using only some permissions... I have no clue whether this is possible though as the app would have to call service.adb.tcp.port 5555 for itself and that needs root or an adb connection (so it still requires a laptop XD). I'm still trying though.
Humpie said:
It seems this app uses specific android permissions to be able to send events etc. However my plugin has no direct access to the android system (only by using the adb bridge), so granting my plugin these permissions won't help. What however would help is if I could find a way to enable adb over wifi using only some permissions... I have no clue whether this is possible though as the app would have to call service.adb.tcp.port 5555 for itself and that needs root or an adb connection (so it still requires a laptop XD). I'm still trying though.
Click to expand...
Click to collapse
No worries. It's just that it's so close yet so far, heheh.... I guess I'll have to reboot only when home.
kenkiller said:
No worries. It's just that it's so close yet so far, heheh.... I guess I'll have to reboot only when home.
Click to expand...
Click to collapse
I found out it is in fact possible to have wireless adb survive a reboot! However it requires a build.prop edit.
in \system\build.prop "service.adb.tcp.port=5555" needs to be added at the end of the file and then after a reboot adb over wifi will still be enabled (at least it was in my case).
The downside is that this modification can't be done via adb without root unless you have a custom recovery like TWRP and run adb while having that opened and /System/ mounted.
I'm trying to create a zip that modifies the build.prop how it should be modified, but I don't think it's possible to run it through a non-custom recovery...
Edit: I added my .bat file for modifying the build.prop adding that line. It uses an adb connection that requires more rights than what android allows when booted, but should probably work if you are able to access adb from recovery and you are of course booted in recovery mode (using recoveries like TWRP or even some stock manufacturer ones).
Update 4.3 is live!
As requested you can now access the output from the console directly in Tasker.
I tried to order everything neatly in a list, with each line in the console being an item in the list, but this does mean that the initial "device\sdcard $" et cetera get added as an item as well.
But since I didn't want to cut off anything important I just kept it that way. You can just modify the list in any way you want (AutoTools has some handy Array handling tools built in).
I also added some hints in the main screen just for fun.
If you run into any strange behaviour, bugs or have tips, please tell me!
digitalpig82 said:
Any news on the output variable? I have high hopes since you mentioned you already see the output in the logs...
Thanks a lot for this plugin! It makes an unrooted phone much easier to control!
Click to expand...
Click to collapse
Enjoy
Since most people are using my Plugin locally instead of remotely, I'm thinking of renaming it to just 'ADB Shell [Tasker]'. It would make it simpler when googling it. What do you think?
Has anyone made a recipe to toggle GPS ON/OFF without secure settings? Or has anyone found a method for getting secure settings to recognize system less root
It's possible to change GPS with shell commands.
Here is some information if you're not familiar with the shell commands in Tasker:
http://www.notenoughtech.com/tasker/tasker-run-shell-commands/
If you leave off the "adb shell" part, here are the commands, which need the "use root" option:
http://android.stackexchange.com/qu...ossible-to-enable-location-services-via-shell
I have recently flashed an AOSP ROM to my LG G4, coming from a stock Nougat ROM and previously stock MM. On both previous versions I was able to use Profiles with Location contexts (turn on/off wifi, set volume, etc) with no problem. Now the location contexts have stopped working but the other ones seem to be working fine. I have location set on high accuracy, and all the permissions granted for Tasker, and the other apps which use location work fine. I have enabled logs but when I run them there are no errors, the profiles with location context simply don't seem to have any input triggering them. Any suggestions?
manuelcalmeida said:
I have recently flashed an AOSP ROM to my LG G4, coming from a stock Nougat ROM and previously stock MM. On both previous versions I was able to use Profiles with Location contexts (turn on/off wifi, set volume, etc) with no problem. Now the location contexts have stopped working but the other ones seem to be working fine. I have location set on high accuracy, and all the permissions granted for Tasker, and the other apps which use location work fine. I have enabled logs but when I run them there are no errors, the profiles with location context simply don't seem to have any input triggering them. Any suggestions?
Click to expand...
Click to collapse
What Android version is your current rom?
jerryspring said:
What Android version is your current rom?
Click to expand...
Click to collapse
7.1.2
manuelcalmeida said:
7.1.2
Click to expand...
Click to collapse
Then you should be able to do what I mentioned above
jerryspring said:
Then you should be able to do what I mentioned above
Click to expand...
Click to collapse
Sorry, what did you mention above? Can only find you asking me which version I'm on...
manuelcalmeida said:
Sorry, what did you mention above? Can only find you asking me which version I'm on...
Click to expand...
Click to collapse
Ooops. It didn't post. Lol. Here..
All u have to do is make the profile task and tap play button. That way it will tell you if Tasker is denied/granted SuperSU rights. No need to install secure settings anymore. Just tap Grant to SuperSU. Also, check your SuperSU app as sometimes it denies Tasker automatically
jerryspring said:
Ooops. It didn't post. Lol. Here..
All u have to do is make the profile task and tap play button. That way it will tell you if Tasker is denied/granted SuperSU rights. No need to install secure settings anymore. Just tap Grant to SuperSU. Also, check your SuperSU app as sometimes it denies Tasker automatically
Click to expand...
Click to collapse
The problem is not executing the task, as for example in my home profile I was able to replace the location context with Wifi Near. The problem is that I cannot implement profiles relying on location as apparently they don't work.
But anyway, I tried setting up the profile with location context, played the task but I got no request to grant SuperSU rights, and in SuperSU app Tasker does not appear, neither as granted nor denied...
manuelcalmeida said:
The problem is not executing the task, as for example in my home profile I was able to replace the location context with Wifi Near. The problem is that I cannot implement profiles relying on location as apparently they don't work.
But anyway, I tried setting up the profile with location context, played the task but I got no request to grant SuperSU rights, and in SuperSU app Tasker does not appear, neither as granted nor denied...
Click to expand...
Click to collapse
You have to use an action that has "Use Root" and check it, I think.
Are you just using Tasker location contexts, or AutoLocation? I never had good luck with the former.
lauralbaby said:
You have to use an action that has "Use Root" and check it, I think.
Are you just using Tasker location contexts, or AutoLocation? I never had good luck with the former.
Click to expand...
Click to collapse
I was only using location contexts, for example for when I get home my WiFi turns on, the ringer and media volume are set to a predefined level...
Meanwhile, I reverted back to a stock ROM and just as before everything works well. When at home, as soon as I set my home location as a context, it turns green and executes the task
Could you post more details about your profile? What do you use for location context? Log?
alienyd said:
Could you post more details about your profile? What do you use for location context? Log?
Click to expand...
Click to collapse
The profile I use is very simple, when I get to my home location, Wifi is turned on and Media and Ringer volumes are set to high. The location context is my house without GPS. I can't provide logs of the problem as I have changed ROMs to a LG stock one and I no longer have the problem.
I can confirm that, for example, wifi near triggers just fine from MM to N and now on O.
My guess is there is a a permission not enabled, or the location service doesn't have wifi scanning enabled. Something along these lines.
To post your profile (always a good idea when it's not working as expected) make sure it's named - not a default name assigned by tasker. Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Then you'll be able to paste it. Be aware, it easier to use pastebin then link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters after, typically "on" and "off" to emoticons making it very hard to read.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Can system settings be changed without root
I have gone into settings then sound settings
I then get an if statement
I just want to turn my system sound back on at a certain time
Im not sure what to do
Thanks
trickyrick said:
...
I just want to turn my system sound back on at a certain time
Im not sure what to do
Thanks
Click to expand...
Click to collapse
This sounds like you want to disable DND (do not disturb). The action for that doesn't require root. It's in audio category. The "all" setting will allow all sound, effectively disabling DND. I believe you must enable Tasker's notification setting in the system settings (main OS, not Tasker). If you are using any relatively recent Tasker version, you should be prompted for any missing permissions the first time you setup the (any) action.
Can system settings be changed without root
I have gone into settings then sound settings
I then get an if statement ....
Click to expand...
Click to collapse
Yes, Tasker is designed to run most of its actions without needing root. You do need to give permissions through ADB for some restricted actions, such as using the AutoTools plugin -> secure settings action. I think this is the action you are asking about. See Tasker User Guide - Grant Secure Settings
I have no idea what you mean by "I then get an if statement".
If you have a task (or profile) that doesn't work the way you expect, it helps others help you if you post the entire task (profile).
Before exporting, if you have sensitive information such as logins, api keys or anything else, you might consider setting those values to a variable and use the variable in your tasks so the values won't export with the task.
To export a task (profile) description for posting, press on the name to highlight the task (profile). Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use something like pastebin.com / hastebin.com and link to a post here. If you paste directly into a post here, the forum software will convert semicolons with characters directly after, into emoticons making it very hard to read.
Thanks for the replys
It's my wife's phone she goes to work and turns the sound off (not the DND) She drops the menu down and clicks on the sound icon then there is a line through the speaker icon at top of screen. She forgets to turn on the sound when she leaves work and I can't get ahold of her cause she can't hear the phone ringing. Was hoping to use tasker to turn sound back on at 5pm
I use ADB to connect tom my AmazonFire TV
Ive tried to connect to my cell but cant
ADB connect (ip of cell on my network)
It says it cant connect
Ive opened a command prompt within the install of the ADB
USB debugging is already on
When I attach phone I get no promt to alow debugging
trickyrick said:
I use ADB to connect tom my AmazonFire TV
Ive tried to connect to my cell but cant
ADB connect (ip of cell on my network)
It says it cant connect
Ive opened a command prompt within the install of the ADB
USB debugging is already on
When I attach phone I get no promt to alow debugging
Click to expand...
Click to collapse
ADB requires the proper drivers for the device installed on the computer your using. Using a data cable would be more reliable than over Wi-Fi, particularly to set-up. At the top of the forum, in the search manufacture and model of the device then it's forum should show up in the results. Every device forum has an "ask any question help thread". If you can't find how to ADB to the device in the forum, that's a good thread to get help in.
However, to turn the ringer volume up doesn't require anything special. Audio -> ringer volume. Explore all of the volume settings actions in the audio category.
Ok ill explore how to install ADB for my phone. In regards to the sound. You said it easy to turn volume up but my system volume is off not turned down Any option I try to turn volume up does not work. I dont see an option to first turn it back on
OK well Ill be dam. Figured out the ADB
Now its working turns the sound on at the specified time
Thanks for all your help have a good day