Volume key unlock - HTC One X

I've tried doing a search and have found no information.
Is it possible to get the volume key to unlock the phone please.
Sent from my HTC One X using xda premium

It might be possible in some custom roms but on stock, it's impossible...
What's the problem??

http://forum.xda-developers.com/showthread.php?p=24519453
system/urs/keylayout ..I think tegra-kbc.kl
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
other options
WAKE: The key should wake the device when it is asleep. For historical reasons, this flag behaves in the same manner as WAKE_DROPPED below.
WAKE_DROPPED: The key should wake the device when it is asleep but the key itself should be dropped when the wake-up occurs. In a sense, the key's action was to wake the device, but the key itself is not processed.
SHIFT: The key should be interpreted as if the SHIFT key were also pressed.
CAPS_LOCK: The key should be interpreted as if the CAPS LOCK key were also pressed.
ALT: The key should be interpreted as if the ALT key were also pressed.
ALT_GR: The key should be interpreted as if the RIGHT ALT key were also pressed.
FUNCTION: The key should be interpreted as if the FUNCTION key were also pressed.
VIRTUAL: The key is a virtual soft key (capacitive button) that is adjacent to the main touch screen. This causes special debouncing logic to be enabled, see below.
MENU: Deprecated. Do not use.
LAUNCHER: Deprecated. Do not use.

Related

Hardware key mapping

Hello,
I can't read anywhere why it's not possible to set hardware key mappings for keys other than phone answer.
Also using HButton I can't assign functions to home,back,end,vol up,vol down, ... is there a way?
Where can I read more?
AE Button plus works perfect for back key,volume key,green and red key

What's "key 107"?

Hey guys, I was going through my vision-keypad.kl, and saw that the second entry was:
key 107 ENDCALL WAKE_DROPPED
Now as far as I know, we have no End Call button?
I decided to investigate, so I removed all the WAKE and WAKE_DROPPED markers from all the buttons except key 116 (Power button) and key 107 (unknown)
I was then able to wake my phone 2 ways:
Power button
Sliding the keyboard
So that supposedly means sliding the keyboard is an End Call button.
So I called my phone and tested it -- no dice.
Meaning, key 107 is not sliding the keyboard.
So what is key 107?
You could go into clockworkmod recovery and use the keytest option (under advanced?) to find out what the key codes are.
-Nipqer
Um yea Key 107 doesn't really exist. I tested it.

[TUR]Disable Home key or change to Power key

