[Q] Multitasking / screen off / facts & fiction - Galaxy S II Q&A, Help & Troubleshooting

Does anyone know or could point me toward information about how to impact the multi tasking in Android.
The problem is:
- Somehow 'screen off' event is linked with the activation of 'deep sleep'. Now that's all nice and well but it's interrupting downloads and stopping appplications (try it with dolphin browser during a download, try turn off your screen with angry birds on, etc)
- Multitasking seems random: you can download market apps, move to angry birds, and play while it downloads, but you can't play angry birds, move to market app, and go back where you were in angry birds (it will restart the whole game).
Can anyone clarify the above? Thank you.

Turning the screen of will send the phone into deep sleep unless something is holding a wakelock, downloads should hold one till they finish, and if they are not, it's a bug.
As far as multitasking goes, yes it does seem random, and very much depends how the application was coded to deal with it, it seems that ICS will deal with this by adding a dedicated multitasking button.
Android will kill background inactive tasks as and when needed, but again it depends if the app was designed to hold its state in the background or dump out. And in low memory situations, which we shouldn't really get on the sgs2 it will start aggressively killing stuff in the background.
Sent from my GT-I9100 using xda premium

Do you have the setting "wifi off when display is off" ? That could disturb/stop download I guess..

Thank you. The reason of course is that I'm trying to use the phone as a 'mini computer' and on your pc you can off course turn off the screen while downloading files and doing some background processing.
The solution for me so far is to accept that the screen must be on when doing anything that takes time, so I have it set to never turn the screen off while charging, and have a widget that takes brightness down to 0% in a single click.
I suppose I just have to accept that the phone will eventually be outdated and the screen would die long after that - so 'using' the screen is not that big a deal.

cigaro78 said:
Thank you. The reason of course is that I'm trying to use the phone as a 'mini computer' and on your pc you can off course turn off the screen while downloading files and doing some background processing.
The solution for me so far is to accept that the screen must be on when doing anything that takes time, so I have it set to never turn the screen off while charging, and have a widget that takes brightness down to 0% in a single click.
I suppose I just have to accept that the phone will eventually be outdated and the screen would die long after that - so 'using' the screen is not that big a deal.
Click to expand...
Click to collapse
How do you set screen always on when charging? Can't seem to find this option.

O and O said:
How do you set screen always on when charging? Can't seem to find this option.
Click to expand...
Click to collapse
Amusingly they hid it under 'settings > applications > development > stay awake'

cigaro78 said:
Amusingly they hid it under 'settings > applications > development > stay awake'
Click to expand...
Click to collapse
No luck there is no such item.
Sent from my GT-I9100 using XDA App

O and O said:
No luck there is no such item.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Really? What ROM are you using? I'm on Cog 1.5. I *thought* it was a stock option, maybe it's a ROM specific one.

