yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] chrisstavrou:
Release 6.15 is out

Hi all,

Release 6.15 is out.

I added one more option:

- LockOnlyPrograms=XXXX (Default is blank)

If set, it the list of the executables which if they are running in the foreground

then idle locking can appear. If no match is found then no idle locking takes place.

This list is only used for idle locking

It is a list separated with the character ';' which must be followed for each entry without any space.

The executable is simply the name, not the full path.

For example:

manila2d.exe;manila.exe;

With this option, the idle lock can only be activated if the M2D or TF3D are shown in the foreground.

Cheers

Chris
[Windows Mobile Apps and Games] chrisstavrou:
Hmm,

i will need to look this again, i keep you posted.
[Windows Mobile Apps and Games] chrisstavrou:
It seems the option of Full Lock the device is not enabled.

Can you please check it:

Setup->Lock Triggers & Options->Lock Options->Lock Fully the device.

It needs to be checked.

Let me know if this works better as even the old functionality depended on this setting.
[Windows Mobile Apps and Games] chrisstavrou:
Thanks camro,

i will also see the debug file and try to resolve the problem you mentioned.
[Windows Mobile Apps and Games] TSCrusader:
Hi,

I have a strange problem with this tool. When it is installed (also if autostart is deactivated) and I do a softreset, the PIN screen disappears after 1 second and I cannot activate the phone. So I have to deactivate it and activate it again to enter the PIN.

I have a HTC Touch HD with Duttys 3.9 Rom.

Any ideas? :)

Crusader
[Windows Mobile Apps and Games] ecky:
On XPERIA X1: CSDEVCTRL do not trigger using of D-Pad. E.g. if I read news by scrolling with D-Pad CSDEVCTRL locks the device.

Could you please fix this or can I change setup?

Could you add AppToDate support for your great applikation?

Best Regards, ecky
[Windows Mobile Apps and Games] chrisstavrou:
Hi ecky,

it would help me to find out what codes D-Pad is sending.

So can you please repeat the next steps:

1. Stop the csdevctrl.exe from running.

2. Run the debugscr.exe

3. It should display on screen 'Press Key or Touch Screen ..."

at this point use the D-Pad and note down what code it displays (the complete one). It may display two codes so please let me know the complete line.

I will check the AppToDate as i am not aware about it.

Txn
[Windows Mobile Apps and Games] ecky:
Xperia d-pad

There are four codes - one code for each slide direction:

Slide left: "25~"

Slide up: "26~"

Slide right: "27~"

Slide down: "28~"

Press: "1000086~d~" (press button don't work in csdevctrl too)

thanks, ecky
[Windows Mobile Apps and Games] caballero600:
Works great in my Htc elfin!

One thing....

When I have a Incoming Call.. a few seconds appears the windows notification panel to answer or dismiss and then the lock screen... (little delay I think)
[Windows Mobile Apps and Games] caballero600:
Works great in my Htc elfin!

One thing....

When I have a Incoming Call.. a few seconds appears the windows notification panel to answer or dismiss and then the lock screen... (little delay I think, very little sometimes)
[Windows Mobile Apps and Games] jarik_ua:
Greetings to everything, excuse for my English! The program, in my opinion, does not have function " time of turn deenergizing the screen after blocking ". The program the best in the class, but: I use blocking at idle time in current of 10 seconds, the device is blocked also other 45 seconds the screen is shone at the blocked device. Has found in adjustments " time of deenergizing of the screen " - has put 15 sec. All is good, BUT, in this case, at addition of programs-exceptions the screen is all the same switched off
[Windows Mobile Apps and Games] LordDeath:
I can't use this. :(

After some time it stops locking the screen, even if the process is still running. I don't know when this happens and how I can change it back to normal. Usually a soft reset needed afterward.
[Windows Mobile Apps and Games] Odeon:
Very nice program!

I especially like the feature to show today after lock.

But sadly there's no option to add exceptions to this trigger. I.e., when having a phone conversation. If the option is set to go to today after lock, the phone application minimizes and to control it you have to bring it to the front somehow.
[Windows Mobile Apps and Games] Flummee:
Great app

Hi Chris!

Thanks for making this! After having used an earlier version for a while, I found myself unintentionally doing all sorts of things after having removed it. This shows how important this app is (and how it should have been integrated in the system in the first place - maybe sell it to Microsoft? ;))

Regards

F
[Windows Mobile Apps and Games] chrisstavrou:
Hi all,

i will be away for sometime (vacations) so i hope nothing 'strange' appears till i return:)

A comment for 6.5, it seems there is a new lock screen but still no official API to interact with it.

I will be checking it out and hopefully make the utility use that.

Have fun and take care.

Chris
[Windows Mobile Apps and Games] chrisstavrou:
Let me see what i can do for this, may be a quick update as the lock when in call in theory should not activate the today after lock.
[Windows Mobile Apps and Games] chrisstavrou:
Thanks for this, just a clarification, when you press the key 'Press:'

"

Press: "1000086~d~" (press button don't work in csdevctrl too)

"

it displays the code you mentioned above but still locks the device as if it was not pressed ?

As for AppToDate, i have created the xml, i will need a server to host it so i will let you know when i find one.
[Windows Mobile Apps and Games] chrisstavrou:
Strange, this seems to be an older bug, are you using the latest ?
[Windows Mobile Apps and Games] chrisstavrou:
Is this 6.5, if yes its better not to enable the lock during call as the dialer seems to be offering its own 'locking'.
[Windows Mobile Apps and Games] chrisstavrou:
Hi, i have done the 6.15.1 release which is attached.

(Its the complete package and since am leaving in a while i did not have time to update the first page :) )

Can you give it a try to see if it fixed this situation ?
[Windows Mobile Apps and Games] Odeon:
Thanks, I'll give it a try and report back here.
[Windows Mobile Apps and Games] hgrimberg:
Hi,

Is it possible with this program to be able to lock all hard keys with the exception of some other one rather than the Power key? There is one option on WM settings "Key lock" that is called "Lock all keys except the Power key". Is it possible to add another exception like for example leave the center key (the Dpad) unlocked?

Thank you.
[Windows Mobile Apps and Games] LordDeath:
Yes, I used the csdevctrl.6.15.CAB file.
[Windows Mobile Apps and Games] jarik_ua:
chrisstavrou how into the account of my post?

Excuse for my English - I use the online translator
[Windows Mobile Apps and Games] Odeon:
chrisstavrou

The updated version works fine. Thank you for your rapid update.

As to your question,

, I didn't use lock while in call, I used turn-off screen while in-call (third-party app), and CSDEVCTRL locked the screen after turning the screen back on manually while in call or after hanging up.

The new version doesn't puch away the phone app when locked or unlocked afterwards. Others applications behave like they are told to in settings - get away and let the today screen show immediately after unlock. So nobody can see my mails/sms/etc if I left the phone unattended with them opened...

I know I'm asking too much, but is there any chance to be able to change the volume while in call?

I excluded the volume up/down buttons in 'Options While Locked' (Values "75~;76~" exactly this line)...
[Windows Mobile Apps and Games] ecky:
Have tested again. Thats interesting - it depends on active application. If I use "Spb Insight" (read an artikle) then slide and press D-PAD still locks the device. But if I slide and press D-PAD in Today-Screen it don't locks the device!

ecky
[Windows Mobile Apps and Games] brock1909:
how about an option to start on startup ( i know its there) but put a delay on the startup, like 5,10,15 seconds. often it will lock right after startup, as it should, but my phone wont finish loading and gets stuck and i have to unlock a few times so that it will load everything.
[Windows Mobile Apps and Games] thierry2064:
Thank you for this superb utility, it works perfectly on Touch Pro 2 (Rhodium). The only drawback is that I had to quit Touch Flo 3D because it does not play nice with CsDevCtrl, but I still prefer your software over TF3D... Need to find a good Today plugin now, WM is too small.

One problem with Rhodium is the Bluetooth (different stack than on other HTC devices). Is it something you could arrange? I'd like to toggle bluetooth with Hard Keys. At the moment, no utility exists to toggle Bluetooth on the Rhodium as far as I know.

Cheers

Thierry

Edit: Apparently all Rhodium owners do not succeed with CSDEVCTRL, see http://xdaforums.com/showthread.php?t=541645
[Windows Mobile Apps and Games] yesod7:
Backlight dims at end of call

Hey, Christavrou, long time! This thread has become looong! I don't think I saw this addressed previously, so forgive me if I missed it, BUT...

Is there any way to stop the backlight from dimming when a call is terminated? I know it's a bit nit-picky, but csdevctrl is so close to perfect for me, I have to ask. Thanks!! :);):rolleyes:
[Windows Mobile Apps and Games] chrisstavrou:
It seems that during the call, the keycodes may change.

Please try the next:

1. Stop the csdevctrl.exe from running.

2. Start a call and answer it. Leave the call in connected state.

3. Run the debugscr.exe

4. It should display on screen 'Press Key or Touch Screen ..."

at this point press the keys for volume up and note down what codes it displays (the complete ones).

5. Wait until the program exits and repeat step 3,4 pressing the keys for volume down this time.

6. end the call

7. Run the setup program and enter the codes you have noted to be excluded (if they are different from "75~;76~".

Also note that all keys must be entered as 75~;76~;

which means that they end with '~' followed by ';' all of them including the last one.
[Windows Mobile Apps and Games] chrisstavrou:
It seems some programs capture the keystrokes and do not let other programs read them. Only windows with their timer for backlight dimming seems to always work.

The only way i can think of right now is to have an option to lock if the backlight is dimmed.
[Windows Mobile Apps and Games] chrisstavrou:
I will include it in the next release.
[Windows Mobile Apps and Games] chrisstavrou:
Thanks for the comments, i will check for the bluetooth may be there is a different approach that can be used than just the standard API
[Windows Mobile Apps and Games] chrisstavrou:
Np, always nice to hear new ideas.

Can you please give more info about this, like:

call is terminated, device is locked, you would like to keep the backlight on for how long ?
[Windows Mobile Apps and Games] yesod7:
Call is terminated, device remains locked, backlight on for 30 seconds? :cool::cool::cool:
[Windows Mobile Apps and Games] chrisstavrou:
Ok ... during call should the backlight stay on while connected or it is not important ?

that is it might be turned off during call but turn it on right after the call is completed and still locked ?
[Windows Mobile Apps and Games] ai6908:
By default, WM6.5 dims backlight when the device is locked!

Did you install backlight fix and see if that helps? I believe TPC released a mod backlight dll for this issue. You might want to look into his ROM thread.
[Windows Mobile Apps and Games] yesod7:
The backlight stays on during the call, and only dims when call is terminated (and still locked.):eek::eek::eek:
[Windows Mobile Apps and Games] chrisstavrou:
Release 6.16 is out

Hi all,

new release is out.

It includes:

- General Options->Delay in Secs After Startup

These are the seconds that the utility will wait before loading when it is started from the shortcut. The shortcut must have been created with the option shown in the same screen.

- Lock Triggers & Options->Lock When Dimmed

It can be used as a workaround when the utility fails with the Lock if Idle for Sec.

- Goodies->Keep Backlight on While locked in call

It will keep the backlight on while locked and in call. Also the device will not go to sleep automatically.

As always let me know your comments.

Chris
[Windows Mobile Apps and Games] camro:
well, have no problems before, and the new options are seems to be working fine as always, if you add some new featres :)

for me - one of the most wanted things would be if the exclude buttons would working. ex: loudness buttons

best greatings - camel
[Windows Mobile Apps and Games] Odeon:
camro

Support, my Sony-Ericsson X1 while locked with Chris' app, won't react to volume buttons. OK if not in call - just unlock and get your desired volume.

But not so convenient while in call, and once you need to adjust volume quickly without taking the phone away from your ear...

Perhaps that's X1 thing? I set volume buttons to exceptions but it won't work for me.
[Windows Mobile Apps and Games] farqui:
Just tried this app and after coming from S2U2 it's soooo clean and simple, well done :)
[Windows Mobile Apps and Games] yesod7:
Hey, Chris! Everything works great on the new version, but the backlight still goes dim on call termination. It's no big deal, though; I can turn the backlight on more easily now that I have "excepted" the volume up-down keys! Peace!;):rolleyes::cool:
[Windows Mobile Apps and Games] chrisstavrou:
Hi all,

did you try the instructions here:

http://xdaforums.com/showpost.php?p=4258303&postcount=956

???
[Windows Mobile Apps and Games] chrisstavrou:
Ops i made it keep the light on while in call but actually turn it as soon as it hangs up. Do you think its needed ? like to remain on after a few seconds ?
[Windows Mobile Apps and Games] camro:
sure, i have tried this for a long time, and also wrote, that this doesn't help

these keys doesn't exclude in lock mode.
[Windows Mobile Apps and Games] Odeon:
Hi Chris!

I did the above mentioned routine, but still no effect: volume keys stay locked during call (the codes are the same while in call).

BTW, option to lock while in call didn't work for me (Xperia, custom rom based on rhodium), until I set fully lock while in call (triggers&options section of the setup). (also I set option not to fully lock while ringing in another settings group - Exceptions).
[Windows Mobile Apps and Games] qbus00:
Hello,

I'm using this awesome app for 4 days and have one question:

Sometimes when I call to someone and she is not responding long the screen turns off and is being locked. To prevent this I added cprog.exe to exceptions for CSDevCtrl. This is almost perfect except one thing - now also when the window with keypad and last call appears (the one which is invoked by pressing CALL button) application is not locking device either. This is completly correct becouse this windows also belongs to cprog.exe process.

Maybe you can introduce other type of exceptions based on Window Class Name (I belive this should resolve this problem)?
[Windows Mobile Apps and Games] ditroy:
Unlocking and backlight

Hi,

I own a Blackstone and have a few questions about your tool.

1. Does it support completely shutting off backlight when locking? This wilst keeping the "hardware" phonebuttons available.

2. How can it after that be unlocked and does it switch on backlight?

Thank you
[Windows Mobile Apps and Games] HTC_FUZE:
downloaded and test the program. I have some suggestions:

1. The phone should lock if idling for preset time even with keyboard or stylus out. I think sliding keyboard out or pull stylus out should only trigger unlocking but not to keep unlock all the time.

2. Screen do not go black after idle lock. Maybe I did not find where to set?

Another problem I have is that Calendar and Phone dialpad always open when I pull out the sytlus.
[Windows Mobile Apps and Games] davidhooper:
Calendar alarm does not dismiss

I am having a problem with the reminder alarms from Outlook. I always set a reminder for 15 minutes before an appointment. When the alarm goes off the phone wakes up locked with Dismiss and Menu at the bottom of the screen. I press Menu and Remind 5 min before and push the power off button. The alarm sounds 5 minutes before the appointment and I press Dismiss on the screen. So far this is normal, but the alarm sounds again at the appointment time.

I’m not 100% sure, but I believe that if I press Dismiss the first time the alarm that sounds is dismissed normally and does not sound again.
[Windows Mobile Apps and Games] chrisstavrou:
I will try to change it to add together with the exe name the class name.

But do you think that the class name will be different ?
[Windows Mobile Apps and Games] chrisstavrou:
For the 1st question, the locking is done through Windows Lock.

I noticed that Win lock deems the backlight (it does not turn it off completly).

However, if you enable in this utility the turn off video after its been locked, it will shut it off completly. To turn it on, you will need to press the power button (i guess this is how win works).

After turn it on, you can unlock it by sliding (see the sliding options) or choosing from the screen the relevant options.

Depending on the locking (Win 6.5) have a different screen, sliding may not work as it has it own.
[Windows Mobile Apps and Games] chrisstavrou:
For the 1st question,

it was designed like that, i can add an extra option to still lock it with keyboard or stylus out.

For the 2nd question,

try using the Turn Video off, locking is done through windows which it simply deems the screen.

For the problem,

do these programs come up when its unlocked or/and when its locked ?
[Windows Mobile Apps and Games] luciferceli:
VK code

hopfully waiting...

btw, re. this:

"- UnLockFirstKey (Default 0)

- UnLockSecond Key (Default 0)

Its the Hex Value of the VK code of the keys to be pressed to emulate the unlock sequence. Enabled if LockDeviceAlways is

set to 1."

how to know the VK code of keys?

thanks a bunch.
[Windows Mobile Apps and Games] osma101174:
but isnt there a list of programs that the app. doesent lock the phone when usin them.

ive tried Tom Tom. but the lock comes on after a little wile, and Tom Tom stalls.

what ca i do?

the same happens when i try typing sms and so on.
[Windows Mobile Apps and Games] athena99:
I have an question, may I have a help.

If device locked backlight set as "0%" and after unlocked set as "30%".

How to do that, thanks!
[Windows Mobile Apps and Games] kwickone:
cool modification to the default locking app! Thanks.
[Windows Mobile Apps and Games] yesod7:
Another thing: even though I only have it set to lock "in call," it locks on wake up, and on external power. Any ideas?
[Windows Mobile Apps and Games] kwickone:
I need some help on the hardware button unlock codes. I have an AT&T Tilt.

I saw in a previous post that you suggested entering;

first button = 0c3

second button = 0c4

Is that for the two buttons just beneath the softkeys? I tried these values and it did not work for me. I tried pushing all hardware buttons and nothing changed on my screen.

Any help on which values are which keys? Thanks.
[Windows Mobile Apps and Games] chrisstavrou:
I have did a change (version 3.08)

Set

ShowTodayAfterLock=1

ClickOnToday=1

TodayPortraitX=10

TodayPortraitY=150

TodayLandscapeX=10

TodayLandscapey=150

These are the coordinates of the first tab of the HTC pluggin that match my today screen.

I have this as the first pluggin.

You can try different numbers knowing that the screen coordinates are 240 x 320
[Windows Mobile Apps and Games] chrisstavrou:
Hmm seems it does not read the settings.

Try using the setup program to set those values.
[Windows Mobile Apps and Games] chrisstavrou:
I am preparing the setup program to show these values.

These keys are the last keys at the bottom (not directly beneath the softkeys)
[Windows Mobile Apps and Games] yesod7:
I used the setup program to set the values. This is something the program has done since I started using it, which was version 3.01 or so. I'm using Alex's ROM; if nobody else has this problem, maybe it is a compatibility issue.:confused::confused::confused:
[Windows Mobile Apps and Games] luciferceli:
@chrisstavrou:

your work..., mate, you are genius.

i chose to use this over S2U2 or whatever 'cos I just need to push any button to have a glance at my phone's today screen which can be customised by all means to show ANY info I need, without having to unlock!

also, hips more additional feature too, how good is that.
[Windows Mobile Apps and Games] fense:
HELP

HELP!! just install the lastest version...

then my menu backgroud become white..

i uninstall follow ur instruction. but after restart, the menu still become white and a notification come out: can not excyte:....(the file location, i had deleted it)

HELP me to solve this

i using hermes 200 WM6..
[Windows Mobile Apps and Games] chrisstavrou:
I have included a new program called debugscr.exe in the zip of the first post.

Before you run it make sure that you stopped the csdevctrl.exe by rerunning the csdevctrl.exe (It should display terminating ..)

Just press the keys and the code will be displayed on the screen.
[Windows Mobile Apps and Games] chrisstavrou:
I have included in the zip of the first post a program called csdevctrlremove.exe

Just run it and it should remove the message you are getting.
[Windows Mobile Apps and Games] chrisstavrou:
Thanks a lot for the good comments.

I have added a program called debugscr.exe which can help in identifying the coordinates to use as X and Y.
[Windows Mobile Apps and Games] chrisstavrou:
To exclude certain programs you will need to enter through the setup program at the location of Exclude programs each program separated by ';',

for example prog1.exe;prog2.exe;
[Windows Mobile Apps and Games] chrisstavrou:
You can set to run a mortscript after unlocking which can do this change of backlight.

That is you can add the full path of the mortscript exe to the AfterLockRunFilePath

and add the mortscript to the AfterLockRunFileParm (or use the AfterTodayRunFilePath/AfterTodayRunFileParm if you are using ShowTodayAfterLock)
[Windows Mobile Apps and Games] chrisstavrou:
Check may be you have a number still set at LockAfterIdleSeconds.

It should be 0 if you want to simply lock during a call.
[Windows Mobile Apps and Games] yesod7:
Thing One I found was this: the changes I made in the setup program were not reflected in the registry. I had to go into the registry to make the changes.

Thing Two I found was that I had to repeatedly make the changes in the registry to make them stick, even after a soft reset.

It still locks after wake, but that might be a leftover lock from a previous phone call.:rolleyes:
[Windows Mobile Apps and Games] athena99:
Hi all, I have a stupid question. How to unlock device while "LockDeviceAlways" set in "1". I can't unlock my device hardware keys and screen are no respond. Soft re-set only. Thanks.
[Windows Mobile Apps and Games] chrisstavrou:
Do you think that this is caused by csdevctrl ?
[Windows Mobile Apps and Games] davidhooper:
Yes, it did not happen before I installed csdevctrl.
[Windows Mobile Apps and Games] HTC_FUZE:
Thanks for your advice, Dialpad and Calendar open after I pull stylus out, i.e. while unlocking.
[Windows Mobile Apps and Games] qbus00:
I hope so, haven't tried yet ;).

Also I have other question:

Unlock on call option is not working for me. I think this is becouse I'm using 6.5 with new lock screen. Is there anything you can do about it?

PS This is the best locking app on the market :). Small, lots of options and don't have "two unlocks bug" on 6.5 (like other ones).
[Windows Mobile Apps and Games] chrisstavrou:
Did u try a soft reset after installing csdevctrl ? i think someone else faced this before and with a soft reset seemed to be resolved.
[Windows Mobile Apps and Games] chrisstavrou:
i am afraid i did not find a true API to unlock, its simulated so it does not work for 6.5.

I will check it out now that i am back from holidays.

Btw, thanks for the comments.