yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Simba501:
I have a question. In AOSP ICS (CM9), the clock hides when the stock lockscreen is locked. However, I am using Widgetlocker and this behavior doesn't occur. Being that the option to "Show/hide clock" is a toggle in CM9 settings (system/status bar/show clock), would it be possible for Secure Settings to access this toggle? This would allow me to create tasks in which I could control when the clock hides; it would be easy to duplicate the behavior described above by creating a profile that activates when Widgetlocker launches to hide the clock and on exit, show the clock.

[APP] Toggle 2G/3G (Tasker/Locale plugin) has what you're looking for.
[Android Apps and Games] intangibleDroid:
I'll look into it and see what it'll take to implement.

Thanks for the suggestion.
[Android Apps and Games] kevinsmbuk:
Cant install helper file from phone, or from flashing in CWM, so... following this from the website.

Download the latest apk from the Helper Download page

Change the name to SecureSettingsHelper.apk

Mount your system R/W <-------------------------------------------------------------------------------??? What does that mean?

Manually move it to the /system/app using a root explorer

Change the file permission to 644

Reboot
[Android Apps and Games] intangibleDroid:
It means you have to mount the system partition rewritable.

From the command line it would look like:

If you are using a root file explorer, it would be an option in the app.
[Android Apps and Games] kevinsmbuk:
So I would literally need to go to the folder /system and hit Mount R/W? (using root explorer)
[Android Apps and Games] intangibleDroid:
That's it. After it's copied, you can use the attached screenshot as a reference for setting the permissions.
[Android Apps and Games] kevinsmbuk:
Gotya! all done I think, just rebooting now, after reboot can I change system/apps to read only again?

---------- Post added at 11:05 PM ---------- Previous post was at 10:58 PM ----------

I think I just answered my own question, it reverts back to r/o automatically, thankyou so much for your help and being patient with the noob like questions!
[Android Apps and Games] Gawis:
Weird thing happened.. I flashed the latest CM10 over a previous one and after the reboot I installed Helper from Secure Settings menu.

It was v1.10 or so that got installed instead of the latest one..

When I let it check for an update it saw there was one but installed the same version.

Flashing the CWM package from this thread gave me the correct version, thanks.

Sent from my SGSII CM10 with Tapatalk 2
[Android Apps and Games] itsLYNDZ:
Is there a way to force close an app once im done using it? I have a select few apps that seem to keep restarting themselves after I am no longer using them. Could someone provide instructions or an import file? I am rooted.
[Android Apps and Games] intangibleDroid:
You could use the "Package Manager" option to disable the app when you don't want to use it. Apps that are killed have a tendency to start back up again, if they are disabled using this method, then they will not start up until they are re-enabled.
[Android Apps and Games] itsLYNDZ:
I'm not sure how to do that. Really just got tasker for this one thing but not sure how to do that. Is there am import flie or step by step way to set it up to do that
[Android Apps and Games] GermainZ:
Install Link2SD. Search for Maps. Long press it. Freeze it. You'll have to unfreeze it every time you want to use it.
[Android Apps and Games] itsLYNDZ:
Oh I already have titanium backup and was really trying to avoid doing that just to use an app. Can't tasker force close an app when Im done using a certain app. Not kill it so it restarts.
[Android Apps and Games] kevinsmbuk:
I would have thought even if its force closed it may start up again depending on the app?
[Android Apps and Games] itsLYNDZ:
I've found that if you force close it then it won't restart until you open the app again
[Android Apps and Games] kantjer:
I'm having the same issue with an app I start when the phone is connected to BT in my car. When I disconnect from BT I can close the app via SS but it restarts itself. I tried intangibleDroid's suggestion to use the "Package Manager" option to disable the app and enable it again after a few seconds, that works, the app won't restart. The only problem with that is that the app icon is removed from my launcher home screen after it has been disabled.

