yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] smil3rrr:
VPN Automation

Guys, i dont know if anyone has posted it yet, but i found a solution for my VPN problem to automatically connect to my VPN Network.

You can use the the app VPNCilla (the free version will not work, but that are well spent bucks).

Install it, type in your vpn data und build an intent method in tasker like the following:

Set Tasker Action: Misc --> Send Intent (serach for keyword "intent", becaus it has moved to another location in tasker)

Target: Activity

Action: android.intent.action.MAIN

Package: com.gmail.mjm4456.vpncilla

Class: com.gmail.mjm4456.vpncilla.VpncList

Extra: android.intent.extra.shortcut.NAME:MyConnection (change MyConnection according your Connection Name)

Extra: vpncilla.extra.FORCE:connect or disconnect (optional, if this extra is missing, the connection state is toggled)

As i cannot paste urls, go to google and search for Mathias Meier and VPNCilla Automation.

Hope it helps, ia have searched for a practically solution for a long time... :)
[Android Apps and Games] Clasimodo:
Great tip. This is also perfectly possible with the free OpenVPN app, though. Easy to Google, for example: https://forums.openvpn.net/topic13122.html.
[Android Apps and Games] basti314:
Activate PIN to start an encrypted device

I'm using this app with Tasker to unlock my device while connected to my home network. As my device is encrypted I want to have the startup PIN set (known as "Require PIN to start device" in the security screen lock options). But the "Set Pin" option in Secure Settings doesn't care about this option to activate the PIN while booting the device. Is it possible to add this feature to keep the security of my device?
[Android Apps and Games] Ingenium13:
Why don't you just use the built in smart unlock and set it for your home?

Sent from my Nexus 6P
[Android Apps and Games] basti314:
This is a good point. I simply don't want to tell Google about my current location all the time (with high accuracy enabled). I'm just using GPS...
[Android Apps and Games] popy2006:
Any news on this?

Would also love to disable patternlock through tasker/secure settings.
[Android Apps and Games] nachomagic:
Hi mates and [MENTION=2528886]intangibleDroid[/MENTION]

I'm getting an error on clear cache option in my one plus one slimsaber 5.1.1

Could anyone help me? Job just bought the pro version to do it.

Do we still have dev support?

I've attached an error pick

Thanks in advance
[Android Apps and Games] Marauder0408:
Hi guys, first post here. I'm slowly learning Tasker and how to use it. I'm trying to automate the turning on/off of my Wemo light switch running a shell command. The shell command runs and works when I try on my Mac, in terminal I type "sh /Users/Name/Downloads/wemo.sh ip_address ON" to turn the light on.

So on Tasker I tried the secure settings run command as "sh /storage/emulated/0/Tasker/wemo.sh ip_address ON", having store the script in the Tasker folder, but nothing it happens even though it says completed. So I installed the Terminal Emulator app and tried the same command, but it said no such file or directory exists, which I do not understand because I placed the file in that directory...

Any help would be appreciated here.
[Android Apps and Games] Nergal di Cuthah:
What phone? What Android version?
[Android Apps and Games] kretzu77:
Hi,

I try cu activate HTC ROM functions and I receive the message "you neet to have HTC stock firmware"

My firmware is 6.0 stock with HTC Sense 7.0 (unlocked from HTC website). Exact software number is 6.16.401.101 and the Phone is HTC M8 Dual Sim.

There is some incompatibility between Secure Settings ans Android 6.0 on HTC?

Thank's and respect for your work.

LE: HTC Extreme Power Saving mode can be added along with present Power Saver? :D
[Android Apps and Games] revilo155:
Can someone explain this plugin to me... im lost? Lol sorry i havented rooted since my n5
[Android Apps and Games] digiowl:
Noticed just now that if I have a shortcut set to do an action on a Nova launcher home screen, and then restart Nova, the shortcut stops responding.
[Android Apps and Games] babylovebabie:
Thanks for the suggestion!
[Android Apps and Games] LeftyGR:
Do you use Tasker? It gives it more system based options. It can do more, but that's it's main purpose.
[Android Apps and Games] revilo155:
Nah i dont... i did lil research, and i guess i understand it... but the only one i would find use on is the data off screwn off option...
[Android Apps and Games] LeftyGR:
Tasker does a lot. Example: I got a profile set to detect connection to my car BT stereo. It then performs task of bumping all volumes to full, disables WiFi, bumps brightness to full, and reminds me to connect power to my phone, if it is not already. Then it politely says "car mode is active, sir!" When it disconnects, it returns all that stuff to normal and looks for my home WiFi. If it doesn't find it, it turns WiFi back off.
[Android Apps and Games] revilo155:
Yeah thats very useful... k just dont know how to use it i guess... theres specifics in the secure settings that i check on and off... but is not clear to me am i missing something. Perhaps an app.

