Secure Settings is a Locale/Tasker/Llama compatible plugin for Android 2.2+
Please see the changelog for updates
Secure Settings Pro Trial licenses are available! Click the menu button inside of the Upgrade screen to request a trial.
As of v1.2.6, you can create Launcher shortcuts to any available Action option!
Conditions:
Max Failed Login Attempts - Perform an action based on a specified number of failed login attempts
Google Now Shortcut [4.1+,Pro]
Outgoing Call
Secret Code- Enter a special number in the Dialer and trigger an action.
Actions:
Toggle Airplane Mode
Set Airplane Mode Radios
BT Connection [4.0+]
BT Tethering [4.0+,Pro]
Execute Shortcut
Font Size [4.0+]
Toggle the Keyguard
Launch Activity
Locale Picker
Toggle Mobile Data [2.3+]
Run any GNU linux command (with/without root)
Tasker users can store command output info in user defined Tasker variables
Toggle SIP Receive Calls [2.3+]
Change SIP Call Option [2.3+]
Stay Awake While Charging
Show Touches [4.0+]
Wake the device
WiFi Hotspot [4.0+]
WiFi Sleep Policy
Dev Admin Actions:
Toggle the Camera [4.0+]
Lock the device
Lock Screen Widgets [4.2+]
Set or reset the device's password/pin
Root Actions:
Background Process Limit [4.0+, Pro]
Background Data [Pro]
Force GPU Rendering [4.0+]
Hardware Overlays [4.1+, Pro]
Package Notification [4.1+]
Package State (Previously Package Manager)
Phone Options (Answer,End,Silence Calls) [Pro]
Power Button Lock [4.1+, Pro]
Reboot Options (Uses native system methods) [Pro]
Enable/disable USB Tethering [4.0+,Pro]
VPN [4.0+, Experimental!]
Enable/disable Wireless ADB
Helper Actions:
Enable/disable Accessibility Services
Enable/disable USB Debugging
Set Active Day Dream [4.2+]
Toggle Day Dream State [4.2+]
Enable/disable GPS [2.3+]
Enable/disable Data Roaming
Update Lock Screen Owner Info [3.0+]
Set Lock Screen Timeout [4.0+, Pro]
Enable/disable Pattern lock screen
Enable/disable NFC [NFC Adapter required]
Change device input methods (switch soft keyboards without the prompt)
Enable/disable "Location Services" option for location awareness
Unknown Sources
WiFi Optimization [4.2+]
WiFi Scanning [4.3+]
Custom ROM Actions:
Enable or Disable ADB Over Network [CM9 only]
Expand Desktop [CM10/Paranoid Android]
Enable or Disable Fast Charge [Custom Kernel with Fast Charge Required]
Enable/Disable Kill App Back Button (CM and other custom ROMS)
Toggle LTE on CM9
Toggle Samsung Modes (Blocking, Driving and Power Saver Modes)
I hope you enjoy
Download Here
Explanation of Permissions:
Device Administrator Access - Required if you wish to lock the device or set/reset the password
Storage Access - Required for the Run Command function to write to the SD Card
Full Network Access - Required to download and check for updates for the Helper application
System Tools - Required for the Keyguard and Wake Lock functionality
Root Access - Required if you wish to install the Helper or run privileged commands from the Run Command function
Change Configuration - Required to change Locale
Change Network State - Required to toggle Mobile Data
Change Wifi State - Required to toggle Wifi Adapter for Wireless ADB
Wifi Access - Required to determine if Wifi is enabled for the Wireless ADB function
Bluetooth/BT Admin - Required to Connect to BT Devices
Boot Complete - Required to install Helper on boot if missing
Process Outgoing Calls - Required to use outgoing calls as conditions
Buy me a beer
New feature in Version 1.1.8
With version 1.1.8, Secure Settings can be converted to a system app to get the same functionality as having the Helper installed.
If you wish to move the app to the system, you MUST first disable Device Administrator!
I cannot stress this enough. If you don't do this, the app will break and will be a pain to remove.
Once that's disabled, you can use Titanium Backup to convert the app to a system app.
Thank you very much for this plugin. I have it installed which I downloaded from your site. Is there any difference between that and this one, which is available in the Market? Also, does this one also require to be installed as a system app in order for some functionality to work (e.g. Keyguard Off)? Thanks.
This is a completely different version than what is hosted on the google code site.
This app doesn't require you to install it to the system. I wrote a second app that I called the "Helper" which gets installed there. If you don't install the Helper, you will have the following available to you:
Keyguard
Lock Device
Set Password/Pin
Run Command
Wake Device
And Wireless ADB if you are rooted.
Hope this helps
Ok, thanks. I will try this out right now.
hey Corey Z -
I'm running into issues where Secure Settings plugin doesn't fire if I run a lot of shell scripts. I have a task where I fire a script, wait for its exit code, then fire another script; I do this maybe 4-5 times. This happens just fine, but when I tried to test a different task that also uses a shell script, it doesn't fire and my task just hangs on the "Wait until %CMD_EXIT is set". This is verifiable by turning on "show output" and "show notification" - notification doesn't happen sometimes, indicating that the plugin isn't firing..?
Thanks for the help!
Is it possible ro reset a sim lock pin..???
Sent from my X10 TripNMiUI-Iris using Tapatalk
@strictlyrude27
So, let me see if I understand...
It works fine when you run one command, one after another but you have issues when running multiple commands simultaneously?
Is that it?
Sent from my Thunderbolt
@Z3US911
That's an interesting thought. I'll have to look into that.
Thanks for the suggestion!
Sent from my Thunderbolt
intangibleDroid said:
@strictlyrude27
So, let me see if I understand...
It works fine when you run one command, one after another but you have issues when running multiple commands simultaneously?
Is that it?
Sent from my Thunderbolt
Click to expand...
Click to collapse
Upon further investigation it looks like scripts aren't firing if I manually select the notification to end the script. I set up my profiles to make sure exactly 1 script fires at a time to avoid collisions; when they all fire and exit properly rather than being aborted, I can re-run as much as I'd like.
Thank you very much, just what I needed!
Sent from my Nexus S 4G using XDA Premium App
@strictlyrude27
Are you referring to the cancel script option you get after you click the script running notification?
If so, that function is actually a little buggy at the moment. It may not actually cancel the script.
Is that what may be causing the problem?
Sent from my Thunderbolt
intangibleDroid said:
@strictlyrude27
Are you referring to the cancel script option you get after you click the script running notification?
If so, that function is actually a little buggy at the moment. It may not actually cancel the script.
Is that what may be causing the problem?
Sent from my Thunderbolt
Click to expand...
Click to collapse
That could be it! I haven't had to cancel a script since originally posting that, so hopefully I never run into it again..
This is great!
Now I am able to disable the pattern lock while connected to my Wifi.
On the Turn On/Off GPS....does that mean I can re-use an old task where GPS gets turned off when I exit Google Maps/Navigation like it used to in <2.2?
I've been using this plugin with ZERO issues to disable the pin lock when I enter known WiFi and to enable it otherwise.
@SilentSummer
You should be able to enable/disable GPS like you were able to prior to GB
intangibleDroid said:
@SilentSummer
You should be able to enable/disable GPS like you were able to prior to GB
Click to expand...
Click to collapse
Will give it a try, thanks
Edit: Works great
this may be a dumb question, but is the helper supposed to be on the market somewhere? or is it the manual download only? I only ask because the manual download is worded like you should only use it if you have problems...
Hi,
I use a program called "CELLBROKER," and whenever I get it I need to put my password and enter ... I created a profile in TASKER to put the password ( Input - Type - "my password"), but I do not know how to use a command in linux to run automatically enter.
Can someone help me?
Thanks a lot!
gohamstergo said:
this may be a dumb question, but is the helper supposed to be on the market somewhere? or is it the manual download only? I only ask because the manual download is worded like you should only use it if you have problems...
Click to expand...
Click to collapse
The Helper is not available on the market. I currently have it hosted at my google code site.
If you want to install it, use the install option in the settings of my app. The manual download is offered if that fails for any reason.
Hope this helps.
Sent from my Thunderbolt
I recently discovered how to disable lock screen on our devices.
I use for that "Impel - Automatic Tasks" free version allows for just exactly two tasks. You need to create widget connected with task "Disable hardware feature/Screen Lock" and second one "Enable hardware feature/Screen Lock".
I hope this tip will help someone.
Erm... Why would you want to disable the lockscreen?
Hello everybody!
How can I (is there any app) separately secure "find my phone" option (exmpl. password) OR how can I hide it from system settings list?
There is no need to. You cannot disable this feature alltogether. If someone stole your phone or you lost it, you can still go to windowsphone.com and locate, lock or wipe it (unless it's in airplane mode). The settings only allow "faster" location of the device.
Thank u very much! Got it!
I was using the S4 mini ( Android 4.2.2) before I switched to S6 (Android 5.0.2).
On the old device the stock weather widget can detect my location without GPS on. I suppose it uses data from ISP via mobile radio or wifi.
However it is not the same for S6. The stock weather widget required "Location" to be turned on in order to detect my location. When I enabled "Location", the GPS was automatically turned on. I then set the "Locating method" to "Wifi and mobile networks". I thought I could disable GPS whilst still being able to detect my location. Sadly turning off GPS would also disable "Location" and the detection failed.
Is there a way for the S6 widget to act in a way as my old device?
I now understand what has happened. The quick setting button after dragging down the notification bar is a "Location" button and not a "GPS" button. This is extremely inconvenient and causing confusion !!
On 4.2.2 I can select coarse location detection via mobile and wifi and if I need more precise detection I just toggle the GPS button.
On 5.0.2 I have to re-enter the "location" setting menu and re-select "location detection" option to deploy GPS.
Why is the Lollipop so user unfriendly? I lost not only the quick launch buttons on the lockscreen but also a GPS button, sigh.
hobbya said:
Why is the Lollipop so user unfriendly?
Click to expand...
Click to collapse
It's actually an attempt to make it more user friendly. The majority of people using these phones become easily confused when given more options. At least that's what Google and Samsung seem to think...
If you're rooted, you can use a combination of the apps Tasker and Secure Settings to have the phone toggle between "mobile & wifi only" and "mobile & wifi & GPS" as needed.
If you're not rooted, there isn't really anything that can be done about it.
Prevent instant lockscreen activation (Bring back "automatically lock after timeout")
Premise:
I moved from LineageOS to MIUI 11 since a couple of months and I was immediately bothered by having to unlock my phone every time, even if I used it one minute ago. I have face recognition and the fingerprint sensor is fast, but that doesen't help (trusted networks/devices neither in my case). Apparently, there is no option to lock the screen after a period of inactivity and the typical "solution" I've seen around was just disabling the lockscreen or using a third-party one.
So, after a bit of search I found an alternative, quite simple and yet a bit hidden.
It requires CustoMIUIzer (so yes, root, possibly with Magisk, and the EdXposed module) and Tasker.
In CustoMIUIzer you should go in System > Lock screen > Disable screen lock and select "Enable mod". If in the settings below you select "Disable completely" in "Disable screen lock" menu and turn on "Skip lock screen", when you will turn off and on your screen you will see that the lockscreen doesn't appear. You can put it back to "System default" but leave "Skip lock screen" enabled.
Now let's make this easier with Tasker, that has a plugin for CustoMIUIzer. The simplest way is making a button or shortcut in your launcher that you would press to disable and enable lockscreen manually when you want, without going everytime in CustoMIUIzer. The other way is automating the process with a couple of profiles (and tasks): the first one will trigger on display unlock, disable lockscreen and set a time (eg. 10min later) when the second one will trigger and enable lockscreen again. The second task could also be used to lock the screen manually.
For simplicity, I'll attach my files and screenshots. That's not necessarily the best setting, but it works well. I set the timeout to 10 minutes (in "lockOff", %TIMES+60*10). The task that disables lock ("lockOff") creates a toast notification when you turn on the screen, so you can remove the last three actions if everithing is working. Both profiles have to be active. Make sure that Tasker won't be killed by MIUI or battery savers, maybe lock it in recent apps.