How To Guide AOD activeclock (clocktransition) bug workaround on non-flagship phones - Samsung Galaxy A52 4G

This guide is mainly for those who know what the "clocktransition" or "activeclock" bug is, where your AOD brightness drops significantly after a few seconds of AOD set to always on while you have the under-display FP reader on.
This workaround functions by turning AOD off and then on after the screen turns off, eliminating this bug from happening.
It's not perfect but gets the job done.
We use an app called "Tasker" from the Playstore (as well as "Tasker Settings")
Here's the guide:
Open Tasker Settings first just to make sure it's running
You can do this at any time, but make sure you remove Tasker from apps that can optimize battery usage (the app will constantly remind you about this anyway)
Open Tasker and go to the "Tasks" tab (dismiss any of the annoying reminders you get from Tasker)
* Add a new task (+ sign at the bottom) and give it a name. Any will do. I will name it "Aod off-on"
Then add an Action on the screen it takes you to (+ sign at the bottom)
In the "Select Action Category" pop up, search for "Wait" and select it. This "Wait" command is done so that there is a few seconds before the task can turn AOD off and on so you can fully appreciate the clocktransition animation. You can add any value you want here. I recommend between 3 to 7 seconds but it's up to you.
Save (back button)
Add a new action
In the "Select Action Category" pop up, search for "Custom Setting"
In the drop down menu under "Type", select "System" instead of "Global"
In "Name", type aod_mode
In "Value", type 0
Save (back button)
Add a new action
In the "Select Action Category" pop up, search for "Custom Setting"
In the drop down menu under "Type", select "System" instead of "Global"
In "Name", type aod_mode
In "Value", type 1
Save (back button)
You are done with your task, now go back and create a profile that will trigger it
Switch back to the "Profiles" tab and add a new profile (with +)
Select "Event" -> Search for "Display Off"-> Leave Normal Priority
Go back and it will request that you select a task, select the one you created
You should be done. Now, the task will activate everytime you turn the screen off.
Note: If this doesn't work for you, you'll probably have to edit the task and in both instances where you change the aod value to 1 and 0, you'll have to give it root permissions (there should be a checkbox when editing the task and the action to use root)
Enjoy, let me know if it works for you!

Related

How to launch a hidden activity?

