yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] GTurn:
gps toggle

I am a complete Newbie to Tasker and I am trying to get Tasker to toggle gps on and off when opening and closing certain apps. i have secure settings with the helper installed.

Lg esteem with 2.3.4 and rooted with custom Rom

The steps i am using is

create new profile

select app. Navigation

create task

click + Plugin Secure settings

configure gps on

I then long click the Gps on task and create an exit task in the same manner as above but i set it to off.

I click the green check mark and tasker closes.

i double check in the phones settings to see if i have "use gps sattelites" checked and i dont.

when i open Navigation the window pops up saying "gps is disabled". "show location settings?" and gps is not turned on.

when this happens i pull down the bar notification bar and tasker shows "auto Gps"

What am i doing wrong?
[Android Apps and Games] intangibleDroid:
I have put together a sample Tasker project that might help you out.

GPS will enable when certain apps are open and disable when they close. Please import the project and let me know if it helped.
[Android Apps and Games] GTurn:
I downloaded the project file And I can see it in my downloads With file Explore but when I go to import it I can't find it anywhere
[Android Apps and Games] intangibleDroid:
You can either try to open it with Tasker or move it into the /sdcard/Tasker/projects/ folder on your sdcard.

To import the project into Tasker do the following:

Open up Tasker

Make sure you have "Beginner Mode" unchecked in the settings

Long-press a project tab (if they are not visible, slide the gray triangle down from the top) at the top and click "Import"

Select the GPS project you downloaded

Hope this helps
[Android Apps and Games] GTurn:
Thank you so much for trying to help me out. I did what you said and I got it imported But I still can't get it to work. When I open navigation Tasker shows that navigation is running but it does not automatically turn on GPS
[Android Apps and Games] onedr0p:
This app is dead, no updates in 3 years. Move along folks if you're on MM or higher.
[Android Apps and Games] GSDLt:
Move to where is the question. Do you know any good alternatives?

Gesendet von meinem s3 mit Tapatalk
[Android Apps and Games] Ja_som:
It was mentioned here in this thread

https://play.google.com/store/apps/details?id=com.joaomgcd.autotools
[Android Apps and Games] daniu:
In my opinion autotools are too expensive ... easy to spend more money on it than tasker itsself costs.

I like the approach to do things with terminal commands. The main problem I see is that ROMs are too different. Have yet to find a way to disable pattern lock on my Asus zenfone. All common ways did not work ...
[Android Apps and Games] nknwn666:
It may be expensive but it's worth the money.

You also have this project, [Project Share] Toggle settings (e.g. location, mobile data, night mode, more) WITHOUT root which can do most of the things autotools and secure settings do.
[Android Apps and Games] R3dDr4g0n:
+1
[Android Apps and Games] Sobek5150:
I've been looking into this as well. From what I've been able to gather, Nougat does not have the same secure settings as Marshmallow did - specifically in this case the lockscreen can't be activated or deactivated even through using code.

For now I believe we are stuck. Currently I've foregone a lockscreen because of this.

There may be other ways but I've exhausted alot of time looking for them with no luck.. Maybe Xposed for Nougat, when finished, will have options.
[Android Apps and Games] Pkt_Lnt:
This might, I have not tried it yet since Secure Settings still works for me with 7.1.1

https://play.google.com/store/apps/details?id=com.balda.securetask

https://plus.google.com/u/0/communities/107846871867669301384
[Android Apps and Games] Sobek5150:
Does the option through Secure Settings to set and remove lockscreen pin/password work for you specifically?

I've had success with other Secure Settings through Tasker, it's just that particular one that deals with the pin/password that no longer works for me on 7.1.1.

Also thanks for the option I'll check it out.
[Android Apps and Games] Pkt_Lnt:
yes
[Android Apps and Games] Sobek5150:
Interesting. Mind if I ask what phone and software you're running?
[Android Apps and Games] Pkt_Lnt:
Nexus 6

Pure Nexus ROM 7.1.1_r13 (Jan security updates)

PHH SuperUser
[Android Apps and Games] Sobek5150:
I'm guessing that the ROM is stock or stock based? Since I've tried multiple N roms (all based on CM or LineageOS) all with no luck. I would probably guess the stock based roms could still have the functionality.
[Android Apps and Games] Pkt_Lnt:
It is AOSP, compiled from source, not stock based.
[Android Apps and Games] Sobek5150:
Very interesting then. I'm at a loss on how that works for you then. There seems to be a great majority of people who get errors with pin/password in 7.1.1. Count yourself lucky :)
[Android Apps and Games] Manu-:
This is the way. So I have brought Secure Settings to run

