[SOLVED] Adding options to quick links (power off lock device etc...) - Windows Mobile

I am looking to add a soft reset option to the quick links on the HD2. I was wondering if this is possible. I have searched google and xda and cant find what I am looking for.
I know there are third party apps available but I was wondering if I could download an app, create an entry in the quick links (when you long press power off button) and then get the device to reset.
Solution
I used this thread here by Johcos and a good tutorial on how to intergrate it into osKitchhen here
Respect to the dev of the end key it is aswome!

you may try to replace the original Long Press End Key with the Jochos as indicated in this thread: http://forum.xda-developers.com/showthread.php?t=880905
Another alternative is to use Action screen and add the quicklink you want. You can also link the action screen to the end button, by replacing the exe.
I hope it helps.

Looks promising I will have a look thanks!

You can use xdashutdown, and have arguments in lnks to reset, device off and stuff like that. For device lock, you will have to use other lock programs, and do the same.

ypsmav said:
you may try to replace the original Long Press End Key with the Jochos as indicated in this thread: http://forum.xda-developers.com/showthread.php?t=880905
Another alternative is to use Action screen and add the quicklink you want. You can also link the action screen to the end button, by replacing the exe.
I hope it helps.
Click to expand...
Click to collapse
This one here that ypsmav mentioned is perfect! Does exactly what I am looking for but like the user on the thread I am having problems getting it cooked into my rom! I will work it out though. Just need to read the thread a bit more. It even allows short press end to lock the device and looks exactly like the orgional.

Related

Quick OEM Locking solution.

Alright guys:
Myself as plenty of you fellas are probably still seeking for a quick, light and fast solution for locking your Jewels.
Believe me I have tried every locking app that has been uploaded and they all worked great and thanks to all members that made them........
I finally came to the conclusion that the best way to lock the Jewel is with the famous Hold Down End Key. But holding down the damm end key for 3 seconds every time is not really nice.
Even though I believe it has some major positive points compared to other locking apps such as:
-Very lite, comes OEM in Windows.
-It is the real all round lock, NO hard key can remove it.
-You save space and mem by not using a third party app.
Easy Solution:
-Add a shortcut to your start menu or your programs list. No need to hold down the end key.
-Or add it to a soft key on home screen.
I provide the .exe attached, I extracted this from my device so I dont know if it works on all devices. But we all have the same .exe file in the Windows directory.
Hope this helps some one.
Greetings.
PS: I was looking for that terrible grey background image that apears when you want to unlock the device to change it for something cooler, any ideas? Thanks.
The skin for the endkey is in windows folder.
Copy entire windows folder to your PC, and looks for the images related to endkey. Sorry but i cant remember the names right now
And maybe ull find some more images to skin more programs like the dialer, etc...
Driskol said:
The skin for the endkey is in windows folder.
Copy entire windows folder to your PC, and looks for the images related to endkey. Sorry but i cant remember the names right now
And maybe ull find some more images to skin more programs like the dialer, etc...
Click to expand...
Click to collapse
Yes, im aware, all the image files are in windows.
But I dont have time to search (dammm job)
Thanks anyways.
Yes good idea to use the standard WM lock. It would be considered a really good locking solution if it wasn't for the stupid, bloated HTC dialer with its big answer and reject buttons. The standard WM dialer works better with the standard lock because the incoming call notification is much more difficult to accidentally press.
Even better, if you use the standard WM (bubble popup) volume control then you can still use the volume up and down buttons with the device locked.
You can also assign Endkey.exe to the left softkey, that way you can use the same softkey to lock and unlock the device.
is there any way to change the holding the key time to something shorter than 3 seconds?
hamish909 said:
is there any way to change the holding the key time to something shorter than 3 seconds?
Click to expand...
Click to collapse
Not that i know of.

X1ButtonMapper - Extends the keyboard and other buttons

