How To Fix System UI Crashes

posted Aug 31, 2013, 3:38 PM by Corey Z   [ updated Aug 31, 2013, 3:38 PM ]

If you are experiencing System UI crashes, please do the following:
  1. Open Secure Settings
  2. Click the Preferences button in the top right corner (it might look like a gear or a wrench)
  3. Check the "Fix SystemUI Crashes (Google Now)" box
This disables the styled icon for the Google Now Shortcut option which was found to be a source of errors in certain devices.

Pattern Lock on 4.1+

posted Jul 27, 2012, 12:44 PM by Corey Z

If you are having issues with the Pattern Lock feature on Jelly Bean, you may want to try installing SQLite3 from the Market. Please click here to download the app now.
Once installed, make sure to install the sqlite3 binary from inside the app.

Package Manager on ICS

posted May 2, 2012, 6:08 AM by Corey Z   [ updated Jul 25, 2012, 4:49 PM ]

If you are currently running ICS and would like to continue using the Package Manager function, you will need to update your Superuser Binary.

I have compiled a version of the su binary from source that will allow for this functionality to be restored.
See this link if you would like to know the reason behind why you need this alternate version.

UPDATE: The latest versions of the Superuser and SuperSU apps include binaries that have the changes that are in the custom binary below. You can update to the latest version inside of the Superuser apps instead of using the fix listed below.

Old Methods:

Automatic Option (Recommended):
  1. Download the file to your sdcard.
  2. Flash the zip through your custom recovery (tested in TWRP and ClockworkMod)
  3. Reboot

Disclaimer: Don't do this if you are unfamiliar with the command line! I am not responsible if you lose root or something breaks.

Manual Option:
  1. Download the su-binary to your SD card
  2. To install it, open up a command line (local or through ADB) then do the following:
  3. su to get to a root prompt
  4. Mount /system read/write
  5. Copy the new file contents into the current su binary. This is wherever the download is and wherever your su binary is currently.
    1. cat /sdcard/su-binary > /system/xbin/su
  6. Then reset permissions just in case:
    1. chmod 06755 /system/xbin/su
  7. Mount /system read only

Better Keyguard Disabling on ICS

posted Mar 23, 2012, 11:03 AM by Corey Z   [ updated Apr 12, 2012, 10:40 AM ]


The objective of this guide is to be able to use Secure Settings to set a password/pin/pattern and when disabled, the power button will unlock you right to your desktop.

For this to work, you have to do the following:

Go to the Settings app
Set the lock type to "None"
If you want Secure Settings to set a password or pin, create or update the task you have currently to enable or disable the keyguard to perform these actions instead.
For example, have a task to enable your password when you leave your Wi-Fi network and disable it when you return.
However, if you are rooted and have the Helper installed, you can have Secure Settings enable and disable the pattern lock. If this is what you want, you can create a task to set the pattern instead.

If you are using the password or pin, you're done at this point. If you want to use a pattern, you'll have to set it after changing the lock type to "None".

Ultimately, by setting the lock type to "None", then setting your password as usual, this sets what your device should return to when the lock screen is disabled. You will now be able to hit the power button and go straight to the desktop instead of having the slide lock. Then when your device is locked again, you will be presented with the usual lock screen.

GPS on for Navigation only

posted Mar 23, 2012, 10:52 AM by Corey Z   [ updated May 2, 2012, 6:00 PM ]

This project consists of one event that triggers based on the Maps/Navigation app being open.

For this to work, you must have accessibility enabled for Tasker.

When triggered, Location Services and GPS are enabled. When the app closes or is no longer in the foreground, the exit task fires. The exit task checks to see if the Location Consent, Settings, Navigation or Maps window are still present. If any of these are, the GPS will NOT be disabled. This is done to prevent the GPS from disabling while you might still want it open.

Run Action on Script Completion

posted Mar 23, 2012, 6:30 AM by Corey Z   [ updated Apr 20, 2012, 6:50 AM ]

Essentially what you need to accomplish this are 2 events. One to trigger the script and one to respond to the variable being set by Secure Settings. The attached project uses two variables "SCRIPT" and "SCRIPT_SUCCESS" to keep track of what script is executing and whether it was successful. You can modify these to your liking but they will have to be updated inside Secure Settings as well as in the Tasker profiles.

The event that will trigger the notification responds to the "SCRIPT_SUCCESS" variable being set to 0. This is the default exit value of most shell commands but it's possible your command will output something different, so please change this accordingly. Once the variable is set, a task is fired that checks the "SCRIPT" variable for its current value. If the variable matches the Command Name set in Secure Settings, then it will proceed. For this example, the script name is "myscript". Again, you can change this to suit your needs but make sure to change it in Secure Settings as well as the Tasker profile.

Once the check passes, you can use any notification of your liking to notify you that the script has finished. After that, clear the variable values so that they will be read correctly again later.

1-6 of 6