I was asked by @rigattoni if I could write an app that allows to trigger Tasker after head unit wakes up from sleep (aka fast boot).
Why? Android has no reliable way for apps to be triggered when the device resumes from suspend-to-RAM state (aka fast boot).
Therefore a lot of Tasker users are missing a way to achieve that any Tasker jobs are started in fast boot.
My small little app tries to solve this.
This topic was first mentioned here: https://forum.xda-developers.com/showpost.php?p=82596933&postcount=6133
How it works:
When a USB mass storage device is attached, the app will be triggered by Android, both in cold boot, and also in "fast boot".
Then the app waits for 10 seconds and then fires a Tasker specific intent to Tasker and the app will finish itself.
This allows that any Tasker tasks will be triggered.
In the attachment you find both a ready APK and the source code of it.
Note: I will not maintain this app.
If the APK does not fit your needs, adapt the source code yourself.
If you want to send other intents additionally, adapt the source code yourself.
If you want to change the timeout of 10 seconds, adapt the source code yourself.
If you don't know how to do so, take an online Android App Development training.
Thanks for your effort and this post ?
I've simply used tasker with "Display on" event for starting the app I need, turning wifi on, etc.
Working flawlessly for cold boot or resume... why not this method?
themissionimpossible said:
I've simply used tasker with "Display on" event for starting the app I need, turning wifi on, etc.
Working flawlessly for cold boot or resume... why not this method?
Click to expand...
Click to collapse
For me and others, the Tasker background process is killed on resume so it's not "active" to know that the screen is on or otherwise.
In my case tasker always runs on start.
But if for somebody tasker is killed on resume, how another app instead should be able not to be killed as well?
This app here is started by Android itself if a USB stick is present and so resistent against the 'kill all running apps' issue.
Missing Accessibility activation
On CSN2, CSN2-D, RL7Ac units another issue is visible, according to the Android restrictions starting with Android 8, that accessibility settings are not stored. That means that Tasker is not allowed to work in background... This is a no go for us...
This can be "fixed" if the unit is rooted!
What is needed:
Preparation:
Unit is rooted
Tasker installed
Secure Settings installed and activated
Workflow:
Secure Settings:
Switch to tab "SYSTEM+"
Press the button "DISABLED" and wait until the system is set to "ENABLED"
Close the app
Tasker:
Open "Preferences" in Tasker, switch to tab "MISC", activate "Allow External Access" and deactivate "Reduce Resource Usage". There might be some popups afterwards when closing Tasker about battery usage... As we don´t care about that, please accept these changes.
Task:
Create a profile, Example:
"Screen on" with higher priority (otherwise the task may be scheduled)
Create new task
Press the "+" button to add a command
Choose "Plugin and there "Secure Settings"
Press the stylo and open "System + Action"
Choose "Accessibility Settings" and search for Tasker in the list (on some units, the field is really small to find any app)
Press the "DISABLED" button to get it changed to "ENABLED" and safe the setting.
You can add other accessibility changes too. In this case you need to add a wait of 100ms between the commands.
(FCC needs it, because otherwise some functionality of FCC does not work (automatic light, volume....))
Example added to import in Tasker.
not working for me on android 10 (( (825X_pro)
magicm3n said:
not working for me on android 10 (( (825X_pro)
Click to expand...
Click to collapse
Would you please precise what is not working?
What happens if you start the app manually?
...some information as given would really be useful, right?
rigattoni said:
Would you please precise what is not working?
Click to expand...
Click to collapse
Tasker does not start after waking up.
rigattoni said:
Would you please precise what is not working?
What happens if you start the app manually?
Click to expand...
Click to collapse
If I start app manualy its OK, tasker starts
You need a USB stick being attached to the head unit. Have you done this?
realzoulou said:
You need a USB stick being attached to the head unit. Have you done this?
Click to expand...
Click to collapse
Yes, of course, USB stick attached
magicm3n said:
Yes, of course, USB stick attached
Click to expand...
Click to collapse
If you pull out the stick and put it back in again. Do you get the popup to start the StartTasker automatically?
rigattoni said:
If you pull out the stick and put it back in again. Do you get the popup to start the StartTasker automatically?
Click to expand...
Click to collapse
So, here's what news.
After a long sleep (the car sleep for about 2 hours), I turned on the ACC and received a notification asking whether to launch the StartTasker when the UDisk device was connected. I checked the "allow" box.
But now if I turn off the car for just a couple of minutes, then nothing happens: the unit wakes up, all applications are killed and the StartTasker does not start.
When I take out the stick and insert it again, then OK, the StartTasker starts - I see the correspond popup notice below.
But now there is another problem: the StartTasker itself does not start the Tasker ((. Even if I manually start StartTasker , I can see the startup notification at the bottom, but the Tasker won't start. Hm...
magicm3n said:
So, here's what news.
After a long sleep (the car sleep for about 2 hours), I turned on the ACC and received a notification asking whether to launch the StartTasker when the UDisk device was connected. I checked the "allow" box.
But now if I turn off the car for just a couple of minutes, then nothing happens: the unit wakes up, all applications are killed and the StartTasker does not start.
When I take out the stick and insert it again, then OK, the StartTasker starts - I see the correspond popup notice below.
But now there is another problem: the StartTasker itself does not start the Tasker ((. Even if I manually start StartTasker , I can see the startup notification at the bottom, but the Tasker won't start. Hm...
Click to expand...
Click to collapse
StartTasker is NOT for starting Tasker, it´s to activate Tasker working in background. It just send an Intent, nothing else.
Check if in Accessibility settings Tasker is activated and in Tasker settings if "Allow External Access" is activated and "Reduce Resource Usage" deactivated.
Add a new profile with Display Orientation Landscape, write a short task with a Wait for 10 sec and add a Flash with some text and retest.
This should automatically activated after boot. and should show this flash on your unit.
Yes of course, a profile is written in the Tasker to launch another application. It works. When I rebooted the device, the StartTasker saw the connected USB and launched the Tasker, which completed the task.
But all this does not happen for some reason after exiting sleep mode.
I'll check settings tomorrow. Tnx!
rigattoni said:
StartTasker is NOT for starting Tasker, it´s to activate Tasker working in background. It just send an Intent, nothing else.
Check if in Accessibility settings Tasker is activated and in Tasker settings if "Allow External Access" is activated and "Reduce Resource Usage" deactivated.
Add a new profile with Display Orientation Landscape, write a short task with a Wait for 10 sec and add a Flash with some text and retest.
This should automatically activated after boot. and should show this flash on your unit.
Click to expand...
Click to collapse
My Head unit have not Accessibility settings (
All other is on.
Did not start after sleep.
If I reattach USB stick manually then Starter had starts, I see pop up message, but Tasker is not.
magicm3n said:
My Head unit have not Accessibility settings (
All other is on.
Did not start after sleep.
If I reattach USB stick manually then Starter had starts, I see pop up message, but Tasker is not.
Click to expand...
Click to collapse
I assumed that....
See my posting here: https://forum.xda-developers.com/showpost.php?p=82627859&postcount=7
You can import the task and then export as app afterwards.
In this case you just need a launcher which supports this app on start up. I use Fcc Car Launcher for that.
rigattoni said:
I assumed that....
See my posting here: https://forum.xda-developers.com/showpost.php?p=82627859&postcount=7
You can import the task and then export as app afterwards.
In this case you just need a launcher which supports this app on start up. I use Fcc Car Launcher for that.
Click to expand...
Click to collapse
FCC Car Launcher does not work on my Unit. No widgets support.
magicm3n said:
FCC Car Launcher does not work on my Unit. No widgets support.
Click to expand...
Click to collapse
Which unit?
Please don´t let us tear all information in small parts out of you.
which Unit, MCU version, Android version... please.
Use this app to configure the Accessibility settings and check if this is still activated after deep sleep.
Just now I don´t know any unit which does not work with Fcc... not completely may be with some missing features, but the standard things are working.
...and please read at least the first thread of the Fcc Car Launcher thread...
This thread gives a solution to rework the Tasker issue... and is a real Tasker fault.
I added a solution for getting it working if any Android unit forgets the accessibility setting in deep sleep.
Your problem now is a complete different thing, which needs to be discussed in the related thread.... and this is for fact the Fcc thread.
Related
Since a lot of people suggest disabling the g-sensor to prevent the screen freezes I thought I'd try something.
I don't want to have my rotation disabled as it's very handy to have. So what I do is use an app called Tasker. It's not free, but there is a 7-day trial available.
Basically I have it set to disable screen rotation every time the screen is off..and so far I haven't had any screen freezes. It may be coincidence, it may not be. I'm not exactly sure if the app does disable the g-sensor or does something else, but so far so good.
For those that don't know about Tasker...it's probably the best app that will ever be made for Android. You can make your phone do almost anything.
For example, I use it to:
When I get home, Wifi turns on and 3G is turned off. When I leave home, Wifi turns off and 3G turns on....same for work.
I have it disable wifi, 3g and screen rotation at night when I'm in bed.
It enables GPS when I launch maps or navigation, and disables GPS when I close the app.
And those are very basic ones...
The Tasker wiki has many more advanced "profiles" you can use:
Code:
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Intermediate
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Advanced
Periodic Data Check (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Or you can simply create your own...there is a learning curve, but once you get a feel for it, it's VERY powerful! It can control almost every part of your Android phone.
There's a decent thread with more examples on xda in this thread.
I realise this is a software post, but it's main aim was to point out a way of disabling rotation to help with screen freezes
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
HTC_HDD said:
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
Click to expand...
Click to collapse
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
HTC_HDD said:
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Yep, you also have to create another to say disable screen rotation when the screen is off.
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
tgtoys said:
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
Click to expand...
Click to collapse
It depends on what profiles you set up...if they involve wireless, it will enable wireless every so often to check access points etc....or if you are using a location profile, it will enable gps every so often to check your location. You can change how often everything polls in the settings.
I have mine as per the first post, so it does scan for wireless every so often, and I havent seen any change in battery usage.
the_scotsman said:
Yep, you also have to create another to say disable screen rotation when the screen is off.
Click to expand...
Click to collapse
Can you go step by step what you do to set up display off and rotation off?
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
starbase64 said:
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
Click to expand...
Click to collapse
Thanks, but i prefer to have axi and undervolt
And I have no freezes
the_scotsman said:
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
Click to expand...
Click to collapse
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
tzic said:
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
Click to expand...
Click to collapse
Yea, thats the one..just choose that one and set it to "off" in the settings for it
ty for the quick reply scotsman, I ll report back in a day or two.
Tried this, but didnt work
I tried many different versions of kernels but in all if I keep my phone on standby (screen off) for a long time, say 20 mins, my phone freezes, My hardware buttons still glow on press, but phone never wakes up, any Ideas??
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
justwonder said:
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
Click to expand...
Click to collapse
I was just about to write exactly the same words!
Scotsman - can you tell if Tasker can run a custom written script, upon some event? Then we can use it to turn off the gsensor!
Finally seems to be workin!!I made 2 changes:
1) Upgraded my radio from 2.08 to 2.12 (I recommend this one)
2) Stopped GSensor with Gscript
Another issue,
After I restart the sensor via script, photos in album wont rotate anymore!!
I did a `ps -ef|grep akmd` and the process is running, any thoughts??
edit: it works after restart!!
did you use the free gscript? cause mine says needs su:true
Your solution is great thanks... i did something slightly different : using tasker, autorotation is enabled only for apps that I want too, like gallery. Rest of the time, its off and working great that way too.
One of the best apps in the Market for android is Tasker. Needless to say what transformation cand your phone get by using this app. You can see that here:
http://tasker.dinglisch.net/
and you can get it from here:
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
I was just trying to find a collection of profiles for O1 and it seems there isn`t one, so why not having it right here.
So let`s get the best from our O1 by sharing the profiles we can use for different tasks. Practically there is no limit to what we can do with the phone using that app.
I also recommend you should post your system configuration because some tasks may not work on some roms, kernels etc.
LET YOUR SMARTPHONE BE SMART!
For people using ICS Roms, go to sttings>language and input method>text transformation result and select Pico TTS so you enable voice on Tasker.
I`ll start with a simple profile to make you phone stop ringing by turning it face down:
For this Context, you would choose State, then pick Orientation. You'll get the options you see at left. For this example, "Face Down" is a pretty deliberate action you take with your phone.
For the tasks, you can add "Bluetooth" and "WiFi" from the Net menu, set to Off, "GPS" from Misc set to Off, and set the volumes for "Media Volume" and "System Volume" to 0 from the Audio menu. If you'd like, you can re-order the tasks in priority by pressing and dragging them up the chain. In this case, I moved the volume-to-0 tasks up higher, since silencing the phone was the most important thing to do. Hit Done, and you're all set.
And there you go! Just flip the phone on it`s face to make it silent.
All the profiles listed below can be found here
http://tasker.wikidot.com/profile-index
Simple
Use different ringtone for callers not in your contact list
Button to turn 3G Data Connection on / off
Wi-fi Button for home screen
Full silent mode button (turns off ALL sound including media and notifications)
Battery icon on home page that shows exact %
Birthday alert from google calendar.
Auto Respond to Received SMS while driving.
Speak Weather in the Morning
Add Calendar Entry Based on another entry (rename if necessary
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Always ring loudly for call from important contact
Blocking Calls
Camera Gesture
Automatically turn off Bluetooth
Connect2Wifi: task with loops and feedback if connected or not
Intermediate
This will retrieve your location then post to xml file and send location via sms 1/9/2012
Find weather for next two time periods for your current location and speak it. (Using HTTPGet)
Keep volume low when using headphones
Repeat Caller Name
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Create KML files for Google Earth
Enhancing battery life using Tasker
Missed Notification Reminder
LocateMe Log, Track And Emergency Button
Daily Reminder SMS e.g. for birth control
Total Wifi and Mobile Data Sync Control
The Ultimate Alarm Clock
Boost SD Card Read Cache
Automatically Send an "I'll be Home Soon" SMS
Nandroid Backup whilst you sleep with file management
Keyguard Delayed Enabler (with ready-made task for a Keyguard toggle widget)
Gmail/SMS/Call Notifications with "Minimalistic text"
The Deep-Sleep-Detective
Text me when you get home!
Juice Defender inspired Battery saving
Clock in and Clock out - create a calendar entry with event start and event end times
Disable keyguard when you are at work/home
Advanced
Record Phone Calls (legal)
Periodic Data Check (Juicedefender Replacement)
Periodic Data Check with Widgets (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Find weather for your current location automatically (Using HTTPGet)
Set up an alarm clock that adapts to inclimate weather (Using HTTPGet)
Aumatically start / stop your WIFI when you are at home with limited battery use
Enable WIFI when within cell tower range for multiple access points, minimal battery use
Balance wifi usage and data check (Update)
CPU control profiles for governor and frequency
Tasker as an Automated Task Manager
Blackberry-like Sound Profiles
Automatically change display brightness while plugged in depending on time of day
Automatically respond to texts with street address
Expert
iTANCard
Am I the only one who thinks that an app doing something at absolutely anything you do with the phone, this is not draining, it just uses 100% of the CPU when you flip the phone...
And lets not mention that, to make phone silent when turned upside down means it has a permanent wakelock, and sensor constantly finding what is the position etc...
At the end, you will have a very smart phone, but you won't be able to answer a call, because when answering phone must change all the settings, and then reboot, and... whatever, this thing sucks! Just like juice defender, but it is oriented 100% on losing performance and battery and control over the phone...
Oh you can try to make it do a factory reset every day if it is so smart
.........
vlt96 said:
Am I the only one who thinks that an app doing something at absolutely anything you do with the phone, this is not draining, it just uses 100% of the CPU when you flip the phone...
And lets not mention that, to make phone silent when turned upside down means it has a permanent wakelock, and sensor constantly finding what is the position etc...
At the end, you will have a very smart phone, but you won't be able to answer a call, because when answering phone must change all the settings, and then reboot, and... whatever, this thing sucks! Just like juice defender, but it is oriented 100% on losing performance and battery and control over the phone...
Oh you can try to make it do a factory reset every day if it is so smart
.........
Click to expand...
Click to collapse
Read first, post after. Tasker app does not keep your phone awake as most tasks are set to trigger while it is awake and the display is on. Like the task to open automatically wifi when you open your browser or xda app and set it off after closing those apps. And when setting triggers based on power settings or time, the wakelocks are not constant, being activated just like alarm wakelocks. In fact you can set smart alarms too. Or actions based on calls/sms/mms received from specific ppl at specific times etc., or actions based on gestures set by you, proximity sensor ...
Tested wakelocks with BBStatus and no wakelocks, the phone goes to deep sleep. Tested cpu freq with Cool Tool and max freq is used only when starting the triggered app or doing the task set. In the rest of the time the freq oscillates normally.
And please do not make comments on any app based on how other apps behave. Try it then post.
If anyone is using this app, post your profiles or the ones you think are usefull.
nice thread! let me share my fav profiles
@vlt
Yea, you are the only one who thinks it because otherwise the app wont get 4-5 stars at always if it is battery consuming also, just because the developer had explained clearly how the tasker consume battery. its in the userguide inside and im vrry satisfied with it.
@voyager
tasker is just amazing to me ive been using it for long because it really makes my phone even smarter.
undoubtedly yes, using sensors as a context is the most battery comsuming but we can Limit the use of its detection by ourselves. not mentioning its pre-installed functionality that it wont detect when screen off, for your silent mode thing we can add another context - how about only when our launcher is in the foreground? that makes things even easier
now im glad to share my most frequently used profiles (not giving you guys my private ones XD) including
- vibrate 0.3 second with a little toast msg when power is plugged
- vibrate 0.3 sec and show how much battery left with toast when power is unplugged
- weekdays auto vibration mode in the morning
- auto rotation only on browser
- temporarily disable lockscreen when specified apps are opened (my default set for u is calculator)
- CM7 camera anti-flickering (good for those who OC with stock kernel )
- brightness 80% when camera activates and restore after exit
although gestures and proximity sensor contexts are SUPER COOL, other than the time i show off to my friends xD, ive always been avoiding the sensors to eliminate any chances of over using them and cause batteries.
so, i guarantee my profiles are super battery friendly....
hehehe you must be tempted to download immediately? do it! tell me what do you think of my favourite profiles which are always activated on my P500
to import, unzip my zip and u get xml files. go to tasker, long press "profiles" tab, import, choose the xml. done!
lol dont worry abt the little tip, Miasmic never gives malicious tasks
Happy tasking!
Sent from my LG-P500 using xda premium
I suppose camera anti-flickering profile uses the OC task and downclocks the phone when opening camera right?
Nice ideea!
voyager20021 said:
I suppose camera anti-flickering profile uses the OC task and downclocks the phone when opening camera right?
Nice ideea!
Click to expand...
Click to collapse
yup!! very handy, then the clock goes back up when leaving the cam
Sent from my LG-P500 using xda premium
Miasmic said:
yup!! very handy, then the clock goes back up when leaving the cam
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
How do you change OC on it?
.........
Set a profile which is based on a context on which the task will trigger, for example when open camera, set task to set clock to 600 Mhz, then set exit app task to reset the clock back to your usual OC freq.
You can play like that with almost everything on you phone.
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
karthiknayak94 said:
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Doesn't it have an option for network location too?
karthiknayak94 said:
I use a profile to like turn in gps when i open maps and automatically close it later
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Yap! Also can set to start wifi/data when opening browser and disconnect when closing it etc.
vlt96 said:
Doesn't it have an option for network location too?
Click to expand...
Click to collapse
Look under task>net. If not there then no.
I can't get it executes the task, the notification keep saying no active profiles. Imported missmic XML profiles (thanks to miasmic). please help, thanks....
Try setting some simpler tasks like start wifi when opening browser. Miassmic`s tasks can be set manually too.
Here`s another profile
Enable WiFi when at Home
Context: State –> Cell Near
Tap the “Start” button and move around your home as your area may be covered by several cells (the “<” sign represents the tower you’re currently connected to). You may stop it after few minutes.
Action: Net –> WiFi
Another profile which sets up a shortcut on home screen for taking instant photos, without opening camera app (point and shoot)
Long-press on the Home-screen > Shortcuts > Task
Action: Media –> Photo Series Time (So that new photos don’t overwrite the previous one and every new photo will have the time attached with its name.)
If discrete is checked, there will be no sign of the picture being taken.
Profiles i use
I attached some of my usual profiles.
What they do:
Missed call> after any missed call with display locked the phone vibrates 0.7 sec than waits one minute and says "you had one call x minutes ago" every minute for 30 minutes. Profile must be used with display unlocked profile
Display unlocked> if you had a missed call and unlock the phone the missed call profile stops
Charging>when connected to AC/usb (can be set to either or any) phone will vibrate 07 sec and say "charging"
Battery full>when connected to AC/usb (can be set to either or any) and battery reaches 100% the phone will say "battery full"
Profiles can be improved or modified easy to reach anyones expectations.
This application has a few problems like battery drain .
Another one is UI....it's a bit unfriendly by the way the cool thing is that you have that if :
if condition1 = or anything with condition 2 then execute .
Yap, a bit unfriendly, but once you now how...
Hi,
On cm 7.2, how do you set tasker to enable or disable pattern lock?
I'm on cm 7.2 since yesterday on my Desire. It's my first time on cm, actually. Before that, I used to be on HTC Desire specific roms. I'm rooted.
I've been using Tasker for quite a while, and by now I have a number of profiles that make me feel my phone is smart
Now, the big problem with Tasker is that it spoils you by doing all sorts of things automatically for you. And when a profile no longer works and you have to do things manually, you get really annoyed
And so, in that context, I have the following profile :
Profile : Home
Context : Cell Near
Variable Set %HOME to on
Wifi Set On
Secure Settings Configuration Pattern Lock disabled
Previously, before I switched to cm 7.2, this used to work perfectly, with GO Launcher and stock pattern lock. Now that I'm on cm 7.2 also with GO Launcher, Tasker can no longer act on pattern lock.
Any idea anyone?
Thanks,
Egg
SOLVED :
I solved my issue by complety removing Secure Settings and re-installing version 1.2.2 from Google Play.
So I am thinking about buying this app but.....
This app is incompatible with your device.
CTM Samsung GT-N7100
Is there a way that i could get it to work do you think before i possibly waste my money, or is it just a risk i am going to have to take?
JohnMather said:
Is there a way that i could get it to work do you think before i possibly waste my money, or is it just a risk i am going to have to take?
Click to expand...
Click to collapse
There's a 7 day trial version you can download here:
http://tasker.dinglisch.net/download.html
And have you been able to activate Power Saving Mode automatically with it? TIA!
You'll probably just have to hunt around the for activity that starts power save mode and set it to activate whenever criteria are met.
I use Tasker for wireless charging. I have one set up in my car and nightstand, so when it gets set on them, the screen timeout is set to 7 seconds and then it starts to Daydream.
I'd love one for turning on FoxFi when it realizes it's connected to a computer... But it's impossible to contact the devs. I wish they'd make it so we could launch each activity ourselves. Or at least make a plugin for it.
dpwhitty11 said:
You'll probably just have to hunt around the for activity that starts power save mode and set it to activate whenever criteria are met.
I use Tasker for wireless charging. I have one set up in my car and nightstand, so when it gets set on them, the screen timeout is set to 7 seconds and then it starts to Daydream.
I'd love one for turning on FoxFi when it realizes it's connected to a computer... But it's impossible to contact the devs. I wish they'd make it so we could launch each activity ourselves. Or at least make a plugin for it.
Click to expand...
Click to collapse
Do you happen to know the activity?
No idea, sorry. Best guess is to find which apk the power save comes from, and from there decompile it and try each activity until it triggers.
Sent from my SM-G900P using Tapatalk
dpwhitty11 said:
No idea, sorry. Best guess is to find which apk the power save comes from, and from there decompile it and try each activity until it triggers.
Sent from my SM-G900P using Tapatalk
Click to expand...
Click to collapse
It comes from within the settings. I have the package name for it can I do it with that?
Get the app 'Activity Launcher' from the play store.
Once installed, activate the power saving option from the settings.
Open activity launcher and it should be in your "recently used" list. From here you should be able to get the procedure to call using tasker.
Joe0113 said:
And have you been able to activate Power Saving Mode automatically with it? TIA!
Click to expand...
Click to collapse
I tried with secure settings plug in, and doesn't work
http://www.reddit.com/r/tasker/comments/28x4f7/figured_out_how_to_activate_ultra_power_saver_mode/
Someone does it there with screen taps.
Not ideal, but at least it's something.
moonrakerone said:
http://www.reddit.com/r/tasker/comments/28x4f7/figured_out_how_to_activate_ultra_power_saver_mode/
Someone does it there with screen taps.
Not ideal, but at least it's something.
Click to expand...
Click to collapse
That's cool! But I want to just activate regular PSM over night!
Hello All:
New oneplus 5 user, love my phone. But miss the ability to schedule timed DND or silent mode as I could with my S5. I have purchased Tasker. Lots of people say "it can be done", "it works fine", "you set up a profile" etc. But I've never used Tasker and I'd appreciate it if someone who actually has this working could post a tutorial, step by step.
I saw one poster talk about Tasker reading the file /sys/class/switch/tri-state-key/state
Sounds like it makes sense trying to coordinate with the hardware position, but again, don't have a clue where to start.
Anyone?
So I fiddled around a bit with MacroDroid (a Tasker alternative) and managed to make it work partially. What I mean by that is that you can have it turn on DnD whenever you like to, as long as the alert slider is in "ring" mode. If the slider is set to silent, at least for now, I couldn't get it to be DnD instead. but I think that being able to set it to DnD from "Ring" is more important anyways. If you want a step by step guide, hit me up!
harry_fine said:
Hello All:
New oneplus 5 user, love my phone. But miss the ability to schedule timed DND or silent mode as I could with my S5. I have purchased Tasker. Lots of people say "it can be done", "it works fine", "you set up a profile" etc. But I've never used Tasker and I'd appreciate it if someone who actually has this working could post a tutorial, step by step.
I saw one poster talk about Tasker reading the file /sys/class/switch/tri-state-key/state
Sounds like it makes sense trying to coordinate with the hardware position, but again, don't have a clue where to start.
Anyone?
Click to expand...
Click to collapse
I looked at that file you mentioned (/sys/class/switch/tri-state-key/state) and it does reflect as 1, 2, or 3 (3 being the bottom "ring" position. You can set a DND complete separate from this physical alert slider. Is that what you are trying to do? So that you can have DND mode turn on at a specific time of night without you touching the slider? If so, what exactly do you want it to do?
I also looked at this link and tried to replicate it. I was able to read the value of that key, but unable to write to it. http://tasker.wikidot.com/rootbasic
Shush!
harry_fine said:
Hello All:
New oneplus 5 user, love my phone. But miss the ability to schedule timed DND or silent mode as I could with my S5.
Click to expand...
Click to collapse
I loved the Shush! app. Timed DND, basically. Doesn't seem to work on OP5. The volume slider for "ring" never goes to zero, which is what appears to trigger Shush to pop up. Instead they seem to have separate all volumes from a global DND. Interesting.
harry_fine said:
Hello All:
New oneplus 5 user, love my phone. But miss the ability to schedule timed DND or silent mode as I could with my S5. I have purchased Tasker. Lots of people say "it can be done", "it works fine", "you set up a profile" etc. But I've never used Tasker and I'd appreciate it if someone who actually has this working could post a tutorial, step by step.
I saw one poster talk about Tasker reading the file /sys/class/switch/tri-state-key/state
Sounds like it makes sense trying to coordinate with the hardware position, but again, don't have a clue where to start.
Anyone?
Click to expand...
Click to collapse
Have a look if this Reddit post helps
Isn't the easiest way to create a time based profile in Tasker and assign it to a task that sets the DoNotDisturbMode to the value you like? Call the profile Night, set it to be active from 10 pm to 7 am. Then assign it to a task called Silent. That task sets the DoNotDisturbMode to Alarms. See screen shots.
ptblad said:
Isn't the easiest way to create a time based profile in Tasker and assign it to a task that sets the DoNotDisturbMode to the value you like? Call the profile Night, set it to be active from 10 pm to 7 am. Then assign it to a task called Silent. That task sets the DoNotDisturbMode to Alarms. See screen shots.
Click to expand...
Click to collapse
Thats exactly how I set it up. Why invent new more difficult ways when there is this easy way?
Why have I not discovered Tasker any sooner? Downloaded the app last night, and spent some time getting familiar with the app. Daunting at first, but watched a basic Youtube vid, and off I went. Took me a few attempts to get the tasks working as they should.
I have DND task, and Airplane mode on/off tasks set - and they both work as expected.
Yea, Tasker can be scary at first but once you start using and exploring the possibilities, you can really automate a lot of stuff.
L22EEW said:
Why have I not discovered Tasker any sooner? Downloaded the app last night, and spent some time getting familiar with the app. Daunting at first, but watched a basic Youtube vid, and off I went. Took me a few attempts to get the tasks working as they should.
I have DND task, and Airplane mode on/off tasks set - and they both work as expected.
View attachment 4216331
View attachment 4216332
View attachment 4216334
Click to expand...
Click to collapse
On the DND profile, I notice you do not use an "Exit Task". Do you not need one? What I mean by that is at 2:58 (per your setup) does DND mode exit and go to what the slider is selected to?
dustintinsley said:
On the DND profile, I notice you do not use an "Exit Task". Do you not need one? What I mean by that is at 2:58 (per your setup) does DND mode exit and go to what the slider is selected to?
Click to expand...
Click to collapse
In some cases Tasker is so inteligent that you dont have to have an exit task and Tasker just do that for you. And this is the case here.
Mikulec said:
In some cases Tasker is so inteligent that you dont have to have an exit task and Tasker just do that for you. And this is the case here.
Click to expand...
Click to collapse
Good stuff... Thanks.
dustintinsley said:
On the DND profile, I notice you do not use an "Exit Task". Do you not need one? What I mean by that is at 2:58 (per your setup) does DND mode exit and go to what the slider is selected to?
Click to expand...
Click to collapse
There is no "off" option In the DND task.
I haven't set up an end task, and the DND task does work fine as per setup.
Sent from my 8GB/128GB OP5 using Tapatalk PRO ?
Hi Guys. I use Automate App for this purpose, but with one difference.
If it is 09:00 PM and I connect my phone to the charger for sleep, the phone set automatically to DND mode for max 9:30 hours and when I disconnect the charger before, ringer mode is activated again. Look at my Automate Flow in screenshot. Really easy and relieable.
Hi Folks
I have two annoying little problems with my device
first is with the app power management, I have a clock widget on my home screen and the power management
always comes up with the suggestion put the app to sleep, (see pic) but if I do the widget is not working anymore
is there somewhere an option where I can exclude this app from being monitored?
The second problem is with the restart when the phone restarts it doesn't do it completely, I have to put in the pin first
and then it completes the restart process, which is especially annoying when I have it set for auto restart somewhen in the night
and have set an alarm the following morning, which then doesn't go of...
Any Solutions there?
[/COLOR]
hingerl said:
Hi Folks
I have two annoying little problems with my device
first is with the app power management, I have a clock widget on my home screen and the power management
always comes up with the suggestion put the app to sleep, (see pic) but if I do the widget is not working anymore
is there somewhere an option where I can exclude this app from being monitored?
The second problem is with the restart when the phone restarts it doesn't do it completely, I have to put in the pin first
and then it completes the restart process, which is especially annoying when I have it set for auto restart somewhen in the night
and have set an alarm the following morning, which then doesn't go of...
Any Solutions there?
Click to expand...
Click to collapse
The clock app is being killed by android battery management. Go to settings> search: special acces> press optimize battery usage> from the left corner select apps optimized> search for your app and turn off the toggle. That should be it
For your second problem. I've read on another thread that a clock update might have broken the auto restart - alarm problem. I'm not very sure but try to uninstall from settings>apps the updates from the stock clock app. And try again the process
Gogolakis said:
[/COLOR]
The clock app is being killed by android battery management. Go to settings> search: special acces> press optimize battery usage> from the left corner select apps optimized> search for your app and turn off the toggle. That should be it
For your second problem. I've read on another thread that a clock update might have broken the auto restart - alarm problem. I'm not very sure but try to uninstall from settings>apps the updates from the stock clock app. And try again the process
Click to expand...
Click to collapse
Thanks for your help
The first solution does not help because this specific app is, for whatever reason, not on this list...
I might have been a bit confusing with my second problem, it has not directly to do with the auto reboot, but with the boot process itself
the boot process goes only as far as the lock screen, then I have to put in my pin, the fingerprint is not an option, and after that, it says "phone is starting" and finishes the boot,
the same procedure applies after the auto restart... so if I have set an alarm the system isn't ready yet to start the alarm app...