yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Thanks for providing the logging. I see several times:

22:55:39 230592882 SetLocked()

22:55:39 230592882 SetLockMode(true)

22:55:39 230592882 IsConnectedCall(false)

22:55:40 230592882 SetLocked cancelled, stylus out

22:55:40 230592882 Lock(false)

There can be the following things wrong:

1) You have actually your Stylus out, so it will not lock

2) you did softreset your device with stylus out, bug in HTC, so the Stylus status is not correct, also not after putting the Stylus in

3) There is a hardware problem with the Stylus sensor. You can try to gently blow away dust around the Stylus Sensor (remove battery) and see if the Stylus Sensor has not moved or is broken.

You can check the Stylus status in the Stylus Settings screen and also disable the Stylus Sensor in TouchLockPro, UseStylus = 0.

Hope this helps :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Maybe you have the same problem as someone else, that DoubleTouchPanelLock = 1 is not working. You can try setting DoubleTouchPanelLock = 0.

Can you also provide me the TouchLockPro.log.txt as zipped attachment, so I can have a detailed look what might be wrong :(
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
For some people the locking of the TouchPanel is not always working.

Can you check that DoubleTouchPanelLock = 1 is set, because this should lock the TouchPanel in 2 different ways. And maybe also check DoubleTouchPanelLock = 0 setting.

Can you enable debug logging (LogDebug=1) and post the \TouchLockPro.log.txt and \TouchLockAction.log.txt as zipped attachment.

Maybe that gives me a clue :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] honekr:
My problem was DoubleTouchPanelLock=1. When I was setting DoubleTouchPanelLock=0, TP2 was locking.

I need lock Home and Back keys so I was setting HTCLockApi=1. But I don't understund how I can setting keys for unlocking with it. UnlockedKeys and UnlockKeySequence don't work.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
With HTCLockAPI = 1, I cannot intercept keys, so you have to choose:

- use HTCLockAPI = 1, and then some features do not work, like unlock key sequence and also the power button is locked

- use HTCLockAPI = 0, but then the Home and Back button are not locked.

Unfortunately I do not have a means yet to lock the Home and Back button in my Keyboard hook.
[Touch Diamond, MDA Compact IV Themes and Apps] honekr:
Thanks, it's right. TouchLockPro is good utility for me :)
[Touch Diamond, MDA Compact IV Themes and Apps] joachim74:
Thanks for your help!

With DoubleTouchPanelLock=0 and HTCLockApi=1 it's suspending - but this is the same as click on the power button - display is turned off but after clicking again on the power button everything is back - and nothing locked.

Just to lock does not work :(

Log files are attached.

Thanks for your help!!

Joe
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I see in the logging that you disabled AutoLockOnPowerOn:

12:41:06 713894242 AutoLockOnPowerOn: 0

So it will not lock at power on.

Did you disable this intentionally :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] joachim74:
Great - thank you very much - no it works !!!

(Was my fault, didn't catch on the translation ...)
[Touch Diamond, MDA Compact IV Themes and Apps] TouchPro2Vik:
not working

Seems like a very good app. But I doesn't work on my TP2. It's enabled, but when I turn on the screen in a very dark place (no light at all) it doesn't lock the screen.

Any suggestions
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Some people have problems with the default setting DoubleTouchPanelLock = 1.

So you can try to set DoubleTouchPanelLock = 0. Apparently, the regular disabling of the touchpanel problem gives this problem. So I will do it less aggressive in a next version.

It is also possible that there is a Stylus out detected.

If the above does not help, you can enable debug logging (LogDebug=1), reproduce the scenario and post the debug log file \TouchLockPro.log.txt as zipped attachment. Maybe that gives me a clue :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] Goondu:
I uninstalled v 2.7 and installed v 2.66. And it works flawlessly. Real strange

Anyway, attached is the logs file you requested. hopefully you are able to make sense of this and find a solution

Thanks
[Touch Diamond, MDA Compact IV Themes and Apps] Sky Forever:
Great program! Thank you!

