yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] zalaros:
I just found another bug. Actually you solved it but it appeared again. The bug is: (copy paste from my previous post)

"Another question for you, to undo "sliding to stop unlocking" the device must put to sleep? According to the following

- SlideDirForStopLocking=XXX

Unlocks the device and stops locking for the current session until the device is put to sleep.

is this correct? If it is correct then unfortunately in my kaiser it doesn't work properly. Let me tell you my settings and maybe you figure out what is going wrong.

BUT if i stop locking this can not be undone. The only way to undo this is to restart csdevctrl."

So the only setting i changed since you fixed the problem is "Lock After Device Wakes enabled". Can you check this too? Thank you :D
[Windows Mobile Apps and Games] chrisstavrou:
Hi all,

another attempt to fix (version 3.30f) what you mentioned, thanks for your patience :)

Please give it a try and let me know the results.

Thanks

Chris
[Windows Mobile Apps and Games] laser21:
Now it doesnt work even after less then 10s :D Otherwise the same behaviour, but now its constant.

I have sent U a PM.
[Windows Mobile Apps and Games] camro:
i tried now version 3.30f...

now on calling:

1.call -> lock working

2.call -> lock doesn't working

3.call -> lock working

4.call -> lock doesn't working

5.call -> lock working

6.call -> lock doesn't working

......

and the backlight does always switch off and on on calling, ...

normaly in my opinion: backlight should work on dialing in this case:

1.) start dailing

2.) then lock screen

3.) (if the call is idle longer as X-sec , then backlight off) -> X=paramter in setup

4.) unlock after call (if paramter is set)

all other paramter seems to be ok.

if you can fix, that the app lock on every call, then it would be perfect.

cu camel
[Windows Mobile Apps and Games] zalaros:
No unfortunately nothing has been fixed from the problems i'm facing :( The only change is that my kaiser now goes to sleep (as it should according to the settings) only after a missed call. When a new message arrives, it wakes up and stay alive all the time (same as before). I prefer to report here the results of testing rather than sending you a pm (in greek ;) ) but if you want more details about my issues, just tell me and i will send you a pm ;)

ThanX :D
[Windows Mobile Apps and Games] chrisstavrou:
Hi Zalaros and the rest testers :)

One more try (3.30g) is attached with the relevant debug program.

I added more debugging so please if it is possible,

- try using the csdevctrldebug.exe while repeating the case

- post the \csdevlog.txt for me to review.

Hi Camro,

pls try again with this version and just have in mind that the unlock happens if the device is locked automatically during call and not if it was locked manually.

Thanks a lot for the help

Chris
[Windows Mobile Apps and Games] JudasD:
This application is awesome. The potential is huge. I LOVE the small memory footprint. On my Mogul that is a very big deal.

I notice that there is an option to lock the phone during a call and to unlock once the call is over. Is there a way to have the phone unlock when a call is answered? I am always fiddling with my volume during calls and it can be difficult to unlock the phone after i answer it in order to change the volume.

Thanks,

JD
[Windows Mobile Apps and Games] zalaros:
Unfortunately nothing changed :( Here is the log. I hope you will figure out what is going wrong ;)

First i repeated the case "undo sliding to stop unlocking by suspending the device and wake it up again" and then "phone won't go to sleep after a messaged arrived when it should according to the settings". ThanX :D
[Windows Mobile Apps and Games] laser21:
Yep, nothing changed, here is the log. Same unlocking delay. Tried the absolutely default settings, only changed that it should unlock sliding in the direction -2.

Thanks for your effort...it is getting annoying for you - Im sure about that :D
[Windows Mobile Apps and Games] mattcoz:
It seems that it locks whenever I have an incoming call, so I can't answer them. I have all options turned off except for lock when powered on.

:confused:
[Windows Mobile Apps and Games] camro:
check you config in setup

maybe you have set "fully locked device". set it disable, that you can take the call also with the green key

Also you can set keys to unlock sequence (ex: 073 green key + 072 red key for unlock).
[Windows Mobile Apps and Games] abbhagwat:
How to use the file ?

I extracted the zip file. There are 5 files how do i use them. I am new to it i do not know technicalities.
[Windows Mobile Apps and Games] chrisstavrou:
Hi Camro,

can you please try using the attached file.

