[Tweak]How to change keys hold timeout - Windows Phone 8 Development and Hacking

Hi all, after spending a lot of time playing with registries I found some that allows us to change the keys hold timeout. This is good for example for decreasing the timeout for the back button in order to have a faster switching between apps. The path is the following:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\CustomHoldDelays
There are several registries here for the different buttons(even for the focus and headset), but I only tested the the back button.
I changed the following registry for the back button using vcREG app: BackHoldTimeout; and I gave it the following value which works nice for me: 00000090 DWORD.
Remember: the value must always have 8 digits!
Here's the list with the different registries we can find on this path:
- HeadSetHoldTimeout
- StartHoldTimeout
- BackHoldTimeout
- SearchHoldTimeout
- VolumeUpHoldTimeout
- VolumeDownHoldTimeout
- CameraHoldTimeout
- FocusHoldTimeout
- PowerHoldTimeout
- RingerHoldTimeout
- OEMCustomHoldTimeout
- SearchTapTimeout
WARNING!!! Setting values too low will cause undesired behavior! (Tap action will act like a hold action)
Sorry for my English
EDIT 1
Hey I also found a nice trick!
You wanna speak to Cortana just by pressing the search button?(instead of holding)
Just set the SearchHoldTimeout registry to value: 00000010
Enjoy!!

I love accessing the camera when the phone is locked by just short-pressing the camera button.
"CameraHoldTimeout" = 00000000
It's really fast!!

MultiPDev said:
I love accessing the camera when the phone is locked by just short-pressing the camera button.
"CameraHoldTimeout" = 00000000
It's really fast!!
Click to expand...
Click to collapse
I can't seem to edit this using custompfd app . Which cap you added ?

irshad2809 said:
I can't seem to edit this using custompfd app . Which cap you added ?
Click to expand...
Click to collapse
I use the vcREG app. It doesn't work for me neither with the CustomPFD app. Btw...what is that cap-unlock thing? Aren't they unlocked if you do interop-unlock?

MultiPDev said:
I use the vcREG app. It doesn't work for me neither with the CustomPFD app. Btw...what is that cap-unlock thing? Aren't they unlocked if you do interop-unlock?
Click to expand...
Click to collapse
Yes they are unlocked but you need to add them manually to apps .

irshad2809 said:
Yes they are unlocked but you need to add them manually to apps .
Click to expand...
Click to collapse
In the manifest file?

MultiPDev said:
In the manifest file?
Click to expand...
Click to collapse
Yes .

irshad2809 said:
Yes .
Click to expand...
Click to collapse
Thanks buddy.

MultiPDev said:
Thanks buddy.
Click to expand...
Click to collapse
Don't say press it ?

irshad2809 said:
Don't say press it
Click to expand...
Click to collapse
I do both. lol!!

irshad2809 said:
Don't say press it ?
Click to expand...
Click to collapse
Can you give the exact line to add to the manifest file
Thanks in advance

Related

[TRICK]Look: how to change softkeys in TFLO!