Gesendet von meinem SM-G930F mit Tapatalk
[Android Apps and Games] FrankJHTC:
I try that but didn't work. I have to put all the text on abd shell or line by line

Thanks

Enviado desde mi Apollo_Lite mediante Tapatalk
[Android Apps and Games] Manu-:
Sorry, with me it worked directly. Did you enter everything correctly in Su Shell?
[Android Apps and Games] FrankJHTC:
Yes..

Enviado desde mi Apollo_Lite mediante Tapatalk
[Android Apps and Games] Manu-:
Ok then I do not know how I can help you. As I said it worked for me. Source of YouTube and here: http://www.bloghuette.eu/2016/06/wenn-unter-android-m-secure-settings-nicht-mehr-wollen/

Try this time. Copy and run in Su Shell:

adb shell

su

mount -o remount,rw /system

touch /system/bin/su

mount -o remount,ro /system

exit

reboot

Gesendet von meinem SM-G930F mit Tapatalk
[Android Apps and Games] FrankJHTC:
Ok.. I try it.. Thanks

Enviado desde mi Apollo_Lite mediante Tapatalk
[Android Apps and Games] FrankJHTC:
I have problem with permissions of adb shell and don't know why

Enviado desde mi Apollo_Lite mediante Tapatalk
[Android Apps and Games] FrankJHTC:
I finally did it with this...

http://www.notenoughtech.com/tasker/secure-settings-nougat/

Enviado desde mi Apollo_Lite mediante Tapatalk
[Android Apps and Games] Manu-:
Well you see. And this is the same instructions as I wrote you before :). Congratulations and please that I could help

Gesendet von meinem SM-G930F mit Tapatalk
[Android Apps and Games] bigchrizzieboy:
Hi all,

I want to try this app after a long time and notice it didn't work.

How i simply fixed it with one app:

1: Download Total Commander BETA

Direct link: http://ghisler.com/tcbeta.apk

info: https://www.ghisler.com/android.htm

Play Store: https://play.google.com/apps/testing/com.ghisler.android.TotalCommander

2: Enable ROOT in Total Commander BETA

It doesn't work on Nougat with normal Total Commander that's why beta is needed

Menu (3 dots right top) enable root acces at the bottom.

3: Go to /Root/System/bin/

4: create folder "su"

menu (again the 3 dots), long create folder.

It will give a warning, just press OK.

5: Set the persmissions on the folder:

Long press su, choose properties.

Next choose RWX (see screenshot)

and set the permissions on 744 by selecting the right "V" (see second screenshot).

It can give another warning, just click OK.

6: Now Secure Settings will work and you can Enable System+ Module

After enabling System+ module

7: Remove the created "su" folder:

Open Total commander, go to /Root/System/bin/ and delete the su folder.

Tested after reply under my post and works, even after reboot.

More screenshots or help needed? Simply reply here.
[Android Apps and Games] fbf2201:
Did the same a while ago.

After that you can (should?) delete your self-created su file again.

For me issues occurred with other apps.
[Android Apps and Games] bigchrizzieboy:
Thanks for this, tested and edited the post.

This is whatever makes XDA awesome

:good:
[Android Apps and Games] Cowbell:
Thank you, bigchrizzieboy.

This problem was fiexed with your way.
[Android Apps and Games] Tiny Wiz:
Not sure if it has been mentioned but I can highly recomend the app 'SecureTask'

https://play.google.com/store/apps/details?id=com.balda.securetask

It has some great options and even works without ROOT!
[Android Apps and Games] RelaxDA:
This worked

Thanks a bunch mate! Cheers!
[Android Apps and Games] tacofart:
Wonder if someone can tell me what Im doing wrong here. Im using secure settings with Macrodroid (prefer this with tasker).

My issue is, whenever a macro is triggered that uses secure settings (for example, turn on airplane mode), it will launch secure settings in the foreground in order to do it.

Also, if secure settings isnt open in the background (i.e., in recents) and the macro is triggered, nothing will happen.

Any ideas?
[Android Apps and Games] Ryav:
Hello, I have Android 7.1 and I can not use functions of lockscreen pin protection. What is the reason?
[Android Apps and Games] Pkt_Lnt:
The app is dead in the water, no updates in over 3 years. See the title of this thread?

[APP][2.2+][Tasker plugin] Secure Settings - Updated 1/29/14

That is USA date of January 29, 2014 in case you are from somewhere that uses different date formats. ;)

