PDA

View Full Version : (UPDATED 30-10) Auto Lock (CSDEVCTRL)


Pages : [1] 2 3

chrisstavrou
19-04-2008, 08:14 AM
Hi all,
this is mainly an auto locking program which utilizes the Windows Locking for partial locking (phone related keys are active)
or complete locking (no keys are active).

It can be considered as an add-on to other programs which provide the User Interface, an 'In Call Locker'
with some goodies as mentioned later on which may or not depend on whether the device is locked (with any program that uses
the Windows locking).

The locking can be activated at the following events:
1. After a specified period of idle time (no screen tapping or touching the keyboard).
2. After the device has waken up.
3. During a call ("In-Call Locking" Partial or Full).

Also for any of the first 2 events (idle or wake up) the program can run a specified executable/registered file together with any command line arguments that might be required.

Finally, some 'goodies':
(Stand-alone means it does not require any other option or the device to be locked)

A.(Stand-alone) it can provide some customization on the carrier name so that:
- It can fit on the screen (for example not to overwrite the Battery icon in SPB Shell).

B. (Stand-alone) Turn on Bluetooth if a call is being dialed or received. Then switch it off after
the call has ended and the headset is not connected.
Usefull if you have a bluetooth handsfree kit in your car and you do not want to keep on turning on/off
the bluetooth.

C. (Stand-alone) Drop a call after some period of time.
Reduces the risk of leaving the call running for a long time (hours) without noticing it.

D. (Stand-alone) Flash the Backlight while ringing.
At last, you can 'see' if your phone is ringing.

E. Drop Calls for specific Callers (Call Screening). (NOT IMPLEMENTED)
If device is locked, then you can get ignore those 'annoying' callers.

F. Reset the Exchange Server Policy.
Stops the frustrating setting of the password being required after connecting to the exchange server.

The parameters that are driving the behaviour of this utility are located at:

http://forum.xda-developers.com/showpost.php?p=2424492&postcount=148

The parameters can also be updated using the setup program provided (csdevctrlsetup.exe).
(As i am still new to this environment, its a basic UI with some limitations, scrollbar
is giving me some probs so be kind ... :)

A flow diagram of the parameters that relate to locking, is provided in the zip file for better understanding of their use.

The debugscr.exe program has been added to help identifying the keystroke codes and coordinates. Before this program is executed
the csdevctrl must be stopped as mentioned further down.

The cslockdev.exe program is executed will simply lock the device.

To install it:
> copy the files provided to a folder (all files must be copied)


To run it:
> Run the setup program (.exe) to set the parameters.
> Run the program (csdevctrl.exe) and it will spawn at the background as another process.

To stop it:
> Running the program second time will cause the program to exit (It will show a confirmation window which will close in 3 seconds unless you close it sooner).

To uninstall it:
> Close the process as usual (run it again or kill the process) and delete the file.
> Also delete the registry key HKEY_LOCAL_MACHINE\Software\CSDevCtrl

As a note, do not rename the csdevctrl.exe as the uninstall depends on this name.

It has been compiled for WM5 so it should run on both WM5/WM6 (i am using a Kaiser with WM6.1)

For more information see the next link:

http://forum.xda-developers.com/showpost.php?p=2391054&postcount=142


If you wish to buy me a beer or a pitta of souvlaki for my effort, feel free to click on the link below:

https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=christodoulosstavrou%40hotmail%2ecom&item_name=CSDEVCTRL&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=CY&bn=PP%2dDonationsBF&charset=UTF%2d8


Cheers :)
Chris

Log:
30/10 - v4.04 - Fixes, REMEMBER TO change CustRegKeyActiveCalls to be
HLM\System\State\Phone\Active Call Count
25/10 - v4.03 - Changed to 3 digits the sleep time, Excludekeys is now a list, Fixes.
09/10 - v4.01 - Fixes, tries to bring dialer infront if in call and locked.
05/10 - v4.0 - Restructured code based on the experience so far.
25/09 - v3.31 - Fixes, Fixes, Fixes
13/09 - v3.30 - Fixes for various issuers reported.
06/09 - v3.29 - Added option for Power off, Stylusout unlock, display message (+Fixes of course).
30/08 - v3.28 - Added option for Power off and lock only if Today is shown (+Fixes of course).
24/08 - v3.27 - Added option for resetting the exchange server policy, keyboard slide to unlock,
activate the keys temporarily, Various fixes (in-call etc).
11/08 - v3.26 - Various fixes (Backlight dimming, in-call etc)
09/08 - v3.25 - Added option to dump the variables for debugging reasons
06/08 - v3.24 - Added slide sensitivity option. Various Fixes.
05/08 - v3.23 - Added vibrating and exclude key option. Various Fixes.
30/07 - v3.22 - Added Sliding support. Various Fixes.

NguyenHuu
19-04-2008, 12:06 PM
no bad, i like how it uses the built in windows lock.

chrisstavrou
19-04-2008, 07:56 PM
Thanks,
it works well with my favourite program (Spb shell) which is the reason of me developing this.

looeee2
20-04-2008, 01:21 AM
this works great on the smartphone but there is a visible window which can be closed too easily with task managers and can't be navigated away from.
any poss you could hide it rather than minimise it?
looeee

chrisstavrou
20-04-2008, 11:33 AM
i have updated the program to be windowless as you mentioned (attachment replaced)

Hope it works for you.

Cheers
Chris

FInixNOver
20-04-2008, 02:38 PM
i have updated the program to be windowless as you mentioned (attachment replaced)

Hope it works for you.

Cheers
Chris

First of all, thanks for sharing!! This is a very nice app.
I've tested the 2 versions (window and windowless), and I have a suggestion if I may.
I like the idea of the program being windowless, since it becomes more appealing to the eye (I mean, it's great we don't have to see the small window minimize everytime we wake the device), but now, to be able to close the app, we must use a task manager to kill the process(e.g. sometimes we may want to test some other locking software and we need to disable it temporarily). So my suggestion would be that when we run the program once it starts, the next time we run it, it stops. Would that be possible? I think it would make your app perfect!!
Remember, it's only a suggestion.

Thanks in advance.

chrisstavrou
20-04-2008, 05:54 PM
Its good to know that it may be of use by someone :)

I have updated it as you mentioned, it will exit if you run it the second time (attachment replaced).

FInixNOver
20-04-2008, 11:52 PM
Its good to know that it may be of use by someone :)

I have updated it as you mentioned, it will exit if you run it the second time (attachment replaced).

Now it's just great!!

Thank you very much for this.

NiteStalker
21-04-2008, 12:10 AM
What's the purpose of this app, from the description above it looks as though it does what the original lock already does, so I ask again; what's the purpose of this app?

FInixNOver
21-04-2008, 12:57 AM
What's the purpose of this app, from the description above it looks as though it does what the original lock already does, so I ask again; what's the purpose of this app?

Automatic lock!!
Once your device light gets dimmed, or on device wake up, without having to press the lock button.
Is that clear enough for you?:rolleyes:

NiteStalker
21-04-2008, 03:17 AM
Just set the time for 0 minutes, and it's locked on wake-up.

Guess the dim part is good, thanks for clearing that up. I guess my brain wasn't working, I couldn't figure out what deemed was.

MrGalione973
21-04-2008, 06:19 PM
now i love the app for what it does... my only suggestions or worries are... after setting that up, i no longer am able to input a password when the lock is activated... and when the program is activated, it wakes the device up from the dimmed, light, thus defeating the purposes of the backlight going off... and also draining the battery a little more... is there ayway that the program can run without waking the device?

mousio
22-04-2008, 01:37 AM
and when the program is activated, it wakes the device up from the dimmed, light, thus defeating the purposes of the backlight going off...I have had this happen to me sometimes as well, already in my short testing time span: when pressing the power button (once) the backlight switches off and back on!

I am also experiencing that it sometimes just does not seem to lock: when pressing the power button twice (with pause) my device only sometimes locks.

And in case you are open to another suggestion: perhaps you can minimize all windows when locking, so the lock ends up on the today screen; or make it an option somehow (command line parameter?)

chrisstavrou
22-04-2008, 06:25 AM
Thanks for the advices i will be checking them out and come back to you

sabestian
22-04-2008, 08:48 AM
And in case you are open to another suggestion: perhaps you can minimize all windows when locking, so the lock ends up on the today screen; or make it an option somehow (command line parameter?)
Another vote for that!

TBH the only reason I still use S2U is because I can see my missed calls, appointments etc. It's a great app, don't get me wrong, just not something I need.

Your locker would be perfect for me with an option to go back to Today on locking.

Or, perhaps you could implement a simple count of missed calls, SMS, MMS, emails and appointments directly on the lock screen? Just don't let it grow too much!

bigruss
22-04-2008, 09:15 AM
works beautifully for me with the spb mobile shell 'now' screen showing me the info, thankyou very much!

sabestian
22-04-2008, 11:20 AM
Why don't you add an option of command line parameter specifying a program/link to be launched before locking? That way it would be very flexible (there are plenty of small programs around doing loads of stuff - like minimizing everything or sending a text or calling your mama - possibilities are endless) :D

chrisstavrou
22-04-2008, 09:14 PM
Program has changed as per your advices:
- Leaves the device in idle state for better power management
- Run an application while trying to lock by reading a file.

I have updated the first entry of the thread with some more info and the file.

Any comments are welcome.

Enjoy

sabestian
23-04-2008, 09:35 PM
I love it. It's simple and effective. Just the way I like things. I'll keep testing it for a while and report back.

I've got another idea actually.TODAY option works really well, the only 'problem' (its not a problem,just room for improvement :) ) that you need to reopen all the windows you had opened before.

How about an option TODAY&BACK when the minimised windows would be reopened when unlocked? In other words-minimised when locked, back to what it had been before locking when unlocked? It would make it perfect (until next idea strikes) :)

rev3nant
23-04-2008, 10:04 PM
Anyone tested it on WM5?

Girvo
24-04-2008, 04:02 AM
This combined with GSlide is brilliant. Thank you so much for this fantastic utility! I've got a link setup to autorun this app on startup. It's brilliant! :D

