simulate user interaction every X minutes - Windows Mobile Development and Hacking General

Hi,
My mobile gets locked after 20minutes of user-inactivity due to corporate security restrictions. This can unfortunately not be turned on.
This is extremely annoying when I use my phone as navigation system (tomtom) as I have to press the screen or a key every 20 minutes or less in order for the phone not to go to the lock screen.
Does anyone know how I can simulate some user interaction? It should preferably be an action that does not actually activate anything (e.g. it does not actually do a screen or button press) as this could interfere with the software running (in my case TomTom).
thanks in advance

You can disable the lock.
First you need to enable the box under "Settings -> Personal -> Lock" again to be able to untick it.
This can be done in the registry:
HKLM\Security\Policies\Policies\00001023
0 = Enabled; 1 = Disabled
Then install Zenyee.com Stay Unlock.cab and soft reset your device.
This program will prevent the lock to be activated again.

thanks I will try that.

kimusan said:
Hi,
My mobile gets locked after 20minutes of user-inactivity due to corporate security restrictions. This can unfortunately not be turned on.
This is extremely annoying when I use my phone as navigation system (tomtom) as I have to press the screen or a key every 20 minutes or less in order for the phone not to go to the lock screen.
Does anyone know how I can simulate some user interaction? It should preferably be an action that does not actually activate anything (e.g. it does not actually do a screen or button press) as this could interfere with the software running (in my case TomTom).
thanks in advance
Click to expand...
Click to collapse
Hi kimusan,
I have a mortscript running in the background (Whenever I start my Navigation, because my screen will switch off after 2 minutes). The mort-script sleeps 60 seconds and after that it resets the timer. Then sleeps again and so on.
I start the the script directly with my navigation program and stop it after the window of the navigation does no longer exists...
If you need the script-file I will send it to you...
For my PPC it works really well.
Hope this will help.
huibuh_1

scroll down this page to find an app called 'KeepAlive'
http://www.scottandmichelle.net/scott/cestuff.html

Related

Keylock for Magician?

Is there a keylock app available allowing me to lock all keys while device is on? Is it possible to get the keylocker function from Windows Mobile 5??
helterskelter said:
Is there a keylock app available allowing me to lock all keys while device is on? Is it possible to get the keylocker function from Windows Mobile 5??
Click to expand...
Click to collapse
If you go to Start -> Settings -> System -> Button Lock, you can set it to lock all the buttons except from the power button. That way, when you turn off the screen (leaving the phone on), all the buttons are disabled except the power button.
Be warned though that if you receive a call or a text message, the buttons and screen become active again.
Try this it may be what you are looking for.http://www.pocketpcfreewares.com/en/index.php?soft=1365
So if you can't take the call it turns on your magician and leaves it turned on
futurity said:
So if you can't take the call it turns on your magician and leaves it turned on
Click to expand...
Click to collapse
You'll probably have a time-out set on the Magician anyway to power it down after three minutes or so? If you do that then the keylock will come on at the same time, but yes, for that three minutes the phone's keys and touchscreen will be active if you receive a text/call.
I use mort saver
http://www.pocketgear.com/software_detail.asp?id=14321
I haven't tried DeltaLock which is given with the previous link. I have been using Screenlock for almost a year now on my Jam. It has worked fine and done exactly what it is supposed to do. I use it mainly when I'm playing music and have my phone in my pocket. It saves the battery by shutting off the screen completely and locks all of the keys except the 2 key combo required to activate the screen again. http://www.pocketpcfreewares.com/en/index.php?soft=1300
Matterhorn, just tried Screenlock, it is great for MP3 listening. Thanks.

'Device locked' on Today screen doesn't work, right?