Pleeease, correct program for use with HTC MAX 4G!!!!!! Now work only G-Sensor :(

Sorry my English :)
[Touch Diamond, MDA Compact IV Themes and Apps] Fatboyfun:
With the new 2.7 version it doesn't always unlock on an incoming call, Sometimes it does and sometimes it doesn't, The older versions did ok.

And PLEASE PLEASE PLEASE can there be an exception list so when G-Alarm goes off in the morning i can silence it without fumbling around trying to unlock the phone in my half-asleep state.

Otherwise great program :)
[Touch Diamond, MDA Compact IV Themes and Apps] Cobaltikus:
Feature Request: Stripe Toggle Color

No offense, but I never liked the BatClock because it overlaps other icons behind it sometimes and doesn't blend in well all the time based on the theme. So I use the stripe and like it a lot.

But there is a small issue with the stripe, not a bug, just an issue.

Every now and then it takes a short while for TLP to detect that I am attempting to unlock. I.E. My unlock sequence might be up, down, down but when I press up, down, down the first up may not have been recognized, maybe due to TouchFlo or some other program interfering and so TLP only sees that I pressed down and so I need to press up, down, down, up, down, down and maybe an additional up, down, down.

However (and here is my request), if there were a Stripe Toggle Color that switched color every time an unlocked key press was detected, I could keep pressing up until it recognized it and then press down, down to finish the sequence.

This would be the Stripe version of the BatClock feature where the BatClock shows the count of keys pressed when attempting to unlock.
[Touch Diamond, MDA Compact IV Themes and Apps] Cobaltikus:
Feature Request: Save Settings

I would like to request a new feature in the Settings menu.

A "Save Settings" button and a "Load Settings" button.

It could save all the TLP registry entries to a text file on the Storage Card (or user's choice) and restore them from the back up file.

I do this anyway manually using rapiconfig but it is very time consuming and I sometimes change my settings and then need to run rapiconfig again.

Then I use cabarc to cab up the changes and set my SDConfig file to auto load them.

So if the program had this feature built in it would be very nice.

Oooo, just thought of an addition. A command line for TouchLockAction that would load the settings file as well.

This would be useful for those of us who flash new roms all the time.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I uploaded version 2.7.1 which should solve the above problem.

I will be glad if this can be tested, because I myself could not reproduce.

I now less frequent disable the TouchPanel power and only on the main UI thread. Hope this solves the problems people did encounter with DoubleTouchPanel = 1 :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Does the HTC MAX 4G have a light sensor?

And a Stylus sensor?

I does also have a capacitive sensor, I guess, but it is maybe also a not published API:confused:

I would expect also the general key locking/unlocking is working.

If people do not have source code or API how to access the sensors of the HTC MAX 4G, it will be difficult to support those :cool:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Hmmm, maybe because of the DoubleTouchPanelLock problem? I uploaded version 2.7.1.

Can you check that version? If it still does not work, please enable Debug logging (LogDebug = 1), reproduce the problem and post the debug log file \TouchLockPro.log.txt as zipped attachment.

G-Alarm has added support for TouchLockPro since some time.

G-Alarm 1.2.4 (2009/01/09)

* [ADDED] Better support for TouchLockPro

G-Alarm will unlock TouchLockPro by settiong a registry key TouchLockPro is listening for, I do not know if this is still in G-Alarm or if you have to configure this somewhere in G-Alarm. But you can ask the author of G-Alarm...
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Good idea. I will add this on the wish list. I can also make the stripe half the length, when a key sequence is detected, instead of a different color.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
This was on the wish list some time ago. I will add it again.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
TouchLockPro Version 2.7.1

People who did have problems with DoubleTouchPanelLock = 1 can try this new version. Hope the problems disappear with this version :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] thangkls:
@ZuinigeRijder:

How can I user tocklockpro to lock/unlock my device as I use sensor lock ?

Or could you make a simple video to demonstrate how to lock/unlock by using Gsensor ?

I don't know how to do with:

Kind Regards !
[Touch Diamond, MDA Compact IV Themes and Apps] dotcompt:
Great piece of software, I am recommending to all members with my Rom to use this screenlock.

+5
[Touch Diamond, MDA Compact IV Themes and Apps] akira28hk:
I just installed 2.7.1 on Blackstone with latest stock ROM. All I need is to lock the touch keys and allow slide to answer/reject and it works very well, thanks for this great app.