cigaro78 said:
Thank you. The reason of course is that I'm trying to use the phone as a 'mini computer' and on your pc you can off course turn off the screen while downloading files and doing some background processing.
The solution for me so far is to accept that the screen must be on when doing anything that takes time, so I have it set to never turn the screen off while charging, and have a widget that takes brightness down to 0% in a single click.
I suppose I just have to accept that the phone will eventually be outdated and the screen would die long after that - so 'using' the screen is not that big a deal.
Click to expand...
Click to collapse
I have actually been happy that with my device, I can actually start a download, using either stock or opera browser (haven't tried others) and not have to keep the screen on and have the download finish. Not only for screen timeout, but actually pressing the button to turn it off. With windows mobile 6.x, pressing the sleep button killed data, and only push mail or scheduled things (usually/hopefully) would "wakelock" the phone enough to receive something. It worked very poorly.
I honestly think you have a bug somewhere, because you should not have to leave the screen on for long periods of time just to let a download finish.

Related

Hero face down --> Screen off

Hi everybody,
I come from Windows Mobile, and I'm very happy about Android (and Hero...). With my old WM smartphone I could turn the display off just facing down the device, it was a small application but very userful in my opinion. Do you know any application to do this in Android? Otherwise, it's an idea for development...
Thanks (sorry for my english..)
If you turn it over when it is ringing it will turn it onto silent. I think there are several apps in the market that do the things you mention.
example?
Yes, I was pretty sure to find something in the market. But actually I had no chance. I know how to silent the telephone, but it's not what I'm looking for...
Can someone else tell me a program in the maket to turn the display off ?
Not sure what the point is? The screen switches itself off when it's not being used, so I can't really see the why someone would want to write an app that does as you describe.
Regards,
Dave
Re:
Ok, as example: I'm using Copilot 8. With the automatic screen off, after 2 min. (example) the screen turns off during the navigation. Not good. I have found a program to select the applications as exceptions to keep the display on, but I don't want to add every time some exception.
Or maybe I simply want to decide when to turn off the display without waiting the timer and without using the button (it's a physical button, I had bad experience with the lifetime of some hw button....)
As last answer I don't think your answer is useful. If you don't use this function, you can ask why to use/develop it to the thousands of users of WM using such app....
vivus said:
As last answer I don't think your answer is useful. If you don't use this function, you can ask why to use/develop it to the thousands of users of WM using such app....
Click to expand...
Click to collapse
Ahem - I didn't attempt to provide an answer, I asked a question and qualified it with a statement!
Regards,
Dave
vivus said:
Ok, as example: I'm using Copilot 8. With the automatic screen off, after 2 min. (example) the screen turns off during the navigation. Not good. I have found a program to select the applications as exceptions to keep the display on, but I don't want to add every time some exception.
Or maybe I simply want to decide when to turn off the display without waiting the timer and without using the button (it's a physical button, I had bad experience with the lifetime of some hw button....)
As last answer I don't think your answer is useful. If you don't use this function, you can ask why to use/develop it to the thousands of users of WM using such app....
Click to expand...
Click to collapse
Its easy... u can just click on the red button on your hero and the screen will turnoff, and when u want to turn it on u can click on MENU twice and u will be back at your application that u were using...
vivus said:
Ok, as example: I'm using Copilot 8. With the automatic screen off, after 2 min. (example) the screen turns off during the navigation. Not good. I have found a program to select the applications as exceptions to keep the display on, but I don't want to add every time some exception.
Or maybe I simply want to decide when to turn off the display without waiting the timer and without using the button (it's a physical button, I had bad experience with the lifetime of some hw button....)
As last answer I don't think your answer is useful. If you don't use this function, you can ask why to use/develop it to the thousands of users of WM using such app....
Click to expand...
Click to collapse
I use Copilot but my screen doesnt go off while navigating, and my auto screen off is set to 1min. I think there may be a setting in copiolt to keep the phone awake while in use.
vivus said:
Hi everybody,
I come from Windows Mobile, and I'm very happy about Android (and Hero...). With my old WM smartphone I could turn the display off just facing down the device, it was a small application but very useful in my opinion. Do you know any application to do this in Android? Otherwise, it's an idea for development...
Thanks (sorry for my english..)
Click to expand...
Click to collapse
You are correct man, I have been lookin for that kind of apk couldn't find one.
How the apk would work:
-Simply by positioning the device with the face down, you get an instant sleep mode.
-As if you pressed hardware power/sleep.
-You can simulate a "face down" in mid air and the device will sleep. Handy to keep the power/sleep button clean.
djmace said:
I use Copilot but my screen doesnt go off while navigating, and my auto screen off is set to 1min. I think there may be a setting in copiolt to keep the phone awake while in use.
Click to expand...
Click to collapse
There is such a setting in Copilot. As you'd expect, you can find it in "Settings"!
Regards,
Dave

[Q] Touchstone: How to keep the TP off while on the Touchstone?

how do I keep the TP from turning on while on the touchstone? I don't want a clock or pictures, I just want it dark in my room at night. I can turn off the power when I first set it on the dock but when its fully charged on pops the screen again. How can I disable this?
Thanks
install preware if you dont have it already, go to patches and look for charge only option. there's several to choose from. pick one you like and use.
I'm pretty sure if you hit the power button after exhibition mode starts it will turn the screen off for good. But what I did was install the minimum brightness patch so now when its in exhibition mode it is much darker and much less bothersome when trying to sleep. To install the patch you'll need preware installed.
Pvster said:
install preware if you dont have it already, go to patches and look for charge only option. there's several to choose from. pick one you like and use.
Click to expand...
Click to collapse
Do you happen to know the name? I found one called Quick System Tasks and it locked up my tab. I looked through all the prepare apps and only found that one.
bug splat said:
Do you happen to know the name? I found one called Quick System Tasks and it locked up my tab. I looked through all the prepare apps and only found that one.
Click to expand...
Click to collapse
Are you using the Preware app on your Touchpad?
Preware -> Available Packages -> Patch -> Search -> Enter "Charge"
The search is started by tapping the magnifying glass in the top button, which brings up the keyboard. Type in "charge" (without the quotes).
cchase231 said:
I'm pretty sure if you hit the power button after exhibition mode starts it will turn the screen off for good. But what I did was install the minimum brightness patch so now when its in exhibition mode it is much darker and much less bothersome when trying to sleep. To install the patch you'll need preware installed.
Click to expand...
Click to collapse
i bet its not as hot as people say if screen off/brightness down, right?
but it on the touchstone... hit the power button once it goes to exb, hit the power button again it goes black.. problem solved.
NissanNick said:
but it on the touchstone... hit the power button once it goes to exb, hit the power button again it goes black.. problem solved.
Click to expand...
Click to collapse
except as he mentioned...when it hits full charge the screen lights up again. Silly you
Bandage said:
except as he mentioned...when it hits full charge the screen lights up again. Silly you
Click to expand...
Click to collapse
Or when it receives any notifications for that matter. I've resorted to just keeping the cover on the HP case closed so it covers the screen when I leave it on the touchstone overnight.
Tilde88 said:
i bet its not as hot as people say if screen off/brightness down, right?
Click to expand...
Click to collapse
If you're talking about the temp of the device, I'm not really sure. I installed the minimum brightness patch the second day I got it because it was way too bright to have as a bedside clock. I also have a case on it, but it doesn't feel warm when I take it off the stone. Also, the lowest brightness with the patch can only be set in the screen and lock app. You cannot set it from the drop down on the home screen.
Sent from my Nexus S 4G using XDA App
Bandage said:
except as he mentioned...when it hits full charge the screen lights up again. Silly you
Click to expand...
Click to collapse
uhhh im sure he is asleep by the time it fully charges.
i have a solution
1) put the charger and the touchpad into a box
2) tape the box up
3) put my address on the box
4) take it to the post office and send it to me
that should fix your problem
dr_acula_sxe said:
uhhh im sure he is asleep by the time it fully charges.
i have a solution
1) put the charger and the touchpad into a box
2) tape the box up
3) put my address on the box
4) take it to the post office and send it to me
that should fix your problem
Click to expand...
Click to collapse
Great post! Hahaha
Sent from my GT-P7510 using xda premium

HTC EVO 4G LTE Tips ● Tricks ● Troubleshooting ● Extras

