yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] lioux:
I'm trying to use secure settings with Nexus 6P stock Android 6.0.1 and SuperSU 2.74. Secure settings does not detect that root is available.

I've tried turning the application into a system one but it refuses to run as such.

Would it be possible to allow running it as system app while support for SuperSU 2.74 is not added?

Thanks a lot for the application. It's essential for my Tasker activities. :)
[Android Apps and Games] Pkt_Lnt:
This is more or less abandoned. It has not been updated in over 2 years. That said, enable compatibility mode for SuperSU and it should work. That is a terminal command that you can find with Google.
[Android Apps and Games] GrippingSphere:
One option is to root your phone using system-mode rooting, not system-less. Secure Settings doesn't work with system-less rooting. You will need a permissive kernel such as Xceed or H-Vitamin to root via system-mode.

Another option is to run a script via a terminal emulator as mentioned in the post above.
[Android Apps and Games] lioux:
Thanks, I'll try compatibility mode. :) The relevant post about compatibility mode and how to fix Secure Settings is

https://plus.google.com/+Chainfire/posts/N6EARb8LF3d

Any noteworthy replacement suggestions for Secure Settings? It seems there isn't one that fits the bill. Perhaps, more than one together could do it.
[Android Apps and Games] Javi22:
Flashing this supersu

http://xdaforums.com/showthread.php?t=3286120

Removes system less supersu and makes secure settings work
[Android Apps and Games] Pkt_Lnt:
No other app, but there are options using a root shell in Tasker. Many are listed in this thread.
[Android Apps and Games] Javi22:
I'm now running a system less root, so I put the commands (touch /system/bin/su)

And secure settings works now. But now titanium backup doesn't work

If I revert the changes, TB works and SS doesn't

Any idea..? (not making system mode root)
[Android Apps and Games] Pkt_Lnt:
Search how to get "compatibility mode" back with SuperSU.
[Android Apps and Games] kforkai:
W/o su i dunno with su run:

mount -o remount,rw /system

touch /system/bin/su

mount -o remount,ro /system

reboot
[Android Apps and Games] Javi22:
Nevermind, I managed to supply secure settings with tasker intents.

Now I can uninstall secure settings, but I have one option that I haven't found how to do without the plugin

The location toggles. Does anyone know how to turn off/on location only with tasker?
[Android Apps and Games] Sh3llSh0ck:
Were you able to replicate the package notification code? If so, would you be willing to share?

I have a sports app where I don't want score notifications if I am watching the game. It looks at my calendar to check the game start and end times.

All I need is that code and I can go systemless.
[Android Apps and Games] Javi22:
Package notification code? I don't know what you mean. But you can easily find in Google some list of commands that you can use in 'run shell' to supply the secure settings tasks
[Android Apps and Games] baudi11:
http://android.stackexchange.com/qu...ossible-to-enable-location-services-via-shell
[Android Apps and Games] Sh3llSh0ck:
It's under root options. I have tried to find a shell command for package notification. All I found regarding package manager is to disable it.
[Android Apps and Games] Javi22:
Thank you :) however I read there that works in 5.0 but not 6.0

Running some shells described there gives error in my device

Tomorrow I will read deeper that page anyway

I'm sorry mate I haven't done anything related with that
[Android Apps and Games] Nergal di Cuthah:
Question: Is your goal to remove secure settings? Or to have that action work?

I just tried that action, on Nexus 6 Marshmallow System-Root and it works. Are you hard set on having systemless root?
[Android Apps and Games] Sh3llSh0ck:
The goal was for systemless, but I am not hard set on it. Just like to tinker and of I can remove Secure Settings, it means one less app.

Thanks!
[Android Apps and Games] Ingenium13:
It works on systemless root, you just have to manually run the secure settings command and figure out the relevant package names. For example:

export CLASSPATH="/data/app/com.intangibleobject.securesettings.plugin-2/base.apk";
exec app_process /system/bin com.intangibleobject.securesettings.cmd.Commander PACKAGE_NOTIFICATIONS SET enabled com.google.android.talk

Secure settings also runs another similar command first to see if it needs to run this one, and I'm not sure if it's necessary, but I do it anyway. Enable logging in SuperSU then go into the logs and see what commands it runs to enable or disable notifications for your app, then run them in a root shell in Tasker.

Sent from my Nexus 6P
[Android Apps and Games] Sh3llSh0ck:
This is very helpful. Thanks!
[Android Apps and Games] baudi11:
How do you run that code? In a Tasker javascriptlet? In a Tasker shell (root)?
[Android Apps and Games] Ingenium13:
No, Run Shell, and check the "use root" box.