Before I installed this app, I have no batt/clock show on the title bar, so the icons from right to left are 'taskmanager', 'speaker', 'antenna'. After installed this app and no matter I choose 'BattClock' or 'Stealth' in the BattClock setting there often something covered right half of the antenna icon. I see exact left half of the antenna and right half is blank/black. If I click on the taskmanager and have its dropdown menu showing, the speaker icon is also gone (as well as the right half of antenna). Once I click the task manager again and the dropdown menu gone, it will show the antenna and speaker icon correctly. This sometimes happened when I run the TouchLockPro Action program too.
[Touch Diamond, MDA Compact IV Themes and Apps] Sky Forever:
MAX 4G have light sensor, but it doesn't work correctly even with original ROM :) (backlight autocorrection) But VERY CORRECTLY work while calling (screen off/on near ear). It will be very nice to let it work in TLP)))

Don't know about stylus sensor...

G-Sensor. Work! But when execute !LOCKSUSPEND and then press keys - device vibrate. Full off do not become until time set in standart Power settings of device. But nothing happens when device locked, only vibration...

Keyboard - don't work...

Thank for reply, and sorry my English)))))
[Touch Diamond, MDA Compact IV Themes and Apps] m8mbl:
Signed Cert

Hi just wanted to let you know I have tried to use TouchLockPro 2.7.1 on the Toshiba TG01 without success.

This gives me an error... no signed cert.. am I doing something wrong?

MB
[Touch Diamond, MDA Compact IV Themes and Apps] akira28hk:
Just found another problems:

1. 'mute ring' on the screen not working if keys are locked.

2. it will lock the screen and keys if I ignored the call by sliding

I only have the following setting enabled

UseTAPI

UnlockWhenConnected

LockWhenIncoming

KeysOnly

UnlockOnACPower

because of problem #2, now I have UseStylus and StylusOutDisablesLockMode enabled
[Touch Diamond, MDA Compact IV Themes and Apps] pitlon:
Can someone please help, it's the first time I'm using this lock software and it looks great but I have a problem, I use a Bluetooth set and when the device is in the case I cant answer a phone call unless I take it out and unlock it, when I press the Bluetooth button I can hear the phone ring thru the Bluetooth but it doesn't answer, please help.
[Touch Diamond, MDA Compact IV Themes and Apps] akira28hk:
Problem #2 solved by putting !UNLOCK in 'Ended' event in Telephone API
[Touch Diamond, MDA Compact IV Themes and Apps] massmedia:
Is there a WindowClass associated when the device locks?

I'm trying to add it to the exception list for tarkim's keyboard configurator. His driver intercepts hardware buttons.

link: http://xdaforums.com/showthread.php?t=521786
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Of course you can configure your own unlock sequence via TouchLockAction GSensor settings screen. There you will also see the actual orientation, as seen by TouchLockPro (in the right upper corner).

The default unlock sequence is, move from another position to portrait - upside down - portrait.

Do not move too fast. So this sequence will unlock (if your GSENSOR works):
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Strange. Can you post a screenshot, so maybe that gives me a clue. Note that I recreate the BattClock once in a while as subclass of the start bar, maybe thss is a side effect. Anyway, I draw the BattClock or Stealth on top of the Start bar, so I do not move something. So I am puzzled about this one.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Probably HTC has another private API for the light sensor in the MAX 4G. So as long as I do not have the API to access the light sensor, I cannot support it. If someone knows how to access it, I am glad to add support.

For the other problems, I assume you tried the latest version 2.7.1 :confused:

Can you enable debug logging (LogDebug=1) reproduce the scenario and post the log file \TouchLockPro.log.txt and \TouchLockAction.log.txt as zipped attachment. Maybe that goves me insight.....
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
My application is not signed, because this costs money and people may use my software free (although I like donations if they are happy with TouchLockPro, to continue making improvements).

Normally, you can just continue with the installation, by pressing the ok on the screen. It is possible that your provider or company has disabled the possibility of programs with not signed certificates. Or that there is a setting somewhere in Windows Mobile to enbale/disable it. Maybe others have experience with this and can give advise :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
It is possible, that the Bluetooth device sends the Answer key and this is intercepted by the TouchLockPro hardware key locking. I myself do not have a bluetooth device, so I cannot test. Maybe others, using bluetooth can answer :confused:

If you have a newer HTC device, you can enable HTCLockAPI = 1, because from that I know for sure you can just pick up the phone via bluetooth (others confirmed that).

You can enable debug logging (LogDebug = 1), reproduce the scenario (pressing the bluetooth answer button) and post the log file \TouchLockPro.log.txt as zipped attachment. Maybe that gives me insight.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, by default all the keys are locked, including the volume keys. You can unlock the volume keys via setting UnlockedKeys, but on mine Diamond that does not work. Others reported that mute was working for them. There are also Slide2Answer solutions, where on the display you can mute the phone. So in combination with the KeysOnly, you can then still mute the phone.

The second problem is because TouchLockPro does not know how the call is rejected: if it is not picked up or ignored via a slideToReject motion (TouchLockPro has not a screen in front so cannot tell the difference). So yes, you need to unlock (e.g. via a key sequence) first, when a call has not been connected.

Why did you not enable the light sensor on your blackstone, because that will automatically unlock by the light sensor :confused: if it is not in your pocket
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
This seems not so smart. Because if there is a missed call in your pocket, it will also unlock your phone in the pocket, giving the possibility of bogus calls....
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
TouchLockPro does not have a foreground window and TouchLockPro is always active. So probably this will be a no-go.

I would expect that TouchLockPro is still getting hardware keys events from the keyboard driver, so you can still unlock the phone via a hardware key sequence as configured in TouchLockPro :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] massmedia:
thanks for the quick reply!
[Touch Diamond, MDA Compact IV Themes and Apps] pitlon:
Thanks for the quick, I will try it and let you now if it works.
[Touch Diamond, MDA Compact IV Themes and Apps] thangkls:
@ZuinigeRijder:

I changed the sequence 1 to 656 ( does it mean Face Up - Face Down - Face UP to lock/unlock ? ) but it doesn't work - I think the rom I'm using is lost some of HTCSensor's dll - I can't use neither sensorlock on this rom :-(

When I'm in Gsensor option of Touchlockpro - the position status bar displays Unknown - what is the problem and how to fix it ?
[Touch Diamond, MDA Compact IV Themes and Apps] pitlon:
:) thanks, it works great.
[Touch Diamond, MDA Compact IV Themes and Apps] akira28hk:
Sorry, I think it's not caused by ur program. I hardreset my phone and installed other apps (but not urs yet) and it already start doing that.
[Touch Diamond, MDA Compact IV Themes and Apps] akira28hk:
u are right, I am trying to put !unlock;!suppend in the CallEnded but it only unlock and no suspend.... can I put 2 parameters in that field? Thanks
[Touch Diamond, MDA Compact IV Themes and Apps] akira28hk:
The UnlockedKeys works, thanks for the tips.

My need on this program is very simple, all I want is to just disable the 'answer' and 'hang up' keys WHILE the phone is ringing so that it wont accidentally touched when I pulling the phone out of the pouch. I used WM phone for long time I already have a habbit that I will put it on suppend when I not using the phone (even putting on the desk).

From my understanding, ur program will poll those sensors all the time if it's enabled. I don't want too many background process to slow down my phone or drain the battery too much so I didn't enabled any sensors, the sytlus sensor just failsafe if the program some how locked my phone (in fact it did a few times)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Ok, the polling of the sensors will be only done when the screen is on and then the battery usage is neglectable, because the screen and phone itself uses the major part of the power. The Stylus is indeed not polled, so this costs no extra battery. Also the light sensor is only used when locked, so you can consider to enable at least this one for convenience unlocking. But if you are fine and comfortable with your settings and you want to use as less as resources, you can indeed disable the sensors. All small bits may help.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Hmmm, which ROM do you use?

Maybe indeed the GSENSOR is not working for that ROM.

I also know the Diamond2 has a somewhat different GSENSOR version, so maybe this is also related to this problem.