It would be great if we could use SS to FC an application so it won't restart itself and also keeps it's icon.
[Android Apps and Games] Simba501:
Perhaps Autostarts may be of service to some of you?
[Android Apps and Games] itsLYNDZ:
That doesnt help once the app has already been started
[Android Apps and Games] intangibleDroid:
My solution has been to create a shortcut to the app using a Tasker shortcut that launches the app. That way the app icon doesn't go away since it's a Tasker shortcut.
[Android Apps and Games] itsLYNDZ:
How can you do this with package manager?
[Android Apps and Games] strictlyrude27:
It looks like the latest version of Tasker disable the ability to toggle vibrate on notify/phone ring.. do you think you can add this functionality via SS (doing so with or without requiring root?)
[Android Apps and Games] rr3636:
Combine autostarts and taskers ability to kill an app = success :)
[Android Apps and Games] itsLYNDZ:
Is there a place to download the kill app task so I can just import it? Or can someone link to where to find the steps to create it? It would be really helpful so Maps isnt running for days in the background...

I also know that with 2.3 you need Secure Settings and helper installed.
[Android Apps and Games] kantjer:
What exactly do you want to achieve?
[Android Apps and Games] funhuji:
Question: Pattern Unlock (again, sorry)

Found this thread locking for explanations on how to make Tasker finally turn off Pattern Unlock when in a specific WLAN network.

Just to sum this up for me, the status quo is:

On Jelly Bean enabling/disabling 'Pattern Unlock' doesn't work in Tasker.

And even using Secure Settings it only works if the device is rooted?
[Android Apps and Games] intangibleDroid:
Enabling/Disabling pattern lock without root hasn't been possible since 2.1.
[Android Apps and Games] itsLYNDZ:
To automate GPS when I turn on Navigation or Maps. Then also to kill an app once it is done being used, so it doesnt restart. Someone said you could use Package Manager? I dont use a task killer because apps will keep restarting themselves. I know if you FC an app like Facebook or Maps it wont restart until it is opened again. I am also using autostarts, but that doesnt help once you run the app.
[Android Apps and Games] kantjer:
In Tasker select Plugin-Secure Settings then edit, select Package Manager select your app and disable

then add a wait 2 sec

In Tasker select Plugin-Secure Settings then edit, select Package Manager slect your app and enable

This way you can stop the app without it restarting again.
[Android Apps and Games] itsLYNDZ:
Would something like that task eat up alot of battery life? Not sure how often it would be checking to see if the app is closed.
[Android Apps and Games] itsLYNDZ:
I did this as one task under the tasks tab, and maps is still running in the background. Do I need to do something under the profiles tab?

I have

1. Secure settings configuration Maps disabled

2. wait 2 sec

3. secure settings configuration maps enabled
[Android Apps and Games] kantjer:
It depends how you want to trigger it, does it work if you run the task manually?

I think you need to have a look at this thread to get a basic understanding of how Tasker works.
[Android Apps and Games] itsLYNDZ:
If I open maps with that setting in tasker, it doesnt automatically end the app once Im done using it. I just wanted to import or setup the profile to force close or end an app so it doesnt keep restarting
[Android Apps and Games] kantjer:
Ok I think you misunderstand the working of that task. The task example I gave you is to close an app.

In your case I think you need 2 different tasks

1 enable Maps in using Package Manager and than start Maps

2 disable Maps using Package Manager (this will automatically close Maps)

And then make short cuts of them both
[Android Apps and Games] itsLYNDZ:
Is there a way to import this some how? I don't really understand tasker and have been going back and forth with it for about a year now, but can never understand it enough to make anything work. I just want maps to end once I'm done with it :/
[Android Apps and Games] McPolo:
I tried to read this chain, but did you know that if you use location services, maps keep running background? Afaik it does.
[Android Apps and Games] itsLYNDZ:
Yeah I know but its a hassle tying to turn it on and off all the time
[Android Apps and Games] hardwarechaos:
Hi there,

after flashing a new update of CM i often forget to install the helper manually.

Is there anybody that made a simple reminder with tasker, or better an automated install of the helper. (If the helper ist not present tell me or better install it)

Did not find any solution to this.

Any help appreciated

THX

Chaos
[Android Apps and Games] intangibleDroid:
Whenever you make a call to Secure Settings that requires the Helper, it will check if it's installed. If it's not installed, a notification will popup that will allow you to install it.

Additionally, the next version of Secure Settings will have an option to "Persist the Helper on boot" which will check if the Helper is installed on each boot, and if it's missing, will attempt to automatically install it.
[Android Apps and Games] hardwarechaos:
Hi there,

wow, that would be great.

THX

