S2U2 V1.52 Lock and Screen Off Problem - Windows Mobile Development and Hacking General

I need some help with S2U2 V1.52 on HTC Touch HD (Standard Rom).
First some background: I use Conduits Pocket Player to listen to audio books, I have set Pocket Player to turn the screen off after a few seconds. With the screen off, I can continue to listen to my Audio and can control pause/rewind with the volume up and down buttons. After another length of time I have set pocket Player to stop playing thus letting my Touch HD and myself to go to sleep.
The Problem is this: When Pocket Player turns the screen off, S2U2 V1.52 locks my device. The audio still plays, but pause/rewind buttons are disabled
This was not the case with the previous version of S2U2 V1.42 where S2U2 would only kick in once Pocket Player had stopped playing and my device had gone to sleep.
Can anybody help me to achieve this with version 1.52?
P.S. I have added Pocket Player to the exception list in the registory but this will never lock the device while Pocket Player is running (Which it will be after it and the device has gone to sleep).
Thanks in Advance

Please post your issue in that thread.
Thread closed.

Related

Windows media turns off. 8525

When i use windows media on my 8525 with the headphones, and im playing music, i want to be able to press the side power button for the LCD to go black, but the music continue to play?
I dont like putting my phone in my pocket, w. the screen on and the music playing, with my treo i use to be able to do this... is this possible?
Thanks
correct me if im wrong anyone, but i dont believe that is possible, unlessa program is written to Screen Toggle, rather than Standby the Device
but i think SPB has a Screen Toggle in their PocketPlus?
i think i remember it from my hx4700 running PocketPlus
coz id listen to music and just toggle the screen off
It does, it is called Screen Toggle and it is in the Pocket Plus actions folder
This works for me. I'm listening to music right now and my 8525 is in standby in my pocket. I'm running vp3G's WM6 ROM. (I think this started working with WM6)

PocketShield prevents Pocket Player from turning off screen