I have also on my wish list the addition of the Omnia Light Sensor and Omnia GSensor, so then I will at the same time check if I can improve the current GSENSOR approach. But, that will take some time.....
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
You can indeed put more commands in the field, separated with ;

There is a typo: !suppend, so I expect you tried !SUSPEND

There is a mechanism in TouchLockPro that it will not suspend when called within a few seconds after a call is ended, I believe. But if you can enable debug logging, reproduce the scenario and post the debug log file I can have a look. But I am wondering, why you want to unlock and immediately suspend thereafter. Why not suspend immediately then?
[Touch Diamond, MDA Compact IV Themes and Apps] thangkls:
@ZuinigeRijder:

Is there anyway to fix it ? I'm using Gen.Y D2 R1.25rom :(
[Touch Diamond, MDA Compact IV Themes and Apps] akira28hk:
As u said if I missed a call while the phone is still in the pocket/pouch with !Unlock, it will leave the screen on and unlocked for a while. So I want it to unlock then supend so next time I pull out the phone and pushed power button I can use it right away.

Same with the ignored call, I probably in a meeting or something don't want to answer calls, with unlock then supended I can just slide to ignore then put it back to the pouch without pushing the power button :P

And yes I did put in !UNLOCK;!SUSPEND in the Ended field and it doesn't supend. I will try get a log when I have time to do more test :) Many thanks
[Touch Diamond, MDA Compact IV Themes and Apps] muhlatte:
can i set the capacitive sensor field more sensitive, because i really would like to use this lock typ but it's so slowly that it hurts :-D I tipp on the middle button often 20 times (or 5 sec.) to unlock the device. Now (after using this really good program for half a year) i'm thinking about changing to pocketshield (one slide to unlock ;-) ). So help needed! By the way ZuinigeRijder, you do an amazing job here!

ok first testing before writing :D i thought that the toggletime is the max time to unlock with 3 touches, but its the time when it will be unlock the device when tripple touching happens :D so problem solved ;) But after testing more than a hundret times i have to say that you mostly need 1 touch more than i set. Is this a bug or not changeable?
[Touch Diamond, MDA Compact IV Themes and Apps] Paul Inglis:
Hi. I've been trying to get this to work with my HTC Touch HD, but I have not been successful. I installed it and used the default settings, but every time the phone is trying to lock I get a crash report.

I've set debug mode on and attached the logs.

Rom version 1.13.25.24

Windows Mobile 6.1

TouchLockPro 2.7.1

Any help would be grateful.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I am a bit confused, because the setting CapacitiveToggleTime = 3000 means you have 3 seconds the time for the unlock sequence. If the number is not reached by then, it will start over again from the beginning of the sequence. You must be able to set CapacitiveTouchesSequence = 2, so only one capacitive touch is enough.

Are you using TF3D? Because there is a known issue the capacitive touches are not always detected.

Since version 2.6 it is also possible to specify an unlock key sequence, so for the diamond the middle button is perfect for that. But then you must use HTCLockAPI = 0 and UnlockedKeySequence = 134.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Can you also describe what the crash report is describing/showing?

I see in the logging several times:

Error in SetWindowLong: 1400

This indicates the TouchPanel locking is not succeeding. Apparently another program prevents TouchLockPro for locking the TouchPanel :confused: But that does not explain the crash report. Are you sure the crash report is not from another program? Which Today screen do you use? Or other background programs?

What I also see in the logging, a lot of:

12:04:58 1772146070 WinMain: 15

12:04:58 1772146070 ClockWndProc(WM_PAINT)

in a very short time. So apparently something is forcing a lot of repaints......

Because the TouchPanel is not locking, you can try the setting HTCLockAPI = 1, but then you must rely on the unlocking by the light sensor, GSENSOR and/or Stylus.
[Touch Diamond, MDA Compact IV Themes and Apps] ROB_LAMOREAUX:
I just got an HTC Fuze and found TouchLockPRo which makes it great since I don't have to worry about hanging up on my wife as I get the phone out.

One improvement I'd love to see is the BattClock stripe would indicate the battery level as a bargraph. I was using SPB Pocket Plus one my 8125 which does this, but with the touch I don't need the other features of Pocket plus so if the stripe did this I would be very happy.

Thanks,

Rob:)