sabestian
24-04-2008, 11:16 AM
This combined with GSlide is brilliant. Thank you so much for this fantastic utility! I've got a link setup to autorun this app on startup. It's brilliant! :D

What is GSlide? I cannot find it either on the xda-dev or in google...Enlighten me, please.

chrisstavrou
24-04-2008, 01:47 PM
Thanks for the comments, i will try to do the Today & Back.

sabestian
24-04-2008, 02:01 PM
This combined with GSlide is brilliant. Thank you so much for this fantastic utility! I've got a link setup to autorun this app on startup. It's brilliant! :D

Ok, I think you meant GSmart?

Thanks for the comments, i will try to do the Today & Back.

You rule, man. Awesome.

LocalGod
24-04-2008, 04:15 PM
hi... can i suggest to read a parameter to switch to HTC home's main tab (the one with the clock)? Thanks.

chrisstavrou
24-04-2008, 08:30 PM
Added the Lock & Back option as Sebastian suggested (first entry updated).
Applies only when TODAY is selected.

hi... can i suggest to read a parameter to switch to HTC home's main tab (the one with the clock)? Thanks.

I believe this is done by adding the word TODAY in the csdevctrl.txt file as mentioned in the first entry of this thread

sabestian
24-04-2008, 10:21 PM
Added the Lock & Back option as Sebastian suggested (first entry updated).
Applies only when TODAY is selected.


Bug report! Well, sort of. It doesn't show today anymore..

Edit: the .txt file should contain "TODAY", right

Edit2: I've just reinstalled v1 and it does not go back to today anymore either...It used to do it flawlessly...Hmmm

chrisstavrou
25-04-2008, 08:59 AM
I have updated a bit the program to allow for command line arguments and running programs together with the Today option.

The problem you faced Sebastian, i think i have solved it in this version as there was bug reading the file (did not trim spaces).

Please try it again and let me know.

Thanks for the feedback.

sabestian
25-04-2008, 09:53 AM
Yep, problem solved! Works perfectly. I'll be testing it extensively for next 2 weeks on my holiday!

Edit (again): it seems like the program still doesn't minimize some of windows that are opened (jmm-java-Opera or Total Commander), with other windows (S2V) it works as it sould.

Demostrike
25-04-2008, 10:50 AM
Love this app, very useful! Is it possible to get it to lock the when the screen turns off rather than dim? Cheers

chrisstavrou
26-04-2008, 02:39 PM
Ok guys,
i tried to satisfy all your 'needs' :)
The program is now using registry for easier changing of its options.
Please read the first post as all options are like turn on/off.

Sebastian, i noticed that certain programs tent to minimize once today screen gets focus. I will have more look at it.

Thank you for your comments.

chrisstavrou
27-04-2008, 09:00 AM
Added one more option as i found it wise to first get the screen dimmed then wait for a few seconds allowing the user to react. If not action is taken then the lock is set.

chrisstavrou
27-04-2008, 08:29 PM
These are the settings so that when lock is applied (after dim or wake), SPB Shell Now Screen appears:

- LockAfterWake=1
If set to 1 it will lock the device after the device has waken (not soft reset).

- DelayBeforeLockMsAfterWake=250
Time in ms to wait before applying the lock from wake and running any program (no need to change).

- LockAfterDim=1
If set to 1 it will lock the device after the screen has dimmed (user inactive).

- DelayBeforeLockMs=250
Time in ms to wait before applying the lock from dim and running any program (no need to change)

- LockAfterDimSeconds=10
Time in seconds to wait before applying the lock once the screen has dimmed.

- ShowTodayAfterLock=0

-- AfterLockRunFilePath=\Program Files\Spb Mobile Shell\MenuLauncher.exe
XXX (if not left blank) it can be an executable/registed file which will be run after the lock.
-- AfterLockRunFileParm=-now
XXX (if not left blank) they are the command line arguments of the previous option.

Remember to disable the option of Spb Shell:
'Show the Now Screen when device wakes up'

Demostrike
27-04-2008, 08:36 PM
Wow this is great, thanks a lot!

die_Melle
29-04-2008, 11:29 PM
Hi.

I would like to try this App, but hm.. dont know how to get it work :confused:

Is it possible that someone can describe it in german for me?

Thanks, Melle.

chrisstavrou
03-05-2008, 03:54 PM
I am sorry i do not know german.

However, i changed the program so no setup is needed.

What you simply need to do is:
a. Copy the file to your PDA.
b. Run it
c. If you switch off your device and then switch it on within a few seconds, it will lock your device.

die_Melle
03-05-2008, 10:53 PM
Ok, here is what i did..

copy the file to my device, then ran it, got errormessage "cant find optionsfile", ran it again, got the message "terminating optionsfile"
then switched off and on, but it still happens nothing :confused:

what am i doing wrong? maybee i am sitting in the forest not seeing any trees... :confused:

chrisstavrou
04-05-2008, 07:22 AM
:) you are using a very old one. Try to get the latest from the first post and repeat exactly what you did.

It should work as you mentioned.

yesod7
06-05-2008, 04:16 PM
chrisstavrou, I am looking for a program which will not only lock the screen during a call, but also lock all buttons except for the power button. I have tried Windows Screen Lock, S2U2, PalmarySoft.Phone.ScreenLock.v1.8 and rev3nant's Organic Lock, but all of these (and yours) only lock the screen. During a call, you can still hit the scroll wheel, the call button, or the end button, which is what happens to me when answering a call with the phone in my holster. Any help/advice you could give would be welcome.

mousio
07-05-2008, 11:36 AM
Looks great already, will try it out again!

chrisstavrou
08-05-2008, 04:37 PM
Hi all,
i have updated the program based on your suggestions:

- I have tried to implement an 'In-Call' locking (i really loved this idea as it is so useful).
- Removed the dependency on dimming (made people wonder what that is :)

Anyway give it a try if you want and let me know what you think.

See first post for more information.

yesod7
08-05-2008, 05:46 PM
I was REALLY hoping, but it still does not lock the keys or scroll wheel during a call.

chrisstavrou
08-05-2008, 06:58 PM
hmm, seems to be working on mine.

Lets see:
- Did you set the registry keys ??
LockDuringCall=1
LockDeviceDuringCall=1

After setting them, the program needs to be restarted so rerun it to stop itself and then run it once again.

What happens on mine:
- I press the green button
- Get the dialer up, dial a number (Up to this point it does not lock).
- As soon as it gets the line then it locks (with 1 second delay).
- The lock is complete (including any key i press).

I spotted a bug where the above sequence if repeated it fails, i found the reason and am fixing it now.

Can you see if you follow the steps above if it works as described ?

chrisstavrou
10-05-2008, 08:48 AM
I fixed the In-Call locking part and also made the locking to be full even without having a call in progress.

yesod7
10-05-2008, 11:21 PM
It works, and works perfectly! I am SO HAPPY! I can't tell you how long I've been looking for this feature. Well, I could tell you, but it wouldn't sound very impressive; let's just say "for two-thirds of the time I have had the phone." Thanks Again!

yesod7
10-05-2008, 11:32 PM
I forgot to thank you also for your "How To" for SPB Mobile Shell. I wish I could express how great this is for me; I've had it on my mental checklist for a long time, and it's really wonderful to have it resolved.:D:D:D

flippy
11-05-2008, 12:21 AM
Fantastic app :) There is getting to be quite a few options now... maby somebody could make a settings app(gui)???

tweakmy
11-05-2008, 04:59 AM
can somebody show me how you can integrate the screen saver into this? is it possible

yesod7
11-05-2008, 06:44 AM
can somebody show me how you can integrate the screen saver into this? is it possible

search for S2U2 (Slide 2 Unlock,) that's about as "screensaver" as it gets!

chrisstavrou
11-05-2008, 12:02 PM
Thats good news yesod7, am glad you found it useful.

I am working on creating the setup GUI.

tweakmy,
i am not sure what you want actually, if you could describe it to me may be i could help more.

tweakmy
11-05-2008, 02:21 PM
Thats good news yesod7, am glad you found it useful.

I am working on creating the setup GUI.

tweakmy,
i am not sure what you want actually, if you could describe it to me may be i could help more.

i m looking for screensaver with clock and comes with pin lock...

chrisstavrou
16-05-2008, 07:29 PM
Created a very basic setup program so no need to keep on changing the registry keys.

Also, as i really like SPB Shell and my carrier is quite long overwriting the Battery icon, i have change the program to trim the carrier name to a small number of chars.

Using the same concept, i have added an option to display the status of Bluetooth switching between carrier name and bluetooth status (this way i do not have to wait for the blue light to come up to realize that the bluetooth is on).

I am trying to see how i can also make the locking using a kind of PIN as requested.

Cheers
Chris

tweakmy
16-05-2008, 07:51 PM
Created a very basic setup program so no need to keep on changing the registry keys.

Also, as i really like SPB Shell and my carrier is quite long overwriting the Battery icon, i have change the program to trim the carrier name to a small number of chars.

Using the same concept, i have added an option to display the status of Bluetooth switching between carrier name and bluetooth status (this way i do not have to wait for the blue light to come up to realize that the bluetooth is on).

I am trying to see how i can also make the locking using a kind of PIN as requested.

Cheers
Chris


hi there,
i m also quite interested to developed this myself. I do hv some basic in vb,net tough. actually the pin has been already incorporated for wm6. it s just that when u powered on ur window, u would get the unlock pin sceen instead of the any screen saver. i tried already with spb time....no help at all.

my intention is to build a screen that overlap the unlock pin screen.meaning to say the screen saver ll be disabled when it is touch by stylus and brings the unlock pin screen into action.

i could consider new app to incorporate the pin lock and screen saver as a combo.

detail of the screen saver would be:
batt status
clock
missed call or sms notification

gepol
13-06-2008, 08:03 AM
Excellent, thanks :)

yesod7
13-06-2008, 03:34 PM
With CSDEVCTRL, I have found that it seems to treat TomTom is if it were the phone operation. That is to say, it locks everything after five seconds when TomTom is on, and continues this behavior until I turn one or the other off. Any ideas?