There are alternative that do many of the tasks that Secure Settings does / did, not sure if they do lock screen or not.

Auto Tools https://play.google.com/store/apps/details?id=com.joaomgcd.autotools

Secure Task https://play.google.com/store/apps/details?id=com.balda.securetask
[Android Apps and Games] daniu:
Hi

There was a way to do lots of things that formerly required secure settings with tasker with some Java functions but I cannot find how it works any more. IIRC it did not even require root. The author of the autoapps also made an app for that but I do not like to do it this way and would like to find out again how to use it directly (the complicated way). I still have the project in my tasker but lack the explanation how to use it ...

Does anyone know what I am talking about?

Regards
[Android Apps and Games] Ryav:
Hah! Thanks for answer, I will check your advice.
[Android Apps and Games] user2k10:
Am I correct in thinking that I could unpack the latest SecureSettings apk and edit the file that specifies the PATH to the su program so that it includes the new location of su and then rebuild the apk.

Would that work?

__________________

Sent from my Samsung Galaxy Note4 (SM-N910F) on ALEXNDR MM 6.0.1 (QC3) powered by Stock kernel via Tapatalk Pro
[Android Apps and Games] voroxda:
Good idea, but unfortunately the task is not no change one hardcoded path against another path. SS reads the $path environment variable. May be you can add in the directory array one additional dummy path, where a dummy su file exist?

like $path=$path : /storage/emulated/0/SSdummy

Good luck
[Android Apps and Games] user2k10:
If that is true about just using the $PATH variable can't we just export a change to the PATH before executing SecureSettings?

__________________

Sent from my Samsung Galaxy Note4 (SM-N910F) on ALEXNDR MM 6.0.1 (QC3) powered by Stock kernel via Tapatalk Pro
[Android Apps and Games] tacofart:
Are you just trying to get it to recognize root? There is a much easier solution. create an empty file called "su" in system/bin and restart.
[Android Apps and Games] user2k10:
I am running a SYSTEMLESS ROM so I don't want to put any files into system or it will break OTA updates.

__________________

Sent from my Samsung Galaxy Note4 (SM-N910F) on ALEXNDR MM 6.0.1 (QC3) powered by Stock kernel via Tapatalk Pro
[Android Apps and Games] swallowingled:
I'm not sure if this messes with OTA updates as I don't take them but here's a link to enable compatibility mode in supersu to get outdated apps to work.

https://xdaforums.com/showpost.php?p=66140836&postcount=5493
[Android Apps and Games] Thaymus:
Hello everyone

I'm on LineageOS 13(Android 6.0.1) Galaxy Grand Duos GT-I9082

The pattern lock disabling feature of secure setting is not working

I had a task in Tasker to disable pattern lock but it's not working

So

Can any one help me figure this out?
[Android Apps and Games] Pkt_Lnt:
If you look at the thread title you will see the last update was Jan. 29, 2014. That is three and a half years ago, Android has made many changes that Secure Setting can no longer change.

This thread lists a couple other Tasker add ons that might or might not work for you. Have you tried them?

Others have asked this same question numerous times, did any of them post a solution?
[Android Apps and Games] Thaymus:
I found the other add ons but didn't try them yet

I will report after trial

Thanks
[Android Apps and Games] Pokjuebesut:
Help me root my phone
[Android Apps and Games] Ja_som:
You are in a wrong place, this thread is not about rooting, use the search function on XDA, look in your device forum, or use Google.
[Android Apps and Games] Sobek5150:
Probably one of the most ineffective threads to post this in. Not only is it not anything to do with rooting, but there is SO LITTLE activity in this thread. .. Please do what the good man above my post suggested.
[Android Apps and Games] NYLimited:
[ deleted ] wrong topic..
[Android Apps and Games] JagDave:
Look four post up.
[Android Apps and Games] NYLimited:
Oops! Thanks, that doesn't actually help me but reading back did make me realize i posted in wrong topic.. :crying:

Much too easy to goif like that when following too many..
[Android Apps and Games] tiwas:
Hi.

I'm trying to change the locale of my device when starting android auto, but I cannot find the locale picker or anything that sounds remotely like it. Been searching for a while now, and the closest thing I've come is to find some reference to it might being disabled.

Could someone please help me by telling me where I can find this option? Or...is there some other way to do this on Android 7.1?
[Android Apps and Games] Lordcolus:
It's under System+ Actions -> Locale

