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
Related
Does anyone know if there a way to make a fast charge widget by using taker were you can turn fast charge on and off and have the icon(widget) change when you turn on and off the widget?
Probably is you use Secure Settings. I believe there's a toggle that will enable Fast charge. Just create a task to enable it and then create a widget to turn it on.
Edit - It worked fine. You'll need to download Secure Settings (and the helper) and make sure to enable fast charge in the settings, then go into Tasker, create a new task, plugin, secure settings. Save it, create a widget and select Tasker, then Task, choose the one you just created.
rmiles7721 said:
Probably is you use Secure Settings. I believe there's a toggle that will enable Fast charge. Just create a task to enable it and then create a widget to turn it on.
Edit - It worked fine. You'll need to download Secure Settings (and the helper) and make sure to enable fast charge in the settings, then go into Tasker, create a new task, plugin, secure settings. Save it, create a widget and select Tasker, then Task, choose the one you just created.
Click to expand...
Click to collapse
This works great, but is there a way I can make Tasker echo back the status that I've switched to/from in a notification? or change icon between on and off? I can toggle with the widget, but if I forget the state I'm in I have to to terminal to find out.
Thanks
buffal0b1ll said:
This works great, but is there a way I can make Tasker echo back the status that I've switched to/from in a notification? or change icon between on and off? I can toggle with the widget, but if I forget the state I'm in I have to to terminal to find out.
Thanks
Click to expand...
Click to collapse
You could have it set a variable that you create to 1 when on and 0 when off (basically toggling between the two). Then just set up to check the variable and create an Alert pop-up telling you it is On or Off . . .
Was looking to do the same thing. Here's what I came up with, xml in zip attached.
You'll need Secure Settings installed.
What the task does.
1. Reads /sys/kernel/fast_charge/force_fast_charge and stores value in variable %FASTC (0 = off, 1 = on)
2. Toggles Fast Charge using the Secure Settings plugin
3. The next set of commands flash a message and change the widget icon depending on the status of %FASTC
Setup a widget that uses the task, and you should be all set. Keep in mine changing the name of the Task/Widget will require editing the "change widget icon" commands.
Edit: Looks like I made a boo-boo. The read statement happens too fast and would still get the old value of force_fast_charge before Secure Settings changes it.
I moved the statements around and edited the IF statements for switching icons and flashing messages. attachment updated.
rmiles7721 said:
Probably is you use Secure Settings. I believe there's a toggle that will enable Fast charge. Just create a task to enable it and then create a widget to turn it on.
Edit - It worked fine. You'll need to download Secure Settings (and the helper) and make sure to enable fast charge in the settings, then go into Tasker, create a new task, plugin, secure settings. Save it, create a widget and select Tasker, then Task, choose the one you just created.
Click to expand...
Click to collapse
Needs root?
rmiles7721 said:
Edit - It worked fine. You'll need to download Secure Settings (and the helper) and make sure to enable fast charge in the settings, then go into Tasker, create a new task, plugin, secure settings. Save it, create a widget and select Tasker, then Task, choose the one you just created.
Click to expand...
Click to collapse
I just installed Secure Settings on my Note8, and for the Fast Charging option, the app is telling me that I do not have a compatible kernel... Does any know what this may be?
Program allows you to lock or block access to selected application, access may be obtained by selecting pattern or password
App Guardian
[QRCODE]market://details?id=org.jastrzab.guardian[/QRCODE]
this is simple, i like it
But try this :
1. Download the app
2. Set to block an app
3. Open the app and see the lock is there
4. Open Settings > app > App Guirdian > Clear Data
5. Open the app and see there is no lock :v
so i guess you would like to add an option to automatically block settings?
and oh, if you want to change the pattern from the app, it doesn't ask for the current pattern
turn off/on screen or wait 1 minute and see what happens, when you try to access program or system settings
program by default blocks access settings "com.android.settings" and overrides clear settings button
after configuration or add new apps to list need to clear login, turn off/on screen
Owh, seems that's my problem then..
thanks
everything is working properly now ?, app has been tested on a small number of devices in theory there shouldn't be problems, but.....
Now program is fully completed, access may be obtained by selecting pattern or PIN
Is there a way to lengthen the "time on" for the lockscreens w/o entering password?
Title asks it all 8)
Looking to extend the awake time for the lockscreen while it's waiting for one to enter the password, unlock pattern, etc.
EDIT: Reason being - while using the Xposed Quick Access module it would be nice if the screen didn't off itself after a couple of seconds whilst I'm reading whatever info I have set for Quick Access-ability.
Thanks!
Sooo... I think I've solved this issue with a Tasker task. Tested with an n = 1 data set, but that one was a success. Looking forward to future testings to see if this works and solves the issue.
For those interested - in Tasker, I set up an app profile and triggered screen on, never timeout while that app is open / on-screen. Not the most perfect task since I'll have to actively remove the app from the screen for the phone to operate the lock function as normal, but I think it'll work for what I was hoping to do.
- Using Xposed Notification mod, I can pull down the notification menu down when I receive a new notification (an email for example).
- Or even better, using the Dynamic Notifications app I can open the email straight from the dynamic notification (similar to the function found on the Moto X for those not familiar).
- Then through the Xposed Quick Access mod, the email opens right over the lockscreen without going through the whole unlocking the phone process saving a few motions, clicks, etc.
- Then the Tasker task takes over and keeps the screen on whilst I'm reading / responding to the email, then when I delete the email and the lockscreen appears, the Tasker task ends and the screen goes back into default screen off / timeout mode.
Hopefully this will help someone else out in the future, or give someone else another idea! 8)
[EDIT: The method described in Post #3 is now my favourite, but it requires purchase of an app - the first method described here is free]
[EDIT 2: See Post 5 for Pujie Black method]
I just got my first Smartwatch (Moto 360 2nd Gen 42mm) and had been planning to try this as I thought it would be useful. I frequently turn on my PC (also my media server) using Wake-On-Lan from my phone when I'm about the house or after pulling into the driveway. On an Android phone this is pretty straightforward. Here's how I did it:
1) First of all make sure your PC is set up to allow Wake-On-Lan and it is on the same network as your phone. (Plenty of guides online showing how to do this, for example http://www.howtogeek.com/70374/how-to-geek-explains-what-is-wake-on-lan-and-how-do-i-enable-it/).
2) On your Android device, install 'Wake On LAN' by Reinhard Alischer from the Play Store (https://play.google.com/store/apps/details?id=de.ralischer.wakeonlan). This can be set up to wake multiple PCs, and you can add a widget or shortcut to your home screen for waking individual computers. All you need to know is your PC's MAC address. (Further instructions using a different app are available at http://www.addictivetips.com/mobile/turn-on-your-pc-with-android-device-via-wifi-network-wowlan -- but I recommend the app mentioned above for this as it allows Widgets and Shortcuts, necessary for the Android Wear instructions below).
3) You can now test this to see if you can successfully wake/turn on your PC using your Android device.
Assuming you've got the above all set up correctly, you can now proceed to get it working on your Android Wear device:
1) On your Android device, install 'Wearable Widgets' by Udell Enterprises from the Play Store (https://play.google.com/store/apps/details?id=com.wearablewidgets). The free version allows you to have one Widget on your Wear device, upgrade to the full version if you want to wake more than one PC or use other widgets.
2) On your Android device, open Wearable Widgets and tap the '+' button to add a Widget. Choose the 'Wake On LAN' widget for the PC you want to turn on.
3) Now on your Android Wear device, wake the screen and say 'OK Google, Start Widgets'. A Wake On LAN button will appear on your smartwatch screen - tap it and your PC should turn on!
Your Wear device does not need to be connected to WiFi, just paired using bluetooth, as it is your phone's WiFi connection that is being used to wake the PC.
This is one very useful aspect of a Wear device for me - no more having to pull out and switch on my phone to wake up the computer, just a simple command and tap of the wrist. Hope this proves helpful to someone else :highfive:
If anyone has a simpler method, I'm all ears
Very cool; thanks for the post.
Just to update on this and provide an alternate method...
First of all, I did purchase the paid version of 'Wearable Widgets', and it does indeed allow me to wake multiple PCs using separate widgets for each one from the Wake-On-Lan app. Another benefit of this is that I can now also add a widget from my 'FTP Server Pro' app (https://play.google.com/store/apps/details?id=com.theolivetree.ftpserverpro&hl=en), which allows me to start the FTP Server on my phone from my watch - so that I can backup my phone over WiFi or transfer files over to it from my PC without having to touch the phone.
An alternate method for the Wake-On-Lan process is to follow the steps as above in post 1, but instead of using 'Wearable Widgets' use the 'Notification Toggle' app (https://play.google.com/store/apps/details?id=de.j4velin.notificationToggle) - and for this method you must purchase the Shortcuts feature from within the app.
This app allows you to have toggles for WiFi, Bluetooth, Silent, Vibration etc on your watch, so that you can control all of these features on your phone without having to take it out. The paid-for Shortcuts feature allows you to add Shortcuts from any app on your phone to your watch. So, as the Wake-On-Lan app mentioned above allows both Widgets and Shortcuts for waking an individual PC, we can add a WOL Shortcut to our watch. You can also add multiple Shortcuts (from any app that supports them) to your watch (for example, I also added a Greenify shortcut).
1) Load Notification Toggle on your phone and navigate to the Premium Features section. Assuming you have purchased this, tap on where it says 'click here' to see shortcuts. Tap on the shortcut you want to add (in our case 'Wake on LAN Shortcut') and configure it.
2) The app will automatically add the Shortcut to your notification drawer on your phone, so if you don't want it there go to the third screen of the app and remove the tick beside the shortcut you don't want on your phone. (Note that you can turn off all other features of the app if you don't want to use the phone end of the Notification Toggles, simply remove the ticks from all toggles on screens 2 and 3).
3) Navigate to the Android Wear section (screen 4, first button).
4) In the list of Toggles for Android Wear you'll see your Shortcut(s), put a tick beside each one you want to appear on your watch. You can also set the order of the toggles by going back one screen and choosing 'Change Toggle Order'.
5) On your watch, go to the app drawer and start Notification Toggle. Swipe to and tap the appropriate Shortcut toggle to turn on the PC.
This is a bit more complicated to set up than the previous method, but has the benefit that you can have a WiFi toggle right next to the WOL Shortcut on your watch. So, for example, if you've been out and about with WiFi off on your phone, you can pull into the driveway, tap the WiFi toggle on your watch to activate WiFi on your phone, and then wake the PC.
If you have Pujie Black or another watch face with shortcut hot spots, you can set one of these up to launch Wearable Widgets or Notification Toggle to make things even quicker. I find that Notification Toggle loads slightly quicker on the watch than Wearable Widgets, but there's not much difference. This method (with Notification Toggles) is probably slightly better, but I still like having Wearable Widgets on my watch as there are some phone widgets which are handy to have on your wrist.
Turn on your PC using your Android Wear device
Turning on PC using Android wear device? I mean with the help of smart watch, isn't it amazing? Thanks a lot for the informative post mate.
The latest version of Pujie Black watch face now allows you to add shortcuts from the phone direct to your watch face. This means you can install the WOL tool from Post#1, and add an invisible 'hot spot' tap action shortcut for waking your PC direct to any Pujie watch face or to the Pujie tap drawer. No other apps needed
If anyone needs more detailed step-by-step, just ask.
Thank you very much for the post
Cool ?
What i have been trying to do is create somewhat of a script that i can run on my windows machine with my android device connected and have it install an apk and set device settings such as:
- WiFi: SSID and Password
- Display Settings: - When device is rotated and change to the second option (can't remember which one it was)
- Sound & Notification Settings: Blocking gmail and not displaying notifications on the lock screen
- Security Settings: From swipe lock to none
So far the best way i have found of automation this is using a chrome app called Vysor that connects to my Android device and lets me control it from my computer, then using AutoIT i use the X,Y positions on the screen to make the click and then use the "Send()" function to send keys such as passwords and so forth.
Surely there is a better way to do this does anyone have any idea?