yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] mrgreencom:
In call locks intermittent

I could not get the debugger to work. The window opened, but it didn't create a file.

I did do some testing and got the phone to freeze up only once after sleeping for only a few minutes.

I was never able to get the in call locking to work right. Here are the results of my limited testing:

1 ------

Reset backlight to 10 Secs.

Locked call correctly and didn't lock sporadically after call. When testing again I pressed several hard keys and the call was ended but it stayed locked. Trying to reproduce, I pressed green btn. And it ended the call. I unlocked it and immediately made another call and it did not lock at all. After soft reset I still could not get it to lock: tried starting and stopping prog. & checking options in registry with no effect.

2 -------LockAfterIdleSeconds=30

Locked fine after 30 secs

Locked fine after short wake

Did not lock during call

Did stay locked during call using bluetooth

Did lock after soft reset, but not for any calls after that (even waiting more than the 5 minutes).

Restarted prog. And the next call locked and relocked after 5 min, but did not lock on next call

3 ----------LockDevicePhoneNotActive=1

Same as 2

4 ---------LockDeviceAlways=0

Same as 3

5 ----------UnlockAfterCallOver=1

Didn't unlock after call

Didn't lock when starting other call

After more testing it seems like it is just the redial feature that won't lock a call. Calling from contacts works, but contact screen stays up, not in call screen.

---------

After using phone all day today (Sunday), the in call lock did not turn on once, but the other locking features worked fine with no freezes.

Hope all that helps. Thanks again for your work!

P.S. The text file attached is the original settings I used and I noted any changes.
[Windows Mobile Apps and Games] Angus Benson-Blair:
Key codes

This is a great application. Just one question. I have a Touch Pro and on locking the screen it also locks the buttons. Not so good if you want to answer a call! I have tried the partial lock option but the screen becomes active when someone calls thus the phone could well pick up in my pocket- again not good and exatly the reason I am searching for a good lock. I see that there is an option to exlude certain keys from the lock but for this you need a 3 figure code. What is the code for the Touch Pro's answer phone key? Appologies if this seems to be a bone question, I am a full on noob!
[Windows Mobile Apps and Games] leen15:
i quote my message.. :rolleyes:
[Windows Mobile Apps and Games] Wolfblood:
Woo~ GREAT!

Have try v3.31 and now it works with my Diamond without any problem. The VOL key is working!!! Thanks chrisstavrou, You're so cool!

Thank you for your great work!

p.s.