Keeping my fingers crossed ...
[Windows Mobile Apps and Games] Micht:
Great App

Hi

First, I want to say thanks for this great app.

I was using S2U2 at first time but it's really battery consuming so I switch off to your app and it fit me perfectly.

Just a small question :

Is-it possible to lock the device with a soft-key press ?

Thanks again

++
[Windows Mobile Apps and Games] leen15:
By default if you keep press the red botton wm6 Lock keys... there's a option in settings of wm6.. :)
[Windows Mobile Apps and Games] Micht:
Yes I know this behaviour but I preffer a soft key feature ^^

I'm using for now the today plugin but it's space consumming ...

I've found some apps in this forum, I'll give them a shot.

++
[Windows Mobile Apps and Games] laser21:
Well, its working on the diamond. Unlocks are stable...work every time. volume keys work aswell.

I didnt test other features...

Just get rid of the debug window, and it should be fine :D At least considering the diamond issues.

One more thing - last time you posted this kind of debug version, it worked on the diamond, but after you removed the window, it didnt work...

Maybe the window doesnt allow other applications to steal focus from the unlock dialog...Im just guessing.

Thanks

If you need the csdevlog.txt let me know
[Windows Mobile Apps and Games] zalaros:
Should the rest of us (with problems) try the last attached file?
[Windows Mobile Apps and Games] laser21:
I didnt know...so i tried :)
[Windows Mobile Apps and Games] chrisstavrou:
Hi,

it seems the device was unlocked for a long time by reading the dump file.

The power off is only activated if the device is locked.

Do you think its better to make it independent from the lock state ?
[Windows Mobile Apps and Games] chrisstavrou:
For sure it drives me crazy :)

It must have something to do with the window, i will give it a try and prepare a new version to test.

Anyone is of course welcome to give it shot as well.
[Windows Mobile Apps and Games] chrisstavrou:
You can use the small app included in the zip file (csdevlock.exe) and associate it with a hardware key.
[Windows Mobile Apps and Games] chrisstavrou:
Ok here we go, 3.30h attached.

Everyone feel free to use it.

In case of problems, just repeat the case using the debug version and post the \csdevlog.txt file.

Thanks for this

Chris
[Windows Mobile Apps and Games] zalaros:
Yes i know that ;) Actually it is locked and suspended when i make the tests. After missed calls the device is suspended normally according to the settings. Only after received messages the device won't get suspended. Let me describe what i want and maybe you can help me with different settings. First of all disable "Turn off device if not used for X seconds" from windows settings. When i use my device i don't want it to get suspended at all. But when i put it in my pocket i want it locked and suspended and when a message arrives or a missed call i want my device to get suspended again after X seconds. I tried the option "Lock After Device Wakes" and it worked perfectly for me except one thing. The alarms i had set on ptravelalarm didn't work at all and csdevctrl caused the problem for sure. So do you have another idea? ThanX :D
[Windows Mobile Apps and Games] camro:
it seems to be fixed now :) !!!!!

GREAT !

PS: on old version i also see, that sometimes the backlight settings was changed from 60sec to 10sec. don't ask me why ...

but - i will test the new version - and let you know by tomorrow :)

@ALL time to send some beers to chrisstavrou (i will send again some bucks to you !!!!!!!!!!!!!)

this tool is the most important tool for calling/dailing with a touchscreen !!!!!

SMALL THING - after first start and after first call it was switching to home screen, but this was only the first time - so don't needed to see why this happens...

EDIT:

after power testing 60min - no bugs found !!!!!!!!
[Windows Mobile Apps and Games] laser21:
Hi, its back...the delay. I attached the debug - first time it had the delay, second time didnt.

thanks
[Windows Mobile Apps and Games] chrisstavrou:
Hi laser21,

can you please give a try on the attached 3.30i ?

Everyone is welcome to try this, the only change is hoping to make it work with diamond.

Cheers

