I am running the latest cm10 nightly with soft navbar enabled, I have disabled both soft keys but want to remap home key function to make and put the phone to sleep, just to make life simpler? I have already tried to edit the .kl files with no luck anyone ever been successful doing this? Any help greatly appreciated
Is this of any use ?
Related
My Touch Flo Home screen, have some problem...
It change to Phone Button, before it is an Action Button
How Can I change it back to Action Button?
Thanks for helping...
jere99 said:
My Touch Flo Home screen, have some problem...
It change to Phone Button, before it is an Action Button
How Can I change it back to Action Button?
Thanks for helping...
Click to expand...
Click to collapse
try HD tweak
I used it to chang "phone" to "comm mgr"
this file does the trick for me
unzip it whit totalcomander to youre windows directory and soft reset
dont forget to backup the original file otherwise ive it doenst work for you youneed to hard reset
best regards
miniteror
I've got an issue with my power button that causes the power button to be super sensitive and occasionally get stuck so that the phone constantly reboots. I want to remap the power function to my volume up button to keep this from happening. I've done some research and everything I've seen tells me to edit open /system/usr/keylayout/gpio-keys.kl but this file does not exist on my phone. I'm running Paranoid Android with android 4.2.2.
In the /system/usr/keylayout folder I have these files instead.
Code:
AVRCP.kp
cyttsp-i2c.kl
fsa9485.kl
Generic.kl
keypad_8960.kl
msm8960-snd-card_Button_Jack.kl
qwerty.kl
sec_key.kl
sec_keys.kl
sec_powerkey.kl
sec_touchkey.kl
sii9234_rcp.kl
and a bunch of kl files that are named Vendor_045e_Product_(somenumber).kl
Which file do I need to edit to fix this problem? Any help is much appreciated, my phone is almost unusable in its current state.
Drisc0 said:
I've got an issue with my power button that causes the power button to be super sensitive and occasionally get stuck so that the phone constantly reboots. I want to remap the power function to my volume up button to keep this from happening. I've done some research and everything I've seen tells me to edit open /system/usr/keylayout/gpio-keys.kl but this file does not exist on my phone. I'm running Paranoid Android with android 4.2.2.
In the /system/usr/keylayout folder I have these files instead.
Code:
AVRCP.kp
cyttsp-i2c.kl
fsa9485.kl
Generic.kl
keypad_8960.kl
msm8960-snd-card_Button_Jack.kl
qwerty.kl
sec_key.kl
sec_keys.kl
sec_powerkey.kl
sec_touchkey.kl
sii9234_rcp.kl
and a bunch of kl files that are named Vendor_045e_Product_(somenumber).kl
Which file do I need to edit to fix this problem? Any help is much appreciated, my phone is almost unusable in its current state.
Click to expand...
Click to collapse
From memory it's sec-keys.kl. Might be sec-key.kl though, one or the other is what I used to edit back when CM didn't have disable wake from home key.
After installing sphinx rom v2 on my e988 i can't wake up my screen by pressing home button any one know how to enable it again ?
mhd.abbas.94 said:
After installing sphinx rom v2 on my e988 i can't wake up my screen by pressing home button any one know how to enable it again ?
Click to expand...
Click to collapse
This will only work if the option was removed from the keylayout, so let's see if the option is there or not:
Use a root file manager and go to System/usr/keylayout
Edit the file "gk-kaypad-8064.kl" (how you edit the file depends on the file manager you are using, so I can't give you exact steps as to how to do this)
You should see stuff like:
key 114 volume_down
key 115 volume_up
etc
look at key 172:
If it was disabled from waking the phone, it will say:
key 172 HOME
If it has the option to wake the phone it should say:
key 172 HOME WAKE
-If it's like this already, then I can't help you further because the button is already set to wake the phone, so something else in the rom is preventing it from working.
-If it isn't already like this, then just add the WAKE (in all caps) part to it after a space and save the file. Make sure the permissions are still 644 (rw-r--r--) after saving. Reboot. Test and hopefully it should work. Again, if not, I can't help you any more because something else is preventing it from working.
BTW, I don't use Sphinx, but I actually hate the Home button waking my phone, so I always disable it after rooting. So I basically just remove the WAKE part.
spexwood said:
This will only work if the option was removed from the keylayout, so let's see if the option is there or not:
Use a root file manager and go to System/usr/keylayout
Edit the file "gk-kaypad-8064.kl" (how you edit the file depends on the file manager you are using, so I can't give you exact steps as to how to do this)
You should see stuff like:
key 114 volume_down
key 115 volume_up
etc
look at key 172:
If it was disabled from waking the phone, it will say:
key 172 HOME
If it has the option to wake the phone it should say:
key 172 HOME WAKE
-If it's like this already, then I can't help you further because the button is already set to wake the phone, so something else in the rom is preventing it from working.
-If it isn't already like this, then just add the WAKE (in all caps) part to it after a space and save the file. Make sure the permissions are still 644 (rw-r--r--) after saving. Reboot. Test and hopefully it should work. Again, if not, I can't help you any more because something else is preventing it from working.
BTW, I don't use Sphinx, but I actually hate the Home button waking my phone, so I always disable it after rooting. So I basically just remove the WAKE part.
Click to expand...
Click to collapse
Thanks a lot man
Does someone has another solution?
i got the same problem but in my file allready was written "WAKE".
Before updating to lollipop, Nova launcher would allow me to remap the button to be a menu button instead of recent apps. It no longer does this and it is killing me...I am so used to it the other way! Is there a way to do this on lollipop?
Have you tried long pressing recent button that is how you can get the menu to pop up its been that way since kk
Sent from my SM-N910P using Tapatalk
Thank you for the response... Even on kitkat when you use Nova launcher it allows you to make the soft key open settings instead of recent apps. With lollipop it no longer works like that.
Dunno which keys were for recent apps but here's a guide to get to it.
Use a root explorer.
Go to
/system/usr/keylayout.
Backup file Generic.kl ( copy it as a .bk or something )
Then find the word RECENT_APPS linking with the code number, change RECENT_APPS to MENU.
I don't know how to change long press home as Recent apps though, I tried finding the key but all "SEARCH" keys were something else entirely when I changed to RECENT_APPS, didn't work on touchwiz.
Spark91 said:
Dunno which keys were for recent apps but here's a guide to get to it.
Use a root explorer.
Go to
/system/usr/keylayout.
Backup file Generic.kl ( copy it as a .bk or something )
Then find the word RECENT_APPS linking with the code number, change RECENT_APPS to MENU.
I don't know how to change long press home as Recent apps though, I tried finding the key but all "SEARCH" keys were something else entirely when I changed to RECENT_APPS, didn't work on touchwiz.
Click to expand...
Click to collapse
I followed your advice and all i can got was my new brand Doogee x30 (Nougat) being bricked! I restored the Generic.kl and nothing!-All buttons were unresponsive except the touchscreen. I lost all my data and the only solution was to flash the stock rom. Thank you very much!
Hello, this is my first time posting here. I was having some trouble with the touch screen not being responsive enough, sometimes missing my taps. So I installed this mod: http://forum.xda-developers.com/showthread.php?t=2347009&page=3
Not only did it not appear to change anything, after rebooting I found that my menu and back button no longer vibrate like they should (yes vibration is on in settings) and my q-button no longer does anything. And my home key does not turn the screen on now either. This has to be a simple key configuration change but someone please help me fix this issue Oh also I have the at&t version of the phone if that makes a difference.
Edit: I have found more information about this problem. One being that the mod I spoke of only changes the usr folder of the system folder which contains the key mappings gk-keypad-8064.kl file. I tested and trying to change the QuickButton command in the settings no longer affects this key mappings file as I believe it should. So somehow it either can't find the file (even though it's there) or thinks that the file is corrupt. So is there anyone who has the stock gk-keypad-8064.kl file I can use? Or maybe there should be different permission settings other that rw r r? Please let me know as I think this is the main problem here.
xlJohnnyIcelx said:
Hello, this is my first time posting here. I was having some trouble with the touch screen not being responsive enough, sometimes missing my taps. So I installed this mod: http://forum.xda-developers.com/showthread.php?t=2347009&page=3
Not only did it not appear to change anything, after rebooting I found that my menu and back button no longer vibrate like they should (yes vibration is on in settings) and my q-button no longer does anything. And my home key does not turn the screen on now either. This has to be a simple key configuration change but someone please help me fix this issue Oh also I have the at&t version of the phone if that makes a difference.
Edit: I have found more information about this problem. One being that the mod I spoke of only changes the usr folder of the system folder which contains the key mappings gk-keypad-8064.kl file. I tested and trying to change the QuickButton command in the settings no longer affects this key mappings file as I believe it should. So somehow it either can't find the file (even though it's there) or thinks that the file is corrupt. So is there anyone who has the stock gk-keypad-8064.kl file I can use? Or maybe there should be different permission settings other that rw r r? Please let me know as I think this is the main problem here.
Click to expand...
Click to collapse
How about you try to flash back to the stock rom using the lg flash tool?
I fixed it with a work around. I used exposed additions to force haptic feedback and also to map the q button key. Hopefully if anyone else has this problem it will help them.