Just one ask is how can I disable the startup message? :)
[Windows Mobile Apps and Games] camro:
i still waiting for bubfixes on dialing things :(

hope that you can fix this issues, that the phone is in temp unlock mode in call - switching after 10sec to switch off the backlight + switch off screen after 5 sec more :(

i want that it work normal as it is set in backlight/screen settings :(

cu camel
[Windows Mobile Apps and Games] thx1200:
I am getting a Touch Pro when it comes out via Sprint in a few weeks, so I am VERY interested in this question as well. If anybody knows, I also want to know the hardware END key code as well. Can this app allow you to exclude TWO keys (answer and end)?
[Windows Mobile Apps and Games] chrisstavrou:
Hi all,

sorry for the absence but i have been sick the past two weeks.

I am working to fix what camro and the other guys reported as issues.

I will add also possibility to exclude more than one key (for those wanting to find the keycode, the original zip contains the program debugscr.exe, run it and press the key you want to exclude, code will be shown on screen).
[Windows Mobile Apps and Games] cpt.bert:
Is it possible to have it pop up a numeric keyboard when you tap unlock after device wakes up to type in a password? tnx
[Windows Mobile Apps and Games] MOster:
Exactly what I was looking for!

Beer donated from c_paypal@elppin.com. It's not much, but I appreciate your efforts.

-MOster
[Windows Mobile Apps and Games] Angus Benson-Blair:
Thanks for the reply- my answer key now works and Im nearly at the perfect solution. Having played around with my device it seems that whenever it is 'locked' it introduces the much talked about 3 second delay to ringing- this is NOT a csdevctrl issue as it happens when applying the lock through the os if csdevctrl is not even installed. If the device is unlocked then it rings immediatley. Anyone got any thoughts? Again, sorry if this is a bone question, my noob status is likely to stay with me for some time! Lastly, thanky you everyone, this is an awsome site!
[Windows Mobile Apps and Games] nenadr:
TyTN II problems

Just to report, I have some problems with this autolocker on TyTN II (Kaiser) with Hyperdragon III OPAL ROM from 30.09.2008..

1. Everything is working OK first time I start the app, it locks and suspends device just like it is setup, but as soon as I have a call, after call is finished, device sometimes doesn't get locked, and even if it gets locked it doesn't get suspended anymore.

2. I'm having issues with OPAL dialer (it very much looks like Diamond dialer) in my rom and full lock feature: If I setup full lock feature (no matter if turned on or off in-call locking), on incoming call I have a very big delay before I can accept or decline call and after that delay touch screen is again enabled and accepts slides and taps. If I turn off full lock feature everything works without delay but touchscreen is NOT locked while call is ringing.

This seems to me like it is more a Dialer problem then autolock problem (dialer is created to accept or decline calls from touch screen so it probably internaly unlocks the touch sceren), but I thought I should report it anyway.

Just to be sure that I'm doing everything right (because I had so much param change last night when I tested, I really don't know any more what is for what :) ) can someone post their settings for autolock in order to get this (or as close as possible) kind of locking:

- Auto lock on IDLE timeout xx sec.

- After lock send device to suspend yy secs later

- On press of power key phone goes to suspend, and after pressing power again it wakes up locked, and suspends again after yy idle seconds.

- On incoming call keep everything locked except phone keys (and display should wake up but don't react to touch)

- if call is answered unlock keys, BUT blank the screen so one could reach in-call functions by just pressing power button

- if call is actively rejected return to locked state and suspend after yy secs.

- if call is passively rejected (let it ring until caller hangs up) return to locked state and suspend after yy secs.

- when a call is hanged up return to normal locking state (lock after xx secs and suspend after yy secs.)

Thanx.
[Windows Mobile Apps and Games] chrisstavrou:
Much appreciated,

thanks and cheers ... :)
[Windows Mobile Apps and Games] chrisstavrou:
Version 4.0

Hi all,

i have restructured the code based on the experience so far.

The program now is split into 3 exe's, so please copy them all to the same directory.

The two new exes (csbluethdev.exe, csvibratedev.exe) are responsible for Bluetooth and vibration operations respectively.

Have fun and as always any comments are welcome.

Chris
[Windows Mobile Apps and Games] chrisstavrou:
Version 4

Hi all,

i had uploaded the wrong version in the original zip (it does not reloc after the second call).

Please try getting it again.

Sorry for this.
[Windows Mobile Apps and Games] camro:
tried version 4.0

hmm - more bugs as before.

well where should i begin:

bugs:

1.) in lock mode: always switching "start" - "lock" on top left ?

i think this would not be really fine for battery drain.

the most important thing for me is: dialing stuff

2.) if i'm on call - i unlock the phone to use my dailer pad, then it switch off the screen after 10sec + 5 sec later switch off the full screen.

then it is very difficult to switch back to dail pad. !!!

please can you fix first this bug ?

it should work

1.) i'm calling somebody

a.) phone switch to lock mode and backlight should be stay ON for X-Sec)

(after this it should switch of backlight)

b.) after more Y-sec it should switch off the screen

c.) if i unlock the phone call, it should switch off the the backlight screen after Z-Sec of idle time.

d.) after more Y-sec it should switch off the screen

X, Y , Z should be setable somewhere.

thank you.

cu camel
[Windows Mobile Apps and Games] camro:
i found where the problem is for the bugs on dialing, and that the the dialer is switching after 10sec to backlight of and 5 sec later to screen off.

this config you can change with the "advanced configuration tool v.3.2.0.0 tool from schaps".

there are options, where you can disable this fu**ing screen daylight saver.

it could be possible, that no all guys have set this new daylight saving stuff enabled, and so see what there is set for you...

how this fixed my problems:

options under "phone":

.) Phone sleep during call: disabled

.) Fast sleep during call: Disabled

->i use now v.3.31 and this is working almost perfect:

what could be better: ?

-) new option: en/disabling the regkeys above in setup file

-) nothing MORE :)

cu camel

EDIT:

the important regkeys are:

[HKEY_CURRENT_USER\ControlPanel\Phone]