gepol
13-06-2008, 04:08 PM
I also found out that at times, not always though, the phone gets completely locked, that I cannot answer any calls. I tried several settings but to no avail. I needed to soft reset the device for it to work properly again, until it appears again.

chrisstavrou
14-06-2008, 08:41 AM
Txn for the comments,
i am working on an update to fix this problems.

The main reason is that there is no official API to hook on the screen/keyboard to use it for timeout and the one i am using has problems.

May be i will switch it back to using the backlight state instead.

man2003
14-06-2008, 05:29 PM
Thanks athanks thans thanks... I really do not know how to thank you for this tool... I've been looking for it long time... You are the man...

man2003
14-06-2008, 05:40 PM
This is a gift for you... CAB file which will install the tool into the device and put two shortcuts into Programs...

Do you need a file in the Startup folder?

abdelrahim
15-06-2008, 11:35 PM
Thanks alot ....will definitely try it ....

osma101174
18-06-2008, 03:28 PM
Iv installed this app. but it fuckt up my phone, so i uninstalled it just like it says. but now when i use on/off button on the side (HTC TYTN) and after a wile "wake" it up again from standby. i get a warning. it says " cant run \windows\~IA Zip Temporary Files\csdevctrl.exe"
how can i get ridd of this message?

I liked the applikation, and i would like to use it. but it had to many faults!

can you please help me with my problem?

chrisstavrou
18-06-2008, 05:43 PM
Sorry to hear this.
I am going to post a new version of this which i have been using for some time now.

As for the error,it seems that the program had been executed from the web browser after downloading ?

Anyway,
try to download once again the program and then copy the csdevctrl.exe to the
\windows\~IA Zip Temporary Files\
directory.
After that run it to register itself.

Then run it once again to unregister itself.

Hope it helps.

osma101174
18-06-2008, 07:58 PM
Thank you. i did what you said. and it worked like a charm. and im usin the last update of your app. realy like the app.

Thanks again for your help

chrisstavrou
18-06-2008, 09:44 PM
Thanks man2003 for the cab but i guess a new one is needed now :)

I have uploaded the latest changes which involve:

- A list of programs for which the lock will not be activated. The list must be separated with the character ';' which must follow after every executable. Only the executable must be entered, not the full path.

- A key sequence which if pressed within 2 seconds, then the device gets unlocked.

For the last part, i am changing the setup program so that the Hex values are entered automatically after the user selected some keys.

For now, on TyTNII:
0c3 is the Today Key
0c4 is the OK Key
so by entering these values in the first and second key respectively the device can be unlocked by pressing those keys instead of touching the screen.

yesod7
20-06-2008, 03:45 AM
I switched to your newer versions, with the menu-type setup instead of the registry changes. Now, though, when I make calls, I can still press the buttons to put the call on hold, and more importantly, to hang up, after the five second delay when everything is supposed to lock.

I have the Lock After Device Wakes is checked.
Lock fully the device is checked.
Show Today after Lock is checked.
Lock during call is checked.
Lock Fully the device during Call is checked.
Lock if idle in call for sec is 5.

otherwise, I have not changed any settings.

Is there a setting I'm missing?:(:(:(

fzzyrn
20-06-2008, 04:06 AM
Is it possible to modify this program to end calls instead of locking the screen during them? I would like to see some kind of customizable time delay.

I've made a thread about this, but nobody seems to have answered.

athena99
20-06-2008, 06:59 AM
Hi chrisstavrou,

Your program is very useful, it's great.
But I have a suggestion, is it possiable to disable backlight when touch the screen while device locked. Thanks.

chrisstavrou
20-06-2008, 07:20 AM
I switched to your newer versions, with the menu-type setup instead of the registry changes. Now, though, when I make calls, I can still press the buttons to put the call on hold, and more importantly, to hang up, after the five second delay when everything is supposed to lock.

I have the Lock After Device Wakes is checked.
Lock fully the device is checked.
Show Today after Lock is checked.
Lock during call is checked.
Lock Fully the device during Call is checked.
Lock if idle in call for sec is 5.

otherwise, I have not changed any settings.

Is there a setting I'm missing?:(:(:(

Seems it does not read the settings.

Can you try deleting the whole key of HKEY_LOCAL_MACHINE\Software\CSDevCtrl
and then through the setup program (if it can be called like that :) , fill in your options.

chrisstavrou
20-06-2008, 07:22 AM
Is it possible to modify this program to end calls instead of locking the screen during them? I would like to see some kind of customizable time delay.

I've made a thread about this, but nobody seems to have answered.

Do you mean that let the phone ring for some time and if not anwered for some time then drop the call ?

chrisstavrou
20-06-2008, 07:24 AM
Hi chrisstavrou,

Your program is very useful, it's great.
But I have a suggestion, is it possiable to disable backlight when touch the screen while device locked. Thanks.

Hi Athena,
efxaristo :)
If you set the device to be fully locked (LockDeviceAlways) then while locking the screen remains without backlight.

yesod7
20-06-2008, 02:48 PM
Seems it does not read the settings.

Can you try deleting the whole key of HKEY_LOCAL_MACHINE\Software\CSDevCtrl
and then through the setup program (if it can be called like that :) , fill in your options.

Okay, that worked, but now what happens is that every time I change the settings and/or turn the program off, then back on again, my Tilt freezes up and I have to soft-reset it. (Minor problem, to say the least.)

Secondly, the thing that really bugs me is something it's always done: usually, when I unlock the phone using the screen, it unlocks, then immediately the screen goes blank, and I have to use the power button to get it back on. Have you found this before?

Thirdly, I have tried using the new button-combo to unlock it, and can't get it to unlock. Which buttons are which, numberwise?

By the way, I hope you don't think I'm complaining; I still love this program!

chrisstavrou
20-06-2008, 09:41 PM
Okay, that worked, but now what happens is that every time I change the settings and/or turn the program off, then back on again, my Tilt freezes up and I have to soft-reset it. (Minor problem, to say the least.)
Secondly, the thing that really bugs me is something it's always done: usually, when I unlock the phone using the screen, it unlocks, then immediately the screen goes blank, and I have to use the power button to get it back on. Have you found this before?

Thirdly, I have tried using the new button-combo to unlock it, and can't get it to unlock. Which buttons are which, numberwise?

By the way, I hope you don't think I'm complaining; I still love this program!

Sorry for this, me very bad :)
I have fixed it in the latest update which has some more goodies:

- Turn on/off Bluetooth based on call status.

As for the blank screen, it does not appear on my Tytn, i will have some more checks, may be its a program that is running while it is locked ?

As for the unlock sequence,
enter 0c3 as the first key and
0c4 as the second from the setup program.

Keep in mind that it is only enabled if 'Lock Fully Device' is set.

After it locks the device,
if you press the 'Start' key and then the OK key within 2 secs it should unlock the device.

Your comments are always welcome, no problem.

Thanks

yesod7
20-06-2008, 10:49 PM
"Run setup program first. Key not found."

That's what I get after I save changes after initial setup or try to run the program.

fzzyrn
21-06-2008, 03:37 AM
I mean for a call to be in session for x minutes and then for the software to end the call, like an auto-hangup. There's a similar software, but its only for Symbian

osma101174
21-06-2008, 11:08 AM
Hi. i am looking in the regfile, and cant find the ignor program settings anywhere.
when i set the time to lock to xx sec. if idle. the lock progr. locks my phone even if im writing an sms, or hve any othet programs running. like camera and so on.
how can i enter programs that will exklud locking the phone.

chrisstavrou
21-06-2008, 04:24 PM
"Run setup program first. Key not found."

That's what I get after I save changes after initial setup or try to run the program.

Hmm, when the versions are changed the setup program must be executed and select Save to update the new keys.
Well i would suggest to get the latest one :) which i just uploaded and run the new setup program (it will keep your settings).

I have changed a bit the logic and it works much better with PointUI.

chrisstavrou
21-06-2008, 04:27 PM
I mean for a call to be in session for x minutes and then for the software to end the call, like an auto-hangup. There's a similar software, but its only for Symbian

Try using the new one i have just uploaded (3.07).

I added an option [HangupCallAfterSecs] where you specify in seconds the time before dropping the call (either incoming or outgoing).

Let me know if this is what you were looking for, i have actually simulated the 'hang up' did not use a straight forward API hope it does what you wanted.

chrisstavrou
21-06-2008, 04:29 PM
Hi. i am looking in the regfile, and cant find the ignor program settings anywhere.
when i set the time to lock to xx sec. if idle. the lock progr. locks my phone even if im writing an sms, or hve any othet programs running. like camera and so on.
how can i enter programs that will exklud locking the phone.

Try getting the latest one, there is no more reg file but a very basic setup program from where you can change the settings.
I suggest use a number larger than 20 seconds for idle.

luciferceli
22-06-2008, 11:10 AM
"Quote:
Originally Posted by LocalGod
hi... can i suggest to read a parameter to switch to HTC home's main tab (the one with the clock)? Thanks.

I believe this is done by adding the word TODAY in the csdevctrl.txt file as mentioned in the first entry of this thread"

Pls help with this, I still don't know how to make it switch to Htc home's first tab automatically. Where's the csdevctrl.txt file?

Keep up the excellent work!l

chrisstavrou
23-06-2008, 07:17 AM
"Quote:
Originally Posted by LocalGod
hi... can i suggest to read a parameter to switch to HTC home's main tab (the one with the clock)? Thanks.

I believe this is done by adding the word TODAY in the csdevctrl.txt file as mentioned in the first entry of this thread"

Pls help with this, I still don't know how to make it switch to Htc home's first tab automatically. Where's the csdevctrl.txt file?

Keep up the excellent work!l

Thanks for the comments,
switching to the first tab is not yet ready, it only switches to the today screen.
Hopefully i will find some time today to do this.

luciferceli
23-06-2008, 08:44 AM
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.