Running dr. Katen rom latest

Yes i activated run by administrator

Yes enabled the settings
[Android Apps and Games] LeftyGR:
Checking those on/off will enable/disable each specific option that you can use in Tasker. There are other (less $/free) apps similar to Tasker it is compatible with. Look at the far right tab.
[Android Apps and Games] magnamentis:
can't confirm this, i have about 6 shortcuts and all work well, some of them for several years already, no idea where the difference is but there must be something. perhaps you provide a bit more input instead of just "a shortcut" perhaps it matters what kind of short cut that is?
[Android Apps and Games] revilo155:
Thank you for ur response and patience bro.... not to many are like ur self. I downlaoded tasker and i see how things work now. I haven had a rooted device for while.... so i never heard of this app. Thanks again! [MENTION=4303103]LeftyGR[/MENTION]
[Android Apps and Games] digiowl:
I'm using them to connect and disconnect a bluetooth device.
[Android Apps and Games] triathlete66:
Anybody else problems with latest SuperSU?

Since Update to SuperSU 2.65 no root actions available.

Root granted in SuperSU-App an no root-problems with other apps
[Android Apps and Games] Ingenium13:
Make sure you didn't disable xbin_bind, such as to enable Android Pay. Secure Settings uses a hard coded path to su.

Sent from my Nexus 6P
[Android Apps and Games] magnamentis:
nice to know but this way of com does not allow for any useful feedback from my side, sorry.
[Android Apps and Games] triathlete66:
thanks for quick reply.

I didn't diable xbin_bind I don't use Android Pay.

I'll stay with the old SuperSU
[Android Apps and Games] MSK1:
Would be good if someone could summarise what I could use this app for? The low hanging fruit as I am a beginner

I have so far used for launching driving mode.
[Android Apps and Games] PhilipTD:
A couple of examples:

Turn off pin code (Clear Password) when home, turn it back on (Set Pin) when out.

Turn on GPS (Location Mode - High Accuracy) only when using apps that need it, otherwise keep it off (Location Mode - Battery Saving).
[Android Apps and Games] t3khe4d:
an excellent use for secure settings, I use this daily.

http://xdaforums.com/showthread.php?p=37436324
[Android Apps and Games] robert1968:
Hi,

I have Secure Settings Pro and was happy to use it intensivly with my Tasker tasks.

Until now, when I upgraded to Android 5.1.1.

Since then Weak up device, Fligth on/off is not working RELIABLE -means sometimes yes, but mostly not.

Mostly when I configure Sec. Sett. in Tasker and save settings, then it will work once.but later it has no error messages during execution in tasker but do nothing.

My first thought was the 5.1.1 agressive memory management is the reason, but not sure.

Any advise how to make Secure setting working stable again?

Update:

Memory management has been changed drastically on Samsung 5.1.1

You have to enable autostart

in Smart Manager/ Auto Run Apps for Secure Settings,

and problem solved. :)

Best Regards,

Robert
[Android Apps and Games] manos78:
Hi,

I'm traying the same: create a "secret code" and launch a task when found.

Result: it don't work!

The "secret code" ins't registrered

