HTC TrayApplet - Device lock link? - 8525, TyTN, MDA Vario II, JasJam ROM Development

Hi,
Does anybody know whether it's possible to put a lnk to device lock using the HTC TrayApplet so it appears in the taskbar.
After upgrading to T-Mob WM6 on the Hermes, and poking about in the registry it only seems that you can only link to .exe files using the HTC TrayApplet (device lock does'nt appear to have a visible .exe file?? to link too)
(HKLM/Software/HTC/TrayApplet)
cheers
chalky

i have had the same requirement. did not find a solution.
i am using vijay's devicelock instead.
www.vijay555.com
the correct command will be:
VJDeviceLock.exe -pwroff

egoist6 said:
i have had the same requirement. did not find a solution.
i am using vijay's devicelock instead.
www.vijay555.com
the correct command will be:
VJDeviceLock.exe -pwroff
Click to expand...
Click to collapse
Egoist6,
Did you use the HTC Trayapplet with Vijays devicelock program or did you just map vijays devicelock program to hardware button.
I attempted creating a registry link to Vijays Devicelock program using HTC Trayapplet, but I could'nt get the link to work?
Anyway I have mapped vijays devicelock program to the Hardware [record] button which works well. So now it's just one buton-click to lock & power off, as well as freeing up one row in the Today Screen.
cheers
chalky

i do not use the htc home screen. i use vjdevicelock in combination with an icon on my "iphone-skin launcher".
it works perfect although it is quite annoying to press three buttons to unlock the device...

One button to both lock and switch off then... one button (fixed) to switch on, followed by two screen taps to unlock.
hmmmm ... it might be posssible to try and reduce the 3 actions required to unlock. Maybe a script (mort Script or Skchema) could be used which runs on device wakeup (via notifcation queue)which checks to see if the device is locked or unlocked and then either unlocks the device by emulating screen taps or by doing nothing, since its already unlocked?
I might look into this?
Cheers
Chalky

that should do it:
http://forum.xda-developers.com/showthread.php?t=305402
can't try it now as i am @work.

http://www.vijay555.com/?Releases:VJDeviceLock
and use the VJDevicePowerOff App. it locks the device and poweroff at the same time.

chiekh said:
http://www.vijay555.com/?Releases:VJDeviceLock
and use the VJDevicePowerOff App. it locks the device and poweroff at the same time.
Click to expand...
Click to collapse
??? isn't that the one we are talking about (see my post #2)?

Chalky said:
One button to both lock and switch off then... one button (fixed) to switch on, followed by two screen taps to unlock.
hmmmm ... it might be posssible to try and reduce the 3 actions required to unlock. Maybe a script (mort Script or Skchema) could be used which runs on device wakeup (via notifcation queue)which checks to see if the device is locked or unlocked and then either unlocks the device by emulating screen taps or by doing nothing, since its already unlocked?
I might look into this?
Cheers
Chalky
Click to expand...
Click to collapse
I have done a bit more digging in the registry.
HKLM\Security\Phone\L with dword = 2 for lock ON and dword = 0 for lock OFF.
Instantly changing the value for string associated to L fom 0 to 2 and then saving the value in the registry will cause the phone to instantly lock.
So this will come in useful for checking to see if the phone is locked or not.
Also knowing that this registry key controls the device lock and unlock function of the phone means it should be possible if required to set a script to do automatic locking simply by changing the registry key from 2 or 0!
chalky

probably armstrong's device lock worls that way.
try it - it gives you what you need.
i have replaced vjdevicelock with armstrong's devicelock

Chalky said:
I have done a bit more digging in the registry.
HKLM\Security\Phone\L with dword = 2 for lock ON and dword = 0 for lock OFF.
Instantly changing the value for string associated to L fom 0 to 2 and then saving the value in the registry will cause the phone to instantly lock.
Click to expand...
Click to collapse
Apparently not. I've tested it and while that key may report on a phones lock status it does not effect it (on a HTC Dual Touch, WM6). Which is a shame because such a simple API for turning key locking on and off would be wonderful to have.

Related

S2P...Will it work on Dash?

Hey guys, Ok I know that S2u2 and S2P are intended for touch screens. However, I was able to get S2u2 to work perfectly with a few minor registry changes. I would like to use S2P (another one of A_C programs), but I have not been able to get it to work. I am using version .40 and have found no registry keys that can help. Does anyone have any ideas? It looks like a cool program to incorportate with S2u2. Thanks for the advise.
John123456789 said:
Hey guys, Ok I know that S2u2 and S2P are intended for touch screens. However, I was able to get S2u2 to work perfectly with a few minor registry changes. I would like to use S2P (another one of A_C programs), but I have not been able to get it to work. I am using version .40 and have found no registry keys that can help. Does anyone have any ideas? It looks like a cool program to incorportate with S2u2. Thanks for the advise.
Click to expand...
Click to collapse
How did you get s2u2 to work exactly, can you share which version you used and the reg settings? If i can get that going, I'll try to help you with the s2p.
The version of S2u2 is v1.01. When I first installed it it seemed to work but the default setting is to shut the phone off after 30 seconds of being locked so I changed that setting
hkey current user\ Software\ A_C\ S2u2\ OffLCD=17
OffLCD should be 0
THe other settings are just cosmetic. I changed the clock setting to "h" instead of "HH" so it wouldnt show military time. And I changed the file path in hkey current user\ Software\ A_C\ S2u2\ wallpaper to point to .gif files for animated wallpaper.
Thanks a bunch for the help. I really like the look of s2u2 and I think that you will to.
I also got S2U2 to work. The only problem,,,, and this is a BIG problem for me, is that the S2U2 "screensaver" would not stay on infinitely for me. If i had the phone setting there for a while and "woke up" the screen i saw that the s2U2's program was not running in the foreground and showed me the default homescreen. It was still running, however, in the background since i saw it in task manager. If i clicked on it again in task manager, the program started right back up. I'm not sure if this is a conflict of another program ( like smarttoolkit, or the weather app, or photo contacts pro) or if it's because it wasn't made for smartphones. I would love to get a fully ported version for WM 6.1 standard though.
I am still running 6.0. This could be why I have had a different result with
S2u2.
why don't u guys post what others ppc apps that works on dash??
I tried the s2u2 v 1.05 and my phone doesn't like it, maybe i had the settings wrong. I installed and then tried to run ilock, and got error. I could run s2u2 and start the lock manually though. Once i locked it, if i pressed any key, the display would light up. If i was on battery power and pressed the center key to wake it up, then the display would not come on at all , but my keypad lights would and it would lock up my phone and get stuck like that until i removed the battery. I thought I disabled it, but then I got a phone call and the slide to answer screen came up(without the slide though) and then i couldn't unlock the phone and had to pull the battery again. I finally uninstalled. Is there some reg settings that are mandatory to get it to work or is it just that buggy on smartphones?
The only reg change thats manditor is the offlcd=0. I am using V1.01. I wonder if that could be part of the issue. It never did that for me but I am on the old 6.0.
John123456789 said:
The only reg change thats manditor is the offlcd=0. I am using V1.01. I wonder if that could be part of the issue. It never did that for me but I am on the old 6.0.
Click to expand...
Click to collapse
yeah, I did the offlcd=0, because without it when I manually ran it, it turned power completely off, like you said earlier. I couldn't find the 1.01 version.
showaco said:
yeah, I did the offlcd=0, because without it when I manually ran it, it turned power completely off, like you said earlier. I couldn't find the 1.01 version.
Click to expand...
Click to collapse
pm me...i have 1.01 if you want it
Ok, got 101, now no more glitches, so it was problems caused by 1.05. But s2p doesn't seem to have a chance without dpad controls available. On the s2u2, how come it doesn't autoset when display turns off? Is there a reg setting for this? And is it just me, or is the display supposed to light up whenever a key is pressed. I still have to unlock for the key to work, but I can't have the display turning on whenever I accidentally touch a key.

simple phone lock required. can you write one for us all

Hello everyone
After trying all the phone lock software out there I still can’t find what I’m looking for, what I’m looking for is so simple an icon in the start menu to lock the phone then r2u or t2u & unlock when phone rings and that’s it. I don’t like the idea of having to press the power button to wake up the screen to be able to unlock the device I’m also not interested in all of the other features that most of the phone lock’s have. Can someone help?
I have tried sensor lock I did like it a lot but I was unable to configure it and you could tell it was running in the background as the screen would jump. Plus throw in my case and a few beers and I know I’m going to drop it.
Many Thanks Jez
A list of phone lock programs you will need to search for them as some of the links aren’t applicable any more and I did need not save the ones that are working
Throttle lock
S2u2
Sunscape
Touchlock pro
Phone buddy
M lock
Organic lock
Pocket shield
Sensor lock
Lock me tight
Stylus lock
try Auto Lock (CSDEVCTRL), you could slide to the right on the screen to unlock the phone or use the windows default unlock.
Hello gbjack
Just tried that app and it’s just to much setting up and I don't think it’s going to do what I want it to do. Just hope someone is willing to write a program going by all the forums I have searched it will be popular
Cheer’s for the reply and suggestion
I tried many lock apps as well, but in the end the standard windows lock is what im using. No hassle, and it simply works as intended. I just press the "hangup" virtual button, and after the second vibration feedback i can be sure that the phone is locked. Doesn't get any simpler than that.
Then you have to try " WWE-Chobit Company SmartLock 1.7B". Only four or five options but it cannot lock your hardware key during call.
http://forum.xda-developers.com/showthread.php?t=505032&highlight=Lock
Then you have to try " WWE-Chobit Company SmartLock 1.7B". Only eight very simple options but it cannot lock your hardware key during call.
http://forum.xda-developers.com/showthread.php?t=505032&highlight=Lock
Just tried that app and it’s not even showing in programs for me to set it up, so I will have to keep looking, it amazes me that no one has written a program like I’m after considering it’s so simple.
gbjack said:
try Auto Lock (CSDEVCTRL), you could slide to the right on the screen to unlock the phone or use the windows default unlock.
Click to expand...
Click to collapse
This is good specialy the turn on bluetooth on call feature, but when we have an income call, the app takes ages to know what to do and the phone only begins to ring 5 secs after. Lockmelite it's the best one around but has a problem with alarms going to background after unlock. The "almost perfect" one is s2u but huge memory consuption makes background app's close or restart.
Hello jpl69
Tried this app found it to involved to setup and still does not do what I am looking for which is tap the screen to wake up so I than can unlock the phone using a s2u app. I find it bizarre that there are many apps to unlock the phone but you still have to push the power button to operate them. Surely it can’t take much program writing to add this feature. Jez
We have to push an hardware ley to wake up our devices from a low battery consuption state (suspend mode) and unfortunaly only have the power and volume hard keys so if you want to wake up your device with a tap on screen you'll only have a couple of hours with a full charge.
Now it makes sense why the screen sleeps if the battery only last for a couple of hours. Just a shame that the power button is so fiddly to operate. Jez
Yes, and it makes no sense having an device lock app (except on incoming calls). I only use it because of my 2 year old son that found the little tiny power on key , and made a couple of phone calls.
P.S. with a registry tweak you can enable the volume keys to wake up your device.
May be this could be your appropriate application:
MortSaver
jez.stix said:
Just tried that app and it’s not even showing in programs for me to set it up, so I will have to keep looking, it amazes me that no one has written a program like I’m after considering it’s so simple.
Click to expand...
Click to collapse
It's not in the Programs folder, it's in the Settings Folder.
try smart lock 1.7b
biosxjj said:
try smart lock 1.7b
Click to expand...
Click to collapse
That is brilliant and can be found here.
Simple and effective (needs a reboot after install, and is found under settings.
Just to be helpful... here's the brilliantly useful Reg tweak to allow wake-up from the volume keys.
- HKEY_CURRENT_USER\ControlPanel\Keybd
- set key: defaultkeylock from 1 to 0
- softreset
LockMeLite is definitely my favourite (especially with the above tweak), but as mentioned already, the alarm snooze / disappearing to background problem is a constant frustration.
Hello flid
Sorry for the delay everyone just got back from Canada so been busy catching up and sleeping. So how do I go about tweaking the reg key? I know how navigate to the reg key on a computer but not on my mobile
I changed my left soft key to lock the phone on the Home start screen as it was doing nothing useful except jumping to a phone operators website:
HKEY_LOCAL_MACHINE\Software\HTC\Manila\HomeLSKPath = windows\Endkey.exe
HKEY_LOCAL_MACHINE\Software\HTC\Manila\HomeLSKText = Lock (or whether text you want).
You just need a windows mobile registry editor. There are several free ones. My current Dutty ROM has one inbuilt, but from what I can gather the popular options are Total Commander (free!), Schap's Registry (free), PHM RegEdit (which is built in to Dutty's ROM) and Resco Registry Editor (not free - but definitely the most finger friendly). There may well be others.

TP2 from Telus : How remove Autolock

I have a TP2 from Telus, with the original ROM and no programs installed.
When I press the power button, I must hit [Unlock] at left on the lower bottom of the screen, after the screen turn gray, and I have the message [Tap "Unlock" or press "*"]. Then I press the button [Unlock] just under the message. And just after that, I'm able to use the device.
My question is :
How could I remove this? When I press the power Button, I don't want to do this to have access to my device.
btw : The [Lock] option in [Settings -> Lock] is not anabled.
Thanks for help.
I dont know why it automatically locks it but the same effect can be achieved when you hold the call end button and select lock device from the quick list.
I'm considering getting a TP2 from Telus as well... I've heard there's no GPS in the Telus version. Can you confirm that?
Or if there's no GPS available in software, is the hardware still there, but just locked down?
(Sorry about not being able to answer your question, but it seems annoying to have to hit unlock like this... I'm interested in a solution too)
You have a GPS with the Telus version, I confirm. I installed Google Map, and it's working.
Place to improvement, but working : Don't work in my home, but outside, no problem.
Not the solution, but you will find a good workaround there :
http://forum.ppcgeeks.com/showthread.php?t=77600
Another workaround discussed elsewhere: either slide the phone open, or remove the stylus. Either method wakes up the device without having to go through the unlock dance, and wakes up to wherever you left off.
Hope this helps.
I've got a suggestion but not sure if it'll work. Install the Advanced Config tool. See if the option is there to disable autolock. It's not there on my TP2 but it was available on my Touch Dual and my Touch Diamond.
By the way, it's funny but you should consider yourself lucky. So many users (myself included) are looking for ways to autolock the device natively.
Advantage of autolock: You won't have accidental screen presses when the device wakes up in your pocket without you knowing (eg, when the phone rings but you missed the call).
hehehe...
thats good, i am also looking for a solution to enable autolock,
(no 3rd apps.)
i compare the current registry with other devices,
maybe there is something
greetz
GPS working in GSM mode?
Hello hadez
quick question on GPS.
The Telus TP2 is a worldphone which can be switched to GSM for Europe as example.
Is the GPS chip available in GSM mode too?
Means if you switch to GSM, does googlemaps find a GPS chip?
All worldphones I used in the past the GPS did only work in CDMA mode.
I would like to have a worldphone which can navigate me in the rest of world not at home where I know the way.
Regards
highc
LRC said:
hehehe...
thats good, i am also looking for a solution to enable autolock,
(no 3rd apps.)
i compare the current registry with other devices,
maybe there is something
greetz
Click to expand...
Click to collapse
Take a look
http://forum.xda-developers.com/showthread.php?t=542482
There is a reg tweak that makes this go away:
in registry HKEY_CURRENT_USER\ControlPanel\Keybd
set:
DeviceLockWhenSuspend
from 1 to 0
Source
Solution found
Working for me.....
Go to : http://www.howardforums.com/showpost.php?p=12886438&postcount=205

Slide to unlock without pin

is it possible to enable the unlock slider without having the pin entry screen pop up afterwards?
to embelish on my issue I am using the latest offical HTC wm 6.5 rom and have tried to edith the registry but changing the reg key for autolock dosen't seem to have any effect. I also tried Advanced Config 3.3 but it's not showing the autolock preferance as an option under the screen heading. I am currently using a pin to keep the screen locked but i'd like a more snappy alternative
try going to settings\lock and uncheck the prompt if phone unused for...should take car of it!!
unfortunatley that setting simply takes away the slide to unlock screen completely. It seems to only appear when I have the pin code enabled :s
I tried to call the lock function when the power button's pressed but the button assignment section on my phone only shows one button for some reason..
Have found my solution for anyone else who had difficulty finding this on the forum heres the link http://forum.xda-developers.com/showthread.php?t=386451 works like a charm on 6.5

[Q] Sliding Lock Screen Gone?

My phone was in my pocket, a reminder went off, I left it, thinking I would just let the phone go back to sleep and dismiss the reminder later.
When I got out my phone, the sliding lock screen was gone, and now when I lock the phone by holding the end call button, the Old WM unlock appears as a soft key in the bottom right corner. After pressing it you get the gray screen asking if you want to unlock.
How do I get the Sliding Unlock Screen back?!
been trying to get it back for hours now....
(phone has stock Tilt2 Rom)
no one sure what happened...
Ditto!
This happened to me today! Cannot seem to change it back to the slide lock. Does anyone know how to fix this issue? Please help!
I installed HD mini lock. Not bad...
msteenwordpower said:
This happened to me today! Cannot seem to change it back to the slide lock. Does anyone know how to fix this issue? Please help!
Click to expand...
Click to collapse
I ended up doing a Hard eset to get it back...cause no one responded...annoying but it works.
I then installed the trial version or PocketShield...and it happened again...but pocketshield is working great to keep away accidental pressing of stuff in my pocket.
I tried Pocketshield, but just kept getting error messages. I want the end call button to turn on a slide lock... and I'd prefer to not do a hard reset...
msteenwordpower said:
I tried Pocketshield, but just kept getting error messages. I want the end call button to turn on a slide lock... and I'd prefer to not do a hard reset...
Click to expand...
Click to collapse
try anista endkey:
http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=709124
or else smabergs action screen, which give a similar set of options to anistas end key only you access it by holding down the power button. Both of these should lock with your default lock application.
If you're looking for an alternative program to the default, try s2u. you can find a link in the continuoulsly updated apps worth installing on the tp2 thread.
Edit: OK, smabergs action screen doesn't have a lock option on it... but whatever it was based on did. There is a link to that application in the smabergs thread, i think.
I know the OP has hard reset his phone to fix the issue, but just in case anyone else is having this problem, the following reg key is probably to blame:
HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LockScreen\Enable
Default Value: 1 (for Sliding lock screen)
Changed Value: 0 (for soft key lock a la wm6.1)
I found this because I actually WANTED to disable the default WM6.5 lockscreen as I prefer the soft key unlock, partly because of the memory the sliding lock uses, and also because I want to be able to see the gorgeous sense 2.5 interface when I turn my phone on to see the time
There's also a "ShowLockScreenPicker" value on my phone that is set to 0, not entirely sure what that does though.
Bit late I know, sorry! :/
jamiemckee said:
I know the OP has hard reset his phone to fix the issue, but just in case anyone else is having this problem, the following reg key is probably to blame:
HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LockScreen\Enable
Default Value: 1 (for Sliding lock screen)
Changed Value: 0 (for soft key lock a la wm6.1)
I found this because I actually WANTED to disable the default WM6.5 lockscreen as I prefer the soft key unlock, partly because of the memory the sliding lock uses, and also because I want to be able to see the gorgeous sense 2.5 interface when I turn my phone on to see the time
There's also a "ShowLockScreenPicker" value on my phone that is set to 0, not entirely sure what that does though.
Bit late I know, sorry! :/
Click to expand...
Click to collapse
Tried this & I still haven't gotten my slide to unlock back, any other possible solutions? Besides a hard rest that is.
It is related to pocketshield, everytime I install an update I have to go into the system lock settings display tab and switch it from windows classic to default.

Categories

Resources