[Q] Sensation can be waked up by search key when it is asleep? - HTC Sensation

I tried to modify system/usr/keylayout/pyramid-keypad.kl and system/usr/keylayout/qwerty.kl, then search key can lock my device and let it sleep, but it can't wake up my device.
i modified that:
system/usr/keylayout/pyramid-keypad.kl
key 217 POWER WAKE_DROPPED
system/usr/keylayout/qwerty.kl
key 217 POWER WAKE_DROPPED

anyone here?

wangyu1221 said:
anyone here?
Click to expand...
Click to collapse
as far as i know you can use the vol up key but not the search key to wake the phone

Related

[Q] Is there a way to remove the 'swipe to unlock'?

Afternoon all,
I had a HTC Magic originally and when you pressed menu button twice it would bring the screen back on and then unlock it.
I am trying to achieve the same functionality on my Desire.
The Desire insists you firstly use the power button to bring the screen back to life & then you must swipe down (which i find a nuisance!) before you are back at the home screen.
By modifying 'bravo-keypad.kl' as below this fixes the first part (so the menu button activates the screen), but it still wants me to swipe down.
key 102 HOME
key 139 MENU WAKE_DROPPED
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
key 116 POWER WAKE_DROPPED
Click to expand...
Click to collapse
To conclude: Is there a way to remove the 'swipe to unlock'? (without using ''Lock Screen Switch'' widget from the market.)
Thanks in advance!
Chris
I use "nolock", free from the Market and it works great on my Evo.
(Not sure if this is the widget you were referring to or not. )
-= SomeHuman =-

Side button (volume) unlock screen

Currently I`m using WidgetLocker to unlock screen with volume but I lost default unlock screen from sense who is beautifull so:
WidgetLocker Lockscreen can do it, CM7 rom I heard that can do it so how can they do it? What should us (I`m sure that I`m not the only one who don`t want to use power button to unlock screen or to use some app that keep sensors on) have to do to unlock screen with volume keys? I tried to edit keypad.kl (key 114 VOLUME_DOWN WAKE to WAKE_DROPPED) but on desire S has no effect so if widget locker/cm7 can do this thing maybe someone can help and say what should I have to edit ?
update: after using ButtonRemapper v0.2.4.1:
1.volume +- with wake_dropped = didn`t worked to unlock screen.
2.volume +- binded as power and wake_dropped = when screen was on it worked to make screen off but when screen was off didn`t worked to unlock.
out of ideas :|
Bump
I'm bumping this one.
Yes there are more people who want to use their volume key(s) to unlock to their Sense 3 based lockscreen!
Hope that somebody can come up with an answer!
I'm keeping my eyes on this post.
Cheers,
D.
codryn said:
update: after using ButtonRemapper v0.2.4.1:
1.volume +- with wake_dropped = didn`t worked to unlock screen.
2.volume +- binded as power and wake_dropped = when screen was on it worked to make screen off but when screen was off didn`t worked to unlock.
out of ideas :|
Click to expand...
Click to collapse
i got this working on my htc evo today, here are my changes i made using Button Remapper v0.2.4.1
107 [Endcall] Endcall W_D
116 [Power] Volume Up W
115 [Volume Up] Volume Down W
114 [Volume Down] Power W_D
217 [Search] Search W_D
158 [Back] Back W_D
139 [Menu] Menu W_D
102 [Home] Home W_D
so now my power button is vol up, vol up is vol down, and vol down is power.
im not sure if this will work on your phone, but i dont get to help people much and this felt right up my alley
EDIT: also, i used to use widgetlocker with a sense theme, so you should be able to change it in the custom slider screen, check under themes.
Look HERE for info how to do it.

[Q] Remap Buttons?

Hello,
I have a friend with a Droid 2 and their power button is on the way out. Is there a way to remap the camera button to be the power button?
I have tried editing the "cdma_droid2-keypad.kl" file, but it doesn't seem to change anything...
Code:
key 116 POWER GRAVE
key 211 FOCUS POWER WAKE
key 212 CAMERA POWER WAKE
does this code look correct? I just can't seem to get it to change anything. After pushing the file it doesn't change the button behavior at all.
They are rooted and on CM7

[Q] Galaxy S2 Power Button Failure

My sprint epic power button failed and I am trying to fix it by moving the function of the power key to the volume up or down key and setting the power key function to null. I have several questions on how to do this.
1. I know that I will have to gain root access but is there a way to do this without installing a custom kernel?
2. If i do end up having to root hte thing how do I get into download mode if the power key is not working?
3. My current /system/usr/keylayout/ has several files in it and am I right to assume that I should be editing the gpio-keys.kl file?
4. Is the 116 button assigned the power button value and 115 volume up?
5. Currently the file looks like this
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 116 POWER WAKE
so if i edited it to something like
key 115 POWER WAKE
key 114 VOLUME_DOWN WAKE
key 116
would it still work? I want to leave the power key funciton blank as it looks like it is stuck and I dont want it to get stuck performing volume up the whole time.
That is all. Any help would be extremely appreciated by me and as you can see I am new to this whole process so if you have any pointers or better ways of doing this I would be extremely grateful for any input.
Bump
Bump
sacaAf unto
Any suggestions would def help

[Q] Enable volume keys to wake device?

Could someone assist me in enabling the volume keys to wake the screen?
I have root access and tried this method:
Install Root Explorer (only one I advise for this).
Root.
Go into \system\usr\keylayout
Edit generic.kl and gpio-keys.kl (I recommend taking backups first).
Find key 115 and 114 in both files.
Remap as you wish. I have mine set to Menu and Home.
Save and reboot.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2484185
And I changed
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
in both files and rebooted.
But it did not work. I noticed this while I was searching: https://github.com/SomethingExplosi...mmit/d18879528bc4de75d03620ee7636acd404bfcdf9
Does WAKE_DROPPED mean anything?
Edit: WAKE_DROPPED apparent means to turn the screen on and forget the keypress.
What's odd is that many of the keylayout .kl files already have VOLUME_UP WAKE already...

Categories

Resources