(checked with http://play.google.com/store/apps/details?id=fr.simon.marquis.secretcodes).

Please, can you help me?
[Android Apps and Games] Ja_som:
Looks like Secure Settings works again on Android N, I don't have root, but System + is enabled...
[Android Apps and Games] Annunneo:
Is there a way to get system + to auto enable after a reboot?
[Android Apps and Games] Ja_som:
On my device is enabled after reboot, also I can't disable it, when I disable it and then close and reopen app, it's enabled again...
[Android Apps and Games] Mugga:
Got exactly the same issue, but found no fix yet.
[Android Apps and Games] mcbyte_it:
I was using last months CM13 for OnePlus One by Sultan (with CM default root) to the latest Sultan based on CM13 snapshot, which doesn't include root, so I installed SuperSu beta 2.70, and now Secure Settings doesn't detect root anymore.

is there any fix for this?

update:

the new SuperSU is using a new method of obtaining root without modifying /system, but this seems to break SecureSettings which has coded paths to su binary, is it necessary? can't this be fixed? a lot of other root apps works just fine.
[Android Apps and Games] psycholyzern:
Project is dead?

I emailed the dev about 1 year ago asking him to fix mobile data on Lollipop. He sais he gonna fix on new update.. Yet, a year has passed, no new updates
[Android Apps and Games] Nergal di Cuthah:
Project is at least in deep coma, lollipop some issues marshmallow afaik nothing works
[Android Apps and Games] psycholyzern:
I abandoned secure setting since long time ago because the dev wont fix the mobile data. I had to use separate app made by someone to control my mobile data. Hoping the dev will fix the app in the future, well that was what he promised me a year ago. I'm a pro user tho.
[Android Apps and Games] Annunneo:
Could you pm me the name of the app?
[Android Apps and Games] Pkt_Lnt:
Probably the data toggle from cygery. We have mentioned his apps here frequently, since most of them work with Tasker..

http://xdaforums.com/member.php?u=5253144
[Android Apps and Games] mrskyou:
Hi,

Do you have any solution to replace the "Pattern Lock off" (unlock) of SecureSettings on 6.0.1 ? I have this problem and I don't know how I can have this functionnality again ...I see many people with the same problem...

Thanks
[Android Apps and Games] Nergal di Cuthah:
It's not as perfect as secure settings, but (depending on your trigger) SmartLock built into Android 6 replicates this function.
[Android Apps and Games] Nergal di Cuthah:
I think you misunderstood; SS doesn't work on Marshmallow, the poster was liking for an alternative
[Android Apps and Games] piccit:
Umm, yes it does. I can't speak for the password/lock settings, but in general it works fine on MM. (I can't speak for system less root either)
[Android Apps and Games] Nergal di Cuthah:
Thanks, how weird for months since marshmallow (with not systemless root ) it had been throwing up errors so I dump it, now the same functions work (at least daydream). I'll slowly re add my old setting I dumped, if I can remember which[emoji38]

Edit

So, pattern lock still not working marshmallow. Xpatternlock reads unavailable (xPosed FW 80, yes enabled secure settings). But daydream off works
[Android Apps and Games] mrskyou:
Thanks for your answers...

Smart lock need to use the Google services....its not really that I want but...if its my last choice ...why not...i dont know ...

Do you think secure settings could have an update to fix the pattern problem in the future ? Or not ?
[Android Apps and Games] avp387:
System+ Module not detecting root on Nexus 6p MM

Hello,

Has anyone been able to make the System+ module detect root on Nexus 6p or 5X with 6.0.1?

I have a fully rooted Nexus 6p running Pure Nexus rom. I am running Secure Settings Pro.

I would really like to control airplane mode with tasker but I am unable to do it because root is not being detected (see attachment)

Emailed from the app twice but received no response from the developer.

Thanks!

UPDATE: Fixed it using this: https://www.reddit.com/r/tasker/com...ngs_doesnt_recognize_root_even_though/cxtvflb
[Android Apps and Games] Nergal di Cuthah:
What features of SS have you found work in MM I've only found a few (namely daydream aettings)
[Android Apps and Games] Arstoien:
Most of them work for me. Perhaps it depends what device you're on. I'm using a nexus
[Android Apps and Games] piccit:
I currently use (on a Nexus 5x):

GPS on/off

Lockscreen timeout

Run command (as root)
[Android Apps and Games] arf8:
The samsung fingerprint lock option is nice but like the keyguard it is a 50% chance it will work. How can I help you to make this more reliable? I have a task I want to run overnight which requires disabling the fingerprint and keyguard so the phone is awake to run the task properly. After spending hours testing I've come to the conclusion this is not possible bc only half the time it disables the finger print sensor.

Thanks
[Android Apps and Games] Arstoien:
The development of this app is long gone, friend. But you can simulate touches to simply bypass your screen pin. Somewhat ugly workaround but should work.

Sent from my Nexus 5
[Android Apps and Games] arf8:
shame, thanks for the info
[Android Apps and Games] MSK1:
Can u toggle GPS without root?
[Android Apps and Games] magnamentis:
fully functional in marshmallow, currently struggling to make it work on N-Preview though.
[Android Apps and Games] Nergal di Cuthah:
see you say "fully", and I call shenanigans. I know at least one major (imho) use not working (any keyguard/pattern-lock functions) and one (imho) minor use working (daydream).

I'm attempting to solicit a list of functions/conditions which work/non-work. My belief is a list like that would allow other to decide their own definition of "fully" and "useful" in marshmallow.

Edit: second and third working action I've found:

System+ > location mode

System+ > location services

Testing

