I was wondering if there was a way to re-map the power button to the OK button so when i want to turn on my x1 screen instead of pressing the power button i press the Ok button or maybe another button?
would this be possible? thanks,
Not sure about the re-mapping, but there's a setting under settings>system>key lock that lets you wake up the device by pressing any hardware key.
I need this too!
Have you tried with one of the several button/key mapping tools available?
Did you tried long pressing end call button? Mine locks screen...
Cheers!
Edit: Try AE Button Plus to map your keys.
Hi guys, I'm out of warranty with my Captivate and the power button is not responding as expected from time to time. Sometimes it doesn't respond at all or it just takes a couple of seconds to show the power menu (reboot, restart, etc.) when I just pressed it once to lock it, from the behavior is clear that it's a hardware issue (I have also flashed different roms and had the same results, just in case). I want to change the behavior of one of the other buttons, probably volume down (the least preferable) or the search touch button (it sucks but one of them has to go and this is the one I could more easily do without).
Looking on the net I found this for the Motorola Droid but the files are kind of different for the Captivate. The location is the same: /system/usr/keylayout/ but the file sholes-keypad.kl is not there, there are others but the SEARCH functionality appears on several of the files and I don't know exactly which one to change. What do you guys think?
PS: If this should go under development please let me know.
It seems I'm answering my own post but apparently using the search touch button would not work to unlock the phone since those keys are disable while the phone is idle (is there a way to circumvent that?). I had to go with the volume down button what I did was this: using root explorer (and mounting as r/w) I went to the location I described earlier (/system/usr/keylayout/) and edited the file s3c-keypad.kl which has this structure:
key 42 VOLUME_UP WAKE
key 58 VOLUME_DOWN WAKE
key 50 HOME WAKE_DROPPED
key 26 POWER WAKE_DROPPED
key 34 BACK WAKE_DROPPED
key 57 DPAD_LEFT WAKE_DROPPED
key 49 DPAD_RIGHT WAKE_DROPPED
key 25 DPAD_UP WAKE_DROPPED
key 41 DPAD_DOWN WAKE_DROPPED
key 33 DPAD_CENTER WAKE_DROPPED
key 10 UNKNOWN WAKE_DROPPED
Click to expand...
Click to collapse
And modified the second line to look like this:
key 58 POWER WAKE_DROPPED
Click to expand...
Click to collapse
Please notice that I simply copied the key name and wake function of the POWER line but the key number was left intact! You can't change the key number!! I hope this helps anyone on a similar situation.
I tried changing the key information using ES File Explorer and I get an error. It only states an error has occurred and cannot be saved. I am using a cappy I bought on ebay and want to assign the power key to the volume up key as the power button does not work. I didn't use root explorer as I want to try a free app. Any ideas?
You have to mount the location for reading and writing (rw). You could also use adb to do it but I'm not well versed on how to do it that way. Can't be dificult tho.
There is an experimental root explorer that can be activated. Turned it on, mounted, and rebooted. Fixed. Thanks!
Sent from my FASTY 2.4 Captivate using Tapatalk.
Although I haven't gotten around to experimental flashing I have messed around a bit with the modified power button. Works fine, but after some time has passed the new button (volume up) does not wake the phone. Has anyone else had this issue?
Sent from my FASTY 2.4 Captivate using Tapatalk.
So I'm making it so I can only use the software buttons that I've enabled and so far I've got the capacative buttons disabled but what I want is so that the home button can wake the device but that's it. I don't want it to take the device home, I've been changing values in both sec_key.kl and gpio-keys.kl and so far i've either got it completely disabled, acting as a power button or making it work normally (goes home as well as wake). Any ideas? I'm running SuperNexus ROM.
EDIT:
So I've found what seems to be a solution. In gpio-keys.kl change "key 102 HOME WAKE" to "key 102 SOFT_RIGHT WAKE". Seems to not do anything other than wake the phone.
All of my W8 buttons (except the Menu one) went broken due to the first owner's usage (mine is a secondhand one). The power button is still okay with heavy press, but others are unusable. I've tried using tons of proximity screen wake apps to wake my phone in order to not harm my power button but none of them work (the working ones use a lot of battery juice).
So I'm thinking of remapping my Menu button into a Power button. My using ROM is GingerDX. I've try to edit some in the shakira_keypad.kl in the System/Usr/Key Layout, please check it out
This is what I've changed :
from "Key 139 MENU WAKE_DROPPED" to "Key 139 POWER WAKE"
After a reboot, the MENU button did change its function, I can use it to turn my screen off. But when it's off, I can't use it to turn the screen back on.
So what mistakes did I made?
Please give me some advices
Thank You Very Much.
My Galaxy Note 1 's power key cant wake up my phone.
Is it a way to let the volume key wake up my phone?
I have try the following but not work:
open this fileļ¼ /system/usr/keylayout/Generic.kl
change this line:
key 114 VOLUME_DOWN
to:
key 114 VOLUME_DOWN WAKE
Thanks for help.