This intends to be a one stop shop for everything E4GL, including but not limited to the latest tips and tricks from the forums, battery tips, the best Android apps, ROM Reviews, and more. Big thanks to my bud Biofall who much of the batter tips are sourced from.
If you've got anything that you think should be added, PM me with the subject "E4GL Thread Add" and I'll look at it as soon as I can.
◄●Best Android Apps●►
These are some of my favorite Android apps. More to come. Make a suggestion and I'll review it!
◄●Tips and Tricks●►
[HOW TO]Sanding Top Cover to Matte Black - DIY Instructions - Not to fond of the glossy cover on the back of your EVO? Make it matte!
Screenshots - To take a screenshot, Press Power Button [HOLD] + Press Home Button, then let go of both. Upon pressing the home button, the screen will flash white.
◄●FAQs●►
What is S-OFF?
Read this: S-OFF explained - by a Developer
◄●Troubleshooting●►
My device won't turn on - Check out these tips from Sprint.
◄●EVO 4G LTE Extras●►
EVO 4G LTE Reviews - by Legendary20
◄●EVO 4G LTE Battery Tips●►
◄●All Users●►
Turn off all radios when not in use (gps, Bluetooth, wifi, data, 4g). Use a widget (default or app like Switchpro) to quickly turn them on and off. The radios draw power even if not in use. Be sure to use WiFi over 3G when you can.
Stop using live wallpapers - I love them, but they are really only good for showing off due to their battery drain.
Set your screen timeout to something that fits you - This will prevent your phone from staying on when you don’t manually turn off the screen (which you should).
Everyone has that issue where the first ten percent go the fastest.
This is due to two things. One is that these types of batteries stop charging once they get to 100% to prevent damage, and begin charging again at 90%. This means that you could potentially unplug your seemingly fully charged phone at 90% actual charge. The second is below
Use the trick described in this thread, it works.
My idea behind how often you should do it is once a month, if you flash a new ROM, or if you stop noticing the benefits.
This is the calibration technique recommended by HTC themselves. Check it out!
Make sure your phone sleeps - I'm sure you have all heard around that your phone isn't "sleeping".
This is referring to the phone's "awake" time, hence the name. When you go to menu>settings>about phone>battery, you can compare the two numbers, "up time" vs. "awake time." Generally, up time refers to the amount of time since the last reboot. The "awake time" is how long the screen has been active. The problem is, a lot of the time, due to the endless possibilities of inconsistencies between apps/ROMs/kernels/phones, the phone will not go to "sleep", drawing power proportionate to the screen being in use when it reality the phone is sitting idle.
If you compare these numbers, and they are the same, or if you note the difference, turn off the screen for a minute, then re-check and they are the same, then your phone is not sleeping.
One solution is to reboot.
Usually, SystemPanel will show an app that has gone "rouge" and is keeping your phone awake.
Uninstall applications/reinstalling them slowly, checking after every install to see what is causing it is one tedious but surefire solution.
Lastly, follow these steps that I have discovered almost always work.
Reboot phone.
Instantly upon reboot, as soon as you gain control, open up some type of monitor/taskkiller
"kill all" tasks on startup; about 5 times in quick succession should do the trick.
Turn off the screen and leave it for about five minutes.
Check the up time v. awake time and see if they are the same.
If they are, repeat steps 1-5. If they are different, you are good.
Use Juice Defender - Basically it controls your data for you to maximize life. Learn more from my review of Juice Defender.
Task killers used to be the shiz, but no longer.
Here is the ultimate, in depth, graphically assisted, explanation by the famous Fresh ROM's chef, Flipz. In short, they aren't needed (and can do more harm than good).
A good alternative is the application SystemPanel Pro. It has a free version, but I highly reccomend purchasing the paid app. It basically monitors everything going on with your phone's usage both in real time an in terms of usage history. If your battery is draining fast, it tells you what app was doing it, how much it was doing it, and allows you to stop it.
◄●Rooted Users●►
Try out custom kernels - In the Android Development section of the forums, you can see all of the different kernels being developed. These allow for all kinds of modifications like underclocking the CPU and undervolting, both of which save battery. Here is a great guide to custom kernel's by mroneeyedboh.
Use SetCPU in compliance with whatever your custom kernel allows.
This site will explain the basics of SetCPU: http://www.pokedev.com/setcpu/
-Profiles from SetCPU should usually involve these for battery life optimization:
-Screen off at the minimum clock speed for both, with the max raised on level if sluggishness is apparent
-A temperature greater than “X”
-General power related profiles that lower cpu speed at lower battery levels
◄●Notes●►
Some apps or processes begin to run at startup and keep the phone awake. These apps are not detected by things like spare parts or system panel, unless sometimes represented in the "system" process, in which case its usage will be unusually high.
This shouldn't take more than three repeats, and if it does, you need to factory reset, and slowly add apps back to see what's causing the problem.
When it comes to actually "calibrating" one's battery, there are a couple of methods floating around. The method I first learned is to charge the phone all the way, boot into recovery immediately, and "wipe battery stats". Then reboot quickly, and run your phone all the way to death without charging it, then charge it all the way without interrupting it, and you should be good to go. Do this when changing ROMs/kernels for best results.
Big thanks to Biofall for the battery tips that you see her. Thanks dude.
I'll keep this updated as often as possible. Open to all suggestions, just send me a PM.
Click to expand...
Click to collapse
the enable/disable data always isn't really an option on ICS roms, if it is, it's def not in the same place
ticklemepinks said:
the enable/disable data always isn't really an option on ICS roms, if it is, it's def not in the same place
Click to expand...
Click to collapse
Right you are. I'll update that, thanks.
I'd suggest adding v6 supercharger but that isn't as easy as somethings...
Mostly due to it changing ram settings for apps n making.it kill them in x time or at x amount
Sent from my PG86100 using xda premium
1. Battery calibration for first runtime should just be using it until the phone shuts off, then go to bootloader until it shuts off. Then do a full charge to 4.2v.
I would HIGHLY suggest putting a button combination map.
With out the removable battery you know a ton of people are gonna flip out
without knowing them
Speaking of button combinations, there's an interesting tidbit here http://insidesprintnow.wordpress.com/2012/05/10/htc-evo-4g-lte-power-on-troubleshooting-steps/
Gordon Ramsay said:
Speaking of button combinations, there's an interesting tidbit here http://insidesprintnow.wordpress.com/2012/05/10/htc-evo-4g-lte-power-on-troubleshooting-steps/
Click to expand...
Click to collapse
I guess they allow 20 seconds for user error. Thts great though we dont have to worry about all tht. Smart move on their side
Hunt3r.j2 said:
1. Battery calibration for first runtime should just be using it until the phone shuts off, then go to bootloader until it shuts off. Then do a full charge to 4.2v.
Click to expand...
Click to collapse
Occasional recalibration is good just so you have accurate percentages.
coffeehandle said:
I would HIGHLY suggest putting a button combination map.
With out the removable battery you know a ton of people are gonna flip out
without knowing them
Click to expand...
Click to collapse
Good idea. Anybody got a list of them?
Gordon Ramsay said:
Speaking of button combinations, there's an interesting tidbit here http://insidesprintnow.wordpress.com/2012/05/10/htc-evo-4g-lte-power-on-troubleshooting-steps/
Click to expand...
Click to collapse
Oh nice. I'll include that. Thanks man.
Added in Legendary20's reviews thread.
Now that most of us have gotten our phones, be sure to post up your tips and tricks to add to the OP.
Screen shots can be taken with power+vol down
Check Me Out On The Google Play Store!!!
​
Sent From My Half Dead HTC Evo 3D, On The Now Network From Virgin Mobile?
It says Bluetooth 4 which if that's the case wouldn't make a difference if its on or off. Also there isn't a practical way to turn off 4g and doesn't make much of a difference. Incase you wanted to add notes to the battery part.
Sent from my EVO using xda premium
Screen photos can also be taken while holding down the power button and taping the home key. The screen will blink then you get a popup screen telling you image has been saved to your image file.
Sent from my mighty EVO 4G LTE
WUESTSIDER X!
I hear 3g and voice works simultaneously cuz of the chipset... awesome
Sent from my Galaxy Nexus
Yes, you can talk and internet browse (3G) at the sametime. I confirmed it with my EVOLTE.
Sent from my mighty EVO 4G LTE
WUESTSIDER X!
Added link to regaw_leinad's post about S-OFF
1) on the Gmail app when trying to copy text you used to be able to just click on the highlighted text to copy it to clipboard, now you have to go down to the bottom left and click on the icon to do it. This is only on the Gmail app.
2) The menu button will be sorely missed. Now the menu for each app appears, depending on the app, on a different part of the screen, as opposed to having it always on the same spot.
The "Recent Apps" button is UTTERLY USELESS! With the original Evo, you used to be able to press and hold the home button and see the most recent 8 apps without having to scroll at all!! WHAT WERE THEY THINKING?? (WERE THEY THINKING?!?!)
3) The text app, and for that matter Handcent and GoSMS DO NOT show the count for the unread messages, neither on the icon, nor on the notification bar, UNLESS you actually scroll down the notifications, then you can see how many unread messages you have.
4) Gmail app used to be awesome with the original Evo. Not only did it show the total unread messages you had but also, if you marked a message as unread (even a very old message), whether you did it from the phone or even from the computer, you would get a notification as if you just got a new message! Where's that?!?!
5) Sync seems to be having its own issues as well. On the regular email app, if I set it up to sync email every 5 minutes, it takes rather about 10-15 mins for the emails to come in. Original Evo was prompt at that...
6) on the regular email app in order to be able to go to the next or previous email, one has to first click on menu and only then do you have the "next" or "previous" option, unlike on the original Evo.
7) When already on max volume and want to make sure you still are with the volume rocker, you would hear a sound with the old Evo, now you got nothing are have to actually LOOK at the screen to make sure you got it to the max.
8 ) No option to play YouTube videos out of the YouTube app when clicking on a YouTube video on the browser.
That was a given with the original Evo. Annoying as hell on the LTE.
9) You MUST use both hands when holding the phone vertically if you want to have access to the whole screen (if you're laying down or sitting back on a sofa, for example), otherwise you will be unwillingly hitting the volume rocker or needing a chiropractor for your thumb. An issue which could be avoided with a gel cover, but could have been foreseen by HTC when producing such a smooth non-grippy back to the phone.
10) Gmail and Tasks are incompatible?! I mean, what's the point??
11) The regular email app can only be accessed a limited amount of times per 15 minutes? I already got quite a few of those error messages...
12) You used to be able to choose the input method and switch keyboards by long-pressing on any field. Now you have to exit whatever application you're on and go to settings, keyboard etc. to do it.
This isn't a cellphone war between the 4G and the LTE, obviously the LTE has lots of stuff over the original Evo. I'm not here to bash the LTE, on the contrary I would love to find solutions to all (or most) of those issues.
For the time being if I have to sum it up:
I love the speed and I LOVE the battery life but, in terms of practicality, I would stick with the original Evo.
P.S. I would rather not root my phone, and would like those problems to go away, help!
Gimme your thoughts!
txtmax4 said:
1) on the Gmail app when trying to copy text you used to be able to just click on the highlighted text to copy it to clipboard, now you have to go down to the bottom left and click on the icon to do it. This is only on the Gmail app.
2) The menu button will be sorely missed. Now the menu for each app appears, depending on the app, on a different part of the screen, as opposed to having it always on the same spot.
The "Recent Apps" button is UTTERLY USELESS! With the original Evo, you used to be able to press and hold the home button and see the most recent 8 apps without having to scroll at all!! WHAT WERE THEY THINKING?? (WERE THEY THINKING?!?!)
3) The text app, and for that matter Handcent and GoSMS DO NOT show the count for the unread messages, neither on the icon, nor on the notification bar, UNLESS you actually scroll down the notifications, then you can see how many unread messages you have.
4) Gmail app used to be awesome with the original Evo. Not only did it show the total unread messages you had but also, if you marked a message as unread (even a very old message), whether you did it from the phone or even from the computer, you would get a notification as if you just got a new message! Where's that?!?!
5) Sync seems to be having its own issues as well. On the regular email app, if I set it up to sync email every 5 minutes, it takes rather about 10-15 mins for the emails to come in. Original Evo was prompt at that...
6) on the regular email app in order to be able to go to the next or previous email, one has to first click on menu and only then do you have the "next" or "previous" option, unlike on the original Evo.
7) When already on max volume and want to make sure you still are with the volume rocker, you would hear a sound with the old Evo, now you got nothing are have to actually LOOK at the screen to make sure you got it to the max.
8 ) No option to play YouTube videos out of the YouTube app when clicking on a YouTube video on the browser.
That was a given with the original Evo. Annoying as hell on the LTE.
9) You MUST use both hands when holding the phone vertically if you want to have access to the whole screen (if you're laying down or sitting back on a sofa, for example), otherwise you will be unwillingly hitting the volume rocker or needing a chiropractor for your thumb. An issue which could be avoided with a gel cover, but could have been foreseen by HTC when producing such a smooth non-grippy back to the phone.
10) Gmail and Tasks are incompatible?! I mean, what's the point??
11) The regular email app can only be accessed a limited amount of times per 15 minutes? I already got quite a few of those error messages...
12) You used to be able to choose the input method and switch keyboards by long-pressing on any field. Now you have to exit whatever application you're on and go to settings, keyboard etc. to do it.
This isn't a cellphone war between the 4G and the LTE, obviously the LTE has lots of stuff over the original Evo. I'm not here to bash the LTE, on the contrary I would love to find solutions to all (or most) of those issues.
For the time being if I have to sum it up:
I love the speed and I LOVE the battery life but, in terms of practicality, I would stick with the original Evo.
P.S. I would rather not root my phone, and would like those problems to go away, help!
Gimme your thoughts!
Click to expand...
Click to collapse
Some on the stuff like not being able to open links in the YouTube app is an apple problem, choosing diferent keyboards was something the google did on ICS(annoyed as hell too), some issues is cause of ICS and some other is sense but I could live with them
Sent from my htc_jewel using Tapatalk 2
1 note about that long rant, with the keyboard a small icon appears in your taskbar that you can pull down to change input method without having to exit the app and go to settings
Sent from my EVO using XDA