osma101174
23-06-2008, 09:23 AM
Try getting the latest one, there is no more reg file but a very basic setup program from where you can change the settings.
I suggest use a number larger than 20 seconds for idle.

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.

athena99
23-06-2008, 03:48 PM
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!

kwickone
23-06-2008, 04:52 PM
cool modification to the default locking app! Thanks.

yesod7
23-06-2008, 05:21 PM
Another thing: even though I only have it set to lock "in call," it locks on wake up, and on external power. Any ideas?

kwickone
23-06-2008, 06:09 PM
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.

chrisstavrou
24-06-2008, 08:38 PM
"Quote:
Originally Posted by LocalGod
hi... can i suggest to read a parameter to switch to HTC home's main tab (the one with the clock)? Thanks.

I believe this is done by adding the word TODAY in the csdevctrl.txt file as mentioned in the first entry of this thread"

Pls help with this, I still don't know how to make it switch to Htc home's first tab automatically. Where's the csdevctrl.txt file?

Keep up the excellent work!l
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

chrisstavrou
24-06-2008, 08:39 PM
Another thing: even though I only have it set to lock "in call," it locks on wake up, and on external power. Any ideas?
Hmm seems it does not read the settings.
Try using the setup program to set those values.

chrisstavrou
24-06-2008, 08:40 PM
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.

I am preparing the setup program to show these values.
These keys are the last keys at the bottom (not directly beneath the softkeys)

yesod7
24-06-2008, 10:04 PM
Hmm seems it does not read the settings.
Try using the setup program to set those values.

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:

luciferceli
25-06-2008, 02:26 PM
@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.

fense
25-06-2008, 07:53 PM
Hi all,
this is another auto locking program which utilizes the Windows Locking for partial locking (phone related keys are active)
or complete locking (no keys are active).

It can be considered as an add-on to other programs which provide the User Interface and also an 'In Call Locker'.

It can be activated at the following events:
1. After a specified period of idle time (no tapping or touching the keyboard).
2. After the device has waken up.
3. During a call ("In-Call Locking" Partial or Full).

Also for any of the first 2 events (idle or wake up) the program can run a specified executable/registered file together with any command line arguments that might be required.

Finally,
A. it can provide some customization on the carrier name so that:
- It can fit on the screen (for exampl not to overwrite the Battery icon in SPB Shell)
- Show the Bluetooth State

B. Turn on Bluetooth if a call is being dialed or received. Then switch it off after
the call has ended and the device is idle.

C. Drop a call after some period of time.

The behavior of this program is driven by the next key/values:

> Key
HKEY_LOCAL_MACHINE\Software\CSDevCtrl\Options

> Values

- LockWhileOnExternalPwr=0 or 1 (Default is 0)
If set to 1 it will try to apply the lock even while running on external power.

- LockAfterWake=0 or 1 (Default is 1)
If set to 1 it will try to apply the lock after the device has waken (not soft reset).

- LockAfterIdleSeconds=xxx (Default is 45)
xxx are in seconds the inactivity timeout before a lock is applied (not during call).

- LockDeviceAlways=0 or 1 (Default is 1)
If set to 1 Full locking is set (all keys) otherwise partial locking (phone related keys enabled).

- LockDuringCall=0 or 1 ("In-Call Locking" Partial or Full). (Default is 1)
If set to 1 it will try to apply the lock. The first time the call is initiated the locked will be instant.
This lock is partial and still allows for the keys of the phone to be used (Usuall case of windows lock).
The user is given the chance to unlock while the call is taking place.
After unlocking, the program will use the parameter
--LockAfterIdleSecondsInCall=xxx (Default is 10)
where xxx is the second to reply the lock while the call is still on.

Also while having LockDuringCall=1, if the next parameter:
--LockDeviceDuringCall=0 or 1 (Default is 0)
is set to 1, then the lock is a Full lock and the device should not react in any keystroke.

- 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.

- IgnorePrograms (Default is blank)
If set, it the list of the executables which if they are running in the foreground then no locking will appear. Its
a list separated with the character ';' which must be followed for each entry without any space.
For example:
MioMap.exe;pword.exe;

- DelayBeforeLockMsAfterWake=250 (Default is 250)
Time in ms to wait before applying the lock from wake and running any program (no need to change).

- DelayBeforeLockMs=250 (Default is 250)
Time in ms to wait before applying the lock from dim and running any program (no need to change)

- ShowTodayAfterLock=0 or 1 (Default is 1)

If set to 1 it will bring the Windows Today Screen after applying the user selected lock.

-- ClickOnToday=0 or 1 (Default is 0)
If set to 1 it will send a mouse click using the next values as coordinates
-- TodayPortraitX=x1
-- TodayPortraitY=y1
for Portrait mode
-- TodayLandscapeX=x1
-- TodayLandscapey=y1
for Landscape mode

-- AfterTodayRunFilePath=XXX (Default is blank)
XXX (if not left blank) it can be an executable/registed file which will be run after the lock and the Today focus
-- AfterTodayRunFileParm=XXX (Default is blank)
XXX (if not left blank) they are the command line arguments of the previous option.
-- LockAndBackAfterToday=0 or 1 (Default is 0)
If set to 1, after unlocking the Today screen will be hidden so that the rest of the windows are visible.
If set to 0 then the next values will be used

-- AfterLockRunFilePath=XXX (Default is blank)
XXX (if not left blank) it can be an executable/registed file which will be run after the lock.
-- AfterLockRunFileParm=XXX (Default is blank)
XXX (if not left blank) they are the command line arguments of the previous option.

- AfterUnLockRunFilePath=XXX (Default is blank)
XXX (if not left blank) it can be an executable/registed file which will be run after the lock is released (device unlocked).
- AfterUnLockRunFileParm=XXX (Default is blank)
XXX (if not left blank) they are the command line arguments of the previous option.

- TurnOnBlueToothRingCall=0 or 1 (Default is 0)
If set to 1, Bluetooth will be turned on if the phone is ringing or a call has started
[STILL EXPERIMENTING WITH THIS]

- TurnOffBlueToothifIdle=0 or 1 (Default is 0)
If set to 1, Bluetooth will be turned off if it had been turned on because of the above
option and the phone now is in idle state.
[STILL EXPERIMENTING WITH THIS]

- HangupCallAfterSecs=XXX (Default is 0)
If set to non 0, then the current call (either incoming or outgoing) will be terminated
within these seconds.
[STILL EXPERIMENTING WITH THIS]

- ReduceCarrierNameChars=xxx (Default is 0)
It set then it will right trim the Carrier to be up to these number of chars, overwritting the last
3 chars with ...

-- ToggleBlueToothState=0 or 1 (Default is 0)
Combined with the above it can display the Bluetooth State in the Carrier name.

>>>>> If you change any of the parameters the program will need to be restarted (Re-run it as mentioned further on).

The above parameters can also be updated using the setup program provided (csdevctrlsetup.exe).
(As i am still new to this enviroment, its a basic UI with some limitations, scrollbar
is giving me some probs so be kind ... :)

To install it:
> copy the files provided to a folder


To run it:
> Run the setup program (.exe) to set the parameters.
> Run the program ((csdevctrl.exe) and it will spawn at the background as another process.

To stop it:
> Running the program second time will cause the program to exit (It will show a confirmation window which will close in 3 seconds unless you close it sooner).

To uninstall it:
> Close the process as usual (run it again or kill the process) and delete the file.
> Also delete the registry key HKEY_LOCAL_MACHINE\Software\CSDevCtrl

As a note, do not rename the csdevctrl.exe as the uninstall depends on this name.

It has been compiled for WM5 so it should run on both WM5/WM6 (i am using a Kaiser with WM6.1)

Cheers
Chris


Log:
24/06 - v3.08 - Added option for sending mouse click to Today screen
21/06 - v3.07 - Added Hangup after a specified period.
19/06 - v3.06 - Added Bluetooth on when ring, off when idle + Fix.
18/06 - v3.05 - Added Unlock sequence and programs to avoid locking when running.
16/05 - v3.02 - Added a setup program and the carrier name handling.
10/05 - v3.01 - Added Full/Partial lock support.
08/05 - v3.0(Beta) - Implemented timeout and In-call support-Removed bluetooth.
03/05 - v2.5 - Added option to lock only if bluetooth is on after wake
01/05 - v2.4 - Default Registry entries are created with the initial run of the program.
27/04 - v2.3 - Added option to wait before locking after dim. Gives user time to re-act.
26/04 - v2.2 - Using registry for all available options.

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..

chrisstavrou
25-06-2008, 10:02 PM
I am preparing the setup program to show these values.
These keys are the last keys at the bottom (not directly beneath the softkeys)

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.

chrisstavrou
25-06-2008, 10:03 PM
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..

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.

chrisstavrou
25-06-2008, 10:05 PM
@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.

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.

chrisstavrou
25-06-2008, 10:17 PM
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.

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;

chrisstavrou
25-06-2008, 10:20 PM
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!
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)

chrisstavrou
25-06-2008, 10:21 PM
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:
Check may be you have a number still set at LockAfterIdleSeconds.
It should be 0 if you want to simply lock during a call.

yesod7
26-06-2008, 03:38 PM
Check may be you have a number still set at LockAfterIdleSeconds.
It should be 0 if you want to simply lock during a call.

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:

athena99
26-06-2008, 09:01 PM
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.

luciferceli
27-06-2008, 06:01 AM
I don't know what I did but pls help:
I have a Notification Error that says "Cannot execute \csdevctrl.exe" every time the device wake up.

Also, I can't get the debugscr to show key code. I want to know those of Red/Green phone key of Kaiser since the suggested buttons are handle by AEbutton and seem to have some problem.

Thanks a lot!

luciferceli
27-06-2008, 10:53 AM
re. previous post:

Problem 1 solved by copying the exe file to root folder. But can we not put the file there and it still work?

I also find that the sending mouse click function sometime does not follow the coordinates specified?

athena99
27-06-2008, 12:31 PM
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)

Hi chrisstavrou,

Thanks for your reply, but may I have more details, how to do it in mortscript with paramter. Many thanks!

