yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] SaphirX:
after installing the newest beta I still get an error when trying to toggle airplane mode via a nfc tag. I belive tasker and nfc task launcher are configured correctly...

EDIT: I am on CM10.2 with SuperSU. Secure settings have been granted root access and helper is up to date as well.
[Android Apps and Games] donutzman:
If I'm understanding the way "Run Command" works when you check the Root checkbox, it executes each line with "su" separately.

So if I want multiple commands to run, and they do things like setting variables, I probably need to create a shell script file containing all of them, and run that script as root. Is that correct?
[Android Apps and Games] alexdumitru:
I'm using Secure Settings with Tasker on Galaxy Note 2. I set it to disable Keyguard while the phone is connected to my home WiFi. Notifications are enabled, so the apps aren't killed, but after a few hours the Keyguard shows up and I have to disconnect/reconnect the WiFi to get rid of it.

BTW the notification says that Keyguard is disabled, though it's not.

Did I do something wrong ?
[Android Apps and Games] _Tallis_:
I don't know if you're doing something wrong, but I can't get it to work at all. I have set Secure Settings with Tasker to disable Keyguard (slide to unlock) on my N4 while connected to my WiFi, but it never works. I get the notification, but nor does it deactivate the keyguard neither does it activate it when it should. It just stays the way it was before. :confused: I have given Secure Settings and Tasker all root permissions, but it won't work. :(
[Android Apps and Games] alexdumitru:
I did it !

Disable the phone's lock screen security at all and forget about it.

No lockscreen profile:

Display On + Wifi Connected

No lockscreen task:

Secure settings keyguard disabled

Secure settings -> password/pin -> disabled

Activate lockscreen profile:

Display Off + WiFi Connected with Inverse checked

Activate lockscreen task:

Secure settings keyguard enabled

Secure settings -> password/pin -> set your password and pin

Let me know if you managed to do it.
[Android Apps and Games] _Tallis_:
Nope. :( That's what I did before. Lockscreen stays disabled all the time, even when I disconnect from my WiFi and although I get the notification that keyguard is disabled. I'm completely confused...
[Android Apps and Games] alexdumitru:
are you sure that you did all steps well? Do you have the pin or password set in Secure settings ?
[Android Apps and Games] _Tallis_:
I've tried with passwort and without, no change. And I followed all steps as described. As I said before, I get the notification about the disabled keyguard, so the task is executing. It just doesn't do anything.

Edit: after a closer examination I can say that disabling the keyguard works, it is just the re-enabling when not in my WiFi that doesn't work, although the corresponding task is executing properly. It just has no effect on the keyguard, even when Secure Settings shows "Keyguard enabled" there is no lockscreen.

Edit 2: I found whats wrong with my setup. I don't want to use PIN Lockscreen, just Slide-to-unlock. This doesn't work. It only works if I set a pin with SecureSettings/Tasker. No PIN, no keyguard. So by now it seems as if it is impossible to just activate Keyguard without extra PIN. :(
[Android Apps and Games] bombadier:
Keyguard (slide to unlock) as far as I am concerned is bugged and will eventually switch back on, even though the profile is active,any comment from the developer on this issue?
[Android Apps and Games] JsChiSurf:
Anybody tried using the LTE toggle option on CM 10.2?

I have it as an option when trying to add it as a condition to Locale, but nothing happens when it triggers.

I can see in secure settings that it is checking build.prop for "lteOnGsmDevice", which is true for me (Nexus 4), and verifying that the proper framework class / methods exist (TelephonyManger -> toggleLTE), which CM10.2 framework.jar indeed has, but as mentioned, no love when triggering.

I don't see any output errors in logcat that would indicate an error, etc.

BTW, I running the latest BETA as well, and superSU has granted global privileges to Secure Settings.
[Android Apps and Games] intangibleDroid:
The Keyguard option is broken and will likely never work properly. I'm still working on a replacement but it's not proving to be easy.

I am running CM 10.2 on my CDMA Galaxy Nexus and this function is working for me :/ I don't have a GSM device to run tests on so I'm not sure if I'll be able to diagnose this issue especially without there being any errors in the logs.
[Android Apps and Games] JsChiSurf:
Thanks. Yes, I'm wondering if anyone else on a GSM device (Nexus 4 specifically) might be able to test to see if it is just me or not.

All the right things seem to be in place for this to work, which makes it all the more baffling...
[Android Apps and Games] JsChiSurf:
Okay, nevermind. Stupid me just thought to set it up as a shortcut rather than a condition through Locale, and it is toggling fine. So, something is up with it getting triggered through Locale correctly, but not sure what.

The condition shows as triggered, but the LTE setting doesn't toggle for some reason when the condition is met.
[Android Apps and Games] sammyg122:
Home key stops working after keyguard disabled

Hi All,

Was wondering if anyone had a solution to this issue? Whenever I disable the keyguard with secure settings / tasker, the home key stops working on the HTC One. Can anyone replicate this issue? Any workarounds? Thanks!
[Android Apps and Games] remixtech:
Hi,

In the last beta of CM 10.2 i can no more use secure settings correctly (Galaxy S4 Int).

LTE is disable (strange strange) and airplane mode can't be activated.

If i toggle airplane mode (with secure settings) -> error

If i reboot my phone -> The phone is in airplane mode (strange strange strange...) :confused:

Everything was working several days ago.

Thanks for this app, (have the pro !)
[Android Apps and Games] WastedJoker:
I've been having issues with my WakeOnNotify task too - it would cause my phone to stay permanently awake after a notification even though I had it set to only wake for 3 seconds so now I'm trying to follow your guidance but I am stuck.

I've created a task using SS plugin with the Manual - On option.

How do I make Tasker wait for a period of time now?

Edit: Figured it out - it's under Task -> Wait not Tasker.
[Android Apps and Games] remixtech:
Same problem here airplane mode doesn't work in last beta. LTE doesn't work too

Envoyé depuis mon GT-I9505 avec Tapatalk 4
[Android Apps and Games] sprinkler007:
Purchase Pro

How do i purchase the PRO ??

I do not have Paypal.

Regards
[Android Apps and Games] intangibleDroid:
The Pro upgrade is available through Google Play and PayPal.
[Android Apps and Games] intangibleDroid:
Version 1.3.3 now available on the Google Play Store.
[Android Apps and Games] KBanause:
I just installed an update of the ROM of my choice (Nexus 4, Android 4.3, based on build JSS15Q) and Secure Settings 1.3.3 but it keeps refusing to install the Helper.apk with the message that it needs a newer version of Secure Settings.

Do I have to wait for it to settle or is it a bug?

Due to the ROM update the Helper.apk does not exist. All the methods to get it from within the app are failing...
[Android Apps and Games] intangibleDroid:
I published a borked update that was missing an option, then published an update immediately after. Once you get the latest update, you should be able to install the Helper. In the meantime, I would recommend installing the Helper Alternative. It's a much easier/cleaner option than installing the Helper app.
[Android Apps and Games] KBanause:
Thanks for the quick answer.

Is that Helper Alternative persistent over ROM updates?
[Android Apps and Games] intangibleDroid:
Yes it is. You will only have to use it if again you uninstall and re-install.
[Android Apps and Games] sushiboy:
Thanks for the update. 1.3.3 airplane mode works on Android 4.3. But I still get "error occurred" message after SS entering airplane mode.
[Android Apps and Games] intangibleDroid:
Would you be able to enable Debug Logging in the app's preferences and collect a logcat log of you triggering Airplane Mode for me?
[Android Apps and Games] Ci-Fi:
I also still receive this error message.
[Android Apps and Games] sushiboy:
09-01 10:21:49.291 D/SecureSettings.FireReceiver(7461): a::airplane_mode Request Received

09-01 10:21:49.291 D/SecureSettings.FireReceiver(7461): onReceive::Data loaded

09-01 10:21:49.291 D/SecureSettings.bh(7461): e::Root was found here: /system/xbin/

09-01 10:21:49.331 I/System (7461): exec(sh @ com.intangibleobject.securesettings.plugin.m.run:190)

09-01 10:21:49.461 D/SecureSettings.bh(7461): a::Root Status unavailable

09-01 10:21:49.461 D/SecureSettings.FireReceiver(7461): onReceive::Device requirements verified

09-01 10:21:49.461 D/SecureSettings.FireReceiver(7461): onReceive::Starting ActionService

09-01 10:21:49.471 D/SecureSettings.ActionService(7461): onHandleIntent::Intent Received.

09-01 10:21:49.471 D/SecureSettings.f(7461): a::Got boolean Setting airplane_mode_on: false

09-01 10:21:49.491 D/SecureSettings.p(7461): b::Waiting for service to connect

09-01 10:21:49.491 I/ActivityManager(29842): Start proc com.intangibleobject.securesettings.helper for service com.intangibleobject.securesettings.helper/.HelperService: pid=11142 uid=10181 gids={50181, 1028}

09-01 10:21:49.531 D/SecureSettings.p(7461): b::Helper Service Initialized

09-01 10:21:49.531 W/System.err(11142): at com.intangibleobject.securesettings.library.g.a(Unknown Source)

09-01 10:21:49.531 W/System.err(11142): at com.intangibleobject.securesettings.helper.a.setGlobalBoolean(Unknown Source)

09-01 10:21:49.531 W/System.err(11142): at com.intangibleobject.securesettings.library.c.onTransact(Unknown Source)

09-01 10:21:49.561 D/SecureSettings.p(7461): b::Releasing Service

09-01 10:21:49.611 I/System (7461): exec(su @ com.intangibleobject.securesettings.plugin.m.run:190)

09-01 10:21:49.651 D/su (11161): 10180 com.intangibleobject.securesettings.plugin executing 0 /system/bin/sh using binary /system/bin/sh : sh

09-01 10:21:50.282 I/Xposed (11157): Loading Xposed (for com.intangibleobject.securesettings.cmd.Commander)...

09-01 10:21:51.073 I/SecureSettings.ActionService(7461): onHandleIntent::Action Failed!

09-01 10:22:01.724 I/ActivityManager(29842): No longer want com.intangibleobject.securesettings.helper (pid 11142): empty #21
[Android Apps and Games] intangibleDroid:
Would you be able to email me the full log without filtering?
[Android Apps and Games] sushiboy:
Sure, I sent to the support email address that listed in Google Play. Thanks.
[Android Apps and Games] _Tallis_:
Updated to the new version and purchased PRO, too. But I can't set the new Lock Screen Timeout. Helper is installed and working. But everytime I choose a timeout value and press save, it doesn't return to Tasker. I can only go back or cancel, but then there is no value in Tasker set. :(

Other helper actions like AirplaneMode, GPS oder DaydreamState work as expected.

Any help?
[Android Apps and Games] remixtech:
Thanks everything is working fine on my side . Have a nice day

Envoyé depuis mon GT-I9505 avec Tapatalk 4
[Android Apps and Games] xI mEzMeRiZe Ix:
So does the Helper Alternative mean the app will function straight away after a ROM update? Since the Helper was a system app, it always had to be reinstalled after updating my ROM.
[Android Apps and Games] intangibleDroid:
I was able to reproduce your findings. I'll hopefully have a fix out soon. Thanks for reporting it to me.

The permissions granted by the Helper alternative persist across reboots, ROM upgrades, app upgrades, etc. It's going to replace the Helper on 4.1+ in the future because it is awesome :D
[Android Apps and Games] sidamos77:
I have a Nexus 4 with Android 4.3 rooted. I did not install the Helper app, instead opted for the Helper alternative. Device admin is disabled.

I am using Secure Settings together with Llama and I'd like to enable/disable pattern lockscreen depending if I am in my home wifi or not.

It works ok when I switch wifi on/off manually.

But enabling the pattern lockscreen seems not to work when I leave home while the display is off. According to the log, Llama fires the event, but when I switch the screen on, it is not pattern locked. Switching it off and on again makes it work.

When I come home and then switch the screen on, I am presented with the standard slide to unlock screen (no pattern) once and then on the following occasions with no lockscreen.

Is there a fix available for that?

In the guides, I saw that I should probably install Sqlite for pattern unlock. How would that help?

One minor thing: In the options screen, it says 11 Actions available, 12 enabled. ;)

Thanks!
[Android Apps and Games] krabbso:
keyguard

im running android paranoid based on 4.3

probally u guys already know that keyguard cant be disabled reliable with secure settings or tasker yet. is there a workaround.
[Android Apps and Games] intangibleDroid:
I think you might have some luck using GSM/CDMA cells instead of Wifi for this purpose. Also, have you tried using the "Wait for Unlock" check box option? This will require you to enter your pattern once before it gets automatically disabled.

As for SQLite, it will probably not make any difference here. It is just another option for users who have no luck toggling the Pattern at all.

The built-in Keyguard option is not going to work properly on newer ROMs. I've kept it available but it is essentially defunct. Please see this guide for a workaround.
[Android Apps and Games] andreasy:
Long time ago I've read that the beta would support keyboard language control but I've never seen that in the beta nor I latest official update. What I'm I not getting right?
[Android Apps and Games] intangibleDroid:
The new version supports "Input Method Sub-types." This means that keyboards and all of their enabled languages will show up as available choices in the Input Method list.
[Android Apps and Games] sidamos77:
Wifi was not the problem. I got it working now. I defined a follow-up rule in Llama to wait 1 sec and then switch screen on and off. This way, pattern lock is active automatically when leave the house.
[Android Apps and Games] andreasy:
I'm sorry but under input method I only see the available keyboards but there is no sub-type anywhere nor has there ever been. I'm on latest version 1.3.3
[Android Apps and Games] intangibleDroid:
It won't look any different. If you have other languages enabled, you'll see something like "Swiftkey - English (US)." You will only see the enabled keyboards and their enabled sub-types.
[Android Apps and Games] andreasy:
Tapatalk gets crazy when I try to attach pictures so unfortunately now I can't show but I have English and Greek and I don't see any language options like you say. Just the 3 keyboards.

In helper though all options are disabled and it says helper is not needed because somehow permissions are applied correctly.

Edit

Nope, I revoked permissions and installed helper and it's exactly the same
[Android Apps and Games] intangibleDroid:
If you enable the languages in the device's settings, you should see something like this:

Once you open Secure Settings, the same input methods should be available:

Please let me know if this is not what you're seeing.

Also, what version of Android are you using? This specific feature is only available on Android 4.0+.
[Android Apps and Games] andreasy:
I have s4 with 4.2.2, keyboards with their languages are installed in system but in ss I only see plain keyboards. Maybe it's only for stock Google keyboard?
[Android Apps and Games] wlbx707:
Version 1.3.3

Version 1.3.3 is great, thanks for that!

I really like to use the Samsung Modes for my purposes. They're working without problems. The only thing that's missing (imo) is a condition for these modes e.g. someone has activated blocking mode at the notification center. I'm trying to develop a locale plugin, but until now I did not find any hints on 'where' to gather this information from (Blocking mode enabled/disabled, power saving mode enabled/disabled ...)

Best regards

Alexander
[Android Apps and Games] osiedacz:
I am also liking the Samsung modes, thank you very much. One thing I notice about them is that the status bar notifications for them don't always toggle with the setting. For example, I use blocking mode at night and when my tasker profile ends and blocking mode is disabled, the icon for it persists in the notifications. It will finally go away once I open the settings app. I don't even have to go into the blocking mode settings, just opening the top level of settings is enough to refresh the notifications and remove the icon. Not sure if anything can (or needs to be) done about it, but just figured I would point it out.
[Android Apps and Games] AwakenJornie:
Lock Device

I have a question,,

When I'm at work I want to have a pincode lock on my device.

Is that possible with Tasker and Secure Settings?

Please explain!
[Android Apps and Games] sbenson1226:
I dirty flash upgraded my ROM last night and today I started receiving the "Decryption Failed" message. I have a handful of tasks that enable/disable my lock screen pin depending on my location. I did what was previously suggested, going into the secure settings configuration for EACH task and resetting the pin but that's not fixing the issue. Are there any other fixes?

---------- Post added at 09:36 AM ---------- Previous post was at 09:35 AM ----------

Do you connect to wifi at your work? If so, this is incredibly easy.
[Android Apps and Games] BrianAllred:
I'm having the exact same issue. d2vzw, on Mastamoon's unofficial CM10.2 nightlies, flashed from 9/3 to 9/4 and now I absolutely can not get Secure Settings to stop saying "Decryption Failed".
[Android Apps and Games] sbenson1226:
Ha, that's the exact same ROM I'm on. Happened when I went from 9/3 to 9/4 as well. I wonder if this is device specific? Let me know if you figure this out. Thanks!
[Android Apps and Games] Charmacas:
I have the same error with the configuration mentioned in my signature.

Here's the logcat for the time when I get the error in Tasker.

http://pastebin.com/9AtBeYbg
[Android Apps and Games] AwakenJornie:
Yes i'm connected to wifi at work.
[Android Apps and Games] donutzman:
I updated my Galaxy Nexus from a CM 10.1 nightly to the Sept 4th CM 10.2 nightly and I'm getting the same issue.

I see notifications come up saying:

Decryption Failed

then

Please reset stored password

and then it's left with one that says "Stored password out of sync!"

I only have one task that sets a password/pin with Secure Settings, and another task that Clears the password with Secure Settings. I've tried editing and resaving the Secure Settings action in those tasks, but it doesn't fix it for me either.
[Android Apps and Games] sbenson1226:
Alright then, it's pretty easy. I'm not sure how much experience you have with Tasker so I'll try to keep this basic. If you need more explanation, let me know.

Requirements: Tasker and Secure Settings

First thing you need to do is make Secure Settings and Tasker are device administrators. Go to settings > security > device administrators > check the box for both. Next, go into the Secure Settings app > tap options > Dev admin actions > make sure Password/Pin has a green check.

Also, make sure you do not have a secure screen. Go to settings > Screen lock > make sure this is set to None or Slide.

Open Tasker

1. Create a new profile > name it "Work"

2. Tap state > tap Net > Wifi Connected > tap the search icon under SSID and select your work wifi

3. Tap your back button

4. Select New Task > name it "Lock Screen On." This is what will enable your secure lock screen.

5. Tap + > Plugin > Secure Settings > Edit

6. Scroll down to Password/Pin and select it

7. Tap the disabled button to enable and choose either password or pin and then enter it into the field. Be sure Device Admin Enabled is checked.

8. Tap the save icon (bottom left).

9. Back out to the main screen and tap the Tasks tab at the top.

10. Long press on your newly created "Lock Screen On" task > tap menu > Clone > rename it to "Lock Screen Off"

11. Tap on Lock Screen Off > tap secure settings > edit > disable

12. Now back all the way out to the main Tasker screen

13. Tap profiles > then tap your "Work" profile.

14. Long press on "Lock Screen On" > Add Exit Task > select "Lock Screen Off"

15. Back out of Tasker to your launcher homescreen and everything should be good.

What this profile does is enable your secure lock screen when you connect to your work wifi. When you leave at the end of the day, your phone will detect when you disconnect from your work wifi and revert you back to an insecure lock screen.

If you have any other questions, let me know.
[Android Apps and Games] Excrucibo:
Yup, same here on 10.2 on a HTC One.
[Android Apps and Games] kinglargo:
Did you found a solution?
[Android Apps and Games] AwakenJornie:
Is it maybe possible to apply this by time? Because i'm not always connected to the internet.

But first i'm going to try this tomorrow! Thanks!!!
[Android Apps and Games] Jayrod76:
Been having an issue with secure settings saying that there is an update available yet when it has done the update, it's still the same version. I updated twice before I even noticed.

Any ideas?

Sent from my Platyraptor extreme ultra maxxxx 4gLTE/GSM/ABC/123 Nick Knack Pattywack Ermegherd GED, MD,RNA,DNA,YMCA Edition S4! Via the 4th dimension....NOW RUNNING ECLIPSE

Edit...strange but decided to reboot and now the helper is on v1.2.3. Guess it was user brain fart.
[Android Apps and Games] pkelly517:
I upgraded to 4.3 with AOKP this week. Because the in-built Superuser is... buggy, I used SuperSU. I disabled Superuser in ROMControl.

I could not install the Helper without re-enabling the in-built Superuser.

Before I re-enabled Superuser, I clicked on the Notification, and it sent me to Developer Options in ROMControl, not Superuser.

Re-enabled, sent to the right spot, gave me the option to give root, and all was good. Immediately disabled Superuser.

Anyhow, an easy fix for me, but I thought it was weird. I'm not sure if I rebooted after enabling SuperSU. Come next nightly, I'll see if I can reproduce it.
[Android Apps and Games] donutzman:
No, I'm assuming something is wrong in the nightly unless I hear otherwise. No new nightly today for Galaxy Nexus at least. One the next comes out i'll try that, falling back to 20130904 if that one is worse. Hoping it gets fixed soon.
[Android Apps and Games] 99RedB:
Instead of State you could use Time, you could combine that with Location so that if you aren't in work at that time the lock isn't applied. Or you could use WiFi Near instead.
[Android Apps and Games] AwakenJornie:
Right now I've applied it by day (Mon till Fri) and Time (08:00 am till 04:00 pm).

Hopefully my selected pin will be off at 04:00 pm.
[Android Apps and Games] wlbx707:
I'm running Secure Settings pro 1.3.3 on a Samsung Galaxy Note 2 with stock Android 4.1.2. Helper is installed. Although enabled, lock screen timeout isn't working. I can enter the plugin configuration from within tasker and enter a timeout, but I cannot save. Nothing happens when I hit the save button.

Can someone confirm this?
[Android Apps and Games] _Tallis_:
Yes, I have this issue, too. intangibleDroid knows about it and is working on it.
[Android Apps and Games] Simba501:
Any update on if this is possible, intangibleDroid?
[Android Apps and Games] intangibleDroid:
I'm aware of this issue but haven't been able to find a solution as of yet. I believe it's due to some commit within the past few days but I haven't been able to track it down (if anyone else has the time to comb through the CM commits, let me know if you find anything interesting).

If you are running Android 4.1+, you should give the Helper Alternative a shot. It doesn't require installing any other files so less can go wrong.