Chaos
[Android Apps and Games] red_skittles:
Ive been trying all day to get this working but for the life of me cant figure out what Im doing wrong. I want to shutdown my phone after 3 failed pin login attempts from the lockscreen. I thought it would be as simple as setting max failed login attempts as 3 for the event and set the task to reboot with the shutdown option. I have tried similar profiles in tasker and locale with no luck. I am running CNA 3.5.0 (4.1.1 based) on a Nexus S
[Android Apps and Games] intangibleDroid:
When you enter in a failed password/pattern is it more than 4 characters or points? To count as a failed attempt, it has to be 4 or more characters/points.
[Android Apps and Games] ja-finn:
Disabling sim pin code

Hi

Is there any way of disabling the sim lock? For instance in conjunction with a daily/weekly reboot during the night?

Disable pin code -> reboot -> enable pin code
[Android Apps and Games] intangibleDroid:
I'll look into this. However, I don't have a device that supports this functionality so it might be difficult to implement.
[Android Apps and Games] heircide:
Tasker and wake screen.

Okay so I'm trying to setup Tasker to wake the screen when I receive a notification (from any app). I added the notification event to my profile and had it run the Secure Settings -> Wake Screen -> Screen and Keyboard Lights On - 3 seconds task. But when I get notifications the screen doesn't turn on. I did restart my device and it still doesn't work. Can someone try and point me in the right direction?
[Android Apps and Games] Lebenita:
Exactly the same here. No matter how long the failed unlock attempts are (i.e. even if longer than 4 chars), the action (shutdown) doesn't trigger, it's only after 5 attempts that Android's own protection (30s delay) kicks in. Running stock 2.3.7 on Sony Xperia Go.

---------- Post added at 09:00 PM ---------- Previous post was at 08:36 PM ----------