yesod7
27-06-2008, 06:38 PM
Chrisstavrou, could you add an option to unlock (or turn the lock off) after the phone call ends? I use S2U2, so the only time I need the buttons locked is during a call. Every time I pull my phone out, I have to unlock it, then slide-to-unlock, if I have had a call previously....

Whaddya think, O Great Locking Guru?:):):)

chrisstavrou
27-06-2008, 08:14 PM
re. previous post:

Problem 1 solved by copying the exe file to root folder. But can we not put the file there and it still work?

I also find that the sending mouse click function sometime does not follow the coordinates specified?

It should work in any location, its just that if it is copied before stopping it, the old location is still registered.
If the program is stopped then it can be moved to any location and then it can be restarted.

chrisstavrou
27-06-2008, 08:15 PM
Hi chrisstavrou,

Thanks for your reply, but may I have more details, how to do it in mortscript with paramter. Many thanks!

I have tried to use mortscript but it does not seem to control the backlight on my Kaiser.
Let me see what i can do, may be i can add this feature in this utility instead.

chrisstavrou
27-06-2008, 08:18 PM
Chrisstavrou, could you add an option to unlock (or turn the lock off) after the phone call ends? I use S2U2, so the only time I need the buttons locked is during a call. Every time I pull my phone out, I have to unlock it, then slide-to-unlock, if I have had a call previously....

Whaddya think, O Great Locking Guru?:):):)
i will give it a try, hopefully i will have something tomorrow for you to test :)

chrisstavrou
28-06-2008, 04:52 PM
Chrisstavrou, could you add an option to unlock (or turn the lock off) after the phone call ends? I use S2U2, so the only time I need the buttons locked is during a call. Every time I pull my phone out, I have to unlock it, then slide-to-unlock, if I have had a call previously....

Whaddya think, O Great Locking Guru?:):):)

Ok fresh fresh from the factory, 3.09 , option
UnLockAfterCallOver=1

Give it a try and let me know what you think.

cayotte
29-06-2008, 08:05 AM
I've tried so many lock and unlock program. To be honest, this is the BEST. Full of customizations. Keep the good work, Bro.

luciferceli
29-06-2008, 01:22 PM
Could you please fix the program so that it enable me, during a phone call, to turn on speaker by touching the screen? At the moment the screen is lock during call? so, something like unlock during call?

Guys, forget S2U2 or whatever else! Just keep asking this amazing guy for more! lol

chrisstavrou
30-06-2008, 08:47 PM
I've tried so many lock and unlock program. To be honest, this is the BEST. Full of customizations. Keep the good work, Bro.

Thanks for the good comments, hope is of some use :)

chrisstavrou
30-06-2008, 08:54 PM
Could you please fix the program so that it enable me, during a phone call, to turn on speaker by touching the screen? At the moment the screen is lock during call? so, something like unlock during call?

Guys, forget S2U2 or whatever else! Just keep asking this amazing guy for more! lol

;) Lets see if you like this attachment , after your approval i will post it on the first topic :)

While in call and the device is locked, tap twice on the top half part of the screen with a second delay between the taps.

braindoc
01-07-2008, 04:32 PM
I would like to use this program to only lock the touch screen during a call but not autolock my device at any other time. I've installed version 3.09, have the 'Lock if Idle for Sec' parameter set to 0, but the autolock sets after about 2-3 seconds of inactivity. What other parameters do I need to set in order to have the program only lock the touch screen during a phone call?

chrisstavrou
02-07-2008, 05:46 AM
I would like to use this program to only lock the touch screen during a call but not autolock my device at any other time. I've installed version 3.09, have the 'Lock if Idle for Sec' parameter set to 0, but the autolock sets after about 2-3 seconds of inactivity. What other parameters do I need to set in order to have the program only lock the touch screen during a phone call?
Try the following:
- Delete the HKEY_LOCAL_MACHINE\Software\CSDevCtrl key
- Run the setup program and:
Set 'Lock if Idle for Sec'
Uncheck all the rest lock options
Check only the options of the call you want
(leave the LockAfterIdleSecondsInCall to a number larger than 0)
Select OK and when prompted to Save answer yes.
If the above do not work, let me know what device you have.
Good luck

richabi
02-07-2008, 10:10 AM
UPDATE: sorry! it does lock after manually putting kaiser into sleep. it just needs to be in sleep for a few seconds. I was waking it up within 2 or 3 seconds and I guess the lock command didn't have time to actually utilize. Thanks for this amazing app!!

One of my top 5 favorite apps. Thank you sooo much for this!

One problem though:
The "Lock after device wakes" option will not work for me when using the kaiser power button. When I press the power button to put my phone in sleep mode and press it again to wake it up, it does not lock. It will only lock if I wait for the phone to automatically go into sleep mode. Any way of making this work if I manually put my phone to sleep?

chrisstavrou
02-07-2008, 11:43 AM
UPDATE: sorry! it does lock after manually putting kaiser into sleep. it just needs to be in sleep for a few seconds. I was waking it up within 2 or 3 seconds and I guess the lock command didn't have time to actually utilize. Thanks for this amazing app!!

One of my top 5 favorite apps. Thank you sooo much for this!

One problem though:
The "Lock after device wakes" option will not work for me when using the kaiser power button. When I press the power button to put my phone in sleep mode and press it again to wake it up, it does not lock. It will only lock if I wait for the phone to automatically go into sleep mode. Any way of making this work if I manually put my phone to sleep?

Good to know this thanks.

As for the wake up,
it seems that if you turn off and then on the phone immediatetly, it is as if no switch has taken place (windows do not generate any event so programically is really difficult to get this case).
On the other hand, if after turning off, you wait a few seconds (like 3 to 5 sec) then program should pick up the event and do the locking.

braindoc
02-07-2008, 03:37 PM
Try the following:
- Delete the HKEY_LOCAL_MACHINE\Software\CSDevCtrl key
- Run the setup program and:
Set 'Lock if Idle for Sec'
Uncheck all the rest lock options
Check only the options of the call you want
(leave the LockAfterIdleSecondsInCall to a number larger than 0)
Select OK and when prompted to Save answer yes.
If the above do not work, let me know what device you have.
Good luck

Thanks for you reply. I tried this but it didn't work. I'm using a Samsung i760.

yesod7
02-07-2008, 03:50 PM
Thanks for you reply. I tried this but it didn't work. I'm using a Samsung i760.

