yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] camro:
well, i know, that the bluetooth switch is working (for me it is almost not fast enough to find the headset, but this is not the reason...) -> so i know that your programm is working, but it doesn't lock the phone on dialing.

+ works if i switch the phone off, and then on -> lock works 100%

(sometimes it change the backlight to duration of 10sec - doesn't know why ...)

+ works on uinlocking gesture ("1" from left to right)

- doesn't work on phone dialing - incoming and outgoing - from 5 call- it works only 1 times.

- if the lock works it on dialing, it switch the backlight off(should be stay on for X-seconds)

hmm - i doesn't know what happen.

how do you think about a debug version (so see if your programm will try to call unlock.exe)

cu camel

htc touch cruise - image udk r0 - manila2d (spb mobile shell is gone from my system)
[Windows Mobile Apps and Games] chrisstavrou:
Can you please try using the attached program to see if this solves the problem you mentioned.

Also ,

if any Diamond user could try the same i would be grateful, i only had the diamond with me for 15 minutes so i just got an idea of the problems but did not manage to test the change ...

(Hope it does the trick ..)
[Windows Mobile Apps and Games] chrisstavrou:
Mmm very very strange, let me clarify:

- When ringing, you may not see the lock button but still the device should be locked.

- When dialing, it will only lock if it got connected, that is the call is not busy or there is no line etc.

If you have the older version can you try again?
[Windows Mobile Apps and Games] camro:
No,

all parts about dialing:

doesn't work on dialing ......

1.) call is ringing and it do bluetooth switch on BUT no locking

after the call - i see that the backlight goes shortly dark and then the backlight goes suddenly on. -> so for me it seems , that your tool regonize the process itself, but doesn't lock.

maybe i'm playing around with older version to find out - what goes on.

PLS: does your tool create a shortcut in startup folder if i delete it from there ?
[Windows Mobile Apps and Games] birkov10:
Yahoooooooo, It seems that the csdevctrl-v3.30b solves the problem with the volume hardware keys in the Diamond.

With the main program loaded the keys works fine, tomorrow I´m going to do more tests but for the moment it is working fine.

Thank you
[Windows Mobile Apps and Games] Geppo:
Autolock issue on i780

Chris,

Ver. 3.30b seems to WORK! I will do more deep testing in the next days. GREAT!!! Thank you very much!
[Windows Mobile Apps and Games] camro:
also tried 3.30b,

what i see is, that it works perfect after setup for 1-time ( imake a test call and it "locks" the phone as i want it.

after that i tried a call once again - suddenly then i doesn't lock the phone.

i look to task manager, and csdecvctrl.exe is running (threads 4) (cprog.exe has 9 threads).

now i try to kill the cprog.exe, and load csdevctrl and then i trying dialing once again: hmm - the same - it doesn't only works the first time....

can you make a special version with display message, that we see if the tool can fetch/regonizing the dialing process ? - also on ending ?

what i see, if i press the END button on dialing -> the call is ended and the backlight switch off (for ~300ms) and after that the backlight switch on. this could be the end procedure.

well - i will test a old version (think 3.37 almost works)

PLS: if i switching of the phone - the lock/unlock works fine !

thanks for support.

cu camel

wait ... i see something ....

i tested version 3.29 - it works better:

3.29 lock every 2nd call

- dialing try 1 = OK

- dialing try 2 = FALSE

- dialing try 3 = OK

- dialing try 4 = FALSE

....

(i haven't located a older version - maybe you have a link where i can try older versions.

cu camel

EDIT: found version 3.24 - there is the same as it is on version 3.29

3.24 lock every 2nd call

- dialing try 1 = OK

- dialing try 2 = FALSE

- dialing try 3 = OK

- dialing try 4 = FALSE

........

3.30 locks only the first call after starting csdevctrl

- dialing try 1 = OK

- dialing try 2 = FALSE

- dialing try 3 = FALSE

- dialing try 4 = FALSE

........
[Windows Mobile Apps and Games] hudytheone:
A BIG well done

thank you for a brilliant piece of kit cant imagine anything could bo easiaer use. A job well done
[Windows Mobile Apps and Games] chrisstavrou:
Much appreciated.

Can you please use this program, its the debug version of the same program.

When you run it, it will show on screen a window, simply ignore it (just do not close it).

Perform some testing as you mentioned with the dialing attempts.

Then close the window that shows and then please post the file \csdevlog.txt

I hope i can find out what is happening and fix it for you.

Thank you for your support.

Chris
[Windows Mobile Apps and Games] chrisstavrou:
Thanks for this, let me know if anything behaves 'strangely' :)
[Windows Mobile Apps and Games] zalaros:
Can i request something? I would like an option to "sleep the device in X seconds ONLY if it is locked" so that i can disable the sleeping of the device from the settings. I don't mean the option to "sleep the device in X seconds when the device is locked" ;) I want my device to sleep in X seconds only when it is locked (in my pocket for example) and stay always alive when it is unlocked. Is this easy to add? Thank you for your great program ;)
[Windows Mobile Apps and Games] sabb0ur:
Can you please check this and help him? :)