I run this one first:

export CLASSPATH="/data/app/com.intangibleobject.securesettings.plugin-2/base.apk";
exec app_process /system/bin com.intangibleobject.securesettings.cmd.Commander PACKAGE_NOTIFICATIONS GET com.google.android.talk

And store the output in %tmp. Then on the other one I run it only if %tmp ~ disabled (or enabled, depending whether I'm enabling or disabling notifications). Not sure why secure settings runs the check first, but I'm guessing it could maybe mess something up if you try to disable notifications and they're already disabled, or vice versa. So I just replicated the behavior exactly the way the plugin does it.

Sent from my Nexus 6P
[Android Apps and Games] Sh3llSh0ck:
Could you please print screen it in tasker?
[Android Apps and Games] Ingenium13:
Step 1:

Step 2:

Just swap out enabled for disabled and vice versa to go the other way. These screenshots are from the task that re-enables notifications.

The only part that changes is the package name at the end. In this case, I'm enabling/disabling Hangouts notifications.

Sent from my Nexus 6P
[Android Apps and Games] Sh3llSh0ck:
I figured it out! My base.apk for secure settings was in com.intangibleobject.securesettings.plugin-1 instead of -2.

Thank you!
[Android Apps and Games] ianmacd:
Cool trick.

Two things.

That CLASSPATH will need a slight modification for most people:

CLASSPATH="/data/app/com.intangibleobject.securesettings.plugin-1/base.apk

You can combine your two commands into a single one, because exporting to the environment is redundant here:

CLASSPATH="/data/app/com.intangibleobject.securesettings.plugin-1/base.apk" exec app_process /system/bin com.intangibleobject.securesettings.cmd.Commander PACKAGE_NOTIFICATIONS SET enabled com.google.android.talk
[Android Apps and Games] MaluNoPeleke:
That doesn't seem to work on Marshmallow: http://android.stackexchange.com/qu...ation-services-via-shell#comment158821_114033
[Android Apps and Games] Javi22:
That's right:(

It's a pity, it's useful for setting 'high accuracy' when maps open and after that return to battery saving
[Android Apps and Games] Bjoern3003:
Secure Settings did not work correctly.

SS does have root und System+ Module is enabled, but I can not change one of the Options with Tasker.

If I have to try to Toggle Wifi for example, nothing happens. What could this be?

I have to change SuperSU as a Systemmode App, but the Result is the same.

I have to check this on Nexus 10 with Stock Rom and after that with CM13.
[Android Apps and Games] baudi11:
This is the problem we all face when we depend on a program developed by one guy. If that guy loses interest in keeping his program up-to-date, we're screwed.

That's what worries me about lots of other stuff I depend on such as Tasker and Autoapps. I wish there were a tradition of individual developers maintaining a source code escrow for apps.
[Android Apps and Games] GrippingSphere:
You shouldn't have this problem. Toggling WiFi via Tasker doesn't even need Secure Settings and doesn't need your phone to be rooted.
[Android Apps and Games] Tmobilefan906:
Mobile data doesn't toggle neither. I just use shell command svc data disable, svc data enable.
[Android Apps and Games] GrippingSphere:
Android disabled toggling mobile data On/Off by 3rd party apps since LL build. It was working before in Kitkat.

What you did is good using shell command.

I'm using Toggle Network Type app as a plugin in Tasker to go to 2G when WiFi is connected and back to LTE/3G when WiFi is disconnected.
[Android Apps and Games] Tmobilefan906:
Yes,, but I wonder why it doesn't work on secure settings.
[Android Apps and Games] Bjoern3003:
Hi, with toggling wifi, it was only an example.

I need secure settings for enable the display.

The action called Screen & Keyboard Lights On
[Android Apps and Games] piccit:
What section is that under? I'm not seeing jt
[Android Apps and Games] Bjoern3003:
Hi, the section called Action -> Wake Device
[Android Apps and Games] bflmpsvz:
Hi! I need help with installation. Having SS installed but no of the tried settings seem to apply to system...after inspecting into SuperSU list of privileged apps I don't see SS there! SS neither seems to ask root privileges at start (regardless if I start it from app drawer or MacroDroid interface). It looks SS doesn't want to use root access at all.

Any advices appreciated

Sent from my phone by Tapatalk
[Android Apps and Games] ianmacd:
Systemless SuperSU, I presume. Is that correct?

If so, you'll need a workaround. Search this thread for mount.
[Android Apps and Games] bflmpsvz:
Sorry, what U mean by systemless?

I have installed SSU by zip package (UPDATE-SuperSU-v2.76-20160630161323.zip) thus it's installed as system app.

Sent from my phone by Tapatalk
[Android Apps and Games] ianmacd:
Not necessarily.

Do you have the file /data/su.img ?
[Android Apps and Games] bflmpsvz:
No

By the app settings invoked from app drawer, tab System+ -- Disable/Enable I finally got that SuperSU root access dialog. Root granted but result is same

Device admin is enabled., Xposed module enabled

Trying to alter one of Actions/Device settings/system settings
[Android Apps and Games] ianmacd:
I assumed you had already tried to enable the root module. OK, so that's done now.

You say the result is the same, but you don't specify what it is. How is it failing? What, if any, is the error message?
[Android Apps and Games] bflmpsvz:
There's absolutely no error message, on Test Action I get toast "Executing action" but the change is not exposed.
[Android Apps and Games] Suicidal Chicken:
Hi guys,

Got a bit of a problem. I'm running Tasker and SS on my Nexus 6P, SYSTEM rooted and all options are enabled in SS. SuperSU has been granted rights and all that jazz - configuration is spot on.

Now, onto my problem:

My car's headunit uses AOA2, which is audio out via the USB - this works perfectly.

Tasker is setup to invoke Secure Settings 'pin lock' option to REMOVE my pin code on USB connect, and re-enable when not charging.

This works, but not all the time. It seems as if it's working about 40% of the time, and I'm having to MANUALLY run the tasks with tasker.

Does anyone else have an issue like this? I've tried using if statements (Wait 5 secs, if profile active = my profile then lock / unlock,) but it's still not playing ball.
[Android Apps and Games] XavierBean:
Mobile data toggle not working on CM12.1.
[Android Apps and Games] Bjoern3003:
Could anybody help me for my Problem?
[Android Apps and Games] LeftyGR:
Try this app. It's older and may not work, but what i use does. I can't test for u right now...

http://xdaforums.com/showthread.php?t=1217767&page=286
[Android Apps and Games] Bjoern3003:
Hi, which version did you mean? The link is the same page like this.
[Android Apps and Games] LeftyGR:
Sorry. Im an idiot...

Create an action add a task, choose plugin. Heres some screens...
[Android Apps and Games] Bjoern3003:
This is the same, what I have done. This did not work for me :(
[Android Apps and Games] LeftyGR:
I just tried it. From screen off, it woke up screen and buttons lit up.

Do you have system+ enabled and does secure settings have root access?
[Android Apps and Games] Bjoern3003:
Yes, i have enabled system+ and secure settings does have root access.
[Android Apps and Games] socioteq:
I'm also having the same problem, it very inconsistently runs secure settings especially

---------- Post added at 16:22 ---------- Previous post was at 15:50 ----------

Edit: Are you running a CM based ROM? I never had this problem on AOSP, but i have this problem on every CM ROM that I've used... This may be the culprit or at least help to narrow it down
[Android Apps and Games] hopelives:
I somehow acchieved to get root permission to secure settings but when I wanted to toggle between WIFI and mobile data I get this message: "An error occured during executing Action: Mobile Data"

What to do?
[Android Apps and Games] sansnil:
For M or N you need to use a shell command to disable/re-enable the data service.

Search in this thread for "svc disable" and you'll find out how.
[Android Apps and Games] LeftyGR:
Why would you need root? I have both data and WiFi controls thru Tasker without root. On MM.
[Android Apps and Games] hopelives:
Thanks. I found a way through shell command.

Yes but does mobile data work on your device thorugh tasker?
[Android Apps and Games] LeftyGR:
Yes. Can toggle mobile data, wifi, and hotspot (called wifi teather)
[Android Apps and Games] sansnil:
You must be lucky. Toggling mobile data with SS in MM on doesn't work for most people.
[Android Apps and Games] LeftyGR:
You misunderstand me. I'm not rooted, so I can't use ss. This is just thru Tasker itself.
[Android Apps and Games] sansnil:
What ROM are you on? With stock the Tasker data option isn't even enabled.
[Android Apps and Games] LeftyGR:
Galaxy S7Edge
[Android Apps and Games] Follow_and_Feel:
Does anybody have root problems with SS? I'm on Galaxy S7Edge and the app states that I'm not rooted :/

Any hint would be highly appreciated
[Android Apps and Games] sansnil:
Yes, SS had issues with root detection particularly with systemless SuperSU. Your hint is to search this thread to find how to get SS to recognize root.
[Android Apps and Games] Follow_and_Feel:
Haha :laugh: Sorry for not doing my researches before. Found it, got it, thank you! :)
[Android Apps and Games] nacos:
No root access

Hey guys, Im rooted using the classic SU method (not systemless) (Samsung tab S2 64 bit CPU) and SS doesn't even show the root enable button. Anybody else had this problem? Thanks!
[Android Apps and Games] libb:
Hi, a noob question: I can set a lot of things but can I read actual values and store it into my variable? For example brightness or Always display on at my S7.

Thanks
[Android Apps and Games] pitastrudl:
i dont think SS has that, but Tasker can, using shell or maybe a tasker action. you can ask more here

http://xdaforums.com/showthread.php?t=1110775
[Android Apps and Games] Arstoien:
Tasker has built-in variables for many settings. For example Brightness is %BRIGHT . Search the help page on Tasker's website. Lots of useful information there.

Sent from my Nexus 5
[Android Apps and Games] libb:
Brightness was only an example. I need Always On Display settings at my Galaxy S7. I didn't want to write it exactly because no everybody knows that function. My mistake :)
[Android Apps and Games] ewingr:
Marshmallow and lack of root

According to some of the info I found searching, f i add a file named su to 3 different directories it would fix the rooting problem for Secure Settings. But this did not work for me.

I am on MM, in the Maximum Overdrive ROM, on a Note 4.

Any suggestions?
[Android Apps and Games] nacos:
Actually, here is a solution that definitely works. I've tested it on 4 different Samsung phones (including Tab S2) all running 6.0.1 and it works on all of them. Make sure you follow all 3 steps precisely, don't cut any corners, it just won't work, and pay attention to typos in terminal emulator.

Here is the link: https://plus.google.com/+TomRowlandIsSnowblind/posts/hT5oXymJ84i
[Android Apps and Games] ewingr:
Well, now that I have root working, my task I'm trying to create doesn't. Maybe I misunderstand the actions.

I'm trying to get Power Saving to turn on when the screen is off. I'm using the Samsung Power Saving Mode (4.4+) enabled, and it is not working. I am trying by having it set turn turn PS on when the screen is on so that I could check to see if it works.

Anyone know if this should work? Maybe a problem with 6.01?
[Android Apps and Games] sansnil:
I found to my delight that switching to phh's Superuser got rid of all the funky SS root issues with SuperSU so that may also be a good option.
[Android Apps and Games] ewingr:
Good to hear. If something else crops up I'll give that a try.

Regarding my issue per the above post, I'm not thinking root is the issue.
[Android Apps and Games] ewingr:
Version > 1.3.6? Pro ?

The version of Secure Settings on PLay Store is 1.3.6. From that version there are things that require an upgrade to "Pro". This thread (based on the title) says current version is 2.2+. (Maybe the 2.2+ means only on Android 2.2+...but it is not clear).

So, I can't find anything other than 1.3.6 on the play store; when I try clicking the Upgrade button in the app, I get the following error message: Error retrieving information from server.

It seems like this app is now dead. Last post by the OP of this thread was in 2014.

So, what's up with all that? Can I get a current fully operational version?
[Android Apps and Games] NYLimited:
Good luck with that... :(
[Android Apps and Games] ewingr:
Thanks, I guess. :o

Do you know if there is another version, or not, or if this app is dead?
[Android Apps and Games] Pkt_Lnt:
Thread title tells you last update. Dead? Not officially, OP never requested thread be closed. The last we knew OP said real life got real. He may come back, he may not.

I still find 95% of functions work for me on Nexus 6 MM 6.0.1. The XDA community here has found great workarounds posted in this thread. This is one of a kind app, I found nothing close to its power. Thank goodness we have what we have and access to the app is still available.
[Android Apps and Games] ewingr:
Thanks. I appreciate the feedback.

Life does get real for folks. I've often wondered how developers can keep on when the Android apps are so inexpensive...and have found in fact that often it results like this, and apps come to an end. I'd say then that we're lucky this app has endured as it has, with the Android upgrades etc.

So, I guess then there is no pro version, and the features that are not available but by the pro version in fact are not available.

Actually, it seems to me I purchased this a long time ago. Maybe now it is free, but donate if you like what you got. Doesn't show as purchased at this point.
[Android Apps and Games] Pkt_Lnt:
I just looked at the Play Store and it shows up with in app purchases. I did reinstall a few months ago and it restored my Pro status. Hope you can sort that out.
[Android Apps and Games] NYLimited:
I would guess dead but one never can tell.

The major issue, as I know you are aware, is with root access - doesn't know systemless root - and since no source is available nobody can make that patch either. Sad as it is likely a small change.
[Android Apps and Games] Pkt_Lnt:
Use the Compatibility Mode that Chainfire posted and Secure Setting works, my N6 is living proof. ;)
[Android Apps and Games] NYLimited:
That requires writing to system no? I was hoping to stay away from doing that though I'm not sure it is worth the effort.
[Android Apps and Games] rgawenda:
Works for me using Magisk and phh's open source superuser.
[Android Apps and Games] Pkt_Lnt:
No, its another bind, written in /data.

http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/page550

---------- Post added at 01:36 AM ---------- Previous post was at 01:30 AM ----------

I'm no longer using Xposed for various reasons. I used it since it came out on three phones, but removing it solved more issues than it solved. So the SuperSU Compatibility Mode is my solution, and it works.
[Android Apps and Games] NYLimited:
Yeah, been reading about it but I'm a big Chainfire supporter (I registered pretty much everything he put out including stuff I could never use, like Samsungs which I never owned)

Thanks, I'll check that out..
[Android Apps and Games] jing14:
ookla speedtest

i have both tasker and secure setting installed in my mobile device.

Am i able to use these 2 apps to launch speedtest (ookla) and perform a speedtest?

i try the launch activity in secure setting, however there is no action preset to do this action
[Android Apps and Games] Heisenberg:
[Size=+1]Thread cleaned.

Enough arguing. The fact is nobody knows for certain why this developer has been unable to continue development. All of this finger pointing and whining isn't constructive and it isn't going to change the situation. Accept it and move on. Any more of this discussion here and those members and I will be having a formal discussion. All good? Good.[/size]
[Android Apps and Games] nacos:
Guys, guys, guys! Stop wining and read my previous post. There is a solution and it works.
[Android Apps and Games] ianmacd:
Alternative non-root means of influencing some secure settings from Tasker

Some of you may be interested in this alternative new non-root method of configuring certain secure settings from Tasker, and this subsequent related development that consigns the complexity of the new method to a convenient Tasker plug-in.

Depending on your device, however, you may find that not everything works. I was able to change Location Mode on an S7 Edge, for example, but attempting to toggle Mobile Data affected only the state of the button in the notification drawer. Mobile data itself remained enabled, even though the button's state was disabled.
[Android Apps and Games] Ja_som:
Hmmmm, how is that possible???

I can enable System+ Mode on my N7II with AOSP Android 7 rooted with SuperSU 2.78 and it works also after reboot...
[Android Apps and Games] Javi22:
I am sorry for the OT, but this is really interesting. I read that you need to do the thing with tasker app factory + pc with adb because tasker needs some extra permission that the dev hasn't implemented in Tasker

But I wonder, how often you need to do this process?? Every rom flash? Every factory reset? People needs to do on his own so I assume it only works in some specific settings

Again sorry for OT but this could totally substitute Secure settings

Enviado desde mi Nexus 5X mediante Tapatalk
[Android Apps and Games] ianmacd:
Check out the AutoTools plug-in for Tasker. It encapsulates these settings and makes them much easier to apply. All you have to do is grant the plug-in the necessary permissions. There's no need to use the Tasker app factory any more.

My results have been mixed, though. It seems Nexus devices can be (more or less) fully controlled in this way, whereas other models only partially work.
[Android Apps and Games] Javi22:
Yeah I saw that, but if I can avoid to use a third party app, I would like to do it

I don't mind doing the process but if it's needed to be done each rom flash or update then it does not worth it

Enviado desde mi Nexus 5X mediante Tapatalk
[Android Apps and Games] ianmacd:
The granted permissions persist until you remove the app (in this case the plug-in). If you can flash your ROMs without wiping the system, you should be OK.
[Android Apps and Games] MarcoDroidWorld:
Hi, on Android 6.0 i have this error.

I created "su" on the folder system/...
[Android Apps and Games] GrippingSphere:
AFAIK since LL build, mobile data cannot anymore be turned on or off by a third party app. It's an android restriction introduced after KK builds.

Other users use a script command in Tasker to turn on & off the mobile data.

I use a Tasker plugin Toggle Network Type to put my mobile data to 2g when Wifi is on and back to LTE/3g when Wifi is off. This plugin works better for me instead of turning the mobile data off as my telecom network signal goes to full bar when on 2g thereby effecting a lower battery consumption.