"Sleep"=dword:00000001 = ON

"Sleep"=dword:00000000 = OFF

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]

"EnableFastDormantDisplayDuringCall"=dword:00000001 = ON

"EnableFastDormantDisplayDuringCall"=dword:00000000 = OFF
[Windows Mobile Apps and Games] richabi:
review

I will update this post as time goes on

TILT

HP III oct 6th Manilla 2D ROM

3.29spl patched

csdevctrl v4.0

DOESN'T WORK

unlock with stylus out

lock in call if idle for XX seconds

cheers
[Windows Mobile Apps and Games] nofuse:
Am using with Touch Diamond but can't get it not to lock when running Tomtom when using any version, have entered Tomtom Navigator.exe in the Do Not Lock when running box but it always locks.

Any advice?
[Windows Mobile Apps and Games] chrisstavrou:
Version 4.01

Hi all,

version 4.01 is out.

It includes some fixes on errors i noticed.

Also it tries to bring the dialer in-front while locked and in call (i hope my friend camro likes this :)

Hi richabi,

can you please try this one. If the unlock with the stylus removal does not work can you please let me know if can tell if the next registry key exists and what values does it get when locked/unlocked ?

HKEY_CURRENT_USER\ControlPanel\Keybd\StylusOutStatus

(the last word is without as space between 't' and 'us' but for some reason it does not allow me to type it correctly !!!!)

Hi nofuse,

try entering:

Tomtom Navigator.exe;

the ';' is necessary.

Cheers

Chris
[Windows Mobile Apps and Games] chrisstavrou:
Hi Camro,

if you set those keys to the proper values do they get reset to the wrong ones ?
[Windows Mobile Apps and Games] camro:
til now - i haven't see that they are modified from any tool or on a soft reset.

also installing dialer cab once again - haven't set this to the default vaules.

it seems to be set on the basic image (based on off. last wm6.1 wwe).

if your app can change this oncea on calling setup (if somebody wants thi) - this should be ok and enough.

- now i will try 4.01 ....

cu camel
[Windows Mobile Apps and Games] richabi:
that registry key does not even exist! that could be part of the problem? haha :p

I also noticed that if i have in call locking ON (not fully locked), I still can not use my green talk and red end keys.

I also noticed that when using manilla 2D and if im at any other tab other than the HOME tab and it locks, it will unlock and show the HOME tab always. is there a way to have it unlock and keep the tab that was open before it was locked?

I just tried the program exceptions/do not lock if running .. and that does not work either. It would be nice to have audiomanager.exe and wmplayer.exe not effected by the lock. it is a pain to want to change a track or song and have to unlock it every single time i want to.

also, the unlock key sequence doesnt work for me. i wanted to do keys 070 then 071 and they won't work

once i get a dang job, i will paypal you some money b/c this is one of the most useful scripts ever. thank you for your hard work

what errors did you fix in 4.01? i will try this new version soon
[Windows Mobile Apps and Games] richabi:
4.01 problems

this will be edited as time progresses

errors:

sliding keyboard open to wake up phone does not unlock. keyboard only unlocks when phone is on.

sometimes sliding the keyboard up wakes up the phone but only a black screen lights up.

the only thing really working with 4.0, 4.1 and 3.31 are the basic features - lock when wake and lock after XX seconds. I think it may be due to the OPAL rom im using...any ideas, Chris? i want this to work
[Windows Mobile Apps and Games] leelouch:
diamond problem

in my diamond, it seem that autolock does not lock an incoming call.

Button "Answer"/"Ignore" and "Silent" still active !!

in fact the same problem of original lock bug still present !

did I miss an option ?! my current options are:

lock on wakes

unlock on slide

lock on calls

no other specific options !

that's all !

