iLock like application for the standard keylock - Windows Mobile Development and Hacking General

Just wondering..
Is there an iLock (from Slide2Unlock) like application available that will use the standard keylock feature rather than the slide.exe..
I tried using vjdevicelock with the -pwfoff flag and it works great... but I can't assign that to the power button on my hermes..
What I'm after is a way to have the standard keylock come on automatically as soon as I press the power button to send the phone to sleep. I realise this has probably been done before but all the apps i've tried dont work exactly as ilock does.. (ie sitting in the background and activating on power button tap - this is perfect)
Im thinking that I can probably create my own slide.exe to trick ilock.exe into running it and have that call vj's util with the right shortcut.. but thats a hassle when i'm sure its already been done.. (if it hasnt and anyone wants it ill make one though as id love this feature)
Cheers,
Sam

All sounds wrong to me - you want to just use something like SK Tools or basically anything that lets you create notifications (or use code!).
Create a notification that loads whatever.exe on power on, so as soon as the system powers on (ie after you've powered it off previously), notification is received and whatever.exe is launched.
You don't need to spoof VJDeviceLock etc.
V
PS Maybe I read wrong. VJDeviceLock works on my Hermes. I use v0.3 and use the -install command line option to install the above notification. It automagically locks my hermes on power on.

Check out Device Lock.

I am at work so I can't really take a look at it, but I second the idea of keeping the issue simple. Just just SK Tools, and do a bit of searching in the \windows folder.
There should be a *.exe that activates the lock feature. Then you can map it to a button. That is how I have setup the Memory Manager to a key so that way I do not need to download a task manager per se, or what I do not is that I have the task mananer.exe that comes with Black Shadow... etc.
The point is that it should be able to be done. Just take a look.

I don't think there is a specific .exe to active keylock - some phones do have one, but I can't remember if HTCs do.
It's technically an API call, but there are other ways to activate it too.
V

Related

Start menu items

In the start menu are several links to programs. I am trying to determine if some of them are needed in start menu?
aflashman.lnk
cflashman.lnk
Are these programs to permanently write contacts to/from rom?
If so do we need this in startmenu or could we do this from the program directly when needed?
Handsfree.lnk
Does tis have something to do with using a car kit?
If so do we need this in startmenu or is it only needed there if we install the car kit?
Yes these are to flash to ROM at cold boot(softreset).
a for agenda flashes your calander.
c for contact flashes your contacts.
If you uncheck this option under settings perm save they will no longer be in your startup folder. Likewise deleting them from the folder is same as unchecking them. They need to be in this folder if you want this info flashed to ROM for safe keeping.
Handsfree link simple runs the program that lets you use speaker phone on the device while a call is in progress pressing and holding the green phone key will switch your phone to speaker phone mode, but you probably already knew this
Hope this answers your questions.
erickbryce
That is very helpful info. Thank you. Since I don't really flash contacts/calender to ROM (keep them on SD card), I guess I could uncheck aflashman.lnk & cflashman.lnk option and just re-check if I decided to use them?
As for Handsfree.lnk, I didn't know this was for speakerphone. Is there a way to set speakerphone to always be on when I am in the car, so that every call I make or receive will be on speakerphone?
erickbryce
How about ChgDfLnk.lnk.
What is this and do I need it in startup?
Joe
erickbryce said:
Handsfree link simple runs the program that lets you use speaker phone
Click to expand...
Click to collapse
Just to be correct: handsfree.lnk is not for using, but for giving visual notification that handsfree is ON.
Holding green button during conversation works without this program. So you may delete it
As for "speakerphone is always on" No, you may not turn it on "forever".
There is a trick though and you may find it here:
http://pdaphonehome.com/phpBB2/viewtopic.php?t=526&q=3&r=1&i=114

[new release] VJPhoneToggle

For those worried about the phone app using too much memory in the background:
WM2003 and WM5 compatible.
This program is used to toggle the phone.
Useful if assigned to a hardware key or a shortcut.
If the phone is open, it will be closed. If it is closed, it will be opened.
Please note, for VGA WM5 users use my VJBigPhone app instead.
This application supports international language versions. By default it will look for the "Phone" window.
If your phone is called something different, launch the application with command line parameters matching the name of the Phone.
eg In German
\program files\vijay555\vjphonetoggle\vjphonetoggle.exe Telefon
After installation you will find a shortcuts in StartMenu > Programs > Vijay555 > VJPhoneToggle.
Check it out on my website!
EDIT: guys I think I made the cab wrong. try the exe for tonight
www.vijay555.com/vj/releases/vjphonetoggle/vjphonetoggle.exe
V
Any1 got a screenshot how this looks like on a Qtek 9100
q-biq, it literally just closes the phone app. Or launches it. Nothing to see!
V
I didn't really understood the goal for this tool.
Phone dialer opens easly pressing the TALK button, and closes also easly by tapping on "X" or pressing END button.
For sure this tool is supposed to do something I didn't catch.
However VJ, I'd like to propose you a challenge, for another "similar" toggling tool.
The porpose is: I have a SIM Twincard to use with the mobile phone fixed in my car.
Whenever I power on the car, it is supposed to switch off the mobile phone to avoid SIMs interference. This is simple for a regular phone, but not so practical for a Windows PDA Phone.
You have to:
- switch device on
- tap on 'Radio signal icon'
- tap on 'Turn on flight mode'
And when leaving the car, repeat all again to activate phone.
My idea was a small program to assing to an hard button, which would toggle the 'filght mode' or just GSM radio.
So you have to press just on buuton like switchi.ng the on/off
What do you think?
Conchas: this application was made for mzaslam, under this thread:
http://forum.xda-developers.com/viewtopic.php?t=34718&start=0&postdays=0&postorder=asc&highlight=
He is concerned that the phone app uses quite a lot of memory in the background, even when not in use. Pressing ok just puts it in the background. So VJPhoneToggle fully unloads the phone app when you're finished with it, and loads it again when required.
Re the Flight mode thing: I will have to make this app, but I use a dual sim myself and also use the flightmode off > flightmode on trick to switch sims.
I use PhoneAlarm on my setup. This can be set up to launch from a shortcut to switch profiles, so for my setup I use a today screen shortcut on claunch to switch to flight mode, work, home etc. So for my setup I have three thumb friendly icons to activate profiles on PA. So I can switch easily from Today. Is that ok?
V
Yes it works.
... but I always hae been looking for a small toggling application, assignable to an hard button.
Conchas: I don't understand. What do you want your hardware button to do? Load/unload an app?
V
I want my hW button to toggle 'fligth mode' on/off.
Or more exactly the phone radio on/off as the wireless manager does. More precise, as nowadays allmost every PDA phone device supports BT and WiFi.
i.e. I would like to enable/disable the SIM ability to register into the GSM/3G network, in order to avoid interference with a second SIM (twin card), whenver required (e.g. using into a car).
It is not just a matter of the last phone switched on, because when travelling by car, as you move to other network cells, the first phone switched on most likely will take the handover.
Guys, this has been updated to not require an international parameter on the command line.
It should internally support all international versions. I hope!
V
Conchas, is this what you are looking for? Just copy the exe to your device and bind it to a hardware button.
Great, Koksie
It works!
I'm using it manually.
Can you tell, where to put the '.exe', so it gets visible to assign on the "Settings > Buttons"?
I 've added it to '\Windows', but didn't get it visible.
Thanks
Fernando
You don't have to put it in windows. Just make shortcuts to it in the start menu. Any startmenu shortcuts get picked up by the Buttons cpl.
V
Hi,
Forget it.
I miss something. In fact it was possible to assign to the buttons, if copied the '.exe' to '\Windows.'
Great!
Thanks Koksie
Fernando

Locking the Volume Buttons

I see this is a problem on the Omnia too, but when I lock my HD by holding down the call "End" key (Right Hand touch pad) the volume buttons are not locked!
Has somebody provided a tweak/fix for this calamatous feature?
Sorry, I don't know of a fix. Maybe third party apps that can assign another function to the volume buttons??
But the plus side of this feature is that when you are listening to music, you can put the phone on standby (to avoid accidental presses in your pocket), but you can easily reach into your pocket with your finger and turn the volume up or down without having to wake up the phone. Of course if you use headphones with volume control on them, then you don't need to reach in your pocket.
The volume keys will never be blocked. You cannot block them
you can try to use AEButton Plus and SKSchema!
You must make 2 different config files in AeButton, one wich leaves the Volume Buttons as they are (Default) and one disabeling them. Now you must make a script with SKSchema, wich changes everytime the Block starts or ends the config file of AeButton! This way you can use one Button configuration for the application "Phone Locked" and the other configuration for everytjing else!
Here is the instruction:
Save your default AeButton Settings (are located in the AEButton Program Folder) lets save them to \My Documents\AEBPlus Default\AEBPlus.cfg
now configurate AEButton with different settings (for example disable Volume up/down keys), lets save this cfg file to \My Documents\AEBPlus Locked\AEBPlus.cfg
Open SKSchema, type this script:
Code:
#r(#copyfile) #p(\My Documents\AEBPlus Locked\AEBPlus.cfg;\Program Files\AEBPlus\AEBPlus.cfg) #wait(1)
#r(\Program Files\AEBPlus\AEBPlus.exe) #p(0000) #waitfor(1)
the sense of this is to change the cfg files and to reinitialize AEButton
Save the Script as AEButtonLocked.sksc
Now we write a new script to do the opposite (change to default configuration:
Code:
#r(#copyfile) #p(\My Documents\AEBPlus Default\AEBPlus.cfg;\Program Files\AEBPlus\AEBPlus.cfg) #wait(1)
#r(\Program Files\AEBPlus\AEBPlus.exe) #p(0000) #waitfor(1)
Save the script as AEButtonDefault.sksc
Now we configure SKSchema to monitor for 2 events: opening our application (device lock) and closing it: add a new event in the SKSchema monitoring configuration: when the device lock application opens or closes start the scripts. (they are locates in
Code:
\My Documents\sScripts[/B])
so type this: [B]#c[[COLOR="Red"]shutil.dll[/COLOR]] #on[\My Documents\sScripts\AEButtonLocked.sksc] #off[\My Documents\sScripts\AEButton.sksc]
I DONT KNOW the lock Application EXE wich is running i hope it works..shutil.dll should maybe be rplaced with a EXE ...use some locker with a running exe (S2U... TouchLockPro (my favorit ))
You could lock the device when the stylus is putted in. This has two major advantages. You won't loose your stylus and you won't let your device unlocked.
Mobilemagic has a quirk in it that when you assign the buttons to a multi press application it disables a single press. See post 203 in this thread. It works great for me.
http://forum.xda-developers.com/showthread.php?t=449654&page=21
Great post Koffein, thanks. Actually TouchLockPro looks exactly what I'm after (and I didn't even know I needed it), I'll give it a try and see if it works for me. The usability of this device is getting so much better by the minute thanks to you xda guys!
Glad I could help, here are some tips for using TochLockPro
In Registry goto HKCU\Software\ZuinigeRijder\LockSettings\
and set the D-WORD "UnlockOnLightSensorTime" to 300, now your device will be unlocked after a shorter time period (0,3 sec) when it wakes up and "sees" light.
For me it is the best unlock method in the pocket it stayes locked, if it is activated accidently,
but when i activate it in a not too dark room while it is in my hand it unlocks automatically.
Adjust the other values if you want to customize it more

Auto lock Pure after timeout without pin?

Hi all, happy New Year!
New to this forum and the Pure and have some questions.
I can't seem to find out how to do this with the phone. I want it to go to a home screen that shows time/date or something like that, after a period of time. In the windows app list I can press the lock button and it gets me to something acceptable, so I thought that might be an option. All settings for the lock require a PIN and I don't want to mess with that (at least right now).
Is this possible?
Another question, is it possible to integrate the installed apps into Manila, rather than having to go to the programs list? (Makes me feel like it's the main folder in Windows 3.x )
Is there a way I can back up the default configuration (ROM, etc) of the phone so if I hack it up too bad I can restore it?
Thanks for any help, still learning how to tweak this thing...
-P
For the autolock change this register value
HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDeviceLockEnable; from 0 to 1
You can use total commander its freeware
No! but if you flash ROM with manilla 2.5 you can have up to 20 shortcuts on home screen with mods
Another option for the screen lock is to get csdevctrl:
http://forum.xda-developers.com/showthread.php?t=386451
You can have it autolock the screen after time, or if you press the power button. As for the programs, you can add more shortcuts with this:
http://forum.xda-developers.com/showthread.php?t=572232
Thanks guys!
I will look into both options.
Now to figure out how to get programs down to it and edit the registry!

How can i hide (not close) htc message with right down close button

Hi all,
i use spb mobile shell. With this UI, takes a long time to load sms messages (1 sec is a lot for me ). So i try to figured out, how can i hide sms ui, but not close.
I tried Ameba, but this doesnt have possiblitity to do exception for apps.
Maybe some change of registry? In my signature are my rom (i use rom with big buttons and cross in right down corner)
any suggestions?
thx
will it be closed if you just hit the backbutton? or are you looking for a software solution?!
Maybe this is what you're looking for. Excerpt taken from tboy2000 thread:
82. Make Common Apps Open Instantly With No Delay
The most often used apps on the HD2 would be SMS and Email. As the HD2 has plenty of memory and it is very hard to fill it up during use, why not add these two apps to the task manager exception list. This means they will never truely exit and will always be open in the background. The benefit of this is that HTC Messaging does not automatically refresh and redraw the contact thumbnails when you load the app. Instant opening of both apps with no load time. You can add any other app to this list too if you never want it to exit.
Just use this tweak. HKCU\Software\HTC\TaskManagerExclusiveList\System and add a new DWORD Value of Messaging_Client.exe and tmail.exe
to fruchtfliege:
i know about back button, but yes, i want software solution. I want alway use cros for closing apps, but for this two i dont want to close them.
to weepatc:
yes, i know about this change of registry. I tried it in past, but i think it is not working because it is not very quicker loading. I dont see them in task manager (but maybe this is normal when it is excluded).
i will try it again..
thx guys for help
if are any other suggestions, it will be great
now i figured out, that tmail is ok, and this exe file doesnt close, but file Messaging_Client.exe it still close after pressing cros (X).
I try tu use sk tools in runing proceses i also try to set "add to dont close list" but it also doesnt works and this process is still killed
why?

Categories

Resources