Tool to keep display OFF! - Windows Mobile Development and Hacking General

My phone is always waking up for odd reasons (AVRCP commands, switching in and out of roaming, etc...), and I can't seem to get the darned thing to stay OFF.
Music A2DP streaming is the biggest deal to me, because not only will the device wake up when I press a remote command (on my AVRCP headset), it will also keep the device backlight on indefinitely. This is clearly shortening my battery.
I tried Slide2Unlock, and have it set to shut off the display if no activity for 5 sec., but the problem is that Slide2Unlock appears to not notice when it is woken up, and just sits there without turning the screen back off again! (a simple screen press brings Slide2U back to life, and then it will toggle the screen... but this defeats the purpose!)
There must be SOMETHING I'm missing here... doesn't anyone else have this problem???

I have 2 things for you. The first, is if you're using WM6 that's a known issue and unchecking the today timeout in start-->settings-->today-->items tab should solve most of your problems. The second is a little program that I found (not sure where at , but it might have been on here) called screen off. Install it and then set it to a hardware button and it will allow you to turn just your screen off whenever you don't need it on.

Maybe it depends on the player you're using? With Coreplayer, my phone's screen just flashes on and off quickly when it receives an AVRCP command.
Still doesn't explain the roaming thing though.

xeno1 said:
I have 2 things for you. The first, is if you're using WM6 that's a known issue and unchecking the today timeout in start-->settings-->today-->items tab should solve most of your problems. The second is a little program that I found (not sure where at , but it might have been on here) called screen off. Install it and then set it to a hardware button and it will allow you to turn just your screen off whenever you don't need it on.
Click to expand...
Click to collapse
Yes, I'm using WM6 on a HTC Titan (Sprint Mogul).
I don't currently timeout to the today screen, but I don't see how that would cause my problem really- I've heard people mention that before, so can anyone explain what difference that would make?
I already have a shortcut to screen toggle (wrote my own MortScript to do it). That's not a problem anyway since every media player can assign a button to toggle the screen- The problem is that it keeps turning the screen back on when a button is pressed no matter how many times I toggle!!
Plastriq, I've heard that coreplayer does that... that's how they deal with this problem. They're the only ones that have addressed it as far as I know, and I'm not about to pay for their app when I already have TCPMP and WMP for free.
I just can't believe that there haven't been more practical ways around this yet!

Related

Power management problems/disillusions