Hey.
Here is the way to change the homekeys IN TFLO 3D.
In a registry editor, go to:
HKLM/Software/HTC/manila/
Here is:
HomeLSKPath, which is the left softkey (Standard = Phonepad)
And
HomeRSKPath, which is the right softkey.
If you change these with the location of the programs you want to link to, and simultaneous change the names:
HomeLSKText = Left softkey text
And
HomeRSKText = Right softkey text.
Changing the boot picture/sound:
HKLM/Software/HTC/HTCAnimation (startup animation)
and
HKLM/Software/Microsoft/Splash Screen (The green WM 6.1 logo)
BY "teddyen66"
Hi
Have tried it but can't get the labels or items opened to change. Can you post an example of the string you're using?
Thanks alot. Finally some usefull apps on the softkey!!!
;-)
Nice one Moooooa *blink* *blink*
Må sku INDRØMME at jeg GLEMTE at sætte dit navn på! Er gjort nu
mooooooa said:
Må sku INDRØMME at jeg GLEMTE at sætte dit navn på! Er gjort nu
Click to expand...
Click to collapse
No problemo
Nice tip - thanks.
Changed Phone to Camera as I find it a pain in the ass to get the camera up and running quickly! Who needs Phone - as pressing the Call key does the same thing.
p3eps said:
Nice tip - thanks.
Changed Phone to Camera as I find it a pain in the ass to get the camera up and running quickly! Who needs Phone - as pressing the Call key does the same thing.
Click to expand...
Click to collapse
Nice thought! I was thinking the same as well, or the other alternative is to activate/deactivate Bluetooth but does anybody know the string to Enable Bluetooth?
Thanks in advance!
Just wondering - why use registry when you have that option in Preferences?
"Changing the boot picture/sound:
HKLM/Software/HTC/HTCAnimation (startup animation)
and
HKLM/Software/Microsoft/Splash Screen (The green WM 6.1 logo)"
So i tried it i just changed the path to another image (jpg) in the internal storage. I got a blank screen.
So does the image you choose have to been in the device?
Does it have to be .png?
If so whats the file path to the device.
Thanks very much or maybe im doing it all wrong you tell me please.
Cheers! thanks!
pedmond said:
Just wondering - why use registry when you have that option in Preferences?
Click to expand...
Click to collapse
Where`s Preferences?
davemazo said:
Where`s Preferences?
Click to expand...
Click to collapse
Sry, Settings.
princEd said:
Nice thought! I was thinking the same as well, or the other alternative is to activate/deactivate Bluetooth but does anybody know the string to Enable Bluetooth?
Thanks in advance!
Click to expand...
Click to collapse
\Windows\CommManager.exe brings up the Comm Manager, IMO even more useful.
I would love to see configuration of long press of other keys than End Call, though.
pedmond said:
Sry, Settings.
Click to expand...
Click to collapse
I did nothing there. I`ve searched everywhere
Ignore this. I take it Sry means "sorry" not wrongly typed "Try". If you know what I`m going on about.
Please teach me dude how do you make it to boot your own image. Ive changed the image path but still nothing.
Thanks!
Hi.
I have changed the text on the right button. I want the right button to "link" to my contacts, but I cannot find out what the contacts are called on the Diamond?
davemazo said:
I did nothing there. I`ve searched everywhere
Ignore this. I take it Sry means "sorry" not wrongly typed "Try". If you know what I`m going on about.
Click to expand...
Click to collapse
Yo dude. I just checked it out.
Try: Start>settings>buttons
However, there is only 1 button that you can set (or maybe that what i know),
from the drop down menu, choose "camera". Viola!
Thru trial and error, i found out that the Button 1 is actually the call button.
Which means: press it once to go into phone mode, long press (hold) to activate camera. Hope that helps.
kiat2000 said:
Yo dude. I just checked it out.
Try: Start>settings>buttons
However, there is only 1 button that you can set (or maybe that what i know),
from the drop down menu, choose "camera". Viola!
Thru trial and error, i found out that the Button 1 is actually the call button.
Which means: press it once to go into phone mode, long press (hold) to activate camera. Hope that helps.
Click to expand...
Click to collapse
Yeah sussed that out thanks. I was really looking to be able to just have a quick button press that turns bluetooth on and off just like my Nokia N80 does. I found it very handy
kiat2000 said:
Yo dude. I just checked it out.
Try: Start>settings>buttons
However, there is only 1 button that you can set (or maybe that what i know),
from the drop down menu, choose "camera". Viola!
Thru trial and error, i found out that the Button 1 is actually the call button.
Which means: press it once to go into phone mode, long press (hold) to activate camera. Hope that helps.
Click to expand...
Click to collapse
Yes, you are quite right. I guess I was confused
pedmond said:
Just wondering - why use registry when you have that option in Preferences?
Click to expand...
Click to collapse
i can´t find the preferences menu, can you help me, please?