Hello! Great program!

I'm using it along with Answerkeys Disabler to solve the dreaded auto answer when pulling the Touch Diamond out of its pouch.

We could use your help in something. Can you either modify your program to allow unlock sequences to work with one button only as well as 2 buttons?

Or better, can you check this (http://xdaforums.com/showthread.php?p=2649924&posted=1#post2649924) and maybe offer the code snippet that captures the key presses?

Thank you :)
[Windows Mobile Apps and Games] Geppo:
Autolock issues on i780

Hi Chris,

although the Camera controls issue seems to be solved, there is something going wrong with unlocking by sliding in Ver 3.30b. Sometimes the screen seems to be unresponsive and I have to slide 4/5 times before getting the phone unlocked.

Ver. 3.26 was not affected by this issue.

Regards.
[Windows Mobile Apps and Games] mattcoz:
I've had an ongoing problem with this program where I would unlock it only for it to be locked again in a few seconds. This happened a lot back when I used SPB Mobile Shell, and when I switched to Manilla 2D it seemed to go away. Well, it's back again. Seems to happen less often, but it does happen.

Another problem I'm having is that it sometimes seems very slow to respond. I get a black screen for a second or two when I power on, and then it takes another second or two when I press Unlock.

Of course now that I type all this it decides to start working better. Seems very inconsistent, so I don't know what else to say to help you.

:confused:
[Windows Mobile Apps and Games] Geppo:
Spaces in file name

Chris,

can you add the possibility to specify spaces in file names specified in IgnorePrograms field? Adding quotation marks does not work.....

Thank you very much.
[Windows Mobile Apps and Games] Geppo:
Autolock issues on i780

I discovered new issue on Ver. 3.30b.... Sometimes, receiving a call while locked I cannot answer the call because the phone seems unresponsive to any key/screen press/sliding.....

I had to revert back to Ver. 3.26 that seems to be the more stable version except the Camera controls issue.... the release of a fixed Ver 3.26b in the meanwhile would be great! ;-)

Thank you!
[Windows Mobile Apps and Games] laser21:
Hi, having the same issue. It is pretty random...sometimes it works on the first try, sometimes on the 10. It seems to work, when you click unlock, then wait until the grey screen is gone, slide after that.

I noticed, that the backlight does turn on only dimmed, on previous versions, it turned on not dimmed. After the procedure I described(grey screen...) the light comes up undimmed.

There must be some kind of bug. I never had this before 3.30.

But 3.30b is a great success in regards to the diamond volume!!! Its working!!!! Genius!

I was totally satisfied with 3.29, just incorporate the diamond fix, and it will be perfect!!!!!!!

Please :D

Thanks for your time, its just great :cool:
[Windows Mobile Apps and Games] chrisstavrou:
Hi camro,

can you please try using the attached program as i think i found the problem.

Geppo and mattcoz, can you also please try this one as i think i did some change which could be causing the problem you reported.

Thanks

Chris
[Windows Mobile Apps and Games] chrisstavrou:
Well :) it behaves as it is supposed to:

- When ringing (see the doc in the zip file), you will need to slide to the direction to release the keys of the phone (it will not unlock the screen)

- Then you can answer/hang up etc the call using the hardkeys.

I implemented it this way as during ringning the lock prompt is removed and i was failing to implement a true unlock.
[Windows Mobile Apps and Games] chrisstavrou:
Just add the ';' after the file name and it should work.
[Windows Mobile Apps and Games] chrisstavrou:
Well if you want to make the device stop sleeping then unclick from the settings of power the 'Turn off device ...'

Then you can set in the parameter:

- PowerOffWhenLockedSecs=XXYYKK (Default is 0)

If set it will turn off the device the mentioned seconds after it has been locked.

Either set each pair it to a number between 01 and 99 or set it to 00 to be disabled.

XX applies after it woke up.

YY applies after it was idle while in call.

KK applies after it was idle.

For example,

100015 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.
[Windows Mobile Apps and Games] chrisstavrou:
Unfortenatly the impementation of the diamond fix seems to be related to this issue. I did a change and posted a new executable a few posts before.

Can you try using that ?