[Tasker] "Tasface": Flick-your-wrist shows watchface!

As many of you may know, for newer version of TS (at least for 4th List, May version devices), it's NOT possible to flick your wrist to show watch face since the Accelerator is DISABLED whenever screen is OFF!!!
What an oversight! A smart watch needs you to push a button to see time? What if when you are driving or have both hand full and cannot spare even a finger!?
(My Pebble, on the contrast, works great here!)
I tried to force the screen always on with watch face, it's great, except it kills my battery in around 6 hrs (airplane mode!) Not acceptable!
Thus, Here comes "Tasface". With this, you could achieve:
1. Let TS shows you time WHENEVER you LOOK at the watch! (well, actually when the watch is face up) or when you flick your wrist (You can modify this!)
2. Reduce using your button (if you have an Shortcut supported launcher like Smart Launcher 2)
DISCLAIMER: I will not be responsible if Tasface broke/brick your TS in anyway! Since Tasface is only a set of Tasker profiles/Tasks you can read everything before decide go or not! Tasface DO mess around with system files!
Pre-requests:
===============
1. Your TS must be ROOTED!
2. You need to know Tasker basics! (It's not THAT difficult to use Tasker...)
3. Tasker (Obviously)
4. Watchface by Kurt Huwig (I didn't test other watchface app. May not work with stock lock watchface) https://play.google.com/store/apps/details?id=de.huwig.watchfaces
5. Secure Settings (Required) https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
6. Smart Launcher 2 (Optional, any Launchers supports Shortcut will work. With this you can activate Watch face without using button!) https://play.google.com/store/apps/details?id=ginlemon.flowerfree
Set-up
========
1. Have Tasker (required), Watchface (required), Secure Setting (don't forget to install system helper) and Smart Launcher 2 (Optional) installed. DO NOT IMPORT "Tasface" yet!
2. Disable your stock lock watchface: Go to Setting/Personal & Account/Security/Screen lock/None (<-- This IS IMPORTANT)
3. Launch Watchface by Kurt Huwig, than double tap on any watchface to enter setup
  a. check "Keep screen on"
  b. Select desired watchface from "Lockscreen face"
  c. Recommended to disable all other options
4. Check if the Watchface work or not by turn off than turn on your TS by press the upper physical button. You should see the Watchface you selected shows up when screen on. Swipe to return to your launcher and launch Tasker.
5. Unrar and import Tasface into Tasker
6. Close Tasker
7. Turn off --> Turn on your TS with the upper button
8. Profit!
Notes
=======
1. When watchface is displayed:
  a. Touch screen is DISABLED to avoid accidental touch.
  b. Screen will be OFF after 8 seconds (you can setup your prefer time)
  c. Touch screen lock is achieved by putting a transparent Tasker Scene element on top of the Watchface. A small "X" on bottom right screen is used to reactivate the touch screen. You can also push the lower right button (back) to reactive your touch screen.
2. To show watchface (after automatic screen off as Step 1)
  a. Just face the watchface up. The watchface should appear for another 8 seconds
  b. There maybe a 1~2 second delay. This is due to Tasker not detecting the Watchface up event. I cannot do anything about this....
  c. You could change the watchface up to anything else, like "Sensor shake/Backware-Forward"
3. If you have "Smart Launcher 2" or any other launcher supports Shortcut, you can set a icon to task "Lock". With this TS will activate watchface WITHOUT touch physical button. (I heard horrible stories about broken button so want to avoid use them as much as possible!) It's normal the screen will off for 2 second than back on with watchface for 8 seconds!
4. You must wait for automatic screen off or use the "Lock" shortcut to turn off the screen! Tasface will NOT work if you turn off TS by pressing the upper right physical button. This DISABLE the accelerator as mentioned above. To reactive Tasface, just turn on TS by pressing the upper right physical button to show the watchface than wait for automatic screen off.
I wrote this primarily for myself so a there are a lot of bugs. You are free to modify it and make it better. Just let me know if you have any questions and need help or improvement here!
Thanks button is just a click away if I helped you!
Update the attached file to resolve some bugs and improve responseness
Technical stuff -- What is done here?
=================================
It's a bit technical here .... No need to read if you don't care how it works!
Since TS turns off the accelerator whenever screen off, so it's not possible to activate the screen once it's off by external conditions. (You can still set a timer to wake the screen, but it's meaningless)
Thus we need to disable the power hungry backlight while keep the screen on!
I found out that it's possible to control the backlight by doing
Code:
echo 0 > /sys/class/leds/lcd-backlight/brightness
Thus, I set up a Task profile which fires whenever Watchface is activated and TS is face up, to activate the backlight then turn off the backlight again after 8 seconds, but KEEP the TS screen wake! (Only backlight is turned off to save battery!)
Code:
echo 1 > /sys/class/leds/lcd-backlight/brightness
You can change "1" to anything from 1~255. I just found 1 bright enough for me
Since screen/system is always wake, to avoid accidental touch, a transparent Tasker Scene on top of the screen is add to disable the touch screen. A small "X" is on the bottom right to disable this transparent scene if anything goes wrong. (And it does, Tasker is laggy sometimes and too slow to remove this scene automatically!)
I also lower down the CPU cycle to the lowest possible to further saving battery. CPU returns to normal frequency when leaving watch face (into launcher, etc...)
That's all! Folks!
Reserved
Shake
I was able to use application Shake from ADL Dev (com.adl.appshaker) to switch screen on with shake/twist of wrist. You just have to enable "activate when screen off" option - and it is little battery hungry.
Of course I have version 20140513.
I also strongly suspect, that you can force sensors to work when face is off, by switching into "Sports mode" (Run Settings->SMART MODE->Sports Mode)
Piw said:
I was able to use application Shake from ADL Dev (com.adl.appshaker) to switch screen on with shake/twist of wrist. You just have to enable "activate when screen off" option - and it is little battery hungry.
Of course I have version 20140513.
I also strongly suspect, that you can force sensors to work when face is off, by switching into "Sports mode" (Run Settings->SMART MODE->Sports Mode)
Click to expand...
Click to collapse
Thanks for the advice.... I just think since I already have Tasker on my TS, I want to find a way to not to use additional SW which always runs in background to monitor things... Since its battery hungry, maybe Shake also use the same trick as me......
As for Smart mode settings, I tried bdefore but none of them work for flick wrist to wake up... Maybe I missed something?
Sent from my HTC_One_max using XDA Premium HD app
might give this a shot since shake was waking up watch at wrong times and was destroying battery life, and i already have tasker on the watch and running so hopefully that will avoid the battery loss that shake had.
lssong99 said:
As for Smart mode settings, I tried bdefore but none of them work for flick wrist to wake up... Maybe I missed something?
Click to expand...
Click to collapse
I was just guessing, because it suppose to leave GPS and accelerometer working with screen off, to enable sport trackers and pedometers.
If it works? - I haven't tested yet...
Piw said:
I was just guessing, because it suppose to leave GPS and accelerometer working with screen off, to enable sport trackers and pedometers.
If it works? - I haven't tested yet...
Click to expand...
Click to collapse
Wow! It seems you are right! The watch DOES allow sensor to work on Sport mode after screen off, but the response from Tasker become very sluggish when screen-off!
I made a simple profile to detect shake action (if shake than beep), and when screen on, the watch beep in less than one second after shake began, but when screen-off (sport mode), It took Takers 5~6 seconds of continuous shaking to detect the shake event. Not very practical for a watch solution...
With my Backlight solution, although sometimes still hiccup happens, but my feeling is about 90% of time the watchface wakeup correctly...
tasker problems
lssong99 said:
Wow! It seems you are right! The watch DOES allow sensor to work on Sport mode after screen off, but the response from Tasker become very sluggish when screen-off!
I made a simple profile to detect shake action (if shake than beep), and when screen on, the watch beep in less than one second after shake began, but when screen-off (sport mode), It took Takers 5~6 seconds of continuous shaking to detect the shake event. Not very practical for a watch solution...
With my Backlight solution, although sometimes still hiccup happens, but my feeling is about 90% of time the watchface wakeup correctly...
Click to expand...
Click to collapse
i can not import to tasker tasker do not see it
pashka79 said:
i can not import to tasker tasker do not see it
Click to expand...
Click to collapse
Do you mean the Tasker cannot see the prj file?
For how to import project, you could check http://tasker.dinglisch.net/userguide/en/faqs/faq-how.html#q
and you need to put the unrared file (.xml) in /sdcard/tasker/projects for Tasker to see it...
How much does this cost in battery? If I don't use my watch I can get about 4 days out of it.... I know Shake stops the TS going into deep sleep, won't this do the same and annihilate battery??
death_entry said:
How much does this cost in battery? If I don't use my watch I can get about 4 days out of it.... I know Shake stops the TS going into deep sleep, won't this do the same and annihilate battery??
Click to expand...
Click to collapse
Don't know for tasker but I'm using shake app from market and I even I thought it'll drain my battery very fast - it didn't...
It's almost like I don't have it...
My battery can't hold on more then 24hours but I really use my watch and it's constantly connected to wifi and BT.
Sent from my C6903 using Tapatalk
funky0308 said:
Don't know for tasker but I'm using shake app from market and I even I thought it'll drain my battery very fast - it didn't...
It's almost like I don't have it...
My battery can't hold on more then 24hours but I really use my watch and it's constantly connected to wifi and BT.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Ah that's prolly why you don't notice it running down... what do you use your watch for? Tbh i haven't used it for more than a watch lol/...
death_entry said:
Ah that's prolly why you don't notice it running down... what do you use your watch for? Tbh i haven't used it for more than a watch lol/...
Click to expand...
Click to collapse
Well as I have Z1, which is quite big, I'm using TS mainly to receive notifications (using swapplink).
I'm receiving many emails (I'm using Z1 as my business phone) so it's great that I can see on my TS subject of email and decide what will I do.
I have sim card in TS and I use it all the time, when I'm alone in a car (and that's 6 hours per day )
I found TS quite practical for companion
BTW...from today, I'm using this app to help me save my battery power on TS and Z1
http://forum.xda-developers.com/showthread.php?p=53078670
Sent from my C6903 using Tapatalk
lssong99 said:
Do you mean the Tasker cannot see the prj file?
For how to import project, you could check http://tasker.dinglisch.net/userguide/en/faqs/faq-how.html#q
and you need to put the unrared file (.xml) in /sdcard/tasker/projects for Tasker to see it...
Click to expand...
Click to collapse
I tried this and Tasker can't see the xml on my TS
Here's a workaround for those having issues seeing the xml file in Tasker
Using a file manager, navigate to the location of the xml file
"Open with.." and choose Tasker
You will then see a toast notificaiton saying "...can be opened in Tasker" (or something like that)
Open Tasker -> Preferences -> UI -> Untick "Beginner Mode"
Back to main Tasker screen
In the HOME icon (bottom left) -> Long press, and choose "Import", then look for the XML file, wherever you put it
Boom
Note: Make sure you have the correct app from the Play Store, and not from the Ostore (same app, different names)
death_entry said:
How much does this cost in battery? If I don't use my watch I can get about 4 days out of it.... I know Shake stops the TS going into deep sleep, won't this do the same and annihilate battery??
Click to expand...
Click to collapse
I am afraid that this will have an impact your battery. Basically to make TS responsive (light up as soon as you raise your hand), the screen/CPU is kept wake. Only LED backlight is disabled.
Although in my implement I put the CPU is slowest frequency and sleep Governor, but battery is around one day usage without radio on....
We need kernel tweak of this to achieve good battery life... Tasker is only... Tasker...
jeremy.chan said:
Here's a workaround for those having issues seeing the xml file in Tasker
Using a file manager, navigate to the location of the xml file
"Open with.." and choose Tasker
You will then see a toast notificaiton saying "...can be opened in Tasker" (or something like that)
Open Tasker -> Preferences -> UI -> Untick "Beginner Mode"
Back to main Tasker screen
In the HOME icon (bottom left) -> Long press, and choose "Import", then look for the XML file, wherever you put it
Boom
Note: Make sure you have the correct app from the Play Store, and not from the Ostore (same app, different names)
Click to expand...
Click to collapse
Thanks I see it now.
put the unzip file at that location and still Tasker cannot see it?
Hi do read the solution I provided
Tapa-ed from the Sony Z Ultra

waking up after sleep.

Hi all, apologies if this has been answered else where.
Currently running a Lenovo S20-30 Win 10 dual boot with the latest Beta release. Surprisingly really enjoying it. The only real issue I am having is it waking after it goes to sleep. Mouse and cursor frozen and wont fully wake unless a reboot.
Is anyone else having similar issues and have a possible solution?
Thanks and appreciate the help.
Sent from my 20421 using Tapatalk
Yes and no solution as off now..
Sent from my SM-N920T using Tapatalk
My lenovo T500 reboots when it goes to sleep under Remix. My current "fix" is running a "stay alive" app I purchased for $2 (the free ones had too many ads or not enough functionality) that will dim the screen but not let it sleep if it has wall power or a good charge. I am also surprised how much I am enjoying it; the T500 is a screaming machine with Remix. It was barely adequate for web and RDP under Windows. I am getting incredibly good performance in Netflix, TWC TV app, Chrome, Dolphin and Microsoft RDP under Remix.
arbarnhart said:
My lenovo T500 reboots when it goes to sleep under Remix. My current "fix" is running a "stay alive" app I purchased for $2 (the free ones had too many ads or not enough functionality) that will dim the screen but not let it sleep if it has wall power or a good charge. I am also surprised how much I am enjoying it; the T500 is a screaming machine with Remix. It was barely adequate for web and RDP under Windows. I am getting incredibly good performance in Netflix, TWC TV app, Chrome, Dolphin and Microsoft RDP under Remix.
Click to expand...
Click to collapse
Can you share link to app?..
egren58 said:
Can you share link to app?..
Click to expand...
Click to collapse
To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!
so...
details?id=com.synetics.stay.alive
you have to figure out the rest.
I made sure it worked at least somewhat before contributing to get the additional features. I am really hopeful that a later beta or some other app will give me more control. My notebook has a screen off mode that is better than just dimming but isn't sleep. I wish I could get it to use that. The dimming that the Stay Alive app does was enough that the screen would not keep me up at night but there is enough of a glow to know it is on. But it makes Remix more usable now.
I had this issue too. I noticed if you tap the power button once, the screen comes back on but the mouse won't still work sometimes. If you just tap the power button a 2nd time after the screens on, it would start working again. But I did have trouble w/ wifi coming back on after sleep. I had to toggle it off/on. Let me know if the double tap of the power button fixes it for you too?
BTW, I just added another little app - LockScreen (a free one). That way I can easily lock the screen if I walk away for a few minutes, have it dim but not sleep and reboot.
Tapping the power button again works for me to.
Tap, double tap not working here. Shame. Hopefully a fix soon.
Sent from my 20421 using Tapatalk
Another update on my sleep issue and workaround...
I don't know how things changed; I may have tripped a setting or something but using the LockScreen app was putting it to sleep and triggering the reboot instead of giving the Stay Alive app a chance to catch it, so I quit using the LockScreen and just let it time out and then the Stay Alive app would dim the screen and keep it from timing out. So no reboot, but unfortunately no lock screen; I wanted it to lock. Poked around some more and found an app listed as Hidden Settings for Galaxy but it isn't really Galaxy specific. One of the the things it does is let you set up and enable Daydream mode. It turns out Daydream doesn't work properly on Remix, but it fails in a good way. If you select the clock (or anything else, but stay away from full screen stuff as sometimes that will stay in the way for several seconds) and set it for both docked and charging, then when the screen timeout is reached the clock will show for a couple of seconds and then it will go to the lock screen (assuming you enabled, I guess), not go to sleep and Stay Alive dims the screen. Clunky and convoluted, but it ends up doing exactly what I wanted.
ETA - One other little nit - After it dims on the lock screen, focus is set to the text box and you just have to start typing the password to get the screen to brighten and unlock. Clicking does not cause the screen to brighten, which worried me at first (thought it was hung).
arbarnhart said:
My lenovo T500 reboots when it goes to sleep under Remix. My current "fix" is running a "stay alive" app I purchased for $2 (the free ones had too many ads or not enough functionality) that will dim the screen but not let it sleep if it has wall power or a good charge. I am also surprised how much I am enjoying it; the T500 is a screaming machine with Remix. It was barely adequate for web and RDP under Windows. I am getting incredibly good performance in Netflix, TWC TV app, Chrome, Dolphin and Microsoft RDP under Remix.
Click to expand...
Click to collapse
Thanks, Stay Alive works. Be interesting to see what it does to battery life. Hopefully a fix will come.
Sent from my 20421 using Tapatalk
Scooterss said:
Thanks, Stay Alive works. Be interesting to see what it does to battery life. Hopefully a fix will come.
Click to expand...
Click to collapse
Just be careful poking around at settings; I did something to make mine have issues with being locked after I had it working. More tweaks got it okay(ish) again. This is not a good solution for battery use; I don't think there really is one if standby doesn't work. Android/Remix doesn't seem to offer levels of powering off. What I would like to do is power off the screen, spin down the disk but leave the processor and wifi powered.
arbarnhart said:
Just be careful poking around at settings; I did something to make mine have issues with being locked after I had it working. More tweaks got it okay(ish) again. This is not a good solution for battery use; I don't think there really is one if standby doesn't work. Android/Remix doesn't seem to offer levels of powering off. What I would like to do is power off the screen, spin down the disk but leave the processor and wifi powered.
Click to expand...
Click to collapse
Yep going back to sleep again and not waking up properly with SA. Think will give up until a fix.
Sent from my SM-N9005 using Tapatalk
Mine is only doing that now on battery and it is usually on wall power. As I use it on battery so rarely, the simple answer is to just set the screen timeout higher when I do. On an older notebook like mine, a battery gives you freedom to move around the house/office with the machine running and maybe run without plugging in for two or three hours. It's my semi-lightweight UPS.
Anyway, I am not giving up. This is the only thing not working perfectly for me. My camera, mic, bluetooth, mouse and wifi all work fine. I stream videos in Youtube, Netflix, TWC TV, Amazon, FB and browsers with good sound and picture; no lag. I connect to work with Microsoft RDP and have less lag than using RDP in Windows. Yesterday I booted over to Windows to increase the size of my data.img (and had no trouble with that) and that definitely hardened my resolve. It is hard to believe I was putting up with that kind of speed just a few days ago. Now that I know I don't have to it seems worse.
After more research, I am back again with what I think is the final answer. I should and likely will write an app to undo this if my battery gets really low, but all you have to do if you never want your machine to go into sleep mode is press Alt-F1 to get the console and then do something like this:
# echo nosleeptilbrooklyn >/sys/power/wake_lock
And then Alt-F7 to get back. I did that as a test, unplugged from the charger and let it sit about 10 minutes with display timeout at 5 minutes. 5 minutes in the screen went dark. That used to be followed by a reboot about 5 seconds later. It did not reboot. When I woke it, it did initially show the main screen and then blanked it and brought up the password screen. For some reason I had to click before I could type (usually don't have to). Anyway, the above "fix" worked. To undo it, I need to just do this:
# echo nosleeptilbrooklyn >/sys/power/wake_unlock
There is a programmatic interface to do pretty much the same thing but with more options and I am thinking I may write something to use that to set the lock and then check the battery on a timer and unlock if it falls below 20% or some other setting.
EDIT TO ADD - A little more poking around yielded info that pretty much all manufacturers have had battery protection for several years now and will not let the battery run down into the kill zone even if the OS is frozen or even if it actively tries to stay alive. I would still advice checking your BIOS and/or doing some research on your particular system but it is likely safe to just leave it locked if you only want it shut down, hibernate or go into standby when you specifically choose that interactively.
Wake up from sleep using alarm manager is not working in Remix OS
Dear All,
I am working on project where I am able to put PC on sleep using alarm manager with wake lock but it is not waking up.
In remix OS 3.0.206 on intel machine.
Seek some ones support.
just close the lid of laptop if u r using lappy when u r not using lappy it will get locked never goes hangs

Categories

Resources