I have my P3600 since Saturday and I updated it with the latest ROM which included the GPS.
Now I’m having problems with the power settings and functionality. I search all the threads for solutions but no similar problems are described so I post a new thread.
Problem 1:
The power settings are: backlight off after 30 sec. power off after 1 min. (on battery power). After 30 sec. the backlight dims to the lowest setting but the device does not switch off after 1 min (or any time for that matter). This is a huge drain on the battery! I can switch off the device with the power button but once it turns on again (e.g. while receiving an SMS or email) it stays on with the dimmed backlight.
Problem 2:
Using a Bluetooth headset and the media player the player pauses when switched of with the power button. This means just listening to music for around an hour and the battery is completely flat. My previous device was a S200 and that worked fine (could be switched off with the power button).
My guess is that both problems may have simple solutions so I’m asking you all to help me with this.
Thanks in advance,
Stefan
niobium said:
I have my P3600 since Saturday and I updated it with the latest ROM which included the GPS.
Now I’m having problems with the power settings and functionality. I search all the threads for solutions but no similar problems are described so I post a new thread.
Problem 2:
Using a Bluetooth headset and the media player the player pauses when switched of with the power button. This means just listening to music for around an hour and the battery is completely flat. My previous device was a S200 and that worked fine (could be switched off with the power button).
Click to expand...
Click to collapse
Well for problem 2 you haven't searched enough! Anyway you should not use the power button; go to the Windows Media player settings and map the "Toggle screen" function to a hardware button. Then toggle the screen off when you play music.
Regarding your other problem: what software have you installed? Have you got this problem on a freshly upgraded phone?
The solution you propose for problem 2 probably works for other devices but not for the Trinity. You can only assign buttons up, down, left, right and enter and they are needed within the player for obvious functions.
Problem 1 after fresh ROM update but right after that I installed TomTom 6.
I might try a new ROM update and check but rather as last resort...
niobium said:
The solution you propose for problem 2 probably works for other devices but not for the Trinity. You can only assign buttons up, down, left, right and enter and they are needed within the player for obvious functions.
Click to expand...
Click to collapse
It works for the Trinity too. You can also assign other functions to buttons if you keep them pressed. Toggle screen is assigned to "Hold Down" in my case. So if I press down once I decrease the volume, if I keep pressed I toggle the screen.
As to your first problem; i'm having the same problem too...
To narrow it down a bit; my device turns off (to standby) just like it should when i just briefly check the time or something and then put it away with the todayscreen on (so with no aplications running except some today-plugins ofcourse). However; it DOESN'T go back to sleep when the system has given any sort of notification, like a missed call or a received text-message or reminder for a calendar-item.
So my best guess is that it has something to do with the databases notification que (where WM2003/CE 4 had the problem of overflowing this notification que).
It's really anonying the hell out of me too, cause it really drains the battery fast if you don't discover it soon enough...
As for problem 2; map the screen-toggle to pressing the silver 'enter'button.....that workd great for me. By the way; i'm tinking about getting the new wired media remote control HTC is releasing shortly (check this link). I wonder if these buttons will be mappable.....
Edit: just as i posted this, i received a text message and this time it nicely turned back to standby (ie turned of) state when i didn't check it right away. I did however soft-reset last night before going to sleep. So i really do think it must be in the notification que somewhere, as PocketPlus will still clear that everytime i soft reset. Anyone having the same problem exactly as described ?
Well I found my phone again on after I received an SMS and this made me decide to completely reinstall the original ROM (including the GPS).
Step by step I installed all the applications (and tested the device in between: I started some programs and got some notification).
So far the result is that it all works fine now.
The difference might be the different ROM (from smartmobility.nl in stead of europe.htc.com although the version is exactly the same).
For problem 2: I unmapped the button 1 (was speed dial and moved that one to press&hold). In media player I mapped the button to ‘toggle screen’. I still like the S200 for this better because it only kept the media player & Bluetooth alive so that’s the best for preserving the battery…
niobium said:
For problem 2: I unmapped the button 1 (was speed dial and moved that one to press&hold). In media player I mapped the button to ‘toggle screen’. I still like the S200 for this better because it only kept the media player & Bluetooth alive so that’s the best for preserving the battery…
Click to expand...
Click to collapse
Hmmmm....i do the screen-toggle everytime i use it as a musicplayer, and i get considerable good batterylife....
However, i'm not using the BT headset anymore cause the volume was too dim...i'm using the 3,5mm adapterplug now. But batterylife with bluetooth was about the same when i used it.
After all the work yesterday, this morning the problem with not going to standby occured again!
But now I know more. It happened only after I added some sites to my RSS feedreader.
I use pRSSreader from David Andrs (http://pda.jasnapaka.com/prssr/)
Using the 'update settings' with 'automatically connect' the program tries to create a notification on the today screen if new messages arive.
This notification process is the problem. If I switch it of and soft-reset, the device works fine again.
I will mention this problem to David Andrs...
I hope this will help you as well.

All programs close when screen goes black

Hi all.
I have this annoying problem with my Blackstone.
When the screen turns off everything closes down. It's really annoying if i'm using messenger or something and not look on it for 2 min it closes messenger down.
I know i can choose in battery setting not to turn off the unit if it's not used for a while, but i still like that the screen is turned off, but still working.
Can this be done??
Dipper60 said:
Hi all.
I have this annoying problem with my Blackstone.
When the screen turns off everything closes down. It's really annoying if i'm using messenger or something and not look on it for 2 min it closes messenger down.
I know i can choose in battery setting not to turn off the unit if it's not used for a while, but i still like that the screen is turned off, but still working.
Can this be done??
Click to expand...
Click to collapse
Yes it can.
Go to Start/Settings/System/Power/Advanced and you can select the screen or backlight to turn off if device is not used for x mins on either battery or external power
Fallen Spartan said:
Yes it can.
Go to Start/Settings/System/Power/Advanced and you can select the screen or backlight to turn off if device is not used for x mins on either battery or external power
Click to expand...
Click to collapse
Yeah i know, but it only turn the lights down, not turn the screen off. It's only if i choose to turn off the device the screen turns off.
I use gyrator to set up an event that turns the screen off without turning the device off when the stylus is inserted (you can modify the default gyrator behaviour which is to lock the screen when the stylus is inserted). If you want to be fancy you could set it up to turn the screen off if the phone is turned face down, you don't really need the screen on then anyway unless you're in the habit of looking at your phone above your face while lying on your back, or trying to use it while doing acrobatics in an stunt plane.
shuflie said:
I use gyrator to set up an event that turns the screen off without turning the device off when the stylus is inserted (you can modify the default gyrator behaviour which is to lock the screen when the stylus is inserted). If you want to be fancy you could set it up to turn the screen off if the phone is turned face down, you don't really need the screen on then anyway unless you're in the habit of looking at your phone above your face while lying on your back, or trying to use it while doing acrobatics in an stunt plane.
Click to expand...
Click to collapse
Well i can't get it to work :-/
What i'm looking for is also a thing so the device isn't turned off when i push the turn on/turn off button on the top. I want to use this button to turn off the screen and not close down the programs.
This is what i'm looking for and i hope someone can help me
Dipper60 said:
Well i can't get it to work :-/
What i'm looking for is also a thing so the device isn't turned off when i push the turn on/turn off button on the top. I want to use this button to turn off the screen and not close down the programs.
This is what i'm looking for and i hope someone can help me
Click to expand...
Click to collapse
Just tried the screen off when phone is face down and it doesn't seem to be working for me either for some reason. But the stylus in event is working fine, just pop the stylus out and put it back in again and the screen goes completely off without killing the processes in the background (can still explore phone with active sync). I wouldn't want to mess with the power button as that is really useful to provide a proper device suspend when I want it.
I have a similar problem but with the GPS.
I have raised the question here, on some other forums and directly to HTC.
From HTC I got the answer that it is done by design to minimize battery drain and that they would have many angry costumers complaining about low battery life.
The only solution I know of so far is to use a 3rd party app.
I use "screenoff" and everytime I use the GPS I go to advanced-power and uncheck all the boxes.
When I'm done using the GPS I check the boxes again, otherwise I'll have to remember to turn the screen off manually everytime in "normal" usage of the phone.
I think it's sad though on such an expensive device not to have the option to run programs and hardware in sleep mode.
I'd rather find a solution where I can push the power button as usual and where I can have the boxes in advanced-power checked all the time.
I managed to get gyrator to turn the screen off by flipping face down, just needed to put the screen off command before all the rotation disable commands. Now if I want to disable the screen I just have to flip it face down for a second or so.
Thx for all your help.
But i found out that it's not only when the screen turns off everything closes. If i just leave it on home screen for like 2 min. everything also closes down.
I've heard from another forum that it's something HTC has decided to do to keep on the battery....
I don't know if there is anything to do here then??
Go to the start button, select settings, select system , scroll down and select power then the advanced tab and UNTICK Turn off device if not used for 2mins for both external and battery power.
shuflie said:
Go to the start button, select settings, select system , scroll down and select power then the advanced tab and UNTICK Turn off device if not used for 2mins for both external and battery power.
Click to expand...
Click to collapse
Done that... Still closes everything after around 2. min....
Strange, doesn't do that on mine.
shuflie said:
Strange, doesn't do that on mine.
Click to expand...
Click to collapse
I had a similar problem and only thing which resolved it was a hard reset!
I'm just testing it again to make sure. Have a track playing in the HTC music app and I'm signed in to messenger. Screen is off and I'm waiting for 3 mins to make sure.
Fallen Spartan said:
I had a similar problem and only thing which resolved it was a hard reset!
Click to expand...
Click to collapse
That was going to be my next suggestion, really doesn't sound like normal operation to me. So hardreset and install one app at a time until you find out what is messing things up for you. 3 mins are up and track is still playing and I'm still signed in to messenger.
Thanks to a guy called Dawsonas I just found a program called Pocketshield.
It has an application permission feature:
"When this app is running override power off: just do screen off" (use this option for music players, GPS apps, loggers, IM, or any app that needs the device to stay awake). This setting will take effect either when "Power off on lock" or "Power off after 20 seconds" options are enabled.
Check it out
http://pocketshield.netserver01.com/
Magster said:
Thanks to a guy called Dawsonas I just found a program called Pocketshield.
It has an application permission feature:
"When this app is running override power off: just do screen off" (use this option for music players, GPS apps, loggers, IM, or any app that needs the device to stay awake). This setting will take effect either when "Power off on lock" or "Power off after 20 seconds" options are enabled.
Check it out
http://pocketshield.netserver01.com/
Click to expand...
Click to collapse
I will try that
But do you guys think it could be some settings in the ROM? Should i try another one or what do i do when you say it isn't normal for the phone?

Screen Not Dimming With Auto Shut Off Disabled?

Please bear with me as this may be a dumb newbie question. I searched every post on the Imagio section here and at PPC and was unable to find an answer.
Got the Imagio for my wife and she's loving it (we had Storms previously- bad, bad mojo). She uses Groovefish to stream music and the stock dimmer setting will shut down the player after the time limit is reached. No problem, right? Changed the setting to stop this (never auto shut down on battery power).
Now, the screen will dim somewhat when left idle, but never shuts down all the way. It's dim but still active. She's been having to change the setting every time in order to not kill the battery.
Should the screen power down all the way while leaving the device active (like hitting the "shut off screen option" after holding the end button)? If not, is there a way to do this?
Thanks for any insight you may be able to provide. I've done nothing but Blackberries for years and this is my first real foray into WinMo.
Try to check the power settings. Go to the Settings Tab and push All settings at the bottom. From there go to System > Power > then click the Advanced tab. That should have settings to turn off the screen after 1 min or 30 seconds.
Thanks for the quick reply. I probably should have been a bit more clear.
It is in that menu that I have been manipulating the settings. There are two options for battery power. There is one to "turn off backlight" after x amount of time, the other is to "turn off device". With backlight set to 30 (or whatever) and device disabled, the screen never completely goes off.
It functions properly with "turn device off" enabled, but interrupts Groovefish when playing. This does not interfere with the native TF3D media player. While its not the end of the world if she ends up having to change that setting to use the program, it would be nice to be able to disable the screen with a partial shutdown (and extra battery drain when using that application).
Cheers!
Thats interesting, seems like its the program thats doing that. I have Opera, FM radio, email client, etc. running all day without it crashing. I have seen this before with Internet Explorer where i would leave it running connected to a website. then when i check back IE is gone and i have to start it again. By any chances is this a website or an installable app that you are using?
Groovefish is a streaming music client that is installed on the device
BTW, it is incredibly cool if you don't have it yet. Stream just about any song you want for free (legally).
http://forum.ppcgeeks.com/showthread.php?t=88505
I use g-trigger to shake my phone to turn off the display works great! Just disable the shake to turn it back on.
I'll give it a shot and see if the application stays running. Many thanks!
Actually I think backlight off is happening when it "dims". You need the screen to go off, not just the backlight. Try using xdaShutdown to go into Lightsout mode and see if that works for you. The program can be found here:
http://forum.xda-developers.com/showthread.php?t=544016
Skins in the same thread as well.

Screen Lock issue with HD2

After i hang up on a call (when the phone is in sleep mode and the screen is locked) the screen unlocks. this is quite contrary to what is mentioned in the phone manual chapter 1 page 45. this becomes an issue since i use a bluetooth headset and the phone remains in its sleeve/case and after every call, a whole bunch of applications will launch since the case is in contact with the screen. have i overlooked some settings or are there other owners who have faced this issue?
ideas and suggestions welcomed
did you check it out if any of the hardware buttons being pressed against the case hence wakening up the phone.?
i had it to only closed al my apps in taskm and it stoped flickering
My HD2 is also behaving in the same way even in controlled test conditions - the phone unlocks when a call comes in (I'm presented with slide to accept or reject call) The phone unlocks during the call, but fails to lock again on disconnect (either by pressing "end call" or hang up via bluetooth).
Can anyone verify this? Is it interacting with something I installed?
I believe I found a (complicated) workaround.
What I want: leave HD2 inside pocket, answer calls with bluetooth headset, hang up and phone will go back to lock.
Problem: After I hang up using bluetooth or press the big red "End Call" button or the other party hangs up, the phone stays unlocked! It stays powered on and all kinds of buttons gets clicked.
Practically all lock sw uses their own lock screen (which I don't want to install). CSDevCtrl does not trigger by phone. TouchLockPro uses its own transparent lock screen but can respond to phone events. Using the !SUSPEND for TAPI\Ended under settings does not seem to work when the screen dims about 50 secs into the call.
Solution: Use TouchLockPro together with LockAndOff. Get TAPI\Ended to run LockAndOff will turn phone off, whether by bluetooth, big red "End Call" button, or the other party hangs up.
BTW: I think there is some confusion on whether the phone locks when you
1. press the big red "End Call" button, or
2. the hard "End call" button
in the forums.
I noticed that HD2 have a light sensor next to the top ear speaker.
During a call, if the phone is put near the ear and cover the light sensor , the screen become non-active which is good.
If anyone can come up with a lock sceen using this light sensor , then the problem with random launch of program when phone inside pocket will be solved.
This lock screen should only activated right after an end of call, beacuse , sometime you may want to use the phone in a dark place.
linivan said:
I noticed that HD2 have a light sensor next to the top ear speaker.
During a call, if the phone is put near the ear and cover the light sensor , the screen become non-active which is good.
If anyone can come up with a lock sceen using this light sensor , then the problem with random launch of program when phone inside pocket will be solved.
This lock screen should only activated right after an end of call, beacuse , sometime you may want to use the phone in a dark place.
Click to expand...
Click to collapse
It's the proximity sensor that turns the screen on and off during a call, not the light sensor. How else would it work in the dark? (which it does)
johncmolyneux said:
It's the proximity sensor that turns the screen on and off during a call, not the light sensor. How else would it work in the dark? (which it does)
Click to expand...
Click to collapse
My proximity sensor does not work, when I am getting a call my screen turn off and when I am taking the phone out from my face it turn on only when I am out side at the sun!! the screen stay off when I am inside room. I tested it with flsh light and it is working also.
I have a T-Mobile US version of the HD2. I am having the same problem when using the bluetooth system in my car. After answering or making a call the phone stay unlocked. And then starts making random calls while I am driving!!!!
There has got to be an easy fix for this!!!
Buy pocketshield, problem solved.
i have this unlock problem with 1.48 rom and i solve it by pressing start button and lock. after that everything works fine unless i change theme in settings. then just repeat first step.
Solved
Same trouble with me until I use the following software. I tried it and it's almost perfect. unzip it and just copy to your HD2, run CallerLoc.exe and click Yes, you'll find:when you hang up, or he/she hang up a call, or a call is established, the screen will turn off.
Why say 'almost perfect', the software is in chinese, but the filename is in english. and it's a call location software but with the function we need.
To stop or before you delete the software, run Callerloc.exe and click Yes again.
Hope this will help you. Sorry I don't find a English version of this software. I esure and I'm using this software perfectlly with my Leo.
theciscokid said:
Buy pocketshield, problem solved.
Click to expand...
Click to collapse
Same for me
Greetings.
I understand this is quite an old thread I'm digging up but I need a little help as well and I didn't want to start a new topic just for that.
I've this silly problem, appeared right out of the blue:
You all know the standard manila behavior, when the phone is idle, the screen first dims and after some more time, depending on your preferences, the screen locks. It also locks if you press the power off button. This all was happening to me till this morning.
I added an event in the calendar (the only change I made today) and after that, my phone dims and then goes in sleep mode after the designated period of time, but DOESN'T lock!!! It doesn't even lock when I press the power off button. I can still lock it by pressing Start and then lock or by press and hold the power button and choose the lock phone option. So one would say that it's still operational, so why bother about it, but I kinda liked the standard function and I have to freaking idea why it changed!!!
I'd be most appreciative if you could offer some help with that.
Oh, I forgot to mention. Soft reset didn't solve the problem. Erasing the calendar event didn't either.
My phone runs the factory ROM (1.66.482.1 ELL), I haven't changed anything other than user settings (yeah, I'm a noob... )
Thanks in advance!
Nasos
Pocketshield could be the end of your problems. You can try it for 10 days and see how it goes...
But why do I need to buy third party software in order to revert my phone to it's original operation?
No, this is not the answer I am looking for. I was wondering if you know of any kind of settings that might have changed by accident and caused this undesired behavior.
Thanks.
The best to return to normal operation would be a hard reset. Or you can spend a while trying.
You can try
HKLM\Software\Microsoft\Shell\Lockscreen\Enable=1
HKLM\Software\Microsoft\Shell\Lockscreen\Active=1
Thank you very much. I opted for the hard reset option... I hope it stays ok this time!
My HD2 also had some strange unlocking and unwanted calling.
I noticed it appeared when using the android style lockscreen.
When I changed back to the original one, problem solved
i had this too. the andriod lockscreen seems to be a bit buggy last time i used it, i accidentially called 7 random numbers

Need major help with screen

I recently got a replacement Vogue only to find that for some reason, when I run Windows Media Player, I cannot turn off the screen using the power button and continue to hear music. The screen has to be on and does not turn itself off which causes major battery drainage . Does anyone have an idea?
My suggestion would be use Nitrogen, much better media player than WMP.
What you can do is change the toggle settings with a button, so the screen itself turns off with whatever button you wanted to map it with. Here's how to do it: Tools>Settings>Buttons then select Screen Toggle, then choose a button, and there ya go Now you will be able to turn the screen off while you rock on!
Alright, I decided to get both Nitrogen and attempt to fix the button settings. Nothing worked. It seems as though the phone recognizes the power button as a close application button rather than a simple sleep button. Putting the phone in sleep (pressing the power button) still turned the music off. Does anyone else have any suggestions? BTW im running WinMo 6.1. To add, I cannot recall this happening before I unlocked the phone, but I am still unsure of whether this still happened or not because I cannot remember.
EnterpriseNX01 said:
I recently got a replacement Vogue only to find that for some reason, when I run Windows Media Player, I cannot turn off the screen using the power button and continue to hear music. The screen has to be on and does not turn itself off which causes major battery drainage . Does anyone have an idea?
Click to expand...
Click to collapse
Here is a way: http://msdn.microsoft.com/en-us/library/ms838354.aspx
somewhere there is a cab for this.
here it is: http://forum.ppcgeeks.com/showpost.php?p=1564987&postcount=2
I installed the cab but still nothing. I also took a look at the MSDN post but I have no clue about writing C++ so... Anyone else want to give it a go?
EnterpriseNX01 what did you unlock your phone with?
Also, if I remember correctly before I switched to Android, my phone would not sleep while playing music? Or is you problem that your phone will not go to sleep at all?
I unlocked it with Cokeman's unlocker. I did get an error message that I am just remembering now, Not sure if it has anythign to do with it, but I am running windows 7 x64 and when I ran the unlocker i got an error message about something called sleep.exe. I had another post that someone told me just to ignore it and it would still unlock my phone, which it did. The phone sleeps, but does not play music while it is sleeping, or in idle (i.e. whenever i push the power button to turn the screen off).
codybear said:
Keep Music Playing:
All you do is install this,
and then when you have music playing in any program,
tap the power button to put in suspend mode,
and you're good to go.
Download Cab Installer
Registry location:
HKLM\System\CurrentControlSet\Control\Power\State\ Unattended\
Change Wav1 dword value to a "0"
Click to expand...
Click to collapse
I used this one, it works on WM6.5, I don't know if it does on earlier builds.

Categories

Resources