Thanks for help
[Windows Mobile Apps and Games] yesod7:
V 4.1 : screen locks, buttons do not. Once the lock goes into effect, I can still press the red "end call" button and end the call...:(:(:(
[Windows Mobile Apps and Games] zalaros:
Same problem here :(
[Windows Mobile Apps and Games] nofuse:
Where has the HangupCallAfterSecs feature gone?
[Windows Mobile Apps and Games] zalaros:
chrisstavrou

i have some issues but when i run csdevctrldebug the problems disappear :confused: Anyway the log file is uploaded if you want to take a look at it. Basically the problems start after more than one missed call. After the second missed call bluetooth won't go off regardless of the settings. Also i unlock the phone and it gets locked again immediately. Any help?
[Windows Mobile Apps and Games] chrisstavrou:
Trial V.4.02

Hi camro, richabi and the rest of the guys,

i have attached a new version (still in trial mode but full functional) in which:

- i reverted back to the previous method of simulating keystrokes (to solve the not locking or not powering off, hopefully)

- added custom reg keys which define the reg keys the program should use for checking the various statuses:

The format is key and the name (excluding the value).

The key must start with HLM (HKEY LOCAL MACHINE) or HCU (HKEY CURRENT USER)

Custom Reg Key Rom Reg Key

CustRegKeyLock HLM\System\State\Lock

Used to get the lock state

CustRegKeyBackLight HCU\ControlPanel\BackLight\LockLevel\LockLevel

Used to get the backlight state

CustRegKeyKeyBrd HLM\System\GDI\Rotation\SlideKey

Used to get the H/W keyboard state (Slide out or not)

CustRegKeyStylus HCU\ControlPanel\Keybd\StylusOutStatus

Used to get the Stylus state (Slide out or not)

CustRegKeyCarrier HLM\System\State\Phone\Current Operator Name

Used to get the carrier name

CustRegKeyActiveCalls HLM\System\State\Phone\Active Calls

Used to check for active calls

CustRegKeyIncomingCaller HLM\System\State\Phone\Incoming Caller Name

Used to check the incoming caller.

These keys are set as above by running the setup program.

They are based on Kaiser standard Rom so if anyone has a problem with the above areas then please compare the above with the relevant keys in your registry to see if they match.

If you find any inconsistency please let me know about it as the values might differ as well.

Of course, you can update the keys to the ones in your rom and see if it works as expected.

I am using this version on my Kaiser so far and it seems to be doing OK.

I would appreciate it if anyone could give a test and let me know the results.

Txn

Chris
[Windows Mobile Apps and Games] chrisstavrou:
If you are using this, i can apply it back.

I removed it as i thought that no one found use for it.
[Windows Mobile Apps and Games] yesod7:
I implemented v.4.02, and nothing happens. It doesn't lock at all. I checked the registry settings, and they all match.:(:(:(
[Windows Mobile Apps and Games] zalaros:
In my kaiser it works normally (4.02) and the only problem i have is that it won't go back to sleep as it should according to the settings after missed call/calls. The bluetooth now goes on and off normally. I have attached the log file.
[Windows Mobile Apps and Games] eske.rahn:
Thanks & suggestions

VERY Nice program. THANKS A LOT!

Tried the unlock functionality of the 4.01 on a Diamond Touch. Works like a dream.

It works perfect on the fixed "Storage card"

A few suggestions for further improvements:

1)

In setup, an option for load on startup. :)

This will make it easier for non-technicians

2)

A very-light version, that only got the one basic function: The swipe-unlock

This functionality is actually possible to get as is:

If in setup all marks are ticked off, and with all but two values set to 0

> When Locked (Slide direction)

> To Unlock=1 (1= left to right, see #323 for options)​

And

- Slide sensitivity, the default 120.​

3)

Offer the possibility for more complex movement than a simple swipe to unlock.

E.g

a Z, N, V form or similar.

a Circle-like form (like zoom in/out)

a Square-like form

any closed curve with a minimum width in least direction.

any figure covering a certain area​

These are not meant as 'bio-security', but as movement even less likely to happen by accident in bag or pocket.

4)

Standarized used of scrollbar in setup, optimally with support for PgUp/PgDn (I'm using the nice SmartSkey)

5)

Maybe the stylus-check shouldn't be just whether the stylus is out or not, but if it it's out AND has been in at some time since boot/program load

So if you loose or forget your pen, this is not seen as the pen is in use.

I tried to set some of the other swipe-settings, but nothing happends. I guess that it's overruled by touchflo?:confused:

Best Regards

Eske Rahn
[Windows Mobile Apps and Games] camro:
i tested the version 4.02.

but the most important thing is:

lock after device wakes -> this is always switching"between "start" and "lock" and so it doesn't switch anymore to switch off the screen -> and so ther battery is running left :(