Hey guys,
I developed a small application which adds functionality to the X1 keys and keyboard. The reason why I made this program is, that I can't find a decent button mapping tool out there that does what I want - that is:
Extend the normal keys with long press and assign programs/functions to it
Extend the keyboard with a Control key (Tab key is reassigned to control key)
Assign missing FN+Key combination with additional special character or applications
Assign the ok button with really closing an application, depending on your task manager
To achieve this, I was writing this small app which itself checks for specific key events and starts mort script files in case such an event happens. I chose Mortscript because it easily allows everyone to define about almost everything that is possible and the application doesn't need a fancy UI to configure the key events.
You can find a readme within the archive which describes the program in more detail and you can also find some example script files for MortScript as a starting point.
For installation, you have to copy the X1ButtonMapperScripts folder of the archive to your root (\) directory of the device. You also need to install MortScript which you can find at Mort's homepage (mort.sto-helit.de). MortScript is a small and powerful application which is often used and mature. After that, you have to start X1ButtonMapper.exe and then the specific key presses will cause the calling of the script files. When you did not encounter any problems (software is still in testing phase), you can copy a link to the X1ButtonMapper.exe into your \Windows\Autostart folder for automatic loading at reset.
My current configuration, just for example, is as follows:
Ok short press closes an application, Ok long press (~500 ms) causes an app to minimize
Long press of left softkey opens start menu
Long press of right softkey opens MortButtons
Long press of volume up opens comm manager
Long press of volume down opens SPB task manager (Alt+Tab)
FN+a/s/d/f writes special characters I miss on the keyboard (%_\€)
FN+y/x opens Wifi network selection and resco explorer (FN+C/V are unused)
I would appreciate to get any feedback about this software, if it works, what you like, don't like and desperately miss.
Please be aware that this software is free and you are allowed to redistribute it, but please don't change it and always distribute the whole zip archive and not the extracted files!
Please be also aware that this software is in a testing phase and may hang up your device and may even cause data loss (not happened to me yet but theoratically possible). So please backup your data and be aware that I can't be held responsible in case this happens!
Update: V. 1.2 now allows to keep the original OK button function without change and to use Fn+Tab for sending the original Tab key!
i havent used your program but when i was looking for one such as yours, i came across ae button plus. im not familiar with scripts and programing and so i find ae button plus a good program. its not free but for $8, i think its worth it.
otherwise, keep up the good work. we need people like you to get the most of of our phones.
Would it not make more sense to remap the au key rather then tab key to ctrl? I use my tab key for form entry.
AE Buttons plus cannot do what this program does, that's why I did the hassle to develop it. Also PQz2 doesn't do what I need. For example you can't assign FN+x combinations with AE buttons plus and you can't remap the ok button (at least it didn't work for me).
Regarding the tab key, I tried to make FN+Tab to send the tab key, but that didn't really work. Maybe in some next release it will work, but I still think that the Tab key is dispensible.
Regarding the scripts, it's really easy and you can find ready scripts for almost any task. Also I did include some examples as a starting point. The scripts offer a lot more flexibility than any of the button mapping tools existing, so, take the challenge, it's worth it!
Pyrojester said:
Would it not make more sense to remap the au key rather then tab key to ctrl? I use my tab key for form entry.
Click to expand...
Click to collapse
Did I miss something or does this remap ctrl to tab? That would be a HUGE thing in my opinion... And no, the au button is used here a lot...
Yes, remapping Tab to Ctrl is one of the fixed mappings it does. One of the most powerful things and something I really missed with AEButtons.
With Ctrl on the keyboard you get copy and paste, wordwise navigation with the cursor, Undo/Redo and wordwise delete/backspace. Check the readme in the Zip File for more details.
I also added Fn+DPad for PageUp/Down and Home/End - also something I really missed before.
Dandie said:
Yes, remapping Tab to Ctrl is one of the fixed mappings it does. One of the most powerful things and something I really missed with AEButtons.
With Ctrl on the keyboard you get copy and paste, wordwise navigation with the cursor, Undo/Redo and wordwise delete/backspace. Check the readme in the Zip File for more details.
I also added Fn+DPad for PageUp/Down and Home/End - also something I really missed before.
Click to expand...
Click to collapse
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Will instal later today...!!!!
Dandie said:
[*]Extend the keyboard with a Control key (Tab key is reassigned to control key)
Click to expand...
Click to collapse
and I am officially blind...
Can this program work alongside aebutton plus? That would be great as they both have big advantages. I know this version of the CE core of WM only supports one key hook and I am pretty sure aebp uses a key hook. Are you using a key hook here? Is anyone using both? Great work!
Actually I uninstalled AEButtonsPlus before I was starting the development of this application. There is indeed a limitation about keyboard hooks in WinCE and my program uses them - don't know about AEButtonPlus.
There is a software available which claims to remove this limitation of windows mobile - it is called HookMgr and you can download it for free - check Google. I did not test it nor would I recommend to install several applications using keyboard hooks - they will most likely interfere with each other.
What is it that AEButtonsPlus has that you miss with my application?
Dandie said:
Actually I uninstalled AEButtonsPlus before I was starting the development of this application. There is indeed a limitation about keyboard hooks in WinCE and my program uses them - don't know about AEButtonPlus.
There is a software available which claims to remove this limitation of windows mobile - it is called HookMgr and you can download it for free - check Google. I did not test it nor would I recommend to install several applications using keyboard hooks - they will most likely interfere with each other.
What is it that AEButtonsPlus has that you miss with my application?
Click to expand...
Click to collapse
I did not know about that HookMgr software. Interesting.
I have not yet had the chance to try AEButtonPlus, but I believe it allows programming the short press and also double press of all the keys (was not aware of the ok key limitation). Is there a reason why you only provide long press options? Double press is not really necessary, but I would like to change the short press options. IIRC (I should probably stop making comments before my X1 even arrives but can't help it. so exciting) out of the box, only the short press of the soft keys is configurable. It would still be nice if you grabbed these so that I could configure all my buttons in the same place. Also, it doesn't seem that you provide a way to program the short or long press of the panel key. Would this be possible? Lastly, it might be good to make changing tab to ctrl optional and or offer another key to change. The addition of a ctrl key is great, but tab is also useful. The original renderings of the X1 back in January showed a ctrl key on the keyboard. Dont know who's idea it was to delete it.
I would love to help out. I could write a settings application for you that would store the options in the registry. Rather than running the scripts, it could look in the registry for what to execute. By default the registry values would just be the scripts, but users could change it to run an exe directly. I could also make a cab for it. The settings app would be in .NET. Let me know if this sounds good.
BTW, I think the ok and win keys would make good ctrl keys btw, as they are redundant to the keys on the front; ok button being my choice.
JKingDev said:
Is there a reason why you only provide long press options? Double press is not really necessary, but I would like to change the short press options.
Click to expand...
Click to collapse
I only provide the long press option because detecting double or even triple clicks would delay every button click and therefore reaction time, that's why I didn't realize it. I kept the short press of the keys (except OK) because they all make sense to me. You need the Softkeys, so their short press needs to be kept and the loudness up/down is essential in my opinion.
I also decided not to allow to remap the camera button because its handling is a bit difficult (two press levels) and I think the camera button is necessary when you really consider using the camera.
I also left the hang up and pick up buttons untouched because they already have short and long press actions (devicelock and handsfree) and I did not want to touch functions which are installed pretty deep into the system. I also like the function the way it is.
JKingDev said:
Also, it doesn't seem that you provide a way to program the short or long press of the panel key. Would this be possible?
Click to expand...
Click to collapse
Sure I did - actually I wanted to map it with opening the start menu but it can't be suppressed, not even by a keyboard hook! By the way, this is also the case with the symbol key - can't be remapped!
JKingDev said:
Lastly, it might be good to make changing tab to ctrl optional and or offer another key to change. The addition of a ctrl key is great, but tab is also useful. The original renderings of the X1 back in January showed a ctrl key on the keyboard. Dont know who's idea it was to delete it.
Click to expand...
Click to collapse
Yeah, the ctrl button was one of the main reasons why I wrote this application. Also that the X1 keyboard leaves many Fn+Letter combinations unused which is just stupid. As I said, I wanted FN+Tab to send the tab key but that didn't work for some reason. Also I think that Tab is disturbing when writing because when touching it for accident you get holes in your text :/
JKingDev said:
I would love to help out. I could write a settings application for you that would store the options in the registry. Rather than running the scripts, it could look in the registry for what to execute. By default the registry values would just be the scripts, but users could change it to run an exe directly. I could also make a cab for it. The settings app would be in .NET. Let me know if this sounds good.
Click to expand...
Click to collapse
Actually I don't see any problem with the scripts. They offer a lot more flexibility that a UI can ever give and for newbies the experienced could offer a set of reasonable scripts, so I don't see any issue with this. MortScript is easy to use and way more powerful than any button mapper UI on the market - why do people always want GUIs?
JKingDev said:
BTW, I think the ok and win keys would make good ctrl keys btw, as they are redundant to the keys on the front; ok button being my choice.
Click to expand...
Click to collapse
First of all, you can't separate between the ok key of the keyboard and the ok key on the front on the level of the keyboard hook, so it would be impossible to remap the one without the other. The win key is not redundant and therefore I decided to keep it because I find it very useful.
Dandie said:
First of all, you can't separate between the ok key of the keyboard and the ok key on the front on the level of the keyboard hook, so it would be impossible to remap the one without the other. The win key is not redundant and therefore I decided to keep it because I find it very useful.
Click to expand...
Click to collapse
Ah. That stinks about the ok key.
Dandie said:
I only provide the long press option because detecting double or even triple clicks would delay every button click and therefore reaction time, that's why I didn't realize it. I kept the short press of the keys (except OK) because they all make sense to me. You need the Softkeys, so their short press needs to be kept and the loudness up/down is essential in my opinion.
Click to expand...
Click to collapse
True. I wasn't really interested in double and triple. Just really the short. About the softkeys, normally I would not remap soft keys, but the X1 has a shortage of customizable buttons so I would like to change them.
Dandie said:
I also decided not to allow to remap the camera button because its handling is a bit difficult (two press levels) and I think the camera button is necessary when you really consider using the camera.
Click to expand...
Click to collapse
Interesting. On my tilt, I had short press opens camera album and long press opens the camera. Something similar would be interesting. Not a big thing though.
Dandie said:
Sure I did - actually I wanted to map it with opening the start menu but it can't be suppressed, not even by a keyboard hook! By the way, this is also the case with the symbol key - can't be remapped!
Click to expand...
Click to collapse
That stinks! Why do they insist on forcing panels on us? I do believe there is a registry key that can change what the panel button does though. You should look into that if you dont use the panels or just dont want a dedicated key. I am trying to find that info.
Dandie said:
Actually I don't see any problem with the scripts. They offer a lot more flexibility that a UI can ever give and for newbies the experienced could offer a set of reasonable scripts, so I don't see any issue with this. MortScript is easy to use and way more powerful than any button mapper UI on the market - why do people always want GUIs?
Click to expand...
Click to collapse
Lol. I guess its not necessarily a GUI but just options that would be good. You are right, the scripts are very flexible so no point in changing that. The only options I would really like is a choice about the ctrl key (possibly make the win key an option) and an option of whether or not to capture the short press soft keys.
Thanks for takin the time to explain all of your decisions. This is really great software! Hope I dont seem like I am asking a lot. Just some suggestions. Thanks!
JKingDev said:
About the softkeys, normally I would not remap soft keys, but the X1 has a shortage of customizable buttons so I would like to change them.
Click to expand...
Click to collapse
You can remap the Softkeys already in the button configuration of Win Mobile, but I personally wouldn't do it. Better to remap them for the today screen via registry and using the long press events from my software for additonal functionality. This way it doesn't interfere with the sytem at all.
JKingDev said:
That stinks! Why do they insist on forcing panels on us? I do believe there is a registry key that can change what the panel button does though. You should look into that if you dont use the panels or just dont want a dedicated key. I am trying to find that info.
Click to expand...
Click to collapse
Well, I think that's just the way it is integrated into the system. Maybe by some kind of driver or something. The "sym" key behaves the same way. We have to live with that fact.
JKingDev said:
The only options I would really like is a choice about the ctrl key (possibly make the win key an option) and an option of whether or not to capture the short press soft keys.
Click to expand...
Click to collapse
The softkey can originally already be remapped and for the tab key the best solution would be FN+Tab = Tab. I will have a look into this again.
JKingDev said:
Thanks for takin the time to explain all of your decisions. This is really great software! Hope I dont seem like I am asking a lot. Just some suggestions. Thanks!
Click to expand...
Click to collapse
Yeah, that's fine. I would actually like some feedback from people who tried the software. Anyone?
Here it is for those who want to know:
http://forum.xda-developers.com/showthread.php?t=448067
(Remap panel key)
I finally installed this today and it reminded me the about the good things the Touch Pro has that I previously owned. It truly amazes me that HTC does not put the ctrl key to their HW keyboards, it makes no sense to me.
I started to think that maybe it would be better to use the win key for this, win key kinda is there on top of the screen?
EDIT: and now I bothered to read posts above... fn+tab=tab could also be a good option.. After all tab is not used that often...
Great work on this, one of the best things made to X1 by XDA member so far...
At least someone having the guts to try my software - thank you for the positive feedback!
Regarding the Win-key, I wouldn't remap it because:
1. I'm using it often
2. The win key is often sent in combination with other keys and it will cause some side effects to remap it - that's why I gave up on this idea
When there's more feedback and some problems discovered that are necessary to change, I will have another look into this FN+Tab issue.
By the way, having Tab remapped to Ctrl also has a good benefit - accidental clicks on tab don't happen anymore.
Hmmmm MortScript messed up my OK button.

[REQ] TFL3D Program Launcher Bug

Hi all,
On my Diamond, I've recently added a few new programs. For some reason, it looks like Google Maps added itself to my Program Launcher tab, but because all the buttons were occupied at the time, it created another button, so now I have 19 buttons in my program launcher tab instead of 18.
Any idea how I can delete this extra button? Failing that, any idea how I can add another 2 so I least I have another complete row of buttons?
I've attached a screen shot to show what I mean.
I've scoured google and the forums for answers but couldn't find any. Many apologies if this problem is solved elsewhere and I just couldn't find it.
Many thanks in advance for any help you can give.
rich.
PS : Many thanks for an awesome forum.
Same thing happened to me before. For me if you used TF3D Config and clear the extra button then do a soft-reset. If that doesn't work try removing all apps from the menu then one by one add them back in order until you add one to the extra one. Then another button will appear add one in it and if it doesn't make and extra one again, do it again, but this time with 2 extra buttons.
Thanks for your help, but I've just managed to solve it.
In the registry,
HKLM\Software\HTC\Manila\ProgramLauncher\
There was an extra entry '100' as well as the standard 0-17, I deleted it, did a soft reset and the extra button was gone.

[SOLVED 17-12-2009]Possible to switch position of shortcuts, or delete and add again?

Hii guys,
I was wondering if it is possible to switch the possition of the shortcuts, or do you have to remove everything and add them back again?? I couldn't find it so quickly in any other thread.
Thanks in advance
The Solution is to be found in post 6 + instructions!! Thanks to Som03ne!!!
==================================================
Here is a small app to re-order the Sense shortcuts.
Its GUI is very simple using existing controls/components, since I did not have too much time to put in it - resulting not much gui control modifications, meaning - Up - means up in the list -> down in the display.
Or to put it short - Clicking UP moves the element down, and clicking DOWN moves the element up.
On exit - you can select either to apply the changes, or drop the changes.
For changes to take effect - you should Power Off and Power On the device
(Or any other way to cause Sense to Exit and Re-Load)
I tried it on my device and it works.
Any comments - post in this thread, and Id check for them every now and then.
===================================================
There is . . . but
Filipek88 said:
Hii guys,
I was wondering if it is possible to switch the possition of the shortcuts, or do you have to remove everything and add them back again?? I couldn't find it so quickly in any other thread.
Thanks in advance
Click to expand...
Click to collapse
You can do it with registry editor
HKLM\Software\HTC\Manila
There are keys marked with 0..9 (or 0..n)
each item is a shortcut on the home page.
Just change the numbers to the order you like.
If you want the 3rd element to be the first -
You should do the following:
rename "0" to "XXX"
rename "2" to "0"
rename "XXX" from the previous step to "2"
Enjoy.
OK thank you for the fast response, but is there no easier/faster way for this??
if not: then I'll do it with this
I have not found any
Filipek88 said:
OK thank you for the fast response, but is there no easier/faster way for this??
if not: then I'll do it with this
Click to expand...
Click to collapse
Maybe there is, but I tried to look for something easier,
and did not find anything.
(I believe it is possible to write a small app to do it,
but I dont know when I'd have the time to do it)
OK, well if you ever make something like that, send me a PM and I will post a link to your topic where you'll post the application, in my first post, so people who will search for this answer and come in this topic will find it.
Enjoy
Filipek88 said:
OK, well if you ever make something like that, send me a PM and I will post a link to your topic where you'll post the application, in my first post, so people who will search for this answer and come in this topic will find it.
Click to expand...
Click to collapse
Here is a small app to re-order the Sense shortcuts.
Its GUI is very simple using existing controls/components, since I did not have too much time to put in it - resulting not much gui control modifications, meaning - Up - means up in the list -> down in the display.
Or to put it short - Clicking UP moves the element down, and clicking DOWN moves the element up.
On exit - you can select either to apply the changes, or drop the changes.
For changes to take effect - you should Power Off and Power On the device
(Or any other way to cause Sense to Exit and Re-Load)
I tried it on my device and it works.
Any comments - post in this thread, and Id check for them every now and then.
This worked! Thanks. You just need to produce a Sense UI version. THis is especially useful if you have 16 links instead of the standard 9.
Wouldnt it be nice if you could reorder apps like on the iPhone? Not functionally necessary, but nice to look at nonetheless
Thanks again.

Important Questions everyone needs to know

1. Can the sense UI be somehow positioned into landscape mode with a .cab?
2. How do you get into the registry? All visible is HKM? no HKLM files found anywhere...
3. How to search for specific threads under one phone on xda.
Knucklessg1 said:
1. Can the sense UI be somehow positioned into landscape mode with a .cab?
2. How do you get into the registry? All visible is HKM? no HKLM files found anywhere...
3. How to search for specific threads under one phone on xda.
Click to expand...
Click to collapse
1. Yes, use attached cab. It will rotate the display when you rotate the phone into portrait. I only know this to be working on the HD2.
2. What registry editor are you using?
3. Navigate to the forums for that model, and any of the subforums there that apply to your question, and then use the "search this forum" button in the top right, immediately above the list of threads.
Thanks ALOT, you dont know how much this helps, also i am using RESCO for registry, but i think i found a youtube video for that. Thanks alot, if i could award you something i would, (if there is, please do tell as well) (like a thumbs up, or +karma, or whatever this site may use if any)
sirphunkee said:
1. Yes, use attached cab. It will rotate the display when you rotate the phone into portrait. I only know this to be working on the HD2.
2. What registry editor are you using?
3. Navigate to the forums for that model, and any of the subforums there that apply to your question, and then use the "search this forum" button in the top right, immediately above the list of threads.
Click to expand...
Click to collapse
ok so for the landscape cab, do i need a soft reset, and would you happen to know if cookies home screen mod works with the hd2 landscape? also, how do i find this app in the start menu, when i soft reset my phone, nothing happened when i switched my phone to landscape, any ideas?
I'm afraid that I have no idea if this works or not alongside of co0kie's mod. A soft reset after running the cab should be all you needed to get the rotation working, there's no app to run (or icon for it) after that, it just runs in the background.
You can try one more soft-reset (I think mine took 2 to kick in), and I would also go into settings and calibrate your g-sensor if you haven't already.
Also...are you rotating it the right way into landscape? so that the hardware buttons end up to the right of the screen? This cab will only do the rotation in that direction, and back.
I'm afraid the only officially-sanctioned expressions of gratitude here are the ones issued by the treasury...but this small bit of assistance isn't even worth the time it would take, so your words do the job just fine Pay it forward (here at xda, if possible!)
FYI:
It does work with co0kie's mod but it replaces some of the menu items while in landscape. I can definitely live with that, thank you for the awesome app.
S_M_E said:
FYI:
It does work with co0kie's mod but it replaces some of the menu items while in landscape. I can definitely live with that, thank you for the awesome app.
Click to expand...
Click to collapse
You're very welcome, glad it's working for you
For anyone that hasn't seen that tweak before, you'll want to check out the thread I found it in, there's a bunch more very useful stuff in there:
http://forum.xda-developers.com/showthread.php?t=584415

Resources