yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] geenyous:
Thanks for the immediate reply!

It still doesent work :(

After switching on, the touchpanel as well as the home button works, all the other buttons seem locked...

have again attached the log.

In the meantime I have also tried 2.6.3 as some users claimed that the issues started after this version, unfortunately also without avail.

I must excuse me for my stupid first post, I forgot important information when reporting an error:

Touch Diamond

ROM: WM6.5 B23001 WWE/FRA][NmLs Rom v1.5.1|TF3D2|Titanium

Radio: v1.11.25.01

-> maybe its a wm 6.5 issue?

Thanks again!

Geen
[Touch Diamond, MDA Compact IV Themes and Apps] geenyous:
strange behaviour...

I have just noticed a very strange behaviour:

when a call comes in I am able to answer and ignore with the slider, just as would be ideal (not surprising though as the locking of the touchpanel does currently not work on my phone...:D) but the ignore button on the touch panel does not respond, it indicates a touch (by changing colour) but nothing actually happens. If I then unlock everything works fine :confused:

btw, just tested the automated wake up (with a reminder) just in case it would have something to do with the power button, but it also doesn't lock the touch panel...

speaking of the ignore button, do you think you could add a option to allow/unlock the volume buttons on an incoming call (I think pocketshield had such an option), this would allow to mute the ring... thanks!

Again, thanks for all your effort!

Geen
[Touch Diamond, MDA Compact IV Themes and Apps] peetx:
hi,

i tried htclockapi, but this too blocks the power button, which is important to be able to activate backlight and see the clock.

i found no way to let the app beep.

too the app detects a keyboard slider although there is none physically as i use a touch diamond.

i did not mean the lights sensor in my and your last post, i meant the backlight, as soon as backlights went off device gets locked which is cool and styluslock did not do this i think.

so there should be a way to locj all exept the power button, why is the task manager ket free/unlocked without htclockapi?

best regards

peet
[Touch Diamond, MDA Compact IV Themes and Apps] galerio:
Hi, I'm haveing the issue of the touch panel not locked even if I updeated to 2.6.7.

The phone: HTC Diamond

The rom: WM6.1 original HTC Italian 2.03.408.2_Radio_Signed_Diamond_52.51.25.26_1.09.25.23

The symtom: when I turn it on, it appears the lock indicator (I'm keeping my thumb on light sensor to prevent unlocking, and also stylus is in and detected so), the hard keys are blocked but the touch panel is free and I can use it as it is unlocked (the lock indicator still shows lock!!!).

I don't have any other software installed that uses touch function of hard keys or other things..

So it is the same things as other users.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
The PIN should not matter. I also do not have a Windows Mobile PIN configured, but I did configure a SIM PIN, so if my device is stolen, you can only call as long as the phone is not rebooted. Moving the SIM to another phone, you also need the SIM PIN. But this should not matter for the locking.

I see you also have set EnableInputAtSuspend = 0. For some people it helped locking at power on, so you can try EnableInputAtSuspend = 1. But it appears this also not works for everyone.....but be sure to soft reset after this change, when testing.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
The locking should not be a WM 6.5 issue, because it is a general Windows Mobile solution, but I do not have a WM 6.5, so I cannot tell. Anyone using TouchLockPro with WM 6.5 where the touchpanel does lock :confused:

I see you changed the EnableInputAtSuspend = 1 later in the log file. It is better to start with an empty debug log file (disable debug logging or stop TouchLockPro and just remove the log file, before enabling logdebug again).

9:45:43 82881422 EnableInputAtSuspend: 1

I also see some strange SIP configuration, which is non-existent:

9:45:43 82881422 SipStylusOut: NLOCK

This should not harm, but did you do this on purpose. Or do you never want a SIP :rolleyes:

I also see you did not configure a lock indicator:

9:45:43 82881422 LockIndicator: 0

Could this be that cause? Can you try with the normal BattClock :confused:

I see however, the following error message:

9:45:52 82881422 HookTouchPanel(true)

9:45:52 82881422 Error in registering m_LockedWindow

So this is the likely cause......

I assume it did also not lock after a soft reset?

Maybe this is because you did not configure a lock indicator?

Or because of WM6.5?

I checked my code, and I execute the call TouchRegisterWindow in touch.dll.

Apparently this fails for you, because some other program did this already? Or indeed WM6.5 problem.

I did check the other log file from a previous post and there this error was not in.

A lot of guessing and questions from my side, which you might check/answer.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
It is possible that the ignore button just sends a Call Reject key code, which is intercepted by TouchLockPro? I do not know the WM6.5 slide2answer solution, but it feels to me you can still accidently touch the ignore button, while the slide will almost impossible in your pocket :confused:

Yeah, in the log file I saw the error logging of registering

You can already configure to unlock the volume buttons, but on my phone, when pressing those volume buttons, the volume screen appears, but the volume is not altered. So it has maybe to do something with repeatedly sending volume up/down and with TouchLockPro in-between it is not fast enough? I do not know the behaviour on your phone?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I checked the Beep, and it is working when you do not configure vibrate and configure Beep = 1, in combination with no lock indicator. With a lock indicator, it will only beep when the backlight is off. So there are currently restrictions, which I will remove in a next version. But also be sure to configure sounds in Windows Mobile.

TouchLockPro looks for the registry key

HKLMSystem\\CurrentControlSet\\Keypad\\IsSlideOut

So apparently that registry key is available in your phone.

HTCLockAPI is a different way of locking everything, including the powerbutton. This API does not allow to only let the power button unlocked. So the other touchscreen lock is a general Windows Mobile locking inside touch.dll, with the features as described here.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I see the error:

16:05:31 -447180986 Error in registering m_LockedWindow

A few posts back I also saw this.

I see also here

16:03:30 -447180986 LockIndicator: 0

So maybe it is related?

You also configured:

16:03:30 -447180986 EnableInputAtSuspend: 0

You should configure EnableInputAtSuspend = 1, because for some people this solved their problem.
[Touch Diamond, MDA Compact IV Themes and Apps] galerio:
Nothing, the touch panel is still unlocked even with EnableInputAtSuspend=1.
[Touch Diamond, MDA Compact IV Themes and Apps] bluefisher:
Thank you very much for the immediate reply! I do it follow your advice, and it's working !

smoetimes, if just after power on , The Nav Sensor is working, I can turn off the screen or Lock the phone, and then I can turn on or unlock ,But when I want to do it again , nothing hanppen,untill the power off again. It's strange. But but but just only sometimes. Maybe it's the issue of Nav Sensor or thouch pannel.

Here are the Logs. Thanks again!
[Touch Diamond, MDA Compact IV Themes and Apps] geenyous:
It works!!

First, crazy support, thanks man!

I will definately send some swiss sweets your way!. ;)

I have not set any SIP, I have no idea why this is in the config and also no idea how to get rid of it (it does not say anything in the settings nor in the registry...?)

THIS IS IT!

I had the stripe activated because I did not like the batclock over my bat symbol and once you tick stripe all the other settings are set to 0. I therefore thought that this is the way it has to be and have not bothered. But as soon as you check the Lockindicator it works!

I have now set the Lockindicator and the Stripe but have unchecked all the other options, now everything works fine, touchpanel gets locked and unlocked on incoming call and it looks just great!! :)