I'm looking to make a 1x1 shortcut to launch this activity: com.teslacoilsw.widgetlocker.UNLOCK
Does anyone know how I can accomplish this?
Try:
-long press on desktop
-custom shortcut
-enter label name, click on "pick your activity" button
-choose between "Activities" (adw), "Any Cut", etc, then scroll down to the activity you mentioned
Unfortunately It's not in the list, hence the "hidden" in the title
I can see the app's activities, but not this specific one.
Install and run Tasker:
Create new Task
Name it Unlock or whatnot
Add from Misc category "Action Intent"
Action: com.teslacoilsw.widgetlocker.UNLOCK
Target: Activity
(Leave the rest alone)
Click Done to finish setting the Action Intent
Tap the Icon button in the bottom to give it an Icon (to the left of the X)
Click Done to save the Task
Click Apply to save settings and exit Tasker setup
In Widgetlocker Config:
Add Shortcut
Look for the "Task" shortcut from Tasker
Find your "Unlock" task
Click Make Shortcut
Profit. Although it's faster to swipe
khaytsus said:
Install and run Tasker:
Create new Task
Name it Unlock or whatnot
Add from Misc category "Action Intent"
Action: com.teslacoilsw.widgetlocker.UNLOCK
Target: Activity
(Leave the rest alone)
Click Done to finish setting the Action Intent
Tap the Icon button in the bottom to give it an Icon (to the left of the X)
Click Done to save the Task
Click Apply to save settings and exit Tasker setup
In Widgetlocker Config:
Add Shortcut
Look for the "Task" shortcut from Tasker
Find your "Unlock" task
Click Make Shortcut
Profit. Although it's faster to swipe
Click to expand...
Click to collapse
Thanks for this.
Well, no, tapping a single 1x1 button is faster than swiping (hold and drag). But that's not the reason I'm looking to do this. Namely, I don't want to waste a 4x1 row just to unlock when I don't need or want the sliders on either side (I have other widgets that I want to put on my lock screen )
[Edit]: Tasker $$$
Paul22000 said:
Thanks for this.
Well, no, tapping a single 1x1 button is faster than swiping (hold and drag). But that's not the reason I'm looking to do this. Namely, I don't want to waste a 4x1 row just to unlock when I don't need or want the sliders on either side (I have other widgets that I want to put on my lock screen )
[Edit]: Tasker $$$
Click to expand...
Click to collapse
Yes, Tasker costs money. But Tasker can do anything.
Here's a partial list of what Tasker does for me...
Home, Work, Meeting, Sleep profiles... Based on time AND location.
Turns on speakerphone when I'm on the phone and turn it face down
Downloads a zip file of data I want for geocaching daily, unzips it so it's ready to digest
Turns up the volume and backlight when Waze (GPS Nav) is running
Backs up my dcim dir (10 minutes) using rsync, as images sometimes go poof
Pings me at 7:20 that it's time to get out the door with my kid to get her to school
Responds to specially tagged email or sms with info such as GPS location, phone number, last call in and out
Sends the same info above to a fixed number if my phone number changes (SIM gets swapped)
Reminds me if I've missed a phone call every N minutes
Gives me extra notification for important emails so I know to look right away
Uploads my current GPS coordinates to my website every 10 minutes
Backup my SD card over Wifi nightly
That's most of the list I have.. Some people have it read SMS to them while in the car, chime N number of times for the time (coo-coo clock).. Some of these (like back up the SD card) requires more stuff (fixed ssh client, generating keys, rsync, etc) but most of the above are all Tasker. Think of Tasker as a GUI interface to create programs (tasks) that run under specific circumstances (Contexts) that executes about anything in the Android API or beyond (it can use Locale plugins, including the Execute plugin etc..)
I can't imagine Android without it. And in case you're curious, what effect on battery life? None that I've ever measured. When I first started using it I monitored battery life for several days and noticed no increase in usage.
Paul22000 said:
Thanks for this.
Well, no, tapping a single 1x1 button is faster than swiping (hold and drag). But that's not the reason I'm looking to do this. Namely, I don't want to waste a 4x1 row just to unlock when I don't need or want the sliders on either side (I have other widgets that I want to put on my lock screen )
[Edit]: Tasker $$$
Click to expand...
Click to collapse
Just disable the lock sliders in Widget Locker, and enable one of the button unlocks.
EDIT: Ok, I did it. Unfortunately, my method requires "ShorterCut" from the market (paid app) but much cheaper than Tasker. There may be other ways. Here's what I did.
1. Go to WL and add shortcut
2. Select ShorterCut from the shortcut list
3. Select empty shortcut
4. Go to "Edit Intent"
5. In the first field labeled "Action" put:
Code:
com.teslacoilsw.widgetlocker.UNLOCK
6. In the second field labled "Component" type:
Code:
com.teslacoilsw.widgetlocker/com.teslacoilsw.widgetlocker.WidgetLocker
7. Press "Save intent"
8. Edit Shortcut title to whatever you want and change icon to your wishes.
9. Press "Create shortcut"
10. Done
overground said:
Just disable the lock sliders in Widget Locker, and enable one of the button unlocks.
EDIT: Ok, I did it. Unfortunately, my method requires "ShorterCut" from the market (paid app) but much cheaper than Tasker. There may be other ways. Here's what I did.
1. Go to WL and add shortcut
2. Select ShorterCut from the shortcut list
3. Select empty shortcut
4. Go to "Edit Intent"
5. In the first field labeled "Action" put:
Code:
com.teslacoilsw.widgetlocker.UNLOCK
6. In the second field labled "Component" type:
Code:
com.teslacoilsw.widgetlocker/com.teslacoilsw.widgetlocker.WidgetLocker
7. Press "Save intent"
8. Edit Shortcut title to whatever you want and change icon to your wishes.
9. Press "Create shortcut"
10. Done
Click to expand...
Click to collapse
Is it possible to do this with AnyCut?
The fields are Action / Data / Type, and I'm not sure which one to use for the "Component". I got a LauncherPro force close... Weird.
Paul22000 said:
Is it possible to do this with AnyCut?
The fields are Action / Data / Type, and I'm not sure which one to use for the "Component". I got a LauncherPro force close... Weird.
Click to expand...
Click to collapse
Don't think Anycut's that advanced.
EDIT: Just tried with Bettercut, and same thing happened to me as it did to you. Uninstalling that crap.
I might be missing what you are wanting to do, but you just want to press one button to unlock Widgetlocker correct? I have it installed and in Settings/ Buttons & Imputs there is an option to "Back Button Unlock". I have that checked and all i have to do is hit the back button and it unlocks it for me. There is also an option to unlock with the camera button and/or trackball.
ukYfan said:
I might be missing what you are wanting to do, but you just want to press one button to unlock Widgetlocker correct? I have it installed and in Settings/ Buttons & Imputs there is an option to "Back Button Unlock". I have that checked and all i have to do is hit the back button and it unlocks it for me. There is also an option to unlock with the camera button and/or trackball.
Click to expand...
Click to collapse
Yes but I don't want it to unlock accidentally, which is possible if using the "back button unlock" feature. And if you put the timer on it, then it just becomes annoying to unlock.
Paul22000 said:
Yes but I don't want it to unlock accidentally, which is possible if using the "back button unlock" feature. And if you put the timer on it, then it just becomes annoying to unlock.
Click to expand...
Click to collapse
Understandable, but I have never unlocked it accidentally
Sent from my Droid using Tapatalk
sorry to dig up an old thread but what home app are you using, if you are using a third party app like apex or nova you can just put a shortcut on your widget locker screen to launch that app. thats what i was doing for a while.