But I tried that on my stock Nextbit Robin (Android 7.1.1) and it doesn't work......
[Android Apps and Games] tiwas:
Hmmm...I thought secure settings was able to do this without root, but on my stock rom it's disabled...
[Android Apps and Games] Lordcolus:
You can try SecureTask instead. It uses ADB to grant the permission you need to change system language. It works on my stock Nextbit Robin.

https://play.google.com/store/apps/details?id=com.balda.securetask&hl=zh_TW
[Android Apps and Games] tiwas:
Thanks! Will try this afternoon :D
[Android Apps and Games] majid.ilkhani.no1:
Doesn't detect root on marshmallow TouchWiz, systemless SuperSu
[Android Apps and Games] Nergal di Cuthah:
This app is all but dead starting with marshmallow. Many of its features can be done with commands.
[Android Apps and Games] Renrev95:
Setup for Car stereo

Hi

I'm making a setup in Tasker that automatically launch a dashcam-app, spotify and torque when my Samsung Galaxy Tab S2 connects to the stereo in my car. The detection and launch is not a problem at all.

The problem comes when I my tab disconnects when I stop the car. I want it to force stop the dashcam-app and torque. The easiest way I have found is to use Greenify to hibernate witch actually goes to the decided app and force stop through the apps section in settings. This works fine when the screen is on and unlocked. But when my screen is locked the process is delayed until it becomes unlocked. Normally it takes a few hours between uses of my tab and the GPS uses way to much power when active, but not when in standby. Turning the GPS on/off requires root and I want to keep the GPS on in case I loose my tab so I can remotely lock the device.

I tried using secure settings to: clear password and turn screen on so Greenify can work before secure settings set pin and locks the screen again. The problem is I just keep getting an error message on the pin-lock.

Any suggestions would be greatly appreciated.

I am quite new in this forum so if my explaining is bad or something, please tell me so I can improve myself a little.
[Android Apps and Games] Sobek5150:
What version of Android?
[Android Apps and Games] Shaftamle:
The version of Android you're on makes absolutely no difference whatsoever. Not sure why that question was even asked. The real question that should have been asked and I'm assuming is your problem is are you using systemless root?

If you check the error log using Tasker you will probably find an error that says secure settings can't acquire root. This is because the developer, even though he has the only app of its kind has decided to not update secure settings anymore. Secure settings looks for traditional root which is why it typically doesn't work on just about anything anymore.

However the one solution that I found that works brilliantly is to use magisk. I don't know why or how but secure settings seems to work perfectly when using that for route.

Once you get it up and working correctly you can simply use secure settings to kill the app rather than using greenify in the method in which you have described. I had the same problems trying to kill Google Maps and one of my tasks until I started using Magisk.
[Android Apps and Games] Sobek5150:
You are very intelligent :laugh: Glad you're here to set us all straight big guy. :good:
[Android Apps and Games] Shaftamle:
Oh you're very welcome. Thank you for continuing to clog This Thread up with useless information. [emoji23]

For future reference when somebody writes 2 and 1/2 paragraphs for a question a three-word answer is usually a waste of time. But it was nice of you to give it a shot in the dark.

Screw Yourself with Screwed-7.1.2
[Android Apps and Games] Sobek5150:
You clearly know best.
[Android Apps and Games] Renrev95:
Does your solution require root to work? I haven't rooted my tab yet and to be honest I'm quite new to the concept of root. Might need some tip about rooting if this is required to make it work.
[Android Apps and Games] Shaftamle:
Anything involving disabling/enabling passwords, pins or other security settings is going to require root. As far as I know, forcing apps does as well.

My best suggestion is checkout the Magisk thread. It's very beneficial for several reasons:

1) Secure settings works with it

2)Root is built into it

3)you do not need a custom recovery to install like other root options. ADB can be used which enables you to still receive OTA updates.

4)it gives you the ability to do other great things without losing the ability to take OTAs or use Android pay like using adblockers and Xposed.

5) you will find that greenify works much better with root access

It is truly a remarkable mod and there's plenty of documentation and YouTube videos explaining how it works and how to install. I don't have the link handy but if you Google it there is tons of resources out there.

Screw Yourself with Screwed-7.1.2
[Android Apps and Games] Renrev95:
Thank you very much. I'll take a look at it and perhaps try it out.
[Android Apps and Games] SomebodySysop:
How to use Secure Settings System+ to maintain accessibility Settings

I have a rooted px5 unit running Android 6.0. It keeps losing accessibility settings for TouchTask, AutoVoice Google/Now Integration, AutoInput and Tasker. I turn them on in settings, and after I get into and out of car a few times, they are switched back off.