Chris
[Windows Mobile Apps and Games] laser21:
No, it doesnt :( It looks like it lock sometimes 2x - I have to slide twice to unlock, the first unlock has the typical delay.

Thanks...frustrating, I know :(
[Windows Mobile Apps and Games] camro:
very interessing - version 3.30i doesn't work anymore on my HTC Polaris - hmm

anyway ...

3.30h seems to be ok for me. serious thing there was, that i had to change some settings paramter, that it works correctly. I 'don't know if your setup script will write all paramters on every setup fulfilled to registry. anyhow 3.30h works for me now quite fine and i will do more testing.

(ex: the first try - it wasn't able to unlock the phone in call. After changing settings for idle time in call - it works now smootly)

cu camel

THANKS FOR YOUR GREAT DEVEL & SUPPORT !!!
[Windows Mobile Apps and Games] JudasD:
is there a way to make this app unlock when the phone is answered and to stay unlocked during a call? right now it will stay locked when i answer and if i unlock it, it will still relock during the call.

Thanks,

JD
[Windows Mobile Apps and Games] camro:
This is not normal - see my post above:

change the idly time once again to another value in setup and restart ist again.

then it works for me

cu camel
[Windows Mobile Apps and Games] camro:
well the version 3.30h - seem to be "almost" perfect working for me.

BUT:

something goes wrong in your tool:

(my settings: in battery mode:

-> after 60sec backlight off

-> after 120 sec switch off hone

in your tool:

1.) switch off the phone

2.) switch on the phone

it goes to lock mode + backligt ON (think it is perfect)

but after 10 sec. it switch the backlight off and after 5 sec more it switch off the phone.

this works not as i want it.

it should be do the job:

1.) switch off the phone

2.) switch on the phone

it goes to lock mode + backligt ON (think it is perfect)

after 60 sec. idle it switch the backlight off and after 60 sec more it switch off the phone (see my settings above)

the same happens on calling:

whats going on ?

cu camel

EDIT:

PS: but the lock itself works now - only backlight handling + switching phone off doesn't do the right way ...

so we are near on a solution !!!!!
[Windows Mobile Apps and Games] abbhagwat:
unlocking durin call

Very good program.

I am still facing a problem that phone gets locked in call even if i am a caller and then call remains in call mode till he time another party cuts line.

I have only tiked lock after 15 secs and show today after call.

I want phone to be complitely unlocked till the call ends.

Changing lock time then resetting does not make diff. Diff mindsets diff ideas

Thanks in advance
[Windows Mobile Apps and Games] chrisstavrou:
Hi all,

i forgot to mention, that when trying a newer version can you please also do a softreset after stopping the first instance.

I noticed that some threads are still running from the old instance causing the new one to mulfunction.

Txn
[Windows Mobile Apps and Games] chrisstavrou:
I am preparing the latest to be posted, which should do what you are asking to.
[Windows Mobile Apps and Games] osma101174:
help!

Hi, im using your program. and so far ive had just small problems. but i have problems when i reseve a call.

ive set the program to lock during a call, but when the conversation is over, and i want to hang up the call. nothing happens when i push the hang up button. is there anything i can set to exclude tis button from locking?

can i use the exclude this key, in the program. and what shall i type in the box.

My phone is an HTC TYTN.

BR

Osmund
[Windows Mobile Apps and Games] sean222:
Thanks for all your hard work chrisstavrou!