Hi all, if you try the following...
1. Click 'Device unlocked' on the Today screen so it changes to 'Device locked'
2. Turn device off / wait for it to go to sleep
3. Turn device on / wait for something to wake it up
...the device has unlocked itself, correct or is it just my Xda Mini S?
So how are we supposed to lock the device properly from accidentaly screen taps -- a problem I keep encountering?
Also, is there any way to add a timeout to the device lock, so if the screen isn't tapped for 5 mins, it automatically locks (assuming we actually make the lock feature work in the first place!).
My K-JAM used to do this all the time.
I never actually worked out the exact cause, i have a feeling it may have been caused by software i was testing when i 1st recieved the k-jam.
It stopped doing it altogether after a recent hard reset.
Sorry i wasnt more help.
Cheers
Chris
the device lock wasn't made with these systems in mind... it's intended for smartphone devices which don't have a 'suspend' state - let alone a button you can push to put it into, and bring it out of, that state.
If you want a free, proper locker, put the following in your today-screen-app-launcher of choice:
http://www.pocketgear.com/software_detail.asp?id=14621
This'll 'lock' even the on/off button (immediately 'locks' again if you try to turn it back on, or shut it off (by holding down the on/off button - as you need to confirm by dialog)).
On the down side, it'll also turn your display off.
To unlock, on the Wizard, you need to press the Messaging (top-left, front side) button and the Voice Dial/Memo (top-right, side) button at the same time.
That lock/unlock feature on the Today screen is pretty crappy actually. I locked my keys religiously. And half the time, I would pull my phone out and it was on a webpage or on my email... and I never opened them.
I'm hoping they fix this...
-Mc
Well it's ridiculous that O2 etc. keep the function enabled by default on the Today screen of their units, if the feature is for Smartphones only! But then, there's a lot of things O2 don't understand about the world but don't get me started on that.
Warning! Do not use Screenlock!
Warning: I think this program just killed my Wizard. Don't install unless you know the risks.
http://forum.xda-developers.com/viewtopic.php?p=212261#212261
People, please don't recommend software on here that is not tried and tested on WM5.0.
On my Qtek 9100 it works. The only button that doesn't lock is the power button. Accidental tap of the power button will turn the screen on. You cannot even press and hold to power off when locked. When phone comes back on it stays locked.
I have been using this application for a while now - but I think the warning for installing sofware goes for all software. Who is to say that SPB doesn't install something that 'phones home'? Or that Mort Script doesn't cause irreperable harm to the registry stack when using its registry functions?
I've had no problems with it, but I guess I'll continue in your other thread.
I also can't just quickly tap the on/off button. Sure, it goes on - but it then immediately goes off again as well.
Thanks. What happens if the device crashes or you soft reset whilst the screen is locked? Does it reboot unlocked with the screen on? I wondered if mine had somehow locked completely, so the screen is off when it reboots ...but that wouldn't explain no LEDs working either :?
I don't know about crashes but, with some reluctance - admittedly, I tried the soft-reset (pin button at the right) while the screen [w]as locked...
...the device switched off, switched back on, booted up, and displayed my Personal Info screen.
So... no problem there, sorry :/
Well I have my replacement Mini S now. Any other programs than ScreenLock that do this? I'm sure I found once, but I can't find it any more :?
I couldnt get screenlock to work on the ppc6700, but mortsaver worked just fine, you might want to try that.
I'm perhaps misreading this, but the device locking seems to work ok for me on my XDA Mini S. Once I've locked the Mini S the only way I can use it again is to unlock it - if I touch the power button or let it go standby itself, when I touch the power button to wake it up, it remains locked. Also, if I hold down the power button for five seconds or more the Mini S will not give me the option to switch off entirely.
John
Hi John,
Do you have a Device Password setup? ( Start > Settings > Personal > Password > [x] Prompt if device unused for... )
I find that when
1. Device Password is enabled
2. you lock the device
3. you press the device on/off button (goes to standby)
4. you press the device on/off button again (goes back on), the device is unlocked.
When Device Password is disabled, and you then follow steps 2-4, the device remains locked
In my experience this is true [it sort of makes some sense you can't type in your password with the device/screen locked].
it would make sense if...
A. the password dialog would actually pop up (note that if you turn the device off/on manually, before the password prompt timeout, the password dialog does not show up)
and
B. they would first show the unlock screen and -then- the password prompt
The password prompt facility effectively overriding the unlock screen is just bad software design.
well put zeboxx... i wanted to say something in those lines but couldn't articulate them properly [ended up with a it sort of makes some sense jibe...]
ZeBoxx said:
Hi John,
Do you have a Device Password setup? ( Start > Settings > Personal > Password > [x] Prompt if device unused for... )
I find that when
1. Device Password is enabled
2. you lock the device
3. you press the device on/off button (goes to standby)
4. you press the device on/off button again (goes back on), the device is unlocked.
When Device Password is disabled, and you then follow steps 2-4, the device remains locked
Click to expand...
Click to collapse
Nope, I don't have a device password enabled which explains it.
John

Stop accidental key presses?

Anyone have a solution for this? I have my Wizard go to standby after a short time and always make sure it is in standby when I put in in my case. However, when I receive a call and pull it out of the case, I almost always press one of the buttons. So when I answer the phone I have the camera going, contacts open or the connection manager open. I use all the buttons so I don't want to disable them completly. I wash there was a way to disable all buttons except the answer button for like 5 seconds after a call starts ringing. Or, be able to set buttons to not activate unless pressed for 2 seconds or so. Or, require 2 presses to activate. Anyone have any ideas?
Thanks
Turn on the password (4 digit one is fine) and set to 0 minutes, the phone will "lock" as soon as you go into standby but when it rings you will be able to answer with the red/green buttons but nothing else until you put in your password.
Thanks, I will give that a try. I used a password before but it slowed things down so much that I removed it. I have done quite a bit of optimizing since then and will try it once more.
it does slow the use, and gets annoying (i still use it) but it does work until i find a decent app to do it. All it really needs is 2 touches or 2 buttons to unlock but not found anything yet... \
I have solved this with litle less work .I have Device lock Bar on the top, under date , so you need twice down and middle buton to lock the
device.
device lock doesn't seem to play well with the password application. if you have password activated you can do a device lock but when you put your device on standby and bring it to full power it is unlocked. if you use device lock without password it works.
any solution to lock keyboard during a call ? i always active some functions with my ears(...) when i speak
starseb - switch your phone to stand-by mode... the radio (phone part) should remain on, and you can continue calling. Then just switch it back on when done ( or not %) )
sorry for my english, but i make i make a mistake. i would say how to lock screen during a call.
bostjan said:
I have solved this with litle less work .I have Device lock Bar on the top, under date , so you need twice down and middle buton to lock the
device.
Click to expand...
Click to collapse
Is there a good way to unlock by pressing just keys?
Try christoph's deltaLock map it to a hw button then set it to be unlocked by the same hw button.