Ah, might have found the culprit. Tasker (or presumably any other app you're using to perform the reboot or shutdown) needs root privileges for the action, and if root is not granted automatically, you don't see the superuser prompt because the device is locked.

Solutions:

- First do something else that Tasker needs root for, so you're prompted and can specify "do not ask me again".

- Or: After the specified number of failed attempts, quickly input the correct password so as to be able to answer the superuser prompt.

- Or: Have superuser grant root access automatically.
[Android Apps and Games] valsacar:
Sorry if this has been mentioned, I couldn't find anything on my issue.

The enable/disable app doesn't seem to work. It does disable it properly but fails to enable. Doing it command line (pm enable <package>) also fails to actually enable (just says package current status is disabled). TI cannot defrost it either, it requires a forced defrost (the one that reboots the phone) in order to get it back. Freeze/unfreeze directly via TI does work, but using secure settings or command line to disable then re-enable does not work.

This is the key feature that I got secure settings (and tasker, though lots of fun things to be done with it), and I can't get it to work... I'm thinking it's not an issue with tasker, but since TI does work properly perhaps there is something that can be done to fix it.

What I am trying to do is enable and disable Kakao talk every 30 minutes. That app (which I do use, here in Korea EVERYONE that has a smartphone uses it, and more often than using SMS) is killing my battery life. It causes a wake-up every 5 minutes, and there appears to be no configuration options to resolve it. Tasker (with secure settings) should allow me to disable the app and then re-enable it for a few minutes every 30 minutes, and enable if the screen is turned back on. That is the goal.

I'm running stock SGS3 (Korean SK version, E210S) with Tegrak kernel (so yes, rooted).

Thanks for the help.
[Android Apps and Games] Neutr1no:
I have the same question as someone few pages back:

The response was:

However, it doesn't seem to work in my case. I've tried setting on 'Pattern lock' at home (just to check if pattern lock would appear) and it doesn't work. Switching 'Keyguard' option doesn't work aswell. I'm using RR ROM on Galaxy S2 with Siyah kernel.
[Android Apps and Games] Lebenita:
Home key doesn't work after disabling keyguard

I'm having the intermittent problem that after switching the keyguard off with SS in Tasker, sometimes the Home key doesn't work any more. The screen flickers when pressing it, but that's all. As soon as I activate the keyguard again (using the notification), the Home key works again. Has anyone else had this problem?

---------- Post added at 10:19 PM ---------- Previous post was at 10:14 PM ----------

If I place a shortcut to "Toggle Keyguard" on my launcher (Sony stock launcher on Xperia GO with 2.3.7), it works at first, but after some time (less than a day), it invariably starts to display an "Invalid action" toast message when pressing it. If I delete and recreate it, it works again for some time. Any idea what could cause it?
[Android Apps and Games] Lebenita:
Home key problems Android-related

Apparently this problem is Android-related (starting with 2.2); it appears also if using Tasker's own action to switch off the keyguard. Tasker’s help says about the Keyguard action:

So Secure Settings has nothing to do with it.
[Android Apps and Games] docluv01:
Anyone having an issue with the 4G toggle? mine goes into 3G, but won't go back into 4G. I have to go into phone info and manually change it to LTE/GSM/CDMA (PRL)

This is what I have found the LTE options doing:

4G off = Phone info indicates "CDMA (PRL)"

4G on = Phone info indicates "GSM/CDMA (PRL)"

Is there a way to have the 4G on select "LTE/GSM/CDMA (PRL)" instead?

im using an AOKP milestone 6 build on Bionic

Thanks in advance!
[Android Apps and Games] red_skittles:
You were right, the problem was SU and not being able to see the prompt. Thanks all working now
[Android Apps and Games] intangibleDroid:
I'm aware of this issue. A workaround for the time being would be to use "pm disable-user <PACKAGE_NAME>" instead. This will be addressed hopefully in my next release.
[Android Apps and Games] intangibleDroid:
Another user has reported this. I will try to look into the AOKP source to see what has changed.
[Android Apps and Games] hhhha:
Hey all,

ive installed the secure settings plug in for tasker,

and its just not working... at all!!!

i tryed everything to fix this with no luck

even if i try to "Run an action" in tasek> plugin> secure settings> edit> gps> on> save

nothing happens (other functions on secure settings doesnt work either)

please help me

btw im running rooted 4.0.4 with security settings helper installed
[Android Apps and Games] intangibleDroid:
Have you tried removing and re-installing Secure Settings/Helper? I've seen this happen before and that has helped in the past.
[Android Apps and Games] hhhha:
yes, ive tryed that several times.

i even tryed to manually install the apk files of secure settings and helper to system/app.

but still nothing happens :confused:
[Android Apps and Games] intangibleDroid:
Can you try and see if making a launcher shortcut to a Secure Settings action works?
[Android Apps and Games] hhhha:
Tryed to make a launcher shortcut for gps toggle and it DOES WORK!!

so.... why running it through tasker fails??

Reinstalled tasker bun still no luck :(
[Android Apps and Games] intangibleDroid:
I have another user who is experiencing a similar issue. Are you familiar with capturing logcat logs? If so, could you please enable "Debug Logging" in the Secure Settings preferences and then collect and send me a logcat log of you manually triggering the GPS task.
[Android Apps and Games] thompsos:
I am having the same issue - I have Tasker and secure settings installed and correctly configured. I can toggle my GPS using a Secure Settings toggle shortcut on my homescreen, but Tasker cannot seem to control the GPS state on my device (enable/disable).
[Android Apps and Games] hhhha:
first of all, i really thank you for your help so far. :p

after some checks, i found out that this problam is only on tasker 1.3u1

installed original tasker 1.3.1 from google play and the gps works.

after debugging with logcat, both 1.3.1 and 1.3u1

Tasker 1.3.1:

D/SecureSettings.FireReceiver( 704): a::gps Request Received

D/SecureSettings.FireReceiver( 704): onReceive::Data loaded

D/SecureSettings.FireReceiver( 704): onReceive::Device requirements verified

D/SecureSettings.FireReceiver( 704): onReceive::Starting ActionService

D/SecureSettings.ActionService( 704): onHandleIntent::Intent Received

D/SecureSettings.n( 704): a::Sending Helper broadcast

I/SecureSettings.ActionService( 704): onHandleIntent::Action Success

D/systemui/quicksetting/QuickSettingButton( 2244): onChange() - mGpsActivated : true

D/systemui/quicksetting/QuickSettingButton( 2244): setActivateStatus(1) - 1:on, 2:off, 3:dim

D/GpsLocationProvider( 2113): handleEnable

I/SecureSettingsHelper.c( 1330): a::Action Success

D/SecureSettings.HelperReceiver( 704): onReceive::Helper received Intent

however, in 1.3u1 log file none of those lines shows up, not showing securesettings at all.

is there any way to make it tasker open a shortcut?

or manually run command for securesetting?

i have to make it work on this ver...
[Android Apps and Games] intangibleDroid:
Sounds more like a Tasker problem... Have you contacted the Tasker developer?

Edit: Only way I know for Tasker to trigger a shortcut is by using another plugin. If Tasker isn't having issues will all plugins, then this may work.
[Android Apps and Games] aritafari:
Deleted
[Android Apps and Games] ICeNoAcH:
The exact same issue here,

Data roaming does work but when it comes to NFC or GPS it just doens't work.

after creating a toggle shortcut this does NOT seem to work either.

using galaxy nexus JB with helper and root installed.

any solutions here ?
[Android Apps and Games] tboooe:
Anyone having issues with Secure Settings Helper app with CM10? It worked fine on CM9 but now it seems Helper doesnt work even though its installed.
[Android Apps and Games] rgawenda:
Works for me. At least the input method. Not sure about the VoIP settings.
[Android Apps and Games] intangibleDroid:
Is this a recent development or has it not worked for a while? Can you try reinstalling the Helper and let me know if that helps.

What features specifically? Can you also try reinstalling the Helper.
[Android Apps and Games] tboooe:
thank you for the reply. Can you open Secure Settings and see under Options tab if you have green or red circles in the Helper Actions section?
[Android Apps and Games] rgawenda:
I've everything green but NFC and Fast Charge.
[Android Apps and Games] aritafari:
Receive Incoming Calls | SIP Accounts not registering.

I have a task in Tasker designed to toggle "Receive Incoming Calls" for SIP calling.

It does toggle but account registration is usually stuck on "checking status" or "account registration unsuccessful".

However, SIP accounts register when "Receive Incoming Calls" is checked manually (via Phone icon/Settings/Accounts).

Has anyone else been able to confirm this?

Thanks.
[Android Apps and Games] ICeNoAcH:
Dorothy triedean

it has not worked ever since the install i think.

everything is green and checked on.

when i press the toggle shortcut for gps of nfc it says 'invalid action".

i tried reinstalling multiple times but this did not solve anything.
[Android Apps and Games] intangibleDroid:
I'm aware of an issue with the launcher shortcuts that prevent them from working after a while. It should work right after creating it though.
[Android Apps and Games] ICeNoAcH:
when the shortcut is just created and pressed there is nothing that's happening.

the action doesn't work and no error message .
[Android Apps and Games] tboooe:
All the features in the Helper Actions section would not work even though my phone was showing that Helper was properly installed. I had to reinstall Helper a bunch of times before everything worked with CM10. I am not sure what ultimately made it work though.
[Android Apps and Games] ICeNoAcH:
msBoot affects

while i am on a stock ROM and thought let me try again:

delete, reboot, install helper, reboot, test, delete, .... for about 5 to 10 times it started working during one of the tests.

don't got any idea what made it work but it does.
[Android Apps and Games] Simba501:
Can the command output be changed to show the exit code in the notification? Currently, you have to click it to see the exit code.
[Android Apps and Games] intangibleDroid:
The icon changes if the exit code is non-zero (from an info to alert icon). I assumed if there was an error, you'd likely want to open up the window to see what the error was.

That being said, I'll take the suggestion into consideration.
[Android Apps and Games] Simba501:
Ohh....ok. No need to change it; I needed some indication that the command was not successful. I was under the false impression that the icon appears the same for all exit codes.
[Android Apps and Games] intangibleDroid:
Secure Settings Beta

I will be conducting a private beta for Secure Settings.

I am looking for bug reports, suggestions and feedback related to feature functionality and UI experience. If you have the time to thoroughly test and think you can help me out, please PM me your email address.

Those of you who help me out by providing useful feedback may be rewarded when the app is released.
[Android Apps and Games] alexanderlll:
So I did something stupid: installed Secure Settings and immediately converted it to a system app using Titanium (to prevent it from being removed by the user). I did not disable Device Administrator (which I can't even find), and the Secure Settings app doesn't display anything when started (if i tap around it says "Secure settings is not responding" and giving me the option to wait or force close it).

How can I remove it and reinstall it?

Thank you all!