first backup /system/usr/keylayout/gpio-keys.kl
edit /system/usr/keylayout/gpio-keys.kl,
key 136 SEARCH WAKE_DROPPED
key 139 MENU WAKE
key 102 UNKNOWN
key 158 BACK WAKE_DROPPED
key 116 POWER WAKE
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
change 3td line to "key 102 UNKNOWN " to disable Home key.
u can change to "key 102 POWER", so u can screen on/off by pressing Home key
Edit/Delete Message
Could you be more explicit about this ?
Do you think we can modd the market for non landscape mode ?
We can change the behaviour of the physical keys of A100 from changing the file:/system/usr/keylayout/gpio-keys.kl
Does this actually work?
Just want to make sure this works before I attempt it...thanks
sure!!!!!!!!!!!!!!!!!!!!!!!!!1
It works!
raphsabb said:
Just want to make sure this works before I attempt it...thanks
Click to expand...
Click to collapse
I just tried it, and it works!
Thanks, @sanixk!
So, I followed the instructions above, the home button is 'unknown ", but it still keeps flashing - to indicate notifications, I guess. Is there any way to stop notifications from flashing the home (and Power) buttons?
---------- Post added at 06:42 AM ---------- Previous post was at 06:27 AM ----------
I am wondering - would it be possible to turn the HOME button into a second BACK button rather than a POWER button? I find the bottom-left locationof the BACK button quite inconvenient.
I think it would be easy to change to a back button. I think it would be nice to have it hide and unhide the bar at the bottom.
I changed Key 102 to UNKNOWN, and it now functions as a "Scroll To Top" button in Dolphin HD!
Has anybody else seen that behavior?
Hi, I have HP IPAQ 514 (Voice Messenger) and my red button is broken . It isn't actually broken, but when I click it, it doesn't respond . Instead, it responds whenever it wants . Is there a way to disable the button because it's really getting on my nerves . Please help, thanks !
Kung-Fu-Panda said:
Hi, I have HP IPAQ 514 (Voice Messenger) and my red button is broken . It isn't actually broken, but when I click it, it doesn't respond . Instead, it responds whenever it wants . Is there a way to disable the button because it's really getting on my nerves . Please help, thanks !
Click to expand...
Click to collapse
Thank you for the morning laugh. This post fails on many levels. The Ipaq is Windows Mobile, not Android.
try changing to:"key 158 BACK WAKE_DROPPED"
Kung-Fu-Panda said:
Hi, I have HP IPAQ 514 (Voice Messenger) and my red button is broken . It isn't actually broken, but when I click it, it doesn't respond . Instead, it responds whenever it wants . Is there a way to disable the button because it's really getting on my nerves . Please help, thanks !
Click to expand...
Click to collapse
Until you learn to both post in the right section AND stop using so many goddam smilies, I think we should just disable your posting button instead.
sanixk said:
try changing to:"key 158 BACK WAKE_DROPPED"
Click to expand...
Click to collapse
l
AFAIK, that is the stock, or "normal " entry.
Did you mean "key 102 BACK WAKE_DROPPED "? Seems to me that should turn the HOME button into a second BACK button.
yeah. Another BACK button
jschall,
I tried editing 102 key to power up the device when I press the home button, but no luck!
Any ideas?
Thanks!
Managed to change the 102 key.
"works" great by not doing anything.
Thanks!
sanixk said:
first backup /system/usr/keylayout/gpio-keys.kl
edit /system/usr/keylayout/gpio-keys.kl,
key 136 SEARCH WAKE_DROPPED
key 139 MENU WAKE
key 102 UNKNOWN
key 158 BACK WAKE_DROPPED
key 116 POWER WAKE
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
change 3td line to "key 102 UNKNOWN " to disable Home key.
u can change to "key 102 POWER", so u can screen on/off by pressing Home key
Edit/Delete Message
Click to expand...
Click to collapse
Sorry for the noob questions I'm about to ask.
I need to have the A100 rooted before I do this?
What am I using to edit the .kl file?
Yes. You do need to be rooted. You can't access the file without root.
You don't need anything to edit the file.
Simply open as - text - text editor and modify the file. Save it afterwards.
gshadefull said:
Yes. You do need to be rooted. You can't access the file without root.
You don't need anything to edit the file.
Simply open as - text - text editor and modify the file. Save it afterwards.
Click to expand...
Click to collapse
Great, thanks! Got it working now (or rather, not working). Now my 2yr old son won't be pressing it each time he holds it to watch his videos. I've hit it enough times to annoy me as well, wish they would have used a real button but then I'm sure Apple would have sued them for using a real button

[Q] How to change Lockscreen key?

Dear,
My E4GT is runing on 2.6.35.7_SPH_D710.EL29_CL852097 rom. Currently the
mobile goes to asleep by pressing POWER or SEARCH key, wakes up by pressing
POWER key.
To protect POWER key from over used, I hope to change the wake up key
from POWER KEY to SEARCH key too.
I wonder how I can do it? Could someone help?

Disable Trackpad by Software

Hey there,
My Desire is now 2 years old and seems to have the first flaw now.
The Trackball movement seems to be crazy, it randomly selects stuff and while it does that, the device cant really be used otherwise.
It usually stops after around 30 seconds.
The only solution I found is to disable it by hardware, which I don't really want, especially because of the selection in ClockworkMod Recovery(where Trackball press is the only way to confirm a selection I know).
Is there any way to disable it by software? Even better would be to only disable the selection, not the pressing
Covering it with something shows no effect.
Cristhecrusader said:
Hey there,
My Desire is now 2 years old and seems to have the first flaw now.
The Trackball movement seems to be crazy, it randomly selects stuff and while it does that, the device cant really be used otherwise.
It usually stops after around 30 seconds.
The only solution I found is to disable it by hardware, which I don't really want, especially because of the selection in ClockworkMod Recovery(where Trackball press is the only way to confirm a selection I know).
Is there any way to disable it by software? Even better would be to only disable the selection, not the pressing
Covering it with something shows no effect.
Click to expand...
Click to collapse
With root explorer go to
System>usr>keylayout and edit "bravo-keypad.kl" as you wish.
Thanks for your reply.
Now when i open that config the only lines that are not commented out are:
key 102 HOME
key 139 MENU
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
key 116 POWER WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
Click to expand...
Click to collapse
Every key is pretty obvious(except for "ENDCALL" but nvm).
I figure only the keys that are listed here are bound to any function, but the trackpad doesnt show up, so shouldnt it already be disabled? Or is it in another config?
Just did a quick google and turns out from what i could see is the trackball is part of the digitizer (ur phones touchscreen) so dont think it can be disabled. Maybe it can, i dunno.
Sent from my HTC Desire

Categories

Resources