I'm running into a usability issue with PocketShield on the Touch HD.
I use Pocket Player for audio book listening quite a bit. Pocket Player has an option to turn off the display after 60 seconds to conserve battery power, while still playing the audio. After I installed PocketShield, it was initially turning off my device every time Pocket Player turned off the screen. (So the audio was stopping too.) I then added Pocket Player to the "application permissions" in PocketShield, so that the device is not locked while Pocket Player is loaded. That prevented the turn-off problem.
But, now, PocketShield is effectively preventing Pocket Player from turning off the screen. Any time Pocket Player times out after 60 seconds and turns off the screen, the screen goes off for only a split second, only to come right back on again. (I know that this is like a power cycle for the device, because if I leave a menu in Pocket Player open--like I sometimes do with the seek menu, to be able to rewind quickly, if I have to, while listening--the menu is closed when the screen comes on again.) Of course, this now means that, as long as PocketShield is on, the screen is always on while using Pocket Player, which multiplies battery usage by a factor of five or more, naturally.
The only workaround that I can think of is to turn PocketShield off (or "disable" it) any time I'll use Pocket Player, and turn it back on after I'm done. This is hardly convenient, and it leaves the door open for forgetting to turn PocketShield back on and ending up with pocket dialing again and all sorts of unintended button use while in my pocket, which completely defeats the purpose of using PocketShield. I look through the settings in PocketShield and I can't see any that would hold any hope in helping me with this problem.,
Has anyone else experienced this? Does anyone know of a workaround? I doubt that Pocket Player would be the only media player with which this would happen.
For anyone interested in the details, my current PocketShield settings are as follows:
LOCKING OPTIONS:
Power off when lock: Disabled
If wakes up, power off in 20 secs: Disabled
Disable hardware keys: Enabled
When phone starts ringing: Keep keys disabled
Do not lock on external power: Enabled
UNLOCKING OPTIONS:
With light: Enabled
With finger slide: Enabled
With movement gestures: Disabled
Round center button: Disabled
On stylus out: Enabled
Produce vibration feedback: Disabled
Application permissions: Pocket Player
Hello,
Its something on how PocketPlayer internally performs the screen off operation, I think it’s a very particular (maybe not standard?) way to do it.
Some other applications that also perform “screen off” do not cause this effect on PocketShield, they all work “in peace” (you can confirm this by using for example HTorch or xdaShutdown or even the native “screen off” during call the HTC Phone has.
The only workaround I can suggest is to disable the “60 secs” timer on PocketPlayer and rely on the “20 secs power off” of PocketShield together with the Application Permissions you already have set. This way, if your device turns on by any event, PS will do screen off after 20 seconds if no unlock is done. And if you want to manually screen off just press the power button. None of the mentioned will stop the player.
Regards

screen off while music plays using headsets

I know this old and is a common problem but have searched Google, XDA-Developers, Xpansys and other forums without a working solution...
I have the TYTN II... when playing music either WMP or HTC Audio Manager the screen only dims. Side power button only dims and will NOT shut screen off from any application while music playing. The button works when music is not playing or headphones not plugged in. I even tried my bluetooth stereo headset and same problem while playing music.
I tried other apps like SPB PocketPlus (screen toggle), MortPlayer and PSshutXP with button assignments as well as a few other suggested "fixes" with no success. The results are the same. Even the power off buttons in these programs only dim my screen.
This used to work (side power button) but after installing some apps I noticed this problem. Unfortunately can't pinpoint exactly when it started. Not sure if they are the culprits. Apps that were installed...
walking hotspot
vsdraw
phonex
pocket mechanic
miriam webster
I also unistalled Phonex because I thought it was causing my phone to shutdown but later found out my battery is heading for the graveyard (almost 1.5yrs). I later reinstalled Phonex.
I did find a reg fix to keep music playing while off but without headset. Once a headset is plugged in or BT connected, then screen only dims.
wav1=0 in System\CurrentControlSet\...\Unattended key
UnattendedPlayback=1 in Software\Microsoft\Media Player\Preferences key
I have spent at least 12 solid hours over the past week looking for a fix with no working solution. I really don't want to resort to ROM flash since I may not be able to re-install some important apps. Anyways... anybody with a registry (or other) fix on this?
PLEEEEASE help!!! I travel intensively and listen to audio teachings while on the go.
TYTN II screen off solved!!!
Praise the Lord!!! found a solution that works! ...just can't remember the post anymore where I found this answer to give credit to the guy...
Well, just put this little screen saver .exe file on your device somewhere and then would be best to put a shortcut in the StartMenu. When you want to turn the screen off (i.e. during playback) then go to Start Menu and click the link. Works like a charm.
View attachment Scrsaver.zip
I use psShutXP to turn off my screen for problems like that. It does similar things, but also contains button to soft reset as well as turn off the screen.
coreplayer has the option built in and is a better player as well
you can assign "blank screen" to any hardware button
i assigned it to the space bar as i have one of my hardware buttons bring up the input panel
works with bluetooth and btaudiotoggle
if audio is the main goal...coreplayer should be your answer
i just use s2p (slide2play)
LOVE IT!!!!!
plus i use s2u (slide2unlock)
so when I start up my music.. hit the power button and music stays running but device turns off and locks... grab phone and hit power button you can control the player but not dial out or anything until you slide to unlock again....
screen only dims when playing music
The screensaver fix works but found out (in the dark) that the screen only goes black and not off. There is still a faint back light so some power is still being consumed. Has anyone found a registry fix?
All these other options listed in this post still only dim my screen while headphones plugged in. It works well when no headphones in use... There must be a registry key I can edit.

enable music playing with screen off

Hey guys, I can swear that when I first had my TMOUS HD2, I could play music on the sense music player, and could then press the end button to turn the screen off without the music stopping. For whatever reason now, whenever I press end to turn the screen off, however, the music also stops. I can't figure out if I changed a setting anywhere or not, but any ideas? Fyi, I installed TCPMP player and messed with a few of the "play music/video" in the background settings, but I don't think that's what's doing it.
I am not sure about sense player but most of the music players I tried have the turn screen off option. The only player which plays even if the screen is locked from outside the player is the "Pocket Player" (conduits.com). You can change that behavior though.
also if you hit the screen off button (one on the right/hang up button) then hit it again so the lock screen comes up this has made a difference for me... (allows the non windows media player player to keep playing)...
A solution to that will be welcomed. I want my LastFM client to keep on playing after the screen goes off. Currently it starts to stutter and then shuts up.
On the HTC HD, I used the "nueDynamicClock" application, which could maintain (for chosen applications) higher CPU clock while the HD went into suspend. This app does not work on HD2.
Please advice
Thanks
My sense player keeps playing as i hit the hang up button and screen turning off... Don't know if this helps, but here are my versions:
OS: 5.2.21869.5.0.82
Manila: 2.5.19211619.0
ROM: 1.66.409.1 (76641) NOR (Norwegian official updated ROM)
Radio: 2.06.51.07
Anyways, the sense player isn't what i want it to be, it is far too limited, so i use CorePlayer. CorePlayer also plays with the screen off, no problems.
Have you tried using S2U beta (from the people who made S2U2)?
I was having the exact issue, but S2U is a god send. You can control the skip, play/pause and volume buttons with the screen locked.
It's very good, especially if combined with S2U2 for text, email, mms and calendar previews while the phone is locked. Well worth checking out.
There are threads on xda-developers about both.
The funny thing is, I'm on a stock TMOUS rom, and I definitely recall that at least in the beginning, I was able to have the sense music player keep playing with the screen turned off. Thus, there must be a way to get this back again. Any more ideas?
joefosho315 said:
The funny thing is, I'm on a stock TMOUS rom, and I definitely recall that at least in the beginning, I was able to have the sense music player keep playing with the screen turned off. Thus, there must be a way to get this back again. Any more ideas?
Click to expand...
Click to collapse
Update: For no apparent reason at all, it seems that my phone has reverted back to "normal" and now allows me to play music in the background with the screen turned off. Did absolutely nothing.
Have you tried the start button and then lock.
I use this when listerning to audio books viaTCPMP
colinm said:
Have you tried the start button and then lock.
I use this when listerning to audio books viaTCPMP
Click to expand...
Click to collapse
Yup, I can lock the phone just fine without the music turning off, but it's as soon as I then press end to turn the display off (even after locking the phone) that my music suddenly stops playing. And as an update to my previous update, my phone has decided to revert back to pausing as soon as I turn the screen off! Just when I thought all was well...
Once you have locked your phone there is no need to to ress the end key. Your screen will switch off depending on your timeout settings.

Stops playing when the screen off

Hi,
If I don't have my mp3 player with me, there is still some music on my phone. The annoying thing is, it turns off always when I turn off the screen of the device. I am using the original htc player. I don't want to have the screen on, because the phone is in my pocket and it opens all possible stuff while I am moving. Is there a solution to that, or do I need a different player?
download slide 2 play. it is free and does everything you want it to do.
This happens because when you hit the power button you are suspending the device. What you want to do (to keep the music playing) is just turn the screen off without actually suspending the device. Find a program to toggle the screen.
m4macik said:
Hi,
If I don't have my mp3 player with me, there is still some music on my phone. The annoying thing is, it turns off always when I turn off the screen of the device. I am using the original htc player. I don't want to have the screen on, because the phone is in my pocket and it opens all possible stuff while I am moving. Is there a solution to that, or do I need a different player?
Click to expand...
Click to collapse
Install this and soft reset.
View attachment Keep_Music_Playing_Registry_Fix.cab
thanks guys
I normally hit home then either turn it off or just let it dim out at the home screen.
i use nitrogen player
alows the screen to be off and my lockscreen activates, so no random numbers dailed whilst in my pocket.
http://forum.xda-developers.com/showthread.php?t=523505

Resources