TomTom 5.21 with Cingular 8525 - screen turning off

Can't find any reference to this issue, so I'm hoping someone might be able to assist.
I installed a legal copy of Tomtom 5.21 on the 8525 and it works great, except for the fact that the screen doesn't stay on or locks when there's no device activity for more then 5 minutes. I have the device being used on battery and the power settings will only allow me to extend the backlight to 5 minutes. Since I use the Tomtom rather infrequently, I don't want to disable the backlight setting. Also the device is set to lock after 15 minutes, which I know is short, but trying to adhere to corporate standards on this setting. Shouldn't the Tomtom software handle the function to control overriding the device lock threshold? I know it should, because when I used the software on a Treo 650, the screen lock function was defeated while Tomtom was running. Am I missing something (a setting or reg key) that would give me the same functionality on the 8525? It is quite annoying to have to either unlock the device after it locks while driving, or risk the possibility of forgetting to re-enable the setting if I manually disable it.
Any advise is much appreciated.
TIA.
Try this:
Settings -> System Tab -> Power -> Advanced tab
uncheck the "Turn off device if not used for" box.
Start TeleNav, go to preferences. Make sure that backlight is set to always on. I have never had any problems with this. Hope it works
Thanks....both very good suggestions, but my main issue is the security kicking in, and the device locking after X minutes. As I stated previously, shouldn't Tomtom defeat the device lock while the software is active? Is there a way to defeat with an alternative method, such a a batch file that would disable the device lock, run Tomtom, then when Tomtom exits, re-enable the security of locking the device?
Any further input would be greatly appreciated.
TIA.