(19/8/2008) S2U2SettingsPlus 2.3.1

Originally created to add functionality to S2U2Settings.
Can edit:
S2U2 Lock/Unlock wave files.
S2U2 Text
S2A Text
S2U2Unlock Path (what is launched when S2U2 unlocks).
Usage:
Install and load.
Select wav/exe files by clicking on the "..." buttons next to the text box. (NOTE: No file filters are applied, so you need to select the correct kind of file your self!!!)
Edit S2U and S2A text.
Hit "File->Save", and then hit "Close". (iLock is automatically restarted! )
Requires:
S2U2 (1.02 or above)
.Net CF 2.0
S2U2SettingsPlus supports MoDaCo AppToDate!
Download it
Download MoDaCo AppToDate
post sum pix man...what is this?
malibu_23 said:
post sum pix man...what is this?
Click to expand...
Click to collapse
Some pictures will be up soon.
BTW, do you actually read posts, or thread titles?
...add functionality to S2U2Settings.
Click to expand...
Click to collapse
and the name is a dead giveaway!
My question would be "Whats wrong with the way the settings function now in S2U2?"
So some pics would be helpful for me too. Thanks
Can edit:
S2U2 Lock/Unlock wave files.
S2U2 Text
S2A Text
My PCs playing up so screenshots will have to come tomorrow...
Hello,
First off I have WM 6.1
What is Unlock EXE for? I tried the path to s2u2.exe and it only kept the lock screen on permanently. I had to do a reset to get back to today.
Also, once file->save is selected, the close button does nothing, but the options are saved anyway.
it's good great tool setting, thank you
cool. thanks
Yes this most useful. I believe without you have to edit the registry manually.
hasnt this been out for a while now? i remember dling something similiar if not the same app but older and it let me set lock, unlock wavs, slide and answer txt..
Nice....
Great works...Hopefully in future we will see more function. Likewise changing background,clock etc..We can still do these things. But you can add those function, so anybody can change it with settingplus..Thanks again..
Just a feedback, the soft key <Close> did not close the program, the screen still remains. Need to close it via the [x] at the top right hand corner.
Overall, a nifty program. Thanks for sharing!!
for sum reason the wav file for me dont work
Shifuej said:
hasnt this been out for a while now? i remember dling something similiar if not the same app but older and it let me set lock, unlock wavs, slide and answer txt..
Click to expand...
Click to collapse
Yes it has. I've recently gone back to it, and added the "Unlock EXE" and tweaked it a bit.
BTW, UnlockEXE is what S2U2 will launch when you unlock the device.
webbywebb said:
for sum reason the wav file for me dont work
Click to expand...
Click to collapse
How large files were they?
Were they wav files, or some other format?
And, was the path generated in the text box correct?
2.3.1 released. Close button should do something now!
l3v5y said:
2.3.1 released. Close button should do something now!
Click to expand...
Click to collapse
Will test out the ApptoDate for your latest version, once I go home.
Update:
The soft key works, even ask you for a confirmation..
will this still work in the latest cersion os S2U2 v1.30?
I believe not for the S2U2 and S2A text.. cos' A_C moves it to another location now.
Sian said:
I believe not for the S2U2 and S2A text.. cos' A_C moves it to another location now.
Click to expand...
Click to collapse
Oh thats sad....this Setting Plus has been useful in changing the text of my own choice Will wait then for a new version of Setting Plus
thanks...

Long press to get FN+Key

