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've had this Samsung S3 for six months now rooted with stock AT&T JB ROM. I'm starting to use the phone in the car more and am perplexed how difficult I'm finding it to do some pretty simple, commonly useful things. Here's what I'm trying to achieve:
- When phone connects to bluetooth in car, to on Car Mode and Driving Mode
I already use Llama and turning on Car Mode is easy. Driving Mode looks like I have to use a custom Android Intention (haven't tried it yet)
1. Replace lock screen (currently using Widget Locker) with Car Dashboard for easy app launch and forwarding of songs being played in Power Amp, Spotify or Pandora. Strange that Llama toggles Car Mode but the toggle on the OS is "Driving mode" Seems Driving Mode controls TTS activation and Car Mode toggles the Car Mode app. I think this is just the problem with Touchwiz not being "Android Standard" functionality?
2. Make it so I don't have to press a button to wake phone but don't eat battery with screen usage. The only Car app I've found that comes close to this is the iBOLT Dock'n Drive app where you set the screen brightness slider all the way down and it just shows a clock jumping around the screen. I don't even want the stupid clock - but I guess it's nice to know the phone is in car mode waiting for me to touch the screen. Unfortunately music controls are not on this dash app and the Car app with Pandora integration (forget the name) doesn't have the blank the screen mode without sleeping.
3. When a text comes in, I want either (a) and auto-response that I'm driving and to call me if its urgent, or BETTER, (b) allow me to speak "reply" and do a voice to text response or "auto response" to send my auto response. S-voice allows you to say 'reply' but only if the text comes in when the S-voice app is the currently opened app. If phone is sleeping and text comes in, all it does is read the text. Disabling widget locker and having no lockscreen slider made no difference.
Sidenote: I've also discovered on the S3, because I don't use S-Voice, (I have home double tap mapped to Google Voice Search), the TTS doesn't work. If I manually launch S Voice once, then TTS works but if I remove it from the background apps list then no TTS. That's sort of a side issue.
4. If car mode is enabled, on GoSMS I don't need a pop-up. Just TTS. But GoSMS still thinks I haven't seen the message. So even though I heard the message GoSMS keeps pinging me with a reminder (which I do want repeat reminders for unread texts when NOT in car/driving mode) Strangely there is no Car/Driving mode settings in GoSMS. Surprising. And the Auto Response has to therefore be manually toggled.
It appears I may have to add some 3rd party apps to achieve what I want and possibly dump GoSMS - I've also found that CloudSMS (to replicate SMS to my tablet) doesn't work with GoSMS running. Boo. Hiss. I GoSMS is such a superior SMS program in most all other respects. Hate to see it go.
Seems what I'm asking to do shouldn't be so complicated. With all Google's resources, I'm surprised this isn't all built-in to Android and easily used.
Getting close. Turned off option on GoSMS to disable other messaging notifications (fixed CloudSMS issue).
Found two promising apps:
SMS+Car - Does the job but the it doesn't use the native Google voice recognition and more importantly doesn't read calendar reminders. What it DOES do is mark the SMS messages it reads as read!
Enhanced SMS + Caller ID+ - This is the better app, it cleaner, more options, used native Google voice recognition. It's missing one thing though, DOESN'T MARK THE SMS AS READ! Dealbreaker.
Search continues...
Finally found a solution for Toggle2G. Combining Locale, xposed framework, gravitybox (shortcut action) and locale module screen on: automatic switching between 2g to 4g when screen on/off. This saves a LOT of battery while still having all the good stuff:
Always connected
Fast when you need it
Energy low usage when the phone is idle
Since none of the necessary apps/mods is device specific, this should be usefull and functional on all devices Android 4.1.2 and higher. (Gravitybox is 4.1.2 and up)
Toggle2G alternative
Needed:
Root (useless without root)
Locale (or Tasker, Lama, whatever fits your needs)
Xposed framework
Xposed module gravitybox +v1.9.2 (this add action shortcuts to switch to 2g, LTE, 3G, ...)
Locale/Tasker Screen Power Detection module
Optional: locale/tasker call detection module
If all installed and activated:
Set rule: screen power off > shortcut gravity box action set to 2G only
Set rule: screen power on> shortcut gravity box action set to 2G/3G auto or whatever connection you prefer whan actively using your cell.
Other optional rules could be:
Switching to 3G/4G/auto when in call, (no SMS/data delay when 2G is being used by call)
When battery is low, switch to 2G only (set priority!)
...
I hope someone is helped with this. I have been looking for this way to long. Now I have full connectivity and I save lots of battery.
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.
Upgraded my Redmi Note 3 from MiUI lollipop 5.1.1 to SIimROM Nougat 7.1.2. My phone is rooted with Magisk & also has systemless xposed.
First, I want to disable quick settings pull down from the lock screen. I'm able to use every toggle on my quick settings screen without the PIN code. Wouldn't want to allow that without the PIN. Gravitybox Nougat doesn't seem to have an option to disable that.
Second, on MiUI, whenever an app accessed my location, I also got a notification that displayed which app was using location. This doesn't seem to be the case on AOSP Nougat, all I get is a location icon in the status bar, but have no idea which app is accessing my location. That isn't of much use, is there is a root app or an xposed module that can display which app is accessing my location?
Third, the max volume on my ROM seems to be too low, I can't hear most YouTube videos I watch without keeping the phone very close to my face. Which mod would be the best to increase system volume? I don't care about other equalizer settings & all that, just want a way to increase max system volume.
Fourth, when I first setup a lock screen on my ROM, it seems to have encrypted my phone. But when I turned On accessibility service of an app, I no longer see the secure PIN screen that was asked before at boot. Some searching made me realize that turning On accessibility disables encryption, don't know why this is the case. 4 of my apps need the accessibility service to do their tasks, is there no way to have the accessibility service enabled while also keeping the phone encrypted? There must be some workaround....