There's only ONE thing I want to use your program for, and it's not working! lol! :(

All I want is for my device to power off after 10 seconds when woken up from being locked.

I have set PowerOffWhenLockedSecs=XXYYKK to 100000

The registry setting is correct also.

Device isn't shutting off though :(

HTC Touch (Vogue) - PPCKitchen.org WM6.1 Rom
[Windows Mobile Apps and Games] abbhagwat:
set it to 10 and should work.
[Windows Mobile Apps and Games] yesod7:
Osmund, read the first post in this thread. When you lock the phone during a call, it is locked. There are screen finger swipes you can do for each of the following: unlock the phone for 5 seconds, stop locking, end the call, and access the speaker.:cool::cool::cool:
[Windows Mobile Apps and Games] sean222:
Still does not power off my device :(

Anyone got the power off working on an HTC Touch?

S2U2 is the only locking program I can get to power off my device from being woken while locked.
[Windows Mobile Apps and Games] shaggylive:
power off is working (sometimes) for me htc mogul (6800) ppckitchen.org wm6.1 (20273)

there are a few glitches I've encountered, but I'm using the version from 1st post (3.30) and it's taken me all day to read the entire thread...

time for some food, and maybe a nap. then I'll try some of the revisions and report back
[Windows Mobile Apps and Games] chrisstavrou:
Hi all,

i created the 3.31 based on the 3.30h plus some minor fixes.

As usual, let me know your comments.

I having a second round tomorrow with a diamond so i hope i can find a solution for the probs found.

Txn

Chris
[Windows Mobile Apps and Games] chrisstavrou:
I am trying this out to see what needs to be done or fixed to work :)
[Windows Mobile Apps and Games] shaggylive:
3.31

well, I think the sleep after sms is fixed, and the locking and power off seems to work just fine, except during phone calls.

it's only locked a couple of times in dozens of calls. (only made outgoing calls)

the good news with that is no more locking on gprs/evdo

I will debug when I get a chance.

what is this option?

"Lock and back after today"
[Windows Mobile Apps and Games] abbhagwat:
chrisstavrou

Tried new ver 3.31 and problem seems to be solved, thanks and keep good work,
[Windows Mobile Apps and Games] mrgreencom:
Great program, but causes some major problems

This program has all the features I want and they all work, but it causes some major side effects that I can't deal with:

When the device wakes, it starts locking automatically no matter what I'm doing (opening programs, scrolling, etc). At first it was doing it every second so I caouldn't unlock it long enough to stop the program. After changing LockAfterIdleSecondsInCall to a greater number, the time between locks increased, but it would not stop locking until soft reset. It started again once I hit the power button or it went to sleep. :(

Last night, It didn't wake up at all and the alarm didn't work because of it. Luckily I wasn't late to work :)

An annoyance that I can deal with is the scrolling in the setup program. The scroll bar thing doesn't move and it makes the scrolling jumpy. I also can't scroll with the arrow buttons.

I have a HTC Hermes and would be glad to provide any more information you need and do any testing of further releases.

Thanks for all your hard work on this! :D
[Windows Mobile Apps and Games] thx1200:
Maybe bug?

I LOVE THIS APP! I have been fiddling around with different locking apps for a long time, but the low memory footprint and performance of this app makes it the best! Great job! I will be donating once I put it through its paces and make sure it's stable on my device! :-D

Okay, I may have found two bugs.

I have a Sprint Mogul. I have it lock on power on. When vibrate is enabled, it froze up my device randomly (couldn't figure out what the cause was). Basically, I turned the phone on, it went "black" (but the backlight was on) and the only thing I could do was turn the power button on and off. I had to soft-reset it using the little reset pin-hole. I couldn't unlock it on the screen or through the hardware buttons. This doesn't happen (at least so far) with vibrate off. I'll post more if I find out more.

The second bug seems to occur when I'm fiddling around in button mapping applications, such as AE Button Plus. After assigning some buttons, suddenly the screen stopped automatically locking on power on. Even killing the app and restarting it didn't help. I had to soft reset. Weird.

Keep up the great work! Loving this locker...
[Windows Mobile Apps and Games] blksprk:
you've solved half my problem. is there a command line I can feed cslockdev.exe that will cause it to unlock? see I have a hardware switch for my wifi on my titan, but would rather use it to lock and unlock (i hate the clicking the unlock button and I don't care for slide locks). any help would be most appriciated.
[Windows Mobile Apps and Games] camro:
tests with: 3.31.

1.) in lock modus: it switch off the backlight after 10sec. - something is changing the time always to 10sec. (but i had set in config the backlight to 60sec !!!). After switching backlight off, it switched off the screen after 5sec !!

DIRTY FIX: i fixed this by myself - it doesn't set some reg paramter for backlight time in unlock modus.

but i found a reg parameter and this was set to 10seconds, and it seems to be, that this parameter isn't handled by your tool. (i searched for backlight and i read all paramters for it and found 3 params where 10sec are inside. and this i changed it)

2.) if i'm in calling. (it switch to lock mode like a charm :) ) -> then i temp unlock it (idle time set to 120sec in setup).

After unlock it, then i it switch off the backlight after ~10sec. + 5 sec later it switch off the whole screen. ?????

normally after idly time: it should lock again and switch off the backlight. and after X-Sec. it should switch off the screen.

it seems to be, that this is the same like on point 1 - i told you.

# # # #

in my opinion: therefore seems to be, that somewhere are paramter in reg, which should be also set by your tool. could it be ?

i would prefer, if you can make new options for:

a.) after lockmode -> backlight off after X-sec

b.) after lockmode + backlight off -> switch off screen after X-sec

c.) in call + after lockmode -> backlight off after X-sec

d.) in call + after lockmode + backlight off -> switch off screen after X-sec

cu erwin

EDIT:

relevant reg keys could maybe:

HKCU\ControlPanel\Backlight\BatteryTimeout

HKCU\ControlPanel\Backlight\BatteryTimeoutTemp

HKCU\ControlPanel\Backlight\BatteryTimeoutUnchecked

HKCU\ControlPanel\Backlight\BatteryTimeoutSaved -> as i wrote above -> this was my point 1 where it switched off after 10sec

for locking in phone (bug in point 2 above) mode.... hmm, i don't know where this parameter could be ...
[Windows Mobile Apps and Games] ccheung:
bug or wrong setup??

Many times when I take out the phone from jean, I mi**** the reject key and miss call. I want to disable both the answer and call reject keys while the phone is ringing.

I set following:

LockAfterWake=0

LockAfterIdleSeconds=0

LockDuringCall=1

LockDeviceAlways=1

LockDevicePhoneNotActive=0

LockDeviceDuringCall=1

Even after all these setting, the call reject key working during incoming call, is there anything I miss?

PS: I'm using AT&T Tilt
[Windows Mobile Apps and Games] thx1200:
The freeze up problem is apparently not related to vibrate (must have been a coincidence initially) because it's happened twice now since disabling it. I just get a black screen (backlight lit) and nothing happens. Any clues? Sprint Mogul using the latest 6.1 ROM.
[Windows Mobile Apps and Games] mrgreencom:
Still having serious issues after upgrade to 3.31

Somehow I missed that you had released a new version yesterday. :o I installed it and am having the following problems:

Every time it sleeps for a while, it hangs when waking up, taking so long to do anything I have to soft reset. I can't check task manager, but judging by the extremely hot temp. of the battery, it is getting bogged down.

I had it set to only lock during call because that is the most important feature for me and it locked fine during a call, but after call, it kept locking every 5 minutes (the amount set in LockAfterIdleSecondsInCall), so I figured it was because LockAfterIdleSeconds was set to 0. After I set LockAfterIdleSeconds to 360 though, it stopped locking the keypad or screen at all during a call. I did a soft reset and re-started the program with the same results.

After these changes, it is still locking up after sleeping for a while.

Do these issues sound like a hardware problem or a problem of software interaction? Let me know if t here is anything I can try.

It sounds like thx1200 is also having similar issues with it locking up.

Thanks for your time and consideration!
[Windows Mobile Apps and Games] chrisstavrou:
Thank you all for the comments.

I am looking at the problems mentioned and will revert back to you (Weekend is here so i have the time to try different setups).

Hi thx1200,mrgreencom and ccheung.

If you are able to replicate the problem can you please

- run the csdevctrldebug.exe program. A new window will appear, just do not close it.

- repeat the problematic case (if possible)

- post the file \csdevlog.txt

Thanks a lot

Chris
[Windows Mobile Apps and Games] chrisstavrou:
Wow great information, thanks a lot.

I will work having this in mind.

Thanks again

Chris
[Windows Mobile Apps and Games] leen15:
I've a request.. is possibile to lock the phone before sleep mode? (when pressing power button)

s2u2 did it, i've the problem that i keep the hardware button unlock (because i like often to see clock )and if i press a button the ppc do it and then lock (ex. if i press Call button the phone show me the dialer and then lock :S)

is possibile?

Thanks ;)
[Windows Mobile Apps and Games] chrisstavrou:
Hi,

can you please try the attached one ??

I am trying a different approach hoping to overcome the delay problem you face.

It consists of 3 programs now, please put them in the same directory and try again the same test of locking/unlocking.

This is not a complete version but a trial one so just concentrate on the unlocking delay issue pls.

Txn

Chris
[Windows Mobile Apps and Games] mattcoz:
Funny, in my case I can't get these buttons to work at all, so I can't answer any calls. :(
[Windows Mobile Apps and Games] mrgreencom:
I did a clean install of CRCs v13 ROM and I'm testing it for any issues, but so far I have not seen the problem. Soon I will re-install your program and run the debugger.

Thanks for your quick help!