HTC HD2 and Phone Lock problem

Hi,
Phone Lock on my HD2 is set to ask for password if phone is unused for 15 minutes. But my HD2 ask for Phone Lock password each time the screen goes off. Is it possible to change this behavior?
I have the same problem. The phone lock is set to 24 hours, but if the dispaly goes off and i power it on the hd ask for the phone lock password, too.
Can someone help?
Usually if I don't want the phone to lock, I just set the screen not to turn off at all. Under settings, display etc.
HI,
i want, that the screen is locked but only with the slider. At the moment i slide to unlick and then i have to enter the phone lock passwort. But this password should only appear if i restart my HD2 (for this reason i set the phone lock password option to 24 hours).
with my "old" HD this works great.
Download this cab file to your device > run > switch off > switch on
http://forum.xda-developers.com/attachment.php?attachmentid=246722&d=1258236796
Strange, does this fix work for everyone else?
After I installed it, once I press the power button to shut the screen off, when I press any of the hardware buttons, it dumps me to the screen that I was on, but no longer asking me to swipe. I guess I'm looking for the fix so that the below behavior happens:
1) If I press any of the buttons before my "timeout" happens, phone should ask me to swipe my finger to "unlock" the screen.
2) If I press any of the button after the "timeout", then phone should ask me to swipe but then also ask me to punch in a PIN or complex passwd, depending on the setting.
Are there any registry hacks that can do what I described? or does it do exactly that and it's my particular phone that isn't working?
thanks!
m1k1 said:
Download this cab file to your device > run > switch off > switch on
http://forum.xda-developers.com/attachment.php?attachmentid=246722&d=1258236796
Click to expand...
Click to collapse
Having been interested in exactly the same thing, it seems like this cannot be done at present. The lock is either there with a password or not there at all. My current compromise is to set a one digit pin, but that's a bit pointless really.
The slider can be added with S2U2 but this seems to defeat the object somewhat...
I have the same problem. I'd like to be able to lock the device (or at least to turn off the screen) without typing the password at each unlock. I set it to 24 hours.
The patch should be fine as temporary solution
Password lockout problem solved
Great,
this has solved my problem that intermittently and usually overnight I get 'incorrect password message' when I try to unlock, only solved by a soft reset which is rather worrying.
I don't want to have autolock, especially every time I switch on and off like you all.
This little add on allows manual lock (by setting widget on screen with SPB mobile shell), and I have set default to 12 hrs for password screen.
Many thanks
Rory
RoryC said:
my problem that intermittently and usually overnight I get 'incorrect password message' when I try to unlock, only solved by a soft reset which is rather worrying.
Click to expand...
Click to collapse
Ha! Think that's worrying? ...You're right.
I had this a few times in the past and each time was able to solve it by a soft reset.
Not the last time, though. After trying numerous soft-resets, I finally saw no other way out than to hard-reset my device. In the end, it didn't even display the "incorrect password" dialog anymore. I suspect I had entered an "incorrect" password too many times, but the device did not manage to present me with the "enter a1b2c3" prompt that it usually does when that happens.
Very, very frustrating. Some quick googling gives a few reports of this happening to other people, not just on HTC handsets either. Not too many though, so it sounds like it's pretty rare.
(For the record, running 1.48 WWE here, had a 7-digit simple PIN set as the device lock password, with Windows Default display)
i have the same problem it asks for password every time i unlock the phone and the bad thing is that sometimes even correct password doesnt seem to work so that i have to soft reset or wait for half an hour b4 trying the password again , just confused about it . australia
i took out my password for now. i have to reset once in 2 days now to unlock phone. i wont be able to make a call in case of an emergency so better option take it out.
mobilebuddha said:
Strange, does this fix work for everyone else?
After I installed it, once I press the power button to shut the screen off, when I press any of the hardware buttons, it dumps me to the screen that I was on, but no longer asking me to swipe. I guess I'm looking for the fix so that the below behavior happens:
1) If I press any of the buttons before my "timeout" happens, phone should ask me to swipe my finger to "unlock" the screen.
2) If I press any of the button after the "timeout", then phone should ask me to swipe but then also ask me to punch in a PIN or complex passwd, depending on the setting.
Are there any registry hacks that can do what I described? or does it do exactly that and it's my particular phone that isn't working?
thanks!
Click to expand...
Click to collapse
Is there any fix for this problem yet?
with S2U2 you can set up a password config. (require password every: 5mins/15mins/1hr/ 4hrs or 12 hrs) S2U2 seems to eat my battery up though, thats the downside. also you have to download the "disable autolock" cab for it to work from the tweaks an mods sticky in themes/ apps forum. its a shame about the battery drain as this app is awesome but definately worth a look.
sorry heres linkhttp://s2u2.ac-s2.com/
Same problem and no answer until now ?
I also have the problem that I cannot configure my HTC HD2 that the screenlock works without PIN. I like to start the secure lock only after a certain time i.E, but there is only the way everytime with PIN or at anytime with PIN.
Sometimes mostly overnight the device "forgets" the correct PIN and I have to make a softreset. After done this , I can enter the oriinal PIN.
Is there no solution until now ?
Is there any idea what to do.
Read tip 27 of the Sticky Tips and Tricks - http://forum.xda-developers.com/showthread.php?t=583638 - then the PIN will only be required after the timeout, not every time you lock the screen.
The bit where it doesn't accept the password is a known bug reported elsewhere, but there's no fix yet; I wish there was, because I get it occasionally.
Resolve screen lock issue by editing registry
Enable/Disable the Exchange security policy – HKLM\Security\Policies\00001023: 0 = Enabled; 1 = Disabled
Inactivity time
HKLM\Comm\Security\Policy\LASSD\AE\{50C13377-C66D-400C-889E-C316FC4AB374}\AEFrequencyType: 0 = No inactivity time; 1 = Activity time enable
HKLM\Comm\Security\Policy\LASSD\AE\{50C13377-C66D-400C-889E-C316FC4AB374}\AEFrequencyValue: number of minutes before timeout
thesedays74 said:
Enable/Disable the Exchange security policy – HKLM\Security\Policies\00001023: 0 = Enabled; 1 = Disabled
Click to expand...
Click to collapse
Until the buggers push it out again and you get fed up of having to set a PIN then edit the registry every day
Incidentally, is there a way to lock the screen without a PIN after a set period of time? All I can find is either a manual lock or a lock with a PIN.
Slidelock & pin code every time driving me nuts!
thesedays74 said:
Enable/Disable the Exchange security policy – HKLM\Security\Policies\00001023: 0 = Enabled; 1 = Disabled
Inactivity time
HKLM\Comm\Security\Policy\LASSD\AE\{50C13377-C66D-400C-889E-C316FC4AB374}\AEFrequencyType: 0 = No inactivity time; 1 = Activity time enable
HKLM\Comm\Security\Policy\LASSD\AE\{50C13377-C66D-400C-889E-C316FC4AB374}\AEFrequencyValue: number of minutes before timeout
Click to expand...
Click to collapse
I made these exact reg edits (my very first registry edit!) and it's made no difference at all, my HD2 still asks for pin every time I switch off & on.
I want to keep the slide lock to prevent accidental button presses when device is in my pocket, but the pin input is a pain my previous device only asked for it once every 24 hours or after powering up the phone. Has anyone solved this yet?
Should I change the registry back to pre-edited?
Disable hardware buttons
I realized one thing that is draining my battery is the accidental press on hardware buttons when my hD2 is in my pocket. Is there a way to disable the hardware buttons other than the end/power button when the screen is turned off ? It is silly that the press of any hardware button turn on the screen ...

Categories

Resources