braindoc, I have had the same issue, but made the changes in the registry and soft reset. After soft reset, double-check the registry to make sure the changes stuck. (Sometimes the setup changes don't show up in the registry.) I'm using a Kaiser, though, so I only know what worked for me.

yesod7
02-07-2008, 03:54 PM
chrisstavrou, the Unlock After Call Ends works well. Not 100%, but close! I'm sure the "not 100%" part is due to the use of S2U2. In any case, it makes the experience loads better. Thanks, as always!:):)

I'm looking forward to the "upper screen double-tap" unlock; I might just have to do away with S2U2 altogether....;);)

craiglay
02-07-2008, 06:29 PM
Hi,

Firstly this is a great program, the most useful one on my PDA, and mostly does what I want it to but...

When I'm in a call, the device is locked ok, but it also locks my hardware buttons so I have to unlock the phone before I can hang up. No problems if the phone is unlocked.

LockDeviceDuringCall is 0
LockDuringCall is 1 (should allow hardware buttons??)
LockAfterIdleSecondsInCall is 15 (same as idle)

Is there any way to allow the phone buttons to be used when in a call, and when locked?

I have the HTC Polaris / Touch Cruise (Actually an O2 XDA Orbit 2)
Running the original ROM based on WM6

Thanks,
Craig

chrisstavrou
02-07-2008, 08:46 PM
chrisstavrou, the Unlock After Call Ends works well. Not 100%, but close! I'm sure the "not 100%" part is due to the use of S2U2. In any case, it makes the experience loads better. Thanks, as always!:):)

I'm looking forward to the "upper screen double-tap" unlock; I might just have to do away with S2U2 altogether....;);)
Can you try this one instead as i did a small change on 'trapping the tapping' ?
(P.S: Opps this is a debugging version better ignore it.
How about if the screen is split into 4 regions and each one serves a purpose ?

chrisstavrou
02-07-2008, 08:50 PM
Hi all,
am gonna be busy till Monday morning so i will be able to reply to you next week.

braindoc
03-07-2008, 04:19 PM
braindoc, I have had the same issue, but made the changes in the registry and soft reset. After soft reset, double-check the registry to make sure the changes stuck. (Sometimes the setup changes don't show up in the registry.) I'm using a Kaiser, though, so I only know what worked for me.

Thanks for the info. I deleted the registry and did a soft reset. Everything worked fine until I made a phone call then the locking program reverted back to my previous problem with the phone locking up after about 2-3 sec of inactivity.

yesod7
03-07-2008, 08:37 PM
Can you try this one instead as i did a small change on 'trapping the tapping' ?
(P.S: Opps this is a debugging version better ignore it.
How about if the screen is split into 4 regions and each one serves a purpose ?

That sounds great; how about this as a possibility... One region could take you directly to contacts, and one region could take you directly to the keypad. These are the two main things I need when on the phone; maybe a third could be the calendar?

Of course, you could offer the ability to assign the regions as desired from a list of options, too! How's that for having your work cut out for you?!;););)

Pretty soon, you'll have to make an entire Today screen!

yesod7
03-07-2008, 08:41 PM
Thanks for the info. I deleted the registry and did a soft reset. Everything worked fine until I made a phone call then the locking program reverted back to my previous problem with the phone locking up after about 2-3 sec of inactivity.

braindoc, I was suggesting making the changes in the registry, not deleting it. I think it just recreates the registry entry at some point during the program, so deleting it might only be a temporary fix. What worked for me was editing the registry settings in the Csdevctrl folder in the registry, then soft-reset. Good luck!

yesod7
03-07-2008, 09:23 PM
One other question: is there a way to eliminate the backlight dimming that happens when the phone locks?

Which reminds me, if you're going to make the regions of the screen do different things, you'll probably want to overlay the screen with a skin of some sort, possibly with icons denoting functions. Could you make the transparency of that skin adjustable?

luciferceli
04-07-2008, 02:57 AM
I reckon a .lnk file to assign to a button (PTT maybe) to lock the phone. It will turn the phone to today, click on the screen, and lock the phone. After that the phone can turn off by itself normally.

This may eliminate other incompatible issues that I experienced (and assure me that everything is done and dusted before I leave my phone) that is:

When you leave a certain program open (ie. Notes, Calendar, those that comes with the phone and iContact) and then turn off the phone or leave for it to turn off by itself, when the phone wake up, this program sometimes does not work well ie. click on the screen before turn to Today (it dialled somebody accidently in some cases), do not lock or click on the Today screen in the wrong location, just above the place you specified and open my Inbox.

Also, somehow my bottom bar disappear... It back to normal when I stop using this prog.

I hope you don't find this discourage, I VERY MUCH love the program and it's the only Locking prog. that I would use. S2U2 comes 2nd.

Besides, sorry I did not try the new version. My point was a function to unlock the phone during a call so that u can do whatever u want without having to unlock, especially when you are driving and want to turn on speaker....

Cheers, locking master.

LoopyLoo
04-07-2008, 04:04 AM
Hi chrisstavrou,

Good, small app, just the way I like 'em... And I've been looking for auto-locking s/w for a while now so I'm pleased to find this.

Have installed 3v09 on my SPV_700 running WM6 and it basically works except that once the idle time is up and the lock applied my device seems to come out of the dimmed state and the timeout out to standby starts over again.

I think somebody else on this thread mentioned the problem earlier but I dont believe the issue was resolved?...

Many thanks,

LL

Tane71
06-07-2008, 05:33 AM
Hi,
This apps rocks ! Thanks a lot Chris. This is exactly what I was looking for !
I tried to configure the exceptions programs "Do not lock" for TomTom and messaging (email & sms) but nothing works :(

I tried all these syntaxes, without any success :
"TomTom Navigator.exe" - "Program Files/Navigator/TomTom Navigator.exe" (with "/" and "\") - "Navigator.exe" - Navigator/TomTom Navigator.exe" etc.
Could you please help me to find the good syntax for TomTom and mails exceptions ? thanks.

[I'm running the v3.09 on HTC Polaris (WM6 / offical ROM, no modif. / TomTom 6.032 Western Europe / no other locking soft / no S2U2)]

Tane71
06-07-2008, 05:38 AM
I also tried the unlock function by touching screen and pressing OK button (0c3 & 0c4 well selected), without any success... did I missed something ?

osma101174
08-07-2008, 12:25 PM
I have tried the function that doesent lock whn i run a program, but i cant get it to work.
i have installed tom tom, and when i run the program i still locks after the set time.
same with det internal calculator in WM6, and other programs running under WM6

What am i doing wrong, how do i do it.

I have typed in the exe name for the programs parted by ";" but it still locks.

Help!

Tane71
08-07-2008, 12:36 PM
Same here... waiting for an advise :)

chrisstavrou
08-07-2008, 08:31 PM
That sounds great; how about this as a possibility... One region could take you directly to contacts, and one region could take you directly to the keypad. These are the two main things I need when on the phone; maybe a third could be the calendar?

Of course, you could offer the ability to assign the regions as desired from a list of options, too! How's that for having your work cut out for you?!;););)

Pretty soon, you'll have to make an entire Today screen!

Well there are so many nice programs as a replacement of the Today screen so i would rather do not go this way.
I have updated the program (3.10) to support tapping and taking certain actions while the device is still locked (see the first page).
Comments always wellcome

chrisstavrou
08-07-2008, 08:32 PM
One other question: is there a way to eliminate the backlight dimming that happens when the phone locks?

Which reminds me, if you're going to make the regions of the screen do different things, you'll probably want to overlay the screen with a skin of some sort, possibly with icons denoting functions. Could you make the transparency of that skin adjustable?

Honestly i tried to do this but did not find a way, i will keep on search as if run Voice command while the device is locked it actually turns on the backlight.

chrisstavrou
08-07-2008, 08:35 PM
Hi,

Firstly this is a great program, the most useful one on my PDA, and mostly does what I want it to but...

When I'm in a call, the device is locked ok, but it also locks my hardware buttons so I have to unlock the phone before I can hang up. No problems if the phone is unlocked.

LockDeviceDuringCall is 0
LockDuringCall is 1 (should allow hardware buttons??)
LockAfterIdleSecondsInCall is 15 (same as idle)

Is there any way to allow the phone buttons to be used when in a call, and when locked?

I have the HTC Polaris / Touch Cruise (Actually an O2 XDA Orbit 2)
Running the original ROM based on WM6

Thanks,
Craig

It should work as you described, please try the latest version keeping in mind that any registry entry must be a string and not a number.
Better use the setup program (even if it looks lame :)

chrisstavrou
08-07-2008, 08:38 PM
Hi chrisstavrou,

Good, small app, just the way I like 'em... And I've been looking for auto-locking s/w for a while now so I'm pleased to find this.

Have installed 3v09 on my SPV_700 running WM6 and it basically works except that once the idle time is up and the lock applied my device seems to come out of the dimmed state and the timeout out to standby starts over again.

I think somebody else on this thread mentioned the problem earlier but I dont believe the issue was resolved?...

Many thanks,

LL

You are right, i am still trying to over come this, it actually wakes the device from the standby when trying to lock as the lock is simulated with key strokes.
I believe i am almost there so a new version should have this fixed

chrisstavrou
08-07-2008, 08:41 PM
Hi,
This apps rocks ! Thanks a lot Chris. This is exactly what I was looking for !
I tried to configure the exceptions programs "Do not lock" for TomTom and messaging (email & sms) but nothing works :(

I tried all these syntaxes, without any success :
"TomTom Navigator.exe" - "Program Files/Navigator/TomTom Navigator.exe" (with "/" and "\") - "Navigator.exe" - Navigator/TomTom Navigator.exe" etc.
Could you please help me to find the good syntax for TomTom and mails exceptions ? thanks.

[I'm running the v3.09 on HTC Polaris (WM6 / offical ROM, no modif. / TomTom 6.032 Western Europe / no other locking soft / no S2U2)]

Well the syntax is:

[program name without full path];

which means that to avoid locking when sms is running:
tmail.exe;

Its case sensitive and the ';' is needed at the end of each program.
for example:
MioMap.exe;tmail.exe;

Hope you get it to work

chrisstavrou
08-07-2008, 08:44 PM
I reckon a .lnk file to assign to a button (PTT maybe) to lock the phone. It will turn the phone to today, click on the screen, and lock the phone. After that the phone can turn off by itself normally.

This may eliminate other incompatible issues that I experienced (and assure me that everything is done and dusted before I leave my phone) that is:

When you leave a certain program open (ie. Notes, Calendar, those that comes with the phone and iContact) and then turn off the phone or leave for it to turn off by itself, when the phone wake up, this program sometimes does not work well ie. click on the screen before turn to Today (it dialled somebody accidently in some cases), do not lock or click on the Today screen in the wrong location, just above the place you specified and open my Inbox.

Also, somehow my bottom bar disappear... It back to normal when I stop using this prog.

I hope you don't find this discourage, I VERY MUCH love the program and it's the only Locking prog. that I would use. S2U2 comes 2nd.

Besides, sorry I did not try the new version. My point was a function to unlock the phone during a call so that u can do whatever u want without having to unlock, especially when you are driving and want to turn on speaker....

Cheers, locking master.

Try 3.10 i have included a fix for the click on today.

Tane71
08-07-2008, 09:48 PM
Well the syntax is:

[program name without full path];

which means that to avoid locking when sms is running:
tmail.exe;

Its case sensitive and the ';' is needed at the end of each program.
for example:
MioMap.exe;tmail.exe;

Hope you get it to work

Thanks for your responses... but nothing work. I tried :
tmail.exe;iexplore.exe;TomTom Navigator.exe;
in this exact syntax, but when surfing with Iexplorer, the device goes to lock himself till 15" :( Idem for email or TomTom...
Could you confirm that it's in the "Do not Lock if Running:" field ?

And could you be more specific about the "Unlock Sequence" to fill (first & second key) to unlock with : Screen + Ok button combination on the Polaris (or Kaiser) ? Thanks again !

craiglay
09-07-2008, 08:53 AM
It should work as you described, please try the latest version keeping in mind that any registry entry must be a string and not a number.
Better use the setup program (even if it looks lame :)
Thanks very much, will try it out today.

LoopyLoo
10-07-2008, 12:57 PM
You are right, i am still trying to over come this, it actually wakes the device from the standby when trying to lock as the lock is simulated with key strokes.
I believe i am almost there so a new version should have this fixed

Actually, although I look forward to trying your next release, I have another small suggestion relating to this for you in the mean time, one that would suit me at any rate...

Where you have the option of "Lock On Wake" perhaps you could also add the option to "Lock on Standby/Sleep"? That would suit me just fine as I'm happy to use the default times available in the OS and my original problem would then go away?...

LL

chrisstavrou
10-07-2008, 05:27 PM
This area will contain links to other entries within this thread that relate to the utility:

HOW To ..

- HOW TO: SPB Shell Now Screen
http://forum.xda-developers.com/showpost.php?p=2154079&postcount=33

- HOW TO: Return to Today screen and activate(click) any today item before locking
http://forum.xda-developers.com/showpost.php?p=2391339&postcount=146


Troubleshooting:

- PROBLEM: I have set an option but it does not work as it supposed to.
http://forum.xda-developers.com/showpost.php?p=2391113&postcount=144

fuller45
10-07-2008, 05:34 PM
pictures...?

chrisstavrou
10-07-2008, 05:43 PM
I am not sure why this happens but sometimes when editing the registry with various editor, the call to read them fall..

Anyway,
to find if this is really the reason:
- Run the csdevctrldump.exe included in the zip file (once to kill the already running and once again for it to be executed).
- This program is the same as the utility but it dumps in the file \csdevdump.txt all the parameters and their values are read from the registry (double click to open it with pword).
- Check in this file if the values read are what exist in registry.

If not then,
- Delete the key HKEY_LOCAL_MACHINE\Software\CSDevCtrl\Options
- Run the provided setup program to fill in the parameters again.

if they are the same then its another bug so please let me know.

Note that this utility assumes that all keys in registry that is using, are supposed to be strings !!!

Remember to run it once again so that it kills itself. Then you can run the csdevctrl.exe as normally.

chrisstavrou
10-07-2008, 05:47 PM
For all people that are having problems like
... i have set the option but it does not work ...
please see the
http://forum.xda-developers.com/showpost.php?p=2391113&postcount=144

chrisstavrou
10-07-2008, 06:42 PM
If you want before locking to bring the Today screen and activate(click) any of the todays items for example the HTC Clock then

- Stop the csdevctrl.exe by running it once again (you should see the 'Terminating ..' message)
- Run the debugscr.exe program include in the zip (use the 3.10 version and above)
- The program will capture the Today screen and the you click on the area where the today item is located and needs to be activated.
- The program will display the coordinates where you clicked (note them down as Portrait settings).
If the program does not respond then it means the csdevctrl.exe is still running so you need to stop it as usual.

This program will exit if nothing is pressed within 5 seconds.

Repeat the same after switching to landscape.

From the setup select:
ShowTodayAfterLock=1
ClickOnToday=1
TodayPortraitX=x1
TodayPortraitY=y1
TodayLandscapeX=x2
TodayLandscapey=y2

where x1,y1 are the portrait settings and x2,y2 are the landscape settings

fyanbing
15-07-2008, 06:48 PM
very very good.............................

chrisstavrou
19-07-2008, 02:36 PM
The behavior of this program is driven by the next key/values with are ALL STRINGS:

> Key
HKEY_LOCAL_MACHINE\Software\CSDevCtrl\Options

> Values

WHEN TO LOCK
(These are the events based on which the lock can be triggered)
- LockAfterWake=0 or 1 (Default is 1)
If set to 1 it will try to apply the lock after the device has waken (not soft reset).
(See LOCKING OPTIONS [NOT IN-CALL])

- LockAfterIdleSeconds=xxx (Default is 45)
xxx are in seconds the inactivity timeout before a lock is applied and there is no on-going call.
(See LOCKING OPTIONS)

- LockDuringCall=0 or 1 ("In-Call Locking" ). (Default is 1)
If set to 1 it will try to apply the lock if there is an on-going call. The first time the call is initiated the locked will be instant.
This lock is partial and still allows for the keys of the phone to be used (Usuall case of windows lock).
The user is given the chance to unlock while the call is taking place.
(See LOCKING OPTIONS [IN-CALL])


LOCKING OPTIONS
(These are the options which apply while the device is locked even if there is a call active)
- LockDeviceAlways=0 or 1 (Default is 1)
If set to 0 Partial locking is applied (Windows Lock), phone related keys enabled during call, backlight is actived with touch.

If set to 1 Full locking is set, all keys are always blocked including phone related keys, backlight remains off.
To answer an incoming call, the user must Slide to enable the device with Slide (see UNLOCKING OPTIONS)

- LockWhileOnExternalPwr=0 or 1 (Default is 0)
If set to 1 the program will try to apply the lock even while running on external power.

- IgnorePrograms (Default is blank)
If set, it the list of the executables which if they are running in the foreground then no locking will appear.
If the lock is to be applied after awaking then this list is not used.
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:
MioMap.exe;pword.exe;

- LockOnlyifTodayShown=0 or 1 (Default 0)
If set, it will only apply an idle lock if the Today screen is shown.

- KeysToExcludeWhenFullyLocked=XXX;YYY;... (Default Blank)
Its a list of Hex Values of the VK codes of the keys to be excluded from the full lock.
Each Hex Value is 3 digits and must be followed with ';'.
To find out the key codes the program debugscr.exe included in the zip can be used.



LOCKING OPTIONS [IN-CALL]
(These are the options which apply only if there is a call active and LockDuringCall is set to 1)
- LockDeviceDuringCall=0 or 1 (Default is 0)
If set to 1, then the lock is a Full lock and the device should not react in any keystroke, backlight remains off.
The user must unlock the device before using it.

- LockAfterIdleSecondsInCall=xxx (Default is 10)
where xxx are the seconds to reapply the lock while the call is still on if the user had unlocked the device.

- UnLockAfterCallOver=0 or 1 (Default is 0)
If set to 1, then the device will be unlocked after the call is over.

AFTER LOCK OPTIONS
(These options apply after the Lock has been applied and there is no call active)

- ShowTodayAfterLock=0 or 1 (Default is 1)

If set to 1 it will bring the Windows Today Screen after applying the user selected lock.

-- ClickOnToday=0 or 1 (Default is 0)
If set to 1 it will send a mouse click using the next values as coordinates
-- TodayPortraitX=x1, TodayPortraitY=y1 for Portrait mode
-- TodayLandscapeX=x1, TodayLandscapey=y1 for Landscape mode

To find out the coordinates the program debugscr.exe included in the zip can be used.

-- AfterTodayRunFilePath=XXX (Default is blank)
XXX (if not left blank) it can be an executable/registed file which will be run after the lock and the Today focus
-- AfterTodayRunFileParm=XXX (Default is blank)
XXX (if not left blank) they are the command line arguments of the previous option.
-- LockAndBackAfterToday=0 or 1 (Default is 0)
If set to 1, after unlocking the Today screen will be hidden so that the rest of the windows are visible.
If set to 0 then the next values will be used

-- AfterLockRunFilePath=XXX (Default is blank)
XXX (if not left blank) it can be an executable/registed file which will be run after the lock.
-- AfterLockRunFileParm=XXX (Default is blank)
XXX (if not left blank) they are the command line arguments of the previous option.

(if ShowTodayAfterLock=0)
- AfterUnLockRunFilePath=XXX (Default is blank)
XXX (if not left blank) it can be an executable/registed file which will be run after the lock is released (device unlocked).
- AfterUnLockRunFileParm=XXX (Default is blank)
XXX (if not left blank) they are the command line arguments of the previous option.


GENERAL LOCKING OPTIONS
(Apply when the device is locked for all cases)

- PowerOffWhenLockedSecs=XXXYYYKKK (Default is 0)
If set it will turn off the device the mentioned seconds after it has been locked.
Either set each set it to a number between 001 and 999 or set it to 000 to be disabled.
XXX applies after it woke up.
YYY applies after it was idle while in call.
KKK applies after it was idle.
For example,
010000015 means,
turn off after 10 seconds the device has been locked after it wake up, do not turn off if it was locked for a call, turn
off 15 seconds after it was locked as it was idle.

- TurnOnBackLightSecsWhileLocked=XXX (Default is 3)
XXX are the seconds to turn on and then off, the backlight while the device is locked.
Also twice the same time, will be used to turn on the backlight if the device is:
- Switched on while being locked.
- Locked because of a call (the first time).

(See Next Page for more Parameters)
http://forum.xda-developers.com/showpost.php?p=2610226&postcount=323

>>>>> If you change any of the parameters using any registry editor, the program will need to be restarted (Re-run it as mentioned further on).
>>>>> Using the setup program provided, after saving the changes then the updated parameters take immediate effect.

chrisstavrou
19-07-2008, 02:47 PM
One other question: is there a way to eliminate the backlight dimming that happens when the phone locks?


Check out v3.2,
parameter:
- FlashBackLightWhenRingingMs=XXX
If set to a value greater than 0, then the backlight will be turned on for XXX ms while device is locked. After the XXX ms pass, the backlight will be turned off.

Based on the same concept, i added one more feature to flash the backlight while ringing.
See:
- FlashBackLightWhenRingingMs=XXX
If set to a value greater than 0, then the backlight will be turned on for XXX ms while device is locked. After the XXX ms pass, the backlight will
be turned off.


And as i was getting upset with all these 'Private' Callers, i added an option to drop a call if the device is locked and the caller id is one of the IDs of the list.
See:
- CallsToBlock
If set, it is the list of the Caller IDs for which if a call is received while the device is locked, the call will be dropped.
It is a list separated with the character ';' which must be followed for each entry without any space.
For example:
Private;MyEx;

Enjoy

craiglay
20-07-2008, 12:57 PM
Hi, Just tried ver 3.2 and initially everything seems to be fine. Particularly like the backlight control when unlocking and ringing.

I still have one very minor problem though, HTC TouchFLO scrolling seems to be ignored as an event to reset the idle timer. Not a big problem, but can get annoying.

Its still an awesome piece of software though. Thanks!!

cdufour
22-07-2008, 03:13 PM
Hello,

Using v3.2 on HTC Kaiser (WM6.1), along with enabled TouchFLO, I had to set BOTH
LockAfterIdleSeconds AND LockAfterIdleSecondsInCall to 15 seconds for the lockout to happen after 15 seconds (even when NOT in call).

It now works like a charm!

THANX!

kranz68osu
23-07-2008, 07:48 PM
Has anyone been able to get this software to work correctly with a vogue? Mine is running wm6.1 (official leaked ROM). It seems the in call lock option never works and what ever that value is set to, overrides the normal lock time. Also, the lock when external power doesn't seem to work right either. I have run the dump program and all of the values are correct. It is almost like it think idle = in call.

mattcoz
23-07-2008, 08:11 PM
Has anyone been able to get this software to work correctly with a vogue? Mine is running wm6.1 (official leaked ROM). It seems the in call lock option never works and what ever that value is set to, overrides the normal lock time. Also, the lock when external power doesn't seem to work right either. I have run the dump program and all of the values are correct. It is almost like it think idle = in call.
It is also not working on my Vogue, never locks.

richabi
24-07-2008, 03:25 AM
It is also not working on my Vogue, never locks.

did you both follow the instructions?

create a folder for it
extract it
run the csdevctrlsetup, tune it the way u want
run the csdevctrl.exe
i also copy and paste my .exe and put it in the my windows/startup folder so i dont manually have to start it after ever reboot

ive noticed sometimes the settings require a soft reset

chrisstavrou
24-07-2008, 02:35 PM
Hi, Just tried ver 3.2 and initially everything seems to be fine. Particularly like the backlight control when unlocking and ringing.

I still have one very minor problem though, HTC TouchFLO scrolling seems to be ignored as an event to reset the idle timer. Not a big problem, but can get annoying.

Its still an awesome piece of software though. Thanks!!

Hi,
thanks for the comments.
I have fixed this in 3.21 which i uploaded.

Cheers

kranz68osu
24-07-2008, 03:54 PM
did you both follow the instructions?

create a folder for it
extract it
run the csdevctrlsetup, tune it the way u want
run the csdevctrl.exe
i also copy and paste my .exe and put it in the my windows/startup folder so i dont manually have to start it after ever reboot

ive noticed sometimes the settings require a soft reset

Yes. I have done the above with each new release. What was really funny was when I set the incall timout to be 0. I would unlock and it would re-lock before I could disable the program. (I was not in a call) The only thing that saved me was plugging it in to charge. I have the lock disabled when I charge.

brunoisa10
24-07-2008, 04:29 PM
HI chris

sometimes the lock function is too quick
I explain : I want to edit a file , I use Total Commander , I find my file and click File ---> Edit , the file is open and if i wait just 5 seconds the lock is there !!!!!!

BTW : I have understood the lock after wake up (I've seen the notification)
but I don't understand the "Normal" Lock !!!!! LOL your program makes me crazy (I'm testing it for 1/2 day only so I have to test more)

chrisstavrou
24-07-2008, 05:26 PM
HI chris

sometimes the lock function is too quick
I explain : I want to edit a file , I use Total Commander , I find my file and click File ---> Edit , the file is open and if i wait just 5 seconds the lock is there !!!!!!

BTW : I have understood the lock after wake up (I've seen the notification)
but I don't understand the "Normal" Lock !!!!! LOL your program makes me crazy (I'm testing it for 1/2 day only so I have to test more)

Hi brunoisa,
can you tell me if you used the latest version ?

Also please run the setup program send verify what is the 'Lock if Idle for Sec.' option set to .
The normal lock is this one, to lock after the device has been idle for sometime.

Good luck

chrisstavrou
24-07-2008, 05:29 PM
Yes. I have done the above with each new release. What was really funny was when I set the incall timout to be 0. I would unlock and it would re-lock before I could disable the program. (I was not in a call) The only thing that saved me was plugging it in to charge. I have the lock disabled when I charge.

Hi,
i will try to create a debugging version to see if the actual call state is understood by the program.
I am using it on a Kaiser and it reacts nicely.

kranz68osu
24-07-2008, 08:19 PM
Hi,
i will try to create a debugging version to see if the actual call state is understood by the program.
I am using it on a Kaiser and it reacts nicely.

Thanks alot. I would be more than glad to test it for you. Is the in call lock supposed to lock automatically on both inbound and outbound calls?

brunoisa10
24-07-2008, 08:35 PM
Hi brunoisa,
can you tell me if you used the latest version ?

Also please run the setup program send verify what is the 'Lock if Idle for Sec.' option set to .
The normal lock is this one, to lock after the device has been idle for sometime.

Good luck

I have v 3.2
Lock if Idle is 15 , so I hink I have to set 60 or 90
thank you for your answer
I'll remove the Lock after Device Wakes (no need of that for me , just the first Lock)

after I'll look to the other parameters

I like the Lock WM standard , very good idea you had


Tested with 90 : it is perfect

just a little question : must I add the exe in the Startup Folder for the soft reset ? (I think so)

mattcoz
24-07-2008, 10:31 PM
It started acting up on me, locking after just a few seconds of being idle even though it was set to 0. Terminating the process and starting it again seemed to fix the problem temporarily.

:confused:

yesod7
24-07-2008, 10:38 PM
Everything is working well so far, except for one thing: when I unlock the phone during a call using the screen-tap pattern, the device freezes up. I'll unlock it during a call so I can access the keypad, but when I unlock it using the screen-tap, it can't get past the today screen. When I unlock it using the default unlock buttons on the screen, or the Start-OK button combo, everything's fine.

I love this program. It makes me happy. It is my friend. I have uninstalled S2U2 as a result, because this works better for me. As always, thank you for your work!:D:D:D

peterweter
25-07-2008, 11:04 AM
did you both follow the instructions?

create a folder for it
extract it
run the csdevctrlsetup, tune it the way u want
run the csdevctrl.exe
i also copy and paste my .exe and put it in the my windows/startup folder so i dont manually have to start it after ever reboot

ive noticed sometimes the settings require a soft reset

My 0.02 cents: It is maybe better to create a shortcut in de \Windows\Startup\ folder with the following contents:
25#"\Storage Card\Program Files\csdevctrl\csdevctrl.exe"

Path may be different of course. :)

This will allow for program updates without the need of copying the exe to the Windows folder again.

Greets,
Peter

chrisstavrou
26-07-2008, 08:48 AM
Everything is working well so far, except for one thing: when I unlock the phone during a call using the screen-tap pattern, the device freezes up. I'll unlock it during a call so I can access the keypad, but when I unlock it using the screen-tap, it can't get past the today screen. When I unlock it using the default unlock buttons on the screen, or the Start-OK button combo, everything's fine.

I love this program. It makes me happy. It is my friend. I have uninstalled S2U2 as a result, because this works better for me. As always, thank you for your work!:D:D:D

Hi,
i have done a fix for the In-Call locking which is now included in the updated v.3.21.

Can you try this and let me know ?
Cheers

luzz
26-07-2008, 12:24 PM
Hello,

Backlight Timer system parameter (2 min) revert to 10 s after each lock.

Is it possible to avoid that?

forforce
26-07-2008, 01:46 PM
Can you show some pictures please with this application ? Or maybe a video on youtube will be great .And if you could make it ...slide to unlock like but only the slider for unlocking and to use transparent background so you can see SPB Mobile Shell home with Clock in the back, that would be nice :D and less memory comsuption.Waiting for reply Thanks

camro
27-07-2008, 12:07 AM
it's almost perfect.

BUT I MISS A VERY IMPORTANT FUNCTION: -> "TEMPORARY UNLOCK A CALL"
but for me the most important thing is:

1.) telephon lock on dialing and on a call - immediately !!!
(settings to 0sec on lock on a call)
2.) sometimes i had to use some other programms during a call(write notes, recording a call, dialing keys, a.s.o.)
BUT -> then i can't unlock the phone on the the call any more ...

for that i would need a "temporary unlock the active call" and this i need fo the full call (maybe it is possible to make for that an extra option with extra time for temporary unlock duration).

also i found a bug:
1.) phone isn't locked immediately after switching off.
if i turn off the phone a short time it is not locked !
(it's only working if i switch off the phone off for the duration which is in settings (ex:30sec)
but it should lock immediately

2.) the backlight is turned off on a call and doesn't switch on again.
had to do a restart of the .exe almost blind.

3.) sometimes a had to unlock the phone 10 times .... hmm doesn't know why...
would it be easy to make a small .exe tool to extract the actual settings, that i can post it easier ?

cu camel

camro
27-07-2008, 12:08 AM
it's almost perfect.

BUT I MISS A VERY IMPORTANT FUNCTION: -> "TEMPORARY UNLOCK A CALL"
but for me the most important thing is:

1.) telephon lock on dialing and on a call - immediately !!!
(settings to 0sec on lock on a call)
2.) sometimes i had to use some other programms during a call(write notes, recording a call, dialing keys, a.s.o.)
BUT -> then i can't unlock the phone on the the call any more ...

for that i would need a "temporary unlock the active call" and this i need fo the full call (maybe it is possible to make for that an extra option with extra time for temporary unlock duration).

also i found a bug:
1.) phone isn't locked immediately after switching off.
if i turn off the phone a short time it is not locked !
(it's only working if i switch off the phone off for the duration which is in settings (ex:30sec)
but it should lock immediately

2.) the backlight is turned off on a call and doesn't switch on again.
had to do a restart of the .exe almost blind.

3.) sometimes a had to unlock the phone 10 times .... hmm doesn't know why... (it looks like that the phone locks the phone every 30sec and ex: in 1min it locks the phone 2x (2x30sec = 1min) ex: after 10 minutes i had to unlock the phone 20 times ....