System+ > Stay Awake while Charging
[Android Apps and Games] Pkt_Lnt:
Believe what you want, everything that worked in LP works in MM for me, numerous profiles using SS for many functions, including those you say don't work.
[Android Apps and Games] Nergal di Cuthah:
Then I'd love you to answer the original quest that started this riff. What setting did you use to toggle pattern lock. Which throws errors at me (Nexus 6) with every combination of "pattern unlock method" "enable legacy features" and Wait for Unlock.

I have system Root, but this no longer is a factor in later SuperSU (previously the hard coded system path in secure settings caused issue with systemless).
[Android Apps and Games] Pkt_Lnt:
Sorry, I don't use Pattern, not secure enough for what I do. I use a looong Password, and SS disables that to Slide when on my home network, and enables Password when I leave.

My issue before was your statement that Secure Setting does now work on Marshmallow.

Some thing don't work, but in my experience and many posts here, most things work. Devs have done workarounds with Tasker plug-ins for some things that don't work, thanks to Google locking down the OS. Expect it to get worse with each new version of Android.
[Android Apps and Games] Nergal di Cuthah:
so...your issue is with something I said, which my next post I conceeded I was only basing on what I've read in this thread (for at least 5 months) and my own experiences, and I asked others what was working.

Your claim that even things I reported not working (I only ever claimed one confirmed non-work) was then reversed by claiming not to use the feature reported broken.

Instance go back to February and you see more actions not working on MM and workarounds given (in that case Mobile Data toggle). I used secure settings for my Airplane mode, thus features I use a broke. I use ss for no patternlock, thus far no solution, thus broke. I don't get why my "it's broke" is so much more "shocking" than you and others claiming it "fully works" including "those" I reported not working.
[Android Apps and Games] .psd:
I'm having the same problem. I really hope the dev addresses it. So, do you do this via terminal emulator in android, or via computer terminal with phone plugged in?

EDIT: Can confirm, this solution works. I did it via computer terminal with device plugged in.
[Android Apps and Games] baastien:
Thank you two guys,

Through a tasker shell it's fix the problem too.

EDIT

Correct, this code fix the issue. That's more clear if written down here. Thanks. [emoji6]
[Android Apps and Games] Spookymyo:
Is there any way to use this with LG's knock code instead of pattern lock?

---------------------------

VZW LG G4

Rooted

Android 5.1

Stock ROM