I read somewhere that someone used Secure Settings to keep these accessibility settings on. Of course, they don't mention how. So, that's my question. I have System+ enabled. So, how do I create a task using secure setting to maintain accessibility settings on for the above applications?

Thanks!
[Android Apps and Games] SomebodySysop:
Found the answer: Select the secure settings from the action menu -> tap configuration -> system+ Actions -> accessibilty service.
[Android Apps and Games] bflmpsvz:
This app I used on stock ROM without issues but has problems to enable System+ module on most(not all) current custom ROMs I've tried. Is the app too old to be still compatible with modern ROMs, and is there any workaround? If I look at the progress, it even doesn't ask for root access when I try to enable the module.
[Android Apps and Games] andersjohansson81:
Same as previous statement, Los, 7.1.2 Magisk root.

When I changed magisks default setting to grant any SU request instead of prompt it did grant secure settings root but it still failed with the system+ module
[Android Apps and Games] Ja_som:
That is a very old thing, because Secure Settings can't work with systemless root.
[Android Apps and Games] andersjohansson81:
? , thanks for reply l, is there any other way to get it to work or other plugin for tasker? Trying to get location on textmessage.

---------- Post added at 01:24 PM ---------- Previous post was at 12:47 PM ----------

This worked ?
[Android Apps and Games] andreasy:
Samsung s7 edge, rooted with magisk. Lock screen with pattern lock and fingerprint. No option seems to work for unlocking/locking screen with tasker ss.

Any ideas without having to change my lock methods?
[Android Apps and Games] knojap:
I'm just using secure settings to change my WIFI SLEEP POLICY.

Everything else i can do with Gravity Box and Xposed Edge.

Does anyone knows how to use a shell command to change the wifi policy Never / When plugged in / default?

So i don't need secure settings anymore?

Thanks
[Android Apps and Games] cmonty14:
Set or reset the device's pin fails

Hi,

I have defined a task to set (or reset) the lockscreen pin.

However, when execute this task I get this error:

"An error occured while executing Action: Password/Pin!"

I'm using this device: Samsung GT-I9505 (jfltexx)

LineageOS-14.1 (Android 7.1.2)

Tasker 5.0u7

Secure Settings 1.3.6

This feature was working on LineageOS-13.

How can I fix this?
[Android Apps and Games] DTTR:
You cannot.

Secure settings does not work on android 7.
[Android Apps and Games] voroxda:
That's not true in general. I use many function inclusive system+ functions under nougat since more than one year without any problem. Of cause I didn't test all functions. There are problems with chainfires systemless root implementation. But there are workarounds also described on XDA. With magisk root there are no problems at all. SS detects the rooted device.
[Android Apps and Games] uchytilvernon:
I use Secure Settings Pro on my Samsung J3 w/o root just fine.
[Android Apps and Games] Galaxea:
Works fine on 8.1.1 on my OP5T with a small tweak.
[Android Apps and Games] amor12:
Hi.

On my rooted Nexus 5 it shows "root access was not detected" any idea?
[Android Apps and Games] Ja_som:
Yes, use the search in thread function.
[Android Apps and Games] NYLimited:
If using SuperSU listen to [MENTION=5201515]Ja_som[/MENTION] and search.. or try a current version of Magisk...
[Android Apps and Games] amor12:
Thank you guys, it works now! I installed Magisk...
[Android Apps and Games] lukpol:
guys, will it stop disabling HW overlays when 7 day trial expires?
[Android Apps and Games] mikey05301986@gmail.com:
Help plz
[Android Apps and Games] Pkt_Lnt:
Last updated Jan. 29 2014, dead and buried. :(

Search the thread for Auto Tools and Secure Task that work on current android versions
[Android Apps and Games] Tatsch:
First, search for app "Tasker Settings".

Tasker itself is more powerful than before.
[Android Apps and Games] msfox:
No VPN configured

I experience the same problem on both of my Honor 5x with lineageOS 14.1, Xposed and tasker. When I try to configure a VPN in Secure Settings with tasker (Root-> VPN), I have only one Option "No VPN configured". I have a VPN profile which is working perfectly fine when triggered manually.
[Android Apps and Games] triathlete66:
same problem with VPN.

small solution (not perfect, but works for me):

- install this little App (VPN Settings):

https://play.google.com/store/apps/details?id=com.rosaneng.vpnsettings

- my Tasker-Task (screenshot):

with 1st input tap select the VPN.

Second input tap for OK Button.

X and y coordinates must be set to your Screen