I am still performing testing before i release the 3.31
[Windows Mobile Apps and Games] chrisstavrou:
I think it does what you asked by setting the

- UnLockFirstKey

- UnLockSecondKey

to the same values.

The code to capture the keystokes is done using the function SetWindowsHookEx (WH_KEYBOARD_LL,TabHook, hExe, NULL);

Do a google and you will get a couple of links
[Windows Mobile Apps and Games] laser21:
Hi, I have tested it, it basically the same as 3.30b, I havent noticed any differences. Volume keys work, though the unlock procedure is having issues - sometimes it works, sometimes it doesnt.

One observation maybe - I hope you can reproduce it.

If the screen is non responsive for unlock, its dimmed. The procedure I mentioned before - clicking on the unlock, waiting for the grey screen to pass...its bulls..t :):) It actually takes exactly 10seconds(measured it a few times) until the light gets undimmed, and then it unlocks as it should. Interesting.

Thanks, happy to do more testing :)
[Windows Mobile Apps and Games] laser21:
Unfortunately, it has the behaviour

Works, full light

Doesnt work, dimmed light

works,full light

doesnt work. dimmed light
[Windows Mobile Apps and Games] chrisstavrou:
Hi,

can you please give it a try using the attached program. I had a 'quicky' with another diamond today and it seems the values are bit based and may be that's what creating the mess.

Also keep in mind that SPB 2.1.2 seems to react a bit weird together with windows lock. I had to revert to 2.1.0.

Attached is the debug version (3.30c),

When you run it, it will show on screen a window, simply ignore it (just do not close it).

Perform some testing as you mentioned, hope you can replicate.

Then close the window that shows and then please attach the file \csdevlog.txt

Thanks a lot

Chris
[Windows Mobile Apps and Games] zalaros:
chrisstavrou thank's :D I managed to make it work as i wanted ;)

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

- SlideDirForStopLocking=XXX

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

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

Lock if idle for Sec. 10

Lock After Device Wakes enabled

Unlock When Keyboard Slided Out enabled

Power Off After Lock 100010

Lock If Idle In Call For Sec. 5

Unlock Sequence

First 070

Then 086

When Locked

1 To Unlock

-1 To stop Locking

2 To open Speaker

Turn On Bluetooth While Ringing or Calling enabled

Turn Off Bluetooth after Call enabled

Everything is working perfectly. BUT if i stop locking this can not be undone. The only way to undo this is to restart csdevctrl. Any solution?

ThanX again :D
[Windows Mobile Apps and Games] leen15:
I've a problem... I try your autoLock but with option "Show Today when Lock" often the Clock on tf3D dont change, and if I receive a new sms nothing happen on screen.. :confused:
[Windows Mobile Apps and Games] zalaros:
Also i found another issue but i don't know if this is a bug or a feature. As i told you in the previous post i have enabled "Turn On Bluetooth While Ringing or Calling" and "Turn Off Bluetooth after Call". When i connect to gprs, bluetooth goes on and when i disconnect bluetooth goes off. Is this normal? ThanX :D
[Windows Mobile Apps and Games] Girvo:
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
[Windows Mobile Apps and Games] sabestian:
What is GSlide? I cannot find it either on the xda-dev or in google...Enlighten me, please.
[Windows Mobile Apps and Games] chrisstavrou:
Thanks for the comments, i will try to do the Today & Back.
[Windows Mobile Apps and Games] sabestian:
Ok, I think you meant GSmart?

You rule, man. Awesome.
[Windows Mobile Apps and Games] LocalGod:
hi... can i suggest to read a parameter to switch to HTC home's main tab (the one with the clock)? Thanks.
[Windows Mobile Apps and Games] chrisstavrou:
Added the Lock & Back option as Sebastian suggested (first entry updated).

Applies only when TODAY is selected.

I believe this is done by adding the word TODAY in the csdevctrl.txt file as mentioned in the first entry of this thread
[Windows Mobile Apps and Games] sabestian:
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
[Windows Mobile Apps and Games] chrisstavrou:
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.
[Windows Mobile Apps and Games] sabestian:
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.
[Windows Mobile Apps and Games] Demostrike:
Brilliant App