[Q] Toggle Lock Screen METHOD?

Android ICS (stock) allows you to choose between several lock screen methods (None, Slide, Face Unlock, Pattern, PIN and Password). Is there a way to toggle between these methods quickly? Most of the time, I like to have no lock screen at all, but if I need to plug it in to charge where I can't keep an eye on it, I like to set a PIN unlock so that a casual passerby (co-worker; family member) is prevented from just casually exploring my phone. The problem is that this is tedious and slow. I'd like to set a master PIN and then just have a one-click way to go between PIN unlock and none at all. Does anyone know of a way to do this?
Motorola Droid Razr Maxx, ICS 4.0.4.
I've been looking for a way to do this for a long time now! "No Lock Screen" almost works, but it's flaky for me on Jelly Bean and it doesn't really toggle between methods... it just toggles the lock screen altogether.
I was wondering the same thing. I have been looking for an app that would allow a fast toggle or an auto setting like when I leave work or home the lock screen goes away while driving.
Finally! I was able to achieve this functionality with 'Tasker' and 'Secure Settings'. I don't think it's doable without root access though.
I now have a shortcut (technically a widget) on my home screen with an icon that looks like a padlock and the label, "Lock".
When tapped in its initial state, it enables the PIN lock with a password set when the action is created in 'Secure Settings', the icon changes to a key, and the label changes to "Unlock".
When tapped again, the icon/label revert and the PIN lock is removed.
It works perfectly.
EDIT: If anyone's interested, I'll do a quick how-to.
Yes, please, would you kindly post a step-by-step. And write it like you're training a herd of idiots, if you would please? Thank you.
Sent from my DROID RAZR using Tapatalk 2
Sorry it's taken me so long to reply! I'm busy as hell lately. I'll post the basic steps. Let me know if you need me to clarify anything or if it doesn't work.
Notes/Warnings:
When using Secure Settings's 'Password/Pin feature, always use a password you'll remember to avoid locking yourself out.
These steps don't include the icon change effect on the home screen shortcut I described in my last post. The label will change, however. It's easy enough to add actions to change the icon.
I can't see how this could cause any problems or damage but, if it does, I'm not liable!
Requirements:
Root
Tasker
Secure Settings
Process:
Open Secure Settings and make sure 'Device Administrator' is enabled (checked) in the app's preferences.
Open Tasker and go to the 'Tasks' tab. Add a task (green plus icon) named "Lock"
Tap the 'Add Action' button (blue plus icon), and select the 'Task' category
Add an 'If' statement. Set the name (text field on left) to "%Locked", the comparator (center button) to 'Equal To' (a tilde ~) and the value to "0". <- That's a zero.
Add another action: Tasker > Set Widget Label. Set the 'Name' field to "Lock" and the 'Label' field to "Unlock". You can leave 'If' unchecked here.
Add another action: Variable > Variable Set. Set the 'Name' field to "%Locked" and the 'To' field to "1" <- That's a one. Nothing else should be checked off.
Add another action: Plugin > Secure Settings. Click the 'Edit' button next to 'Configuration.'
Select 'Password/Pin' and make sure the button at the top says 'Enabled' (if it doesn't, tap it.)
Make sure 'Device Admin Enabled' is checked off and enter your password or pin (your choice - either works.)
Click the "Save' icon (floppy disk) and then the green check mark icon
Add an action: Task > Else. Leave 'If' unchecked.
Add anaction: Tasker > Set Widget Label. Set the 'Name' field to "Lock" and the 'Label' field to "Lock". Leave 'If' unchecked.
Add an action: Variable > Variable Set. Set the 'Name' field to "%Locked" and the 'To' field to "0" <- That's a zero. Nothing else should be checked off.
Add an action: Plugin > Secure Settings. Click the 'Edit' button next to 'Configuration.'
Select 'Password/Pin' and make sure the button at the top says 'Disabled' (if it doesn't, tap it.)
Make sure 'Device Admin Enabled' is checked off. The 'Enter password once before unlocking' check box is personal preference. If you check it off, you'll be prompted for your password when you toggle the lock screen off. I personally think it would be overkill.
Click the "Save' icon (floppy disk) and then the green check mark icon
Add an action: Task > End If.
Click the 'Image Select' button. (It's the colorful, single-icon button above the play button icon at the bottom right of the screen.)
Select an image to use for the home screen icon
Click the green check mark icon. The task is now saved and you should be back in the 'Tasks' tab. Hit the green check mark here too.
Now all you have to do is add the Tasker > Task > Lock widget to your home screen.
You're done! Test it out.
I hope this helps. Again, let me know if you run into any issues.
derrikc said:
Sorry it's taken me so long to reply! I'm busy as hell lately. I'll post the basic steps. Let me know if you need me to clarify anything or if it doesn't work.
Notes/Warnings:
When using Secure Settings's 'Password/Pin feature, always use a password you'll remember to avoid locking yourself out.
These steps don't include the icon change effect on the home screen shortcut I described in my last post. The label will change, however. It's easy enough to add actions to change the icon.
I can't see how this could cause any problems or damage but, if it does, I'm not liable!
Requirements:
Root
Tasker
Secure Settings
Process:
Open Secure Settings and make sure 'Device Administrator' is enabled (checked) in the app's preferences.
Open Tasker and go to the 'Tasks' tab. Add a task (green plus icon) named "Lock"
Tap the 'Add Action' button (blue plus icon), and select the 'Task' category
Add an 'If' statement. Set the name (text field on left) to "%Locked", the comparator (center button) to 'Equal To' (a tilde ~) and the value to "0". <- That's a zero.
Add another action: Tasker > Set Widget Label. Set the 'Name' field to "Lock" and the 'Label' field to "Unlock". You can leave 'If' unchecked here.
Add another action: Variable > Variable Set. Set the 'Name' field to "%Locked" and the 'To' field to "1" <- That's a one. Nothing else should be checked off.
Add another action: Plugin > Secure Settings. Click the 'Edit' button next to 'Configuration.'
Select 'Password/Pin' and make sure the button at the top says 'Enabled' (if it doesn't, tap it.)
Make sure 'Device Admin Enabled' is checked off and enter your password or pin (your choice - either works.)
Click the "Save' icon (floppy disk) and then the green check mark icon
Add an action: Task > Else. Leave 'If' unchecked.
Add anaction: Tasker > Set Widget Label. Set the 'Name' field to "Lock" and the 'Label' field to "Lock". Leave 'If' unchecked.
Add an action: Variable > Variable Set. Set the 'Name' field to "%Locked" and the 'To' field to "0" <- That's a zero. Nothing else should be checked off.
Add an action: Plugin > Secure Settings. Click the 'Edit' button next to 'Configuration.'
Select 'Password/Pin' and make sure the button at the top says 'Disabled' (if it doesn't, tap it.)
Make sure 'Device Admin Enabled' is checked off. The 'Enter password once before unlocking' check box is personal preference. If you check it off, you'll be prompted for your password when you toggle the lock screen off. I personally think it would be overkill.
Click the "Save' icon (floppy disk) and then the green check mark icon
Add an action: Task > End If.
Click the 'Image Select' button. (It's the colorful, single-icon button above the play button icon at the bottom right of the screen.)
Select an image to use for the home screen icon
Click the green check mark icon. The task is now saved and you should be back in the 'Tasks' tab. Hit the green check mark here too.
Now all you have to do is add the Tasker > Task > Lock widget to your home screen.
You're done! Test it out.
I hope this helps. Again, let me know if you run into any issues.
Click to expand...
Click to collapse
Finally managed to come and thank you! I've been looking for some way to do this for ages. I've now got 2 widgets one to disable the pattern lock and just have the key guard (i use this most of the time) and one to disable the key guard all together (when I know I want instant access to my homescreen.
Thanks again!
Thank you! It works perfectly! I just installed Tasker and am pretty overwhelmed by all the possibilities. For now, I exported the Lock task to an app and have NFC Task Launcher launch it upon connecting or disconnecting from my home network, hoping to make it more foolproof by using Tasker for this as well.
derrikc said:
Sorry it's taken me so long to reply! I'm busy as hell lately. I'll post the basic steps. Let me know if you need me to clarify anything or if it doesn't work.
Notes/Warnings:
When using Secure Settings's 'Password/Pin feature, always use a password you'll remember to avoid locking yourself out.
These steps don't include the icon change effect on the home screen shortcut I described in my last post. The label will change, however. It's easy enough to add actions to change the icon.
I can't see how this could cause any problems or damage but, if it does, I'm not liable!
Requirements:
Root
Tasker
Secure Settings
Process:
Open Secure Settings and make sure 'Device Administrator' is enabled (checked) in the app's preferences.
Open Tasker and go to the 'Tasks' tab. Add a task (green plus icon) named "Lock"
Tap the 'Add Action' button (blue plus icon), and select the 'Task' category
Add an 'If' statement. Set the name (text field on left) to "%Locked", the comparator (center button) to 'Equal To' (a tilde ~) and the value to "0". <- That's a zero.
Add another action: Tasker > Set Widget Label. Set the 'Name' field to "Lock" and the 'Label' field to "Unlock". You can leave 'If' unchecked here.
Add another action: Variable > Variable Set. Set the 'Name' field to "%Locked" and the 'To' field to "1" <- That's a one. Nothing else should be checked off.
Add another action: Plugin > Secure Settings. Click the 'Edit' button next to 'Configuration.'
Select 'Password/Pin' and make sure the button at the top says 'Enabled' (if it doesn't, tap it.)
Make sure 'Device Admin Enabled' is checked off and enter your password or pin (your choice - either works.)
Click the "Save' icon (floppy disk) and then the green check mark icon
Add an action: Task > Else. Leave 'If' unchecked.
Add anaction: Tasker > Set Widget Label. Set the 'Name' field to "Lock" and the 'Label' field to "Lock". Leave 'If' unchecked.
Add an action: Variable > Variable Set. Set the 'Name' field to "%Locked" and the 'To' field to "0" <- That's a zero. Nothing else should be checked off.
Add an action: Plugin > Secure Settings. Click the 'Edit' button next to 'Configuration.'
Select 'Password/Pin' and make sure the button at the top says 'Disabled' (if it doesn't, tap it.)
Make sure 'Device Admin Enabled' is checked off. The 'Enter password once before unlocking' check box is personal preference. If you check it off, you'll be prompted for your password when you toggle the lock screen off. I personally think it would be overkill.
Click the "Save' icon (floppy disk) and then the green check mark icon
Add an action: Task > End If.
Click the 'Image Select' button. (It's the colorful, single-icon button above the play button icon at the bottom right of the screen.)
Select an image to use for the home screen icon
Click the green check mark icon. The task is now saved and you should be back in the 'Tasks' tab. Hit the green check mark here too.
Now all you have to do is add the Tasker > Task > Lock widget to your home screen.
You're done! Test it out.
I hope this helps. Again, let me know if you run into any issues.
Click to expand...
Click to collapse
Thank you so much!!
I've been looking for something like this on Play Store for ages.
It worked perfectly for me without root access
omg, thanks so much, it works flawlessly sooo far... that was worth the 3$ for tasker... I hope it stays working perfetly. would there be a way to add another task to even disable the screen completely so that I land on the homescreen after pressing the powerbutton (without the need of the swype to unlock over the lockscreen)? so that I'd have 3 statuses:
1. pin based lock
2. lock but without pin (e.g. when carrying it in the bag so that there's no accidentally phone call done)
3. no lock at all (e.g. when it's laying on the table at home)
EDIT: I've done it myself:
here it is: http://pastebin.com/Vy573bn8 save it to XML and then import it. you might need to adopt your own password in secure settings plugin.
what it does is:
you can add the widget to your homescreen and toggle though the following states:
1. pin based lock
2. lock but without pin (e.g. when carrying it in the bag so that there's no accidentally phone call done) --> so you need to swype over the lockscreen to unlock
3. no lock at all (e.g. when it's laying on the table at home) --> power button displays the homescreen immediately
according to the 3 states, the widget always shows the actual state in its label, e.g. "PIN lock" as label means, that currently the phone is locked by PIN. further, the image of the widget changes itself, between
1. an key-icon
2. an hand-icon (which means you need to swype)
3. an unlock-icon
Hi all...! Great post...! Thanks!!
Is there a way to do this but with a pattern lock instead of using a pin?
Thanks!
Chale
Yeah you can do it by using secure settings plugin, but pattern is only possible if you are rooted
see here http://www.intangibleobject.com/home under helper actions
i've copied derrikc's method (don't have root) and it works just fine.
However is it possible to have the PIN not totally removed (i.e. temporarily disabled) so that it returns on boot? Currently if the task is left at unlocked then it remains unsecure at boot. I have tried setting up a tasker boot startup profile to always set a PIN at boot but it takes at least 10 seconds to actually take effect. To avoid this delay I could also run a tasker profile at shutdown to set a PIN but this is obviously bypassed if the battery is simply pulled, surely there's a better way?
I'm currently using a stock Galaxy S4, my old root S2 had Jkay's app which modified the systemui/framework to allow a toggle to do exactly this.. by default the PIN/pattern lock screen was enabled on boot but could be toggled on/off and would automatically appear on next boot
derrikc said:
Sorry it's taken me so long to reply! I'm busy as hell lately. I'll post the basic steps. Let me know if you need me to clarify anything or if it doesn't work.
I hope this helps. Again, let me know if you run into any issues.
Click to expand...
Click to collapse
Thanks!
You are the best!
Does anybody knows how to do this with pattern instead of pin??
Thanks
Sent from my Nexus 4 using xda app-developers app
Thanks for this tutorial
Task:
Pattern On/off (8) A1: Secure Settings [ Configurationattern Lock Toggle Package:com.intangibleobject.securesetti*ngs.plugin Name:Secure Settings ]
Task for Toggle widget ( slide/pattern)
Toggle Pattern On /off (9) A1: Variable Add [ Name:%TOGGLE Value:1 Wrap Around:2 ] A2: Secure Settings [ Configurationattern Lock Enabled Package:com.intangibleobject.securesetti*ngs.plugin Name:Secure Settings ] If [ %TOGGLE = 0 ] A3: Set Widget Icon [ Name:Toggle Pattern On /off Icon:ipack:greenfloralhd:lock5 ] If [ %TOGGLE = 0 ] A4: Set Widget Label [ Name:Toggle Pattern On /off Label:Lock on ] If [ %TOGGLE = 0 ] A5: Secure Settings [ Configurationattern Lock Disabled Package:com.intangibleobject.securesetti*ngs.plugin Name:Secure Settings ] If [ %TOGGLE = 1 ] A6: Set Widget Icon [ Name:Toggle Pattern On /off Icon:ipackrangejellyhd:lock3 ] If [ %TOGGLE = 1 ] A7: Set Widget Label [ Name:Toggle Pattern On /off Label:Lock off ] If [ %TOGGLE = 1 ]
I found this video with instructions on how to enable the lock pattern instead but I need it simplified because I have no idea how to enter this information.
phillysdon04 said:
Thanks for this tutorial
Task:
Pattern On/off (8) A1: Secure Settings [ Configurationattern Lock Toggle Package:com.intangibleobject.securesetti*ngs.plugin Name:Secure Settings ]
Task for Toggle widget ( slide/pattern)
Toggle Pattern On /off (9) A1: Variable Add [ Name:%TOGGLE Value:1 Wrap Around:2 ] A2: Secure Settings [ Configurationattern Lock Enabled Package:com.intangibleobject.securesetti*ngs.plugin Name:Secure Settings ] If [ %TOGGLE = 0 ] A3: Set Widget Icon [ Name:Toggle Pattern On /off Icon:ipack:greenfloralhd:lock5 ] If [ %TOGGLE = 0 ] A4: Set Widget Label [ Name:Toggle Pattern On /off Label:Lock on ] If [ %TOGGLE = 0 ] A5: Secure Settings [ Configurationattern Lock Disabled Package:com.intangibleobject.securesetti*ngs.plugin Name:Secure Settings ] If [ %TOGGLE = 1 ] A6: Set Widget Icon [ Name:Toggle Pattern On /off Icon:ipackrangejellyhd:lock3 ] If [ %TOGGLE = 1 ] A7: Set Widget Label [ Name:Toggle Pattern On /off Label:Lock off ] If [ %TOGGLE = 1
I found this video with instructions on how to enable the lock pattern instead but I need it simplified because I have no idea how to enter this information.
Click to expand...
Click to collapse
I've seen this video before. And also don't know how to do this in tasker
Sent from my Nexus 4 using xda app-developers app
bubu. said:
omg, thanks so much, it works flawlessly sooo far... that was worth the 3$ for tasker... I hope it stays working perfetly. would there be a way to add another task to even disable the screen completely so that I land on the homescreen after pressing the powerbutton (without the need of the swype to unlock over the lockscreen)? so that I'd have 3 statuses:
1. pin based lock
2. lock but without pin (e.g. when carrying it in the bag so that there's no accidentally phone call done)
3. no lock at all (e.g. when it's laying on the table at home)
EDIT: I've done it myself:
here it is: http://pastebin.com/Vy573bn8 save it to XML and then import it. you might need to adopt your own password in secure settings plugin.
what it does is:
you can add the widget to your homescreen and toggle though the following states:
1. pin based lock
2. lock but without pin (e.g. when carrying it in the bag so that there's no accidentally phone call done) --> so you need to swype over the lockscreen to unlock
3. no lock at all (e.g. when it's laying on the table at home) --> power button displays the homescreen immediately
according to the 3 states, the widget always shows the actual state in its label, e.g. "PIN lock" as label means, that currently the phone is locked by PIN. further, the image of the widget changes itself, between
1. an key-icon
2. an hand-icon (which means you need to swype)
3. an unlock-icon
Click to expand...
Click to collapse
Sorry for sounding like a noob but I just bought Tasker just for this single task. Can you explain how to import the file? Would really appreciate some help to get this up and running.
EDIT:
Used the detailed description to get it up and running and it works great so I think I can figure out how to get a three state toggle.
This worked for me !!
https://www.youtube.com/watch?v=czL60aXswBM
Not working at all. Android 7(Linage OS 14.1). LG G3 d855

Making Keyboard Backlight Stay on with Tasker App - Stock ROM Rooted

I'm a new Relay user and I can't use CM-10 (need wifi calling) so I'm trying to make the best out of the stock ROM Rooted. I don't like that the keyboard backlight goes out after a few seconds and doesn't seem to even have a sensor to keep it on in dark rooms so I re-downloaded the Tasker App from the Play Store which I haven't used in a while.
To get the keyboard to stay on when slid open I had to do the following:
1. Open Tasker.
2. Choose [Profiles] from the top menu.
3. Click the [plus sign] at the bottom to add a new profile and select [State] from the drop down.
4. Select [Hardware] from the State Category menu.
5. Select [Keyboard Out] from the list of choices here.
6. Tap on the Tasker Icon at the top of the screen and select [Backlight On] from the popup menu.
7. Make sure the toggle switch is set to on for your new profile.
8. Now go to you phone's Sytem Settings > Display > Touch Key Light Duration > and select Always Off (This will allow tasker to take control and have the keyboard backlight stay on when slid open but the Relay's back and menu keys will no longer light up. I can live with this to have my keyboard light on when typing.
9. If this didn't work, make sure Tasker is set to on in System Settings > Accessibility
BTW if someone knows a better way to accomplish this please share.
Edit: Sorry I forgot to mention that I'm using Nova Launcher. I think with the Touchwiz Launcher, apps that use accessibility cause Talkback to speak even if you have it turned off. I could be wrong about that but I had problems with the Light Flow app and accessibility before.
Nice
Good tip. the lights going out bugged me too.
please help. cant find menu with backlight on
Can't find menu with backlight on. Please help.
hey there,
i just figured out how to do this with a non-rooted phone on ics without tasker.
go to settings, display and touch key light duration. increase it to 6 seconds and that will give you enough time to type..
Weird.
I'm on CM10.2 (131117) and since I set the backlight time (in CM10.2 1309xx, I think) to 5 seconds it will always stay on if I open the hardware keyboard.
Maybe I should write me something with tasker to change this in the opposite direction :laugh:

[GUIDE] Using Gestures to easily navigate the P2 with just one hand (requires root)

Even though the P2 can be considered large with a 5.5" display, the lower region of the screen is occupied by the on-screen navigation bar. While there's an option to turn off the navigation bar and use the fingerprint button exclusively, I still find this alternative lacking in many fronts:
1. I can't tell you how many times I return to the home daily; it gets tiring to always have to push down the fingerprint button.
2. You need to touch the fingerprint button for a second or so before the recent apps window is launched. If you've ever had the need to flip between apps quickly, you would know how irritating this delay is.
3. Because one button is used for three functions (back, home, recent apps), there's no way to quickly switch between apps (like alt+tab in windows).
4. I sometimes find myself lying on my side, holding the phone with one hand, and finding it almost impossible to reach all the way down to the navigation bar, let alone the fingerprint button.
Fortunately, I have a solution that I believe addresses all of the problems above and that is to navigate the phone through the use of gestures.
I've been using GMD GestureControl for about a week now and I think I've found an optimal combination of gestures that don't only work but are also intuitive to use. There's nothing you can lose by giving it a try.
It can take a bit of time to set it up the way I have mine set up. So, if you don't feel like spending some time doing it yourself, you can just "restore" my "titanium backup" backup. Download it from here. Just extract the zip file and copy the content into your "titanium backup" folder. Open "titanium backup" and restore.
If instead, you would like to set it up yourself, here's how I currently have mine set up:
1. After installing the app, the first thing to do is go to "Device Setup" by pressing the menu button on the top right corner of the screen. Change your values to the one you see in the first attached image below. Then go to "Settings", and change the values to those in the second attached image.
2. To create a gesture: press the plus button > Select a gesture > create path. You can see all the gestures I created in the third attached image. Recreate all of them.
3. You can decide which region of the screen a gesture is detected by choosing the appropriate zone in the "select starting zone" option.
4. You need to go to "advanced options" (attached image no. 4) at the bottom of the screen to decide whether or not the gesture can be triggered when the keyboard is active. I have most of the gestures disabled when the keyboard is active because I sometimes swipe to type and I don't want to accidental swipe to trigger something. For this reason, I have duplicated most of the gestures for the only the top half of the screen (above the keyboard) so that the gestures still continue to work when the keyboard is activated.
5. Make sure you enable "evaluate on release" on all gestures so that a gesture is only triggered after you lift your finger off the screen.
If you've gone through all the steps, it's now time to start trying things:
1. To open resent apps, just make a small ^ sign anywhere on the screen.
2. To go home, just make a small V sign anywhere on the screen.
3. To flip between apps, just make a small < or > sign anywhere on the screen, starting from the top.
4. To press back, swipe away from left or the right edge.
5. To open the launchpad, swipe up on the left or right edge.
Good looking out. I really like this option.

[Tasker App] AOD When Notification Received Mate 20 Pro

Hey Guys,
I have a simple solution for very bad AOD in Huawei Mate 20 Pro. This tasker profile is used for only toggle AOD screen when a specified app sends a notification to smartphone and disable AOD when this notifications are cleared.
It is a very simple solution.
Here is the step one for Toggling AOD when notification received:
1- Go Tasker -> Profiles and touch on bottom right + symbol.
2- Select from list ->Application and select all deserved apps can wake AOD screen and press ->Back
3- Touch "New Task" give it a name (optional obviously) and again press touch bottom right + symbol.
4a- Now you need an action category. Follow Settings -> Custom Settings
4b- Select this settings:
Type: Secure
Name: aod_switch
Value: 1
and press back button. Enable from top of the Tasker application
Here is the step one for Disabling AOD when notification cleared:
1- Go Tasker -> Profiles and touch on bottom right + symbol
2- Select from list ->Application and exactly like did on "Toggling numbor 2" BUT THIS TIME YOU NEED SELECT "INVERT" FROM BOTTOM OF APP SELECTING SCREEN.
3- Touch "New Task" give it a name (again optional obviously) and again press touch bottom right + symbol.
4a- Now you need an action category. Follow Settings -> Custom Settings
4b- Select this settings:
Type: Secure
Name: aod_switch
Value: 0
and press back button. Enable from top of the Tasker application
So, I mean reverting Toggling settings for disabling AOD
And thats it. This is the solution that I figured out myself.
This is the import link: https://taskernet.com/shares/?user=AS35m8kn2ZlYFlMeaURIg%2FjBzJ0X0SUYgJ2wgf4EVNmYj987Yy55QIBaNJ9Qf06uBeihM01L1q4%3D&id=Profile%3AAOD+off+Notification

Categories

Resources