was the same after softreset, didn't work. but now, see above... :D

I have now set to unlock the VolDown in the keyboard settings (No 118) and now I can even mute the ring once a call comes in, this is perfect! I dont need it to change vol, only to mute ring, therefore I dont care that it does not propperly change vol if the phone is locked...

To make things 100% perfect you could add the option to allow certain keys only on incoming call (in TAPI options), I would then add the VolDown button to only be activated when a call is incoming... :cool:

Thanks again ZuinigeRijder, awesome support and a really fantastic app!

Sweets sent... :)

Geen

EDIT: Just fyi, attached the latest log...
[Touch Diamond, MDA Compact IV Themes and Apps] hgrimberg:
Keys unlocked

With the new version 2.6.7, now the problem of not locking the screen after a reboot is solved. Now, it gets locked. Congratulations! Problem solved.

But now the problem is that we went down one step. Now it doesnt lock all keys. Not even with the option HTC Lock Appi set. Not even with the option from WM "Lock all keys except the Power button". So if my intention was to lock all the phone, meaning the screen + the hard keys, now we are half way. Before it was possible to lock all keys, and I had the option of leaving the center key unlocked (134). Now I can't. Why?

Thank you.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great that now the TouchPanel locks. It looks like I need to remove the option EnableInputAtSuspend, to avoid people having problems. Probably I will remove that option in a next version.