Love this app, very useful! Is it possible to get it to lock the when the screen turns off rather than dim? Cheers
[Windows Mobile Apps and Games] chrisstavrou:
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.
[Windows Mobile Apps and Games] chrisstavrou:
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.
[Windows Mobile Apps and Games] chrisstavrou:
HOW TO: SPB Shell Now Screen

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'
[Windows Mobile Apps and Games] Demostrike:
Wow this is great, thanks a lot!
[Windows Mobile Apps and Games] die_Melle:
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.
[Windows Mobile Apps and Games] chrisstavrou:
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.
[Windows Mobile Apps and Games] die_Melle:
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:
[Windows Mobile Apps and Games] chrisstavrou:
:) 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.
[Windows Mobile Apps and Games] yesod7:
In-Call Key Lock?

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.
[Windows Mobile Apps and Games] mousio:
Looks great already, will try it out again!
[Windows Mobile Apps and Games] chrisstavrou:
Thanks a lot for the testing, i have attached a new version 3.30d which should address both issues you faced.

Can you try it and let me know ?

Txn
[Windows Mobile Apps and Games] chrisstavrou:
I am afraid this sound like a problem with the tf3d, when locked it does not refresh the screen.
[Windows Mobile Apps and Games] laser21:
Congratulations!

You got yourself a winner!!! :D

Everything works! Unlocking is 100% reliable, volume keys work.

See csdevlog. I left the settings untouched, only enabled unlocking by sliding, and disabled lock during call.

Only the issue I mentioned earlier still remains:

- PowerOffWhenLockedSecs=XXYYKK (Default is 0)

Unfortunately, it does not work. See csdevlog2.

Thanks...its not an issue, just letting you know!

Im available through skype, icq, gtalk...just pm me, I will give you contact info if you like. :)
[Windows Mobile Apps and Games] leen15:
is there no solution? :confused:

If i don't enable "Show Today when Lock" but only go on today before Lock nothing refresh problem.. :)
[Windows Mobile Apps and Games] chrisstavrou:
One last post for today :)

3.30e is attached includes all the fixes found before and also for the backlight.
[Windows Mobile Apps and Games] laser21:
Thanks, will test :)

:( No, back to old behaviour...:( Irrate unlocking.

The version, where the box was visible worked great!! Just remove the debug box :D
[Windows Mobile Apps and Games] nofuse:
Can any diamond user explain what settings their using, Im using the lastest version 3.30b but cant get any success.

1. Do you still have to use the built in lock with the program?

2. No matter what I try when the screen turns off during a call the phone locks.

3. Can't use volume buttons during a call

4. Program doesn't autostart when turning on phone.

Any advise appreciated.
[Windows Mobile Apps and Games] mattcoz:
Nope, doesn't seem to fix either of my problems. I figured it out though! It's locking when it dials #777 to connect to the Sprint network. I turned off in-call locking and my problem went away. I turned it back on, then disconnected and reconnected from the network, and it locked right away. Maybe you should include an option of a number to ignore for in-call locking.
[Windows Mobile Apps and Games] mattcoz:
1. This uses the built in lock, or you can swipe to the right to unlock.

2. Turn off in-call locking.

3. Turn off in-call locking.

4. Copy a shortcut to "/Windows/startup".
[Windows Mobile Apps and Games] chrisstavrou:
Hmm getting somewhere .. can you please try the attachement of

http://xdaforums.com/showpost.php?p=2659930&postcount=381

Its the same version without the debug.
[Windows Mobile Apps and Games] laser21:
I was referring to that post...:(

How I am testing: i have lock on wake enabled, and I basically power down my device, and wake it up again.

When its locked very short - less then approx. 10s - 15s it works 100%.

After its locked longer, when I swipe to unlock, it registers this, and unlocks, but it takes 9s until it does so.

So basically it works 100%, but it has a delay issue...

I made 2 videos that you can see what Im talking about

http://rapidshare.com/files/146538564/100CASIO.rar.html

1st is after the device has been locked for a while...approx 30s.

2nd is after the device was turned off only briefly. Less then 10s.
[Windows Mobile Apps and Games] zalaros:
Oh these problems were solved :D Thank you very much :) BUT i have another one for you ;) First of all my settings are:

Lock if idle for Sec. 10

Unlock When Keyboard Slided Out enabled

Power Off After Lock 100010

Lock If Idle In Call For Sec. 5

Unlock Sequence

First 070

Then 086

When Locked

1 To Unlock

-1 To stop Locking

2 To open Speaker

Turn On Bluetooth While Ringing or Calling enabled

Turn Off Bluetooth after Call enabled

When i leave the phone idle (not suspended) it gets locked after 10 seconds and it goes to sleep (suspend) after another 10 seconds. So far it works as it should right? When the phone wakes up from a call or a message (sms) or even by the power button, it won't go back to sleep (suspend) at all. Shouldn't it go to sleep after 10 seconds according to the settings? Thank you :)
[Windows Mobile Apps and Games] laser21:
Yes it should. Im having this issue aswell..reported it a while back...but Im happy Im not the only one :)