Stock Kernel
[Android Apps and Games] demoncamber:
Cant get system+ module installed in 6.0 :( missing this so much!

Thanks to the poster above this works as well:

adb shell

su

mount -o remount,rw /system

touch /sbin/su /system/bin/su /system/xbin/su

mount -o remount,ro /system

exit

reboot

​
[Android Apps and Games] Pkt_Lnt:
No problem here on an AOSP ROM. Maybe the ROM? The more modified, especially by carriers, the less likely it is to work.
[Android Apps and Games] phaze3131:
I'm trying to get a profile and task setup where if my phone goes from facedown to faceup, it turns the screen on.

Been trying different things but just can't get this working.

I'm on s6 edge, thanks so much for the help!
[Android Apps and Games] Spookymyo:
First go into Tasker preferences.

Then go to the Monitor tab.

Scroll down to Proximity Sensor and select Yes.

Create a profile titled Screen Off.

Select State>Sensor>Proximity Sensor.

Then create a task and title it Off.

Select Display>System Lock.

Create a second profile titled screen On.

Select State>Sensor>Proximity Sensor.

Then create a task and title it On.

Select Plugin>Secure Settings>Configuration>Actions>Wake Device.

Then for wake type select Screen and keyboard lights on.

Then for duration select whatever you want.

This will turn the screen off when you turn the phone face down or put it in your pocket, then turn the screen on when you turn it over or take it out of your pocket. At least this is the way it works for me.

I hope it works for you too.

---------------------------

VZW LG G4

Rooted

Android 5.1

Stock ROM

Stock Kernel
[Android Apps and Games] MSK1:
You could just use the "gravity" app.
[Android Apps and Games] Spookymyo:
You could indeed but I don't think he's asking for a different app even if it's a plugin.

I try to use tasker by itself for everything I can so I have as few apps on my phone as possible.

---------------------------

VZW LG G4

Rooted

Android 5.1

Stock ROM

Stock Kernel
[Android Apps and Games] musti35:
Thank you ,

I wrote "svc data enable" in Run Shell in Tasker.

but I couldn't open data.

Could you help me?
[Android Apps and Games] bigknowz:
Tasker

screenshot attached, make sure you are using root
[Android Apps and Games] baudbox:
An useful thread has been started from reddit > here

Cheers!
[Android Apps and Games] phaze3131:
thank you so so much for your help, I learned all about the proximity sensor and how I can use it with Tasker.

But I don't think this will work, I have been trying it for a half hour and my movements and how I use my phone with my hands just triggers it way too much. It's my fault not the the functionality.

Thank you so much and I will give gravity a try but I was really hoping I could learn how to do this with Tasker, like maybe with some type of setting and checking of a variable.
[Android Apps and Games] Spookymyo:
Change it then from proximity sensor to orientation.

Select facedown to turn off. Be sure to set accelerometer to yes in the preferences.
[Android Apps and Games] phaze3131:
I just don't get how to set it up to turn the screen on when it goes from facedown to faceup.
[Android Apps and Games] thanxes:
Got it working w/systemless SuperSU

Hi guys,

the difference is that 'su' binary is outside of /system, I thought that puting it in system might help. And it did actually. I was then prompted after a few secs enabling root features in Secure Settings.

su
mount -o remount,rw /system
ln -s /su/bin/su /system/xbin/su

#following line is optional - just a test everything is ok
/system/xbin/su -c "echo works" || rm /system/xbin/su

mount -o remount,ro /system #or reboot your phone
[Android Apps and Games] Pkt_Lnt:
This post from Chainfire on how to enable compatibility mode should work as well.

http://xdaforums.com/showpost.php?p=66140836&postcount=5493
[Android Apps and Games] phaze3131:
Gravity app is a mess, turning the screen off for no reason at times. I don't need any functionality to do with proximity maybe that's why gravity couldn't work for me.

I really need to find a way to get tasker to turn my screen on when going from facedown to faceup.

Does anyone have any experience with this? maybe with using variables?

Is the only way to set a profile and task that constantly monitors a given variable for the moment it changes?
[Android Apps and Games] Nergal di Cuthah:
I'm not sure how else it would be able to tell, without constantly monitoring and using the proximity sensor (would inform of face down based on whether the sensor covered).

What way did you have in mind for the phone to "know" it's orientation?

Edit: did you try the trigger under "state" for orientation? I assume that's what you need, but I also assume it's probably using proximity +gyroscope
[Android Apps and Games] phaze3131:
Yea, orientation is how I turn the screen off when it's facedown.

It just uses the gyroscope, not the proximity sensor.

but how can I get my phone to turn the screen on when it goes from facedown orientation to faceup orientation is what I'm trying to solve.

---------- Post added at 02:50 AM ---------- Previous post was at 02:25 AM ----------

maybe I should set an exit task to turn the screen on.

is it really that simple?
[Android Apps and Games] Nergal di Cuthah:
Yup pretty sure it's that simple, though you may end up with unforseen consequence of the screen always being on when facing up. unsure
[Android Apps and Games] Spookymyo:
Go into Tasker preferences.

Then go to the Monitor tab.

Scroll down to Accelerometer and select Yes.

Then scroll down to the bottom and set Orientation State Accuracy to very low.

Create a profile titled Screen Off.

Select State>Sensor>Orientation>Face down

Then create a task and title it Off.

Select Display>System Lock.

Then create a task and title it On.

Select Plugin>Secure Settings>Configuration>Actions>Wake Device.

Then for wake type select Screen and keyboard lights on.

Then for duration select whatever you want.

Then go back to the screen off profile and long press the task and add an exit task and select the On task.

When you turn your phone face down the screen will go off, when that state is no longer true it will turn back on. Your normal screen off timer will still be in effect.

I verified that this works for me.
[Android Apps and Games] phaze3131:
thank you so much!!! wow that was easy I just had to learn what exit tasks were.

Geez now its perfect thanks to you, and plus I learned all about proximity sensor and how I can use that when I'm not home... and just wow, thank you!
[Android Apps and Games] Spookymyo:
Glad I could help. :good:
[Android Apps and Games] hopelives:
Is there any way to give root permission to secure settings and it's system+ module? I have Note 4 with Exynos (n910c) running MM and some parts that really useful to create profiles require secure settings and it has issues with MM as far as I figured out.
[Android Apps and Games] Arstoien:
Post from Chainfire: https://plus.google.com/+Chainfire/posts/N6EARb8LF3d , and quoting:

Sent from my Nexus 5
[Android Apps and Games] Pkt_Lnt:
Yes there is, I gave you the link to how to do it in the thread where I was trying to help you.

And just given to you again just above.