Do you have TF3D as Today screen :confused: Because there is a known issue that sometimes the capacitive touches/swipes are not reported due to a HTC bug. See setting TF3DWorkaround.. Sometimes, when you touch the middle button or switch tab in TF3D the navsensor is reacting again. But you can do this only when not locked, therefore the workaround.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
You also have set LockIndicator = 0.

Probably your problem will be solved, when you set LockIndicator = 1.

Looks like I need to remove this setting, so this cannot be a configuration problem anymore.

Let me know if then your problem is solved :confused:

Make sure to softreset, after changing this setting ;)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Wow, together we have the problem solved :eek: Great :)

So it looks like there should be a window active of TouchLockPro, to get the TouchPanel locked. So I think I go to remove the LockIndicator = 0 setting. Then there will be a black stripe drawn, when unlocked or a black dot when using Stealth mode (default color). But that will not be noticed :rolleyes:

You can set the SIP for the Stylus Out/In the SIP Settings screen. Strange that it does show up as NLOCK.

Great this is working for you. With my diamond it will not mute on Volume Down :(

Thanks for the donation. Normally I drink a cup of coffee with my wife. But I also bought a Photo camera (100 euro) lately from the donations, which can record also HD Video. So I am going to make a Youtube video of TouchLockPro, to show all the possible TouchLockPro features. Because it is sometimes difficult to explain in text where all the fuzz is about.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Strange that HTCLockAPI = 1 is not working now :confused:

When this is activated, you cannot unlock certain keys.

With HTCLockAPI = 0, indeed the Home button and Back button cannot be locked, but that does normally not harm. If another program has also a keyboard hook, then TouchLockPro cannot lock the hardware keys. So maybe that is the case? Are no keys blocked ?
[Touch Diamond, MDA Compact IV Themes and Apps] galerio:
I set LockIndicator=1 and soft reset, but the issue still remain. Do you need another log?
[Touch Diamond, MDA Compact IV Themes and Apps] hgrimberg:
No, nothing else is locking the keys or the screen. Only Touchlockpro. It just locks the screen but not the hard keys anymore as it used to be with previous versions. (2.6.5). I think it was not locking the keys starting with version 2.6.6.

Thank you.
[Touch Diamond, MDA Compact IV Themes and Apps] bluefisher:
Thanks a lot!

Now i see. it's nothing about the option EnableInputAtSuspend, only cause I use the TF3D.Why ,Because I didn't use TF3D since I changed OS. here is the matter.

Thanks again!
[Touch Diamond, MDA Compact IV Themes and Apps] galerio:
Now I have also tried to set TF3dWorkaround=1 (even if I haven't TF3D) but nothing is changed. And I have never had a pin to lock my diamond.

Now I turned to 0 the LockIndicator because I don't want to see it always, it is a great function so don't remove it! I love to see my yellow big square when the phone is locked ;-)
[Touch Diamond, MDA Compact IV Themes and Apps] geenyous:
damn, after reset not working anymore...

Oh man, I thought everything was over...

Unfortunately I was wrong, after I made a soft reset this morning the screen was again not locking anymore.

As you can see in the log I have tried several options (Battclock all options, lockindicator and stripe etc.) but it just wouldnt work...

I have also just now tried to set everything back to the initial settings (not on log anymore) but this also didnt work...

I hope you can find a solution, although it is really strange that it works with some users but not with others and that yesterday it suddenly worked until the soft reset :confused:

I am now out of country the next week and will therefore not be able to immediately try any suggested options, however please just post your ideas and I will go through the thread once I am back.

Thank you in advance for looking into this!

Geen
[Touch Diamond, MDA Compact IV Themes and Apps] galerio:
The same things happen to me: sometimes, activating and disactivating Debug mode, I can have touchlockpro functions very well without problems, but sometimes more often it doesn't work and touchscreen is not locked.

For example, yesterday I have made an hard reset to update my Hard-SPL, and after restoring a complete backup, Touchlockpro was working! But then, after a softreset it stops doing its job.

This strange behaviour makes any attempt to find conflict more difficult because I can hard reset my Diamond and install Touchlockpro for first and then try to install all my other programs one by one, but if the error doesn't occur immediately, it is impossible to find out if it is a specific program that prevents Touchlockpro's job.

Any idea? From logs can you find out anything? If you need us to make some action, let us know!:cool:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yeah, this is diffucult to solve, because it is not reproducable.

Anyway, in your other log, I saw you tried LockIndicator = 1, but I did not see the combination with EnableInputAtSuspend = 1. Csan you try if this works for you? And can you also try with the default settings (you can reset to default settings in the About screen)? Just to know if with those settings the TouchPanel will lock.

But I am afraid this will be going for some people a trial and error, something I hate. So I am thinking about locking the TouchPanel in 2 different ways for people having a newer HTC phone. I have also another older method used, which just disabled the power of the TouchPanel. This worked, but I needed to reapply the lock regularly, so that was not a real nice design. But for the people who have this nasty problem, this can be good enough. Actually, I want to find the real solution for this problem, because it shoudl work on a general Windows Mobile phone too, but for the time being, this double (configurable) locking can be a good workaround for the newer HTC phones. The advantage about the other locking method, is that the task manager is also locked, and also the scrolling area on the right of the screen.

I also try to keep searching for what could be wrong with the current solution.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, damned :mad:

Thought we found the cause of the problem, so we are back to the start. However, I do not see the error about the TouchPanel locking anymore, but apparently it does still not always lock. So there is something more.....

See this post what I am going to try next.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I tried HTCLockAPI = 1, and this works for me as expected.

Can you try with all the default settings (reset to default in the About screen), to be sure it is not something with the configuration and thereafter soft reset.

And can you post a debug log file with the default settings if it still does not lock the hardware keys?

Thanks
[Touch Diamond, MDA Compact IV Themes and Apps] galerio:
I tried to use LockIndicator = 1 EnableInputAtSuspend = 1 with my other actual settings, but nothing. Then I have reset to default settings, but nothing. Then I have restored all my previous settings and disabled Debug mode and magically the touchscreen is locked!! :D (I have Lockindicator=0 and EnableInputAtSuspend=1) But probably if I'll make another soft reset, the situation will become the same as before.

(everytime I've changed a setting I have made a soft reset).

During this tests I haven't done any call or opened other programs or changed other settings.
[Touch Diamond, MDA Compact IV Themes and Apps] Teddyen:
Okay, bugs on my Diamond 2 / Topaz (correct me if I've missed out on something)

(Edited somewhat)

1. The Nav Sensor don't work. I can swipe unlock-patterns all day with no response!? \\EDIT: Okay, I see that it isn't supported in the Diamond 2, but it would be really sleek if you could unlock the D2 by swiping the screen!

2. If I turn off the G-Sensor, the "Suspend on reverse portrait" (aka Suspend in Pocket) feature in changeScreen v2.78 stops working, it only rotates manila upside down instead of suspending. The whole G-sensor thing don't seem to work very well, it might be because of changeScreen (although I've put touchlockpro in the exceptions list). It reports for the most "G1" and does nothing. I can't find any list for what orientation the numbers represent either? (Probably something I missed)

3. The app won't lock my windows- and back hardware buttons!

4. The app don't lock the taskmanager, I can still press the upper right corner of the screen while it's "locked". (I read something about the right side of the screen never being locked on purpose, but I can't really se the point?)

5. In landscape mode, the first and half of the second number in the time shows up a little to the left for the battery/time indicator. Not pretty =P

As it works for me now, the only way to unlock the phone is by taking out the stylus or having a decent light source nearby.

This app seems like just the thing I want, it would be great if those things were sorted out, at least #1 and #3! It might be that I've just missed out on a lot too, if so, I hope someone can lead me in the right direction ;)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Ok, I have added another TouchPanel locking method, and uploaded version 2.7. Now it should always lock and also the task manager area is now locked.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
1. Yes, the Diamond2 has not the same NavSensor, but a Zoombar.

You see in the Quickstart and features, this is indeed not supported. As long as I do not have source code how the ZoomBar can be read out, I cannot do something for that. Anyone how to read out the Zoombar of the Diamond2?

2. GSensor should work. You can see in the GSensor setting screen the orientation changes TouchLockPro sees. I do not know about changescreen.

3. Yes, the keyboard hook cannot catch those keys. You can set HTCLockAPI = 1, but then some other features are not available, like unlocking via a key sequence. And also the power button is locked when the phone is locked.

4. Yes, this can be convenient, as descibed here.

I have just uploaded version 2.7, which has a double touchpanel lock, so this feature is by default disabled.

5. I center the text in the size of the box. Can you post a screenshot? Do you have a good proposal?

You can also configure a unlock key sequence. E.g. by pressing volume down/volume up.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
TouchLockPro version 2.7

For people having problems with the locking of the TouchPanel, I just uploaded TouchLockPro version 2.7. It has now a double locking method. And also the upper right part and scroll area is locked.
[Touch Diamond, MDA Compact IV Themes and Apps] NeoXTC:
Hi,

What's the best way to "unlock" when there's an incoming call so that I can answer it with touch panel or hardware key?

I"ve tried the TAPI but it didn't seem to work. Do I have to the put !UNLOCK in double quotes?
[Touch Diamond, MDA Compact IV Themes and Apps] Teddyen:
Thanks ZuinigeRijder, I forgot to edit #3 after I found the manual. I used the volume down/up buttons on my old phone too, funny to see that others also use that combination =)

The landscape bug doesn't seem to appear in manila and related programs (phonebook, music player, weather...).

Great app btw, now that I found out how to set hardware-unlock. ;) Would be smooth with zoombar-unlock too if you could figure out how to read it, but that might be too much to ask ;)
[Touch Diamond, MDA Compact IV Themes and Apps] peetx:
no luck here

i don't have this key???

logfile:

12:02:18 -1512747522 ERROR Could not open registry key System\CurrentControlSet\Keypad

12:04:46 -2050145498 ERROR Could not open registry key System\CurrentControlSet\Keypad

12:06:47 -975428174 ERROR Could not open registry key System\CurrentControlSet\Keypad

0:31:02 -2049825522 ERROR Could not open registry key System\CurrentControlSet\Keypad

0:40:16 1179984742 ERROR Could not open registry key System\CurrentControlSet\Keypad

12:47:18 642969782 ERROR Could not open registry key System\CurrentControlSet\Keypad

4:33:37 -2050210650 ERROR Could not open registry key System\CurrentControlSet\Keypad

11:41:41 98219470 ERROR Could not open registry key System\CurrentControlSet\Keypad

6:19:21 -2057250902 ERROR Could not open registry key System\CurrentControlSet\Keypad

17:39:07 -2057250902 CreateProcess failed: 2

17:39:07 -2057250902 CreateProcess failed: 2
[Touch Diamond, MDA Compact IV Themes and Apps] peetx:
link adress error
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
When you have a slide2answer solution (standard on HTC 2.03 ROM and above), then it is really simple. With the default settings, you only need to set KeysOnly (LockWhenIncomingKeyOnly = 1) in the TAP settings screen.

When there is an incoming call, you can just answer/reject with the slider.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
You can configure somewhere, that you also want to show the Battery instead of the time in landscape in Windows Mobile. The time in landscape of Windows Mobile is wider, because the Battery percentage is an overlay, the time is coming undernetah it (so it is not the TouchLockPro time). I believe you can configure that you do not want the time via Advanced Config somewhere, also not in landscape.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
The new version 2.7, you can configure separate now the number of Beeps, indepenent of the BattClock appearance and Vibrate configuration. It is working with me, when I enable sounds in Windows Mobile settings.

For me, the keyboard show to me UNKNOWN, so it is strange it is showing something else with you. You can just disable the keyboard, via the Keyboard settings screen.