with this bug - i can't use/test it any more (as i told it on version 4.x)

this bug had to be fixed somehow. this bug isn't on version 3.31.

br camel
[Windows Mobile Apps and Games] leen15:
I've a diamond and I have 2 question:

1. Is possibile to lock before sleep and not when wake up?

2. why if is lock and i put out stylus the diamond unlock and go to phone and press * ?!?! :confused::confused:

Thanks and great work! ;)
[Windows Mobile Apps and Games] chrisstavrou:
Hi camro,

can you please use the attached file, its the debug program, run it for a little time and then post the \csdevlog.txt file ?

I really do not understand why there is no much different behaviour between my kaiser and your mobile.

Anyway, if any else facing problems can do the same as above it will help (i hope) find the problems.

Thanks

Chris
[Windows Mobile Apps and Games] chrisstavrou:
Thanks for the comments, for setup i will see what i can do as it can be easily replaced with a reg editor.

Point 3,5 are interesting, i will keep them mind, point 2 i think it should work only as you mentioned, no other option should be needed.
[Windows Mobile Apps and Games] chrisstavrou:
Can you please try the debug version and post the file ??
[Windows Mobile Apps and Games] camro:
Chris, thanks for support

ok, more tests..

only startcsdevdebug, after starting then switch off the phone for 5 sec and after that switching it on, then:

1.) go to lock mode, and then hole the time: "start" -> "lock" -> start, ....looping ..

here the debug:
[Windows Mobile Apps and Games] nofuse:
Yes I was using the HangupCallAfterSecs feature as this is handy as if I go over a hour on a call I start being charged.
[Windows Mobile Apps and Games] nofuse:
Can any diamond users please tell me how they've set there config up, it appears I just don't understand how this program locks during calls. I have turned off locking during calls but it still locks when my backlight does off

All I want to do is have the phone totally unlocked during calls so that I can either change the volume or use the keypad.

Help please!!!!!

These are the setting I've tried

Lock After Device Wakes 0

Lock if Idle for sec 60

Lock during call 0

Lock fully the device during call 0

Lock if idle in call for sec 600

Unlock after call 0

Is there anything I need to change in the above or any other settings I need to set to prevent the phone from locking during a call as after my backlight turns off the phone is locked

EDIT

It appears its only a problem when I make a call, working fine for receiving calls. Is this the normal behaviour if so can we have outgoing calls the same as incoming
[Windows Mobile Apps and Games] yesod7:
When I select csdevctrldebug, a blank box appears on the screen. I tested v.4.01 as well, and the keys don't lock on it, either. They locked on v.3.31 and v.3.2, though.
[Windows Mobile Apps and Games] richabi:
chris

I will try out 4.02 when i get some time. I have downloaded it but am a bit busy at the moment. thank you. hopefully we can work all these issues out!!
[Windows Mobile Apps and Games] chrisstavrou:
Hi Camro,

try setting the optPowerOffWhenLockedSecs to

optPowerOffWhenLockedSecs=600000 as it expects 6 digits.

I found the bug which goes into this infinite loop if this is set less than 6 digits.
[Windows Mobile Apps and Games] chrisstavrou:
Can you please try the debug version (csdevctrldebug.zip) located at 489 post as follows:

- Run the debug program (it will show a white window, pls ignore it but do not close it)

- Make a call

- Close the call

- Close the white window

Pls post the file \csdevlog.txt that has been created for me to review it.
[Windows Mobile Apps and Games] chrisstavrou:
For the first one, i will change it as you mentioned.

For the second one, can you pls try the debug version as explained on the above post and post the \csdevlog.tx
[Windows Mobile Apps and Games] chrisstavrou:
Hi Zalaros,

can you please try the attached version, i have included some fixes and hopefully fixed what you described as well.

Everyone please feel free to use the attached one (its supposed to be the 4.03 version), i have restored the hangup after a number of seconds functionality as well.
[Windows Mobile Apps and Games] chrisstavrou:
Try setting Lock if idle in call for sec 600 to

Lock if idle in call for sec = 0
[Windows Mobile Apps and Games] zalaros:
Bad news :( Kaiser won't get suspended after one missed call. This is the only problem i have. I have attached the log file. I hope you find what causes this problem ;)