[Galaxy S III General] gyrra:
My Scripts

I put together a small set of scripts that I had created to give extra layer of protection to the lock screen.

I removed several parts, but these will work as stand-alone.

One is a scene I created using 9 sliders as a passcode.

The other three are tasks that will run the scene, and upon bad entry, become very annnoying attention getters.

Here are some details:

Each of the 9 sliders is assigned a value of 0 or 1 (I am using another script for binary conversion)

In my supplied script, those values are stored as an array, (0,0,0,0,0,0,0,0,0)

You will need to create a variable manually named %BadThings , then assign a value in the format of an array.

ex: 0,1,0,0,1,0,0,1,0

The sliders numbered (from top to bottom) 2 5 8 would be the ones you pull right.

A quick press of the ENTER button will flash the slider's current values, while a long press will actually "enter" your code.

If your code is correct, it will unlock the phone, and play a success sound. (you need to pick your own file on your phone)

If you do not enter the correct code of slides:

-Screen locks

-Annoying sound (again you need to assign this yourself) will play at full volume through the speaker.

-The camera flash will strobe (if you have teslaLED installed for tasker)

(I also have secure settings and its helper installed for tasker to gain admin control)

I have it set to loop 9 times, and each time it will:

-restore full volume (in case they try to turn volume down)

-drop display to 0 (this locks the screen again)

-replay the annoying tune you assign

Now to the warnings:

Do not use these scripts if you have no idea how tasker works (or if trying to learn - DO NOT RUN)

These need to be set to a profile to become automated.

Do not forget to assign the BadThings variable or you will never be able to enter the 'correct' code !

These scripts WILL lock you out of your phone if you do not supply the necessary details.

I DID leave the screen with an 'exit' button (lower right corner) in case you forget something, but this will NOT stop the task.

The third task "Quiet" should be set as a widget on your desktop (homescreen).

This will stop the flash, stop the media, and exit the task.

THIS IS ASSUMING YOU CAN GET TO YOUR DESKTOP

Don't blame me if you lock yourself out of your phone, I am supplying these as educational example of a working set of

global/loop variables - arrayed variables - for loops - 'var' !~/~ 'var' if statements

They aren't pretty code, since I have MUCH more included in my own version, but I have tested these scripts as-is.

I got them working after removing parts such as:

-random pin/encryption

-GPS location

-front camera

(this is all emailed when script is run)

-extSdCard wipe

-binary conversion

-auto sms/mms if phone has not been successfully unlocked within 1 hour (continual gps/camera)

There is no intentionally malicious code here, just 'potentially' crippling, if you do not pay attention.

Please use caution if you plan on running these on your own phone.

If you don't know where/how to import these, then you shouldn't use them.

This was all built on my SGS3, so scene wont work on another display without modification.

I wouldn't recommend even importing these unless you have a SGS3.

If you have any questions or issues with trying to get these to work on your phone, you can PM me.

I have also added 2 screenshots of the slider screen and the flash message you see if you tap the ENTER button.