Hi all, I just got my Snap after having the Dash for 3 years. The Snap is great but I have one problem...
On the Dash, when typing, long press will input the Alt+key combination, e.g. when long press on the "W" key it will input "1". The Snap can't do it and I need to press the FN key
Any way to change this?
Thanks,
Eran
[email protected] said:
Hi all, I just got my Snap after having the Dash for 3 years. The Snap is great but I have one problem...
On the Dash, when typing, long press will input the Alt+key combination, e.g. when long press on the "W" key it will input "1". The Snap can't do it and I need to press the FN key
Any way to change this?
Thanks,
Eran
Click to expand...
Click to collapse
That would be a great improvement! I had this same feature on my Diamond. I like the Snap keyboard, but you just have to push the FN key too much during some regular typing!
I'd like this too.
seems like know one know how to solve... this is really annoying on this great phone!
This depends on keyboard driver, what's always a dll library written by a manufacturer specifically for each device.
Similar problem has Touch Pro 2.
E.g. unlike Rose, where press+hold function can be simply remapped to another character/function.
OK I think I've provisionally got this sorted - you have to edit the keymap file using a text editor (either on the device using e.g. Total Commander or (probably more easy) copy the file to your PC using Activesync, edit it then copy it back to your device). On my snap the file is \Windows\eT9.Maple.wwe.kmap.txt - might be different depending on your ROM and language settings.
Before we go any further, make a backup of the file because you can get into all sorts of problems if you mess it up. It will be recoverable with a hard reset if necessary, but you probably want to avoid that...
The process is pretty self explanatory when you look at the kmap.txt file, but as an example:
Look at the entry for the R key:
{R R R 3 3 0x03}
As stated in the beginning of the kmap.txt file (on my device anyway), the third character in the above entry is "VK2 -> key to interpret when for press and hold". So simply change this to:
{R R 3 3 3 0x03}
Reboot your device and try it in messaging - when you hold the R key you will get a 3. Now you need to do this for every key! I haven't done it for the whole keymap yet - this might be the sort of thing you want to do personally, it's not THAT big a job I guess.
Cheers.
P.S. I also used this to remap the tab key, which I don't find that useful.
THANK!!!
this works beautifully!!! now the keyboard is as it should be the first place
Attached is the file for the WWE with long press supported for all keys
[email protected] said:
this works beautifully!!! now the keyboard is as it should be the first place
Attached is the file for the WWE with long press supported for all keys
Click to expand...
Click to collapse
That's brilliant!
I've modified your file to get rid of 2 small bugs (* and 0 longpress not working) and absolutely love the keyboard now!
Psmit said:
That's brilliant!
I've modified your file to get rid of 2 small bugs (* and 0 longpress not working) and absolutely love the keyboard now!
Click to expand...
Click to collapse
Could you post your modifications? Also, has anyone tried this on the Sprint Snap?
Has anyone remade the above file for the US keyboard? In other words, here is the layout for my keyboard:
Q1 W2 E3 R% T+ Y( U) I- O_ P"
A* S4 D5 F6 G~ H/ J? K$ L= ,@ (DEL)
(CAPS) Z7 X8 C9 V' B& N! M; .: (ENT)
(ALT) TAB0 SYM# (SPACE)
<strike>Sorry, dumb question but it's been a long time since I tweaked around in \Windows
It says I don't have permission. Neither locally, nor through the PC.
What to do?</strike>
Nevermind, used Total Commander to do it!
Strange thing though - a long press on "Q" locks the keypad. Yet there is no code for "locking" in kmap.txt.
That would be sweet to have on inner circle! A one-click lock. Hmmmmmm.
qwerty017 said:
Could you post your modifications? Also, has anyone tried this on the Sprint Snap?
Click to expand...
Click to collapse
Hi,
I upload the corect one, with Q(*), TAB (#) and SYM (0) modificated.
Taking control of the damn file
Hi folks. Can anyone help me out on how to get control of the .txt file?
greg530 has clearly done it using Total Commander but I can't get it it work at all, either on the PC or the device itself. Refuses to be edited or deleted or have it's permissions changed.
tia
did u try resco explorer?
Greg530 said:
Strange thing though - a long press on "Q" locks the keypad. Yet there is no code for "locking" in kmap.txt.
That would be sweet to have on inner circle! A one-click lock. Hmmmmmm.
Click to expand...
Click to collapse
You can assign a single press lock to the Windows Live Messenger button if you like - use VJDeviceLock and the instructions here.
[email protected] said:
did u try resco explorer?
Click to expand...
Click to collapse
Thanks, but I tried that with no luck. The file is in the ROM so I can't see how I can change it without reflashing.
Psmit said:
That would be a great improvement! I had this same feature on my Diamond. I like the Snap keyboard, but you just have to push the FN key too much during some regular typing!
Click to expand...
Click to collapse
Is this just the Snap? My T-Mobile Dash 3G has these baked in already.
Is there a key code to launch PIE?
I don't need the Messenger shortcut and I'd like to replace it:
{0xE4 0x96 0x8D 0x8D 0x00 0xff} // VK_IME_APP_CAMERA 0x8D, 0x96 = IM

FolioWidget

0.4
it's a widget : add it to your deskop
tap on the clock the open the control menu
Resize this widget to something like 4*1
What's up ?
- VM heapsize tuning for better performances in big applications
- Wifi network SSID shows on the widget
- Change LCD density ( select new one and folio reboot with the new one, the trick is not permanent )
Like ever if you like click Thanks
I do this on top of my job so there's few chances i respond to personnal mp.
I'm sorry for the inconveniences but i'll try to read yours comments.
very good !
thank you !
any news for my requested app ? (shortcut to Account Sync)
Great!
Great job!
Thank you!
One question. How do I resize the widget?
Thanks.
Resize is only possible with some home like ADW. Launcher Pro require the paid version and with zeam you have to reinstall the widget
Widget resize
Hi,
All clear,
Thank you!
How can I change the color/layout, there most be any software I can use to extract the picture then save them? Tried winrar but that only gave me a ccorrupted apk. Help please?
statsminister said:
How can I change the color/layout, there most be any software I can use to extract the picture then save them? Tried winrar but that only gave me a ccorrupted apk. Help please?
Click to expand...
Click to collapse
yeah. a color/layout option would be nice.. transparency too, but i'm nitpicking =)
julio77 said:
any news for my requested app ? (shortcut to Account Sync)
Click to expand...
Click to collapse
that is much easier for you to do.
Shortcut -> activities -> Settings -> accounts? i think
Dexter_nlb said:
that is much easier for you to do.
Shortcut -> activities -> Settings -> accounts? i think
Click to expand...
Click to collapse
hum...
I already know this method, I am the author.
I am looking for a program to do that because I'd like to have the shortcut in the appdrawer.
Hi all,
another question :
is it a way completly disable sensitive button at the right of the screen ?
I'm using TNTMod and I don't need these buttons because there already at the top of the screen.
julio77 said:
Hi all,
another question :
is it a way completly disable sensitive button at the right of the screen ?
I'm using TNTMod and I don't need these buttons because there already at the top of the screen.
Click to expand...
Click to collapse
would a value of 255 (ff) not do it? at least make then incredible unresonsive or?
i will check the kernel registers if we got some other bit's to modify so we can disable them..
btw,
looks like Malata actually took Honeycomb 3.0 solutions into account here buttonwise.
Dexter_nlb said:
would a value of 255 (ff) not do it? at least make then incredible unresonsive or?
i will check the kernel registers if we got some other bit's to modify so we can disable them..
btw,
looks like Malata actually took Honeycomb 3.0 solutions into account here buttonwise.
Click to expand...
Click to collapse
Thank you, i will try this.
i've tried 0x0000000 and 0xfffffff and no effect..
maybe I need to reboot ?
is it a value to disable buttons ?
nobody has found a way to disable the Folio 100 sensitive buttons ?
Would it be possible to make the battery in the widget, give some animation?
disable hardware(soft) buttons completely hack
julio77 said:
is it a value to disable buttons ?
Click to expand...
Click to collapse
here is your fix , you asked for:
here is the command to disable light buttons completely (will enable after a poweroff)
DISABLE BUTTONS
Code:
echo regctrl=0x8800 >/sys/devices/virtual/input/input7/tegra_capsensor
ENABLE BUTTONS
Code:
echo regctrl=0x8801 >/sys/devices/virtual/input/input7/tegra_capsensor
Requested by user, not my idea here. but probably very handy with AndroidOS 3.0 when its out. (good for TntMod as they got buttons on screen)
thank you Dexter
Sol Ido, is it possible to add this trick in your next release ?
Any questions
HI,
I try to use FolioWidget with Official TOSHIBA ROM.
I install the widget, but :
when i tap on hour, Window of parameters open.
- where is the choice to set size of Widget to 4x1 ?
I select Light Enabled, but the Four keys are not on.
- what is the wrong ?
Sorry for py poor english.
CSE
cse34 said:
I try to use FolioWidget with Official TOSHIBA ROM.
Click to expand...
Click to collapse
app require "root", so no go for you...

Font key to get better screen in all apps(works on almost every device)

Hey guys today am going to share a registry key that could help you to get better screen resolution in all apps. I tested it on my device and it is giving good result
PATH: SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Theme
KEY: FontScale
VALUE: any value b/w 10 to 100 (recommended 50)
I hope it helps you
Click thanks if you like
Got any comparison pics?
Looks neat to me, using the UserPreferenceWidth did the same but for some apps only, i thought we could add the fifth button in action center with this too.
Any key for that?
you did not get a better screen, you just made the text smaller
under ease of access you can do this , Text size
ceesheim said:
under ease of access you can do this , Text size
Click to expand...
Click to collapse
No in ease of access you dont get as low as he has mentioned.
Use UserPreferenceWidth=75
that too gives lower font size
matgras said:
you did not get a better screen, you just made the text smaller
Click to expand...
Click to collapse
yes no change in screen resolution
but using way we can get the font and tiles even smaller than the system's default
surya467 said:
Looks neat to me, using the UserPreferenceWidth did the same but for some apps only, i thought we could add the fifth button in action center with this too.
Any key for that?
Click to expand...
Click to collapse
surya467 said:
No in ease of access you dont get as low as he has mentioned.
Use UserPreferenceWidth=75
that too gives lower font size
Click to expand...
Click to collapse
thanks for confirming
yes, i tried that UserPreferenceWidth option but that key is not working on Lumia devices.
I also tried to add the fifth action center tile but no luck till now.
thanks for confirming
yes, i tried that UserPreferenceWidth option but that key is not working on Lumia devices.
I also tried to add the fifth action center tile but no luck till now.
Click to expand...
Click to collapse
weird, it worked for me on Lumia 525, u need to restart the phone once u edit the registry, atleast that was what I had to do to get it to work. Remember to pin the Preview for developers app to the start screen before u restart the phone or else it disappears from the app list.
i.e if you use the PfD reg tool hack
That on my Lumia 525, pretty sweet, no much use though
Any key to change font?
This is a lot better to add this key insteed change font scale!!
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Theme]
"UserPreferenceWidth"=DWORD:0x0000004B
& for 5 actions button:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Settings\QuickSettingElements\Pinned]
"AllowedQuickSettingsElements"=DWORD:00000005
xboxmod said:
This is a lot better to add this key insteed change font scale!!
..
& for 5 actions button:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Settings\QuickSettingElements\Pinned]
"AllowedQuickSettingsElements"=DWORD:00000005
Click to expand...
Click to collapse
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Settings\QuickSettingElements\Pinned]
"AllowedQuickSettingsElements"=DWORD:00000006
With AllowedQuickSettingsElements=6 I have 6 actions button or my phone doesn't boot in your opinion?
Or nothing change?

Categories

Resources