any ideas would it could be ?

would it be easy to make a small .exe tool to extract the actual settings, that i can post it easier ?

cu camel

PLS: i like your tool :) it's great :)

mawst95
28-07-2008, 11:49 AM
Doesn't really work right with the Vogue. No matter how much i touch the screen it thinks i'm idle. The timings I put in also seem to sometimes be ignored. The lock seems to have a mind of its own. In call lock seemed to work sometimes, but not always.

forforce
28-07-2008, 12:12 PM
ok ..this program is all I needed and I thank you for it but I have the following issue...How can I make to have the screen unlocked when I get out of stand by ...because when the device is intand by mode and I receive a call ...after I answer ..the device freezes ...I can talk but I can`t press any button and it bothers me that after I answer the phone ...I can`t push end call button untill I unlock the device (If I could) :).. So how can I make to auto unlock when I receive a call and when I get out of stand by.?! Thanks.

tilt4life2
28-07-2008, 12:35 PM
I don't get it. :confused:

If I let the phone set idle for 15 secs it locks up like I have told it to in the settings. But if I slide my fingers across, it wont lock. I though this gave you the ability to ulock/lock by sliding your finger anywhere on the screen? Please forgive me if I am mistaken on this point. Just need a little clarification, but either way I think I am going to use this program once i get the hang of it.

forforce
28-07-2008, 12:42 PM
This is not slide to unlock ...It uses windows unlock application.. push to unlock :P so good luck with it.

brunoisa10
28-07-2008, 04:06 PM
Hi chris

tested , nearly perfect : I have just a problem

after a soft reset : the locking function seems to not be able to work since I lock manually first , else it is perfect
I have v 3.2

tilt4life2
28-07-2008, 09:40 PM