hey ijust downloaded this rom from Gigajoule(return)
i was wondering how i could enable homebutton awake
and also you know when you hold onto the home button you can go to the task manager and remove all? mines isnt there anymore.
can anyone help me get those 2 ? thanks
also whenever i recieve a text message, whenever im on my lockscreen it doesnt show that small bubble to slide to reply? how can i get that back also?
Both those answers are in the thread. Search Home Wake/Awake.
sojuboi69 said:
hey ijust downloaded this rom from Gigajoule(return)
i was wondering how i could enable homebutton awake
and also you know when you hold onto the home button you can go to the task manager and remove all? mines isnt there anymore.
can anyone help me get those 2 ? thanks
Click to expand...
Click to collapse
via root explorer
system/usr/keylayout
scroll down to: sec_keys.kl
locate line: key 172 HOME
after home put "wake"
Crisisx1 said:
via root explorer
system/usr/keylayout
scroll down to: sec_keys.kl
locate line: key 172 HOME
after home put "wake"
Click to expand...
Click to collapse
it kept saying error occured when trying to save the file. it will not be saved
hi,im new here,i just wanna seek some help regarding to my xplay multifunctional key button(the third key beside home button.)its always stock when i wanna use that key.sometimes working and sometimes most of the time not functioning.you need to push it a lot of times until it works again.any idea why its happening in xplays or only just for me?thank for any help
I think you mean the Menu key. Perhaps its broken. If you have root, you can edit the file "/system/usr/keylayout/keypad-zeus.kl" to change the function of each physical buttons. You could for example remap the Search button to Menu.
eksasol said:
I think you mean the Menu key. Perhaps its broken. If you have root, you can edit the file "/system/usr/keylayout/keypad-zeus.kl" to change the function of each physical buttons. You could for example remap the Search button to Menu.
Click to expand...
Click to collapse
thanks buddy i have a root but problem is i dont know how to remap each button.im noob and only basic knowledge iknow regarding that.can you help me how to do that step by step.i check system/usr/keylayout/keypad-zeus.kl using es file xplorer.i dont know what to type and to do.a big help from you is much appreciated.
please i need help.now my home bu
tton stuck also when i try to tap on it.but when my play are open i mean the gamepad is visible,the home button works fine and the menu button also working.is this some kind of hardware issues/malfunction?please any help would be appreciate
Sent from my R800i using Tapatalk 2
By malfunctioning you mean your buttons are broken then yes. Of you want to avoid this issue in the future, buy a Nexus.
Enable root permission for ES File Explorer, copy the file to your sdcard, tap and hold on the file and choose Open As -> Text -> Es text editor. Edit the file to remap the button to how you like it. Copy it back to its original location. Tap and hold on the file again and choose Permission. Set the permission to rw-r-r.
Also if you know how to install custom roms, with Slim Bean rom you can enable onscreen button.
Sent from XDA app
eksasol said:
By malfunctioning you mean your buttons are broken then yes. Of you want to avoid this issue in the future, buy a Nexus.
Enable root permission for ES File Explorer, copy the file to your sdcard, tap and hold on the file and choose Open As -> Text -> Es text editor. Edit the file to remap the button to how you like it. Copy it back to its original location. Tap and hold on the file again and choose Permission. Set the permission to rw-r-r.
Also if you know how to install custom roms, with Slim Bean rom you can enable onscreen button.
Sent from XDA app
Click to expand...
Click to collapse
I DO WHAT YOU TUTORIAL.but it seems its the same thing happened.still doesnt workwhen you slide up the play i mean gaming buttons are visible,the home button is working even i used it for CWM.but also the search menu.but when i close the lid,agin it doesnt work.
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.
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.
Hi all, i've jumped from OOS to CM12.1 and CM13 (and cm13 based roms) for some time, but today i wanted to give another shot to OOS 2.2.0 (and wanted to try boeffla's kernel as CM isn't official yet).
And i remembered why i could not stay on OOS after a few seconds... i really hate the hardware keys setup (recents-home-back).
I'm used to have Menu-Home-Back (and recents access from long press home, or press home from nova launcher).
I've been reading and then learning many things in the past few weeks, so i though i should try to edit those keys just like we did on CM, even if before switching to CM i've looked around and didn't find anything working to change these.
So, here it is.
What you need:
Rooted phone and file manager with root access (there are many but i love FX file explorer, and the root add-on is free).
You need to go to /system/usr/keylayout
Then make a backup of the Generic.kl file (to make it easier i make an archive of it by long press on the file, then archive, but a simple copy and paste will do).
After that, don't forget to unlock the system partition if needed (tap the little lock and accept to open it on fx file explorer).
Open Generic.kl with file editor.
What you need to know is that left key is key number 139, middle one is number 172 and right one is 158.
Functions that can be affected are: MENU HOME BACK APP_SWITCH VOICE_ASSIST.
But for some obscure reason, MENU acts like APP_SWITCH in oxygen OS, so the trick is to replace MENU with MENU VIRTUAL (this will emulate Menu button from on screen navbar, but you don't need to activate the navbar).
So, if you want for example this layout: Menu-Home-Back
You'll need to edit the Generic.kl and replace the Line
key 139 MENU
with
key 139 MENU VIRTUAL
(key 158 BACK and key 172 HOME don't need to change).
Another interesting point is that if you use xposed installer and Gravity Box LP, you can assign different functions to double press or long press on buttons, but it's working only with on screen navbar buttons... you see where i'm trying to get ?
If you modify the generic.kl file and replace MENU with MENU VIRTUAL and BACK with BACK VIRTUAL... then you'll be able to add custom actions with Gravity Box... like the one I really miss, hold back to kill.
I didn't try to replace HOME with HOME VIRTUAL as i can configure long press and double tap home from oxygen OS, but it may work exactly the same if you want something special from Gravity box.
For exemple, my setup is like that:
Menu-home-back
Menu long press => Switch last app
Home long press => Recent apps
Back long press => Kill foreground app
Double Tap Menu => Google Now
Double Tap Home => Screen off
Double Tap Back => Nothing
To sum up, on the phone, keys are:
key 139 - key 172 - key 158
You can affect different general functions to these, like:
MENU
HOME
BACK
APP_SWITCH
VOICE_ASSIST
and maybe more
You can add VIRTUAL behind the function to emulate the on screen navbar buttons (and it seems required for the menu, as it still calls the recent apps in OOS), and then you can add double tap or long press functions with gravity box.
You don't need to enable the navbar to get them working.
I don't know if i've been clear enough, as i'm not used to this kind of things (i wonder if that's not my first thread on XDA...), but i just hope this will be useful to some of you,
have a great day.
[Edit: Forgot to mention you need to reboot the device when it's done]
Great thread. Will test
Got a bit of an issue... I just experimented with this and it was providing very odd results. So, I copied the backup generic file back to the location... restarted the phone. Now, no buttons do anything. There's no way for me to get home so a restart is the only option I have by forcefully turning off the phone. I'm not sure what to do, the file looks absolutely fine. Any help please? I don't know what to do... I don't want to reflash the rom..
If you restored the original file, at the original place, I don't know why this would not get you back...
Did you try to change the behavior of key in settings?
Envoyé de mon ONE E1003 en utilisant Tapatalk
J0kker said:
If you restored the original file, at the original place, I don't know why this would not get you back...
Did you try to change the behavior of key in settings?
Envoyé de mon ONE E1003 en utilisant Tapatalk
Click to expand...
Click to collapse
Thanks for your help, but unusually it eventually sorted itself out. After 3 reboots the buttons began to work again... weird!
can you change hardware keys to [L-R] Recent Menu Back on CM13 using this method?
sphoenixp said:
can you change hardware keys to [L-R] Recent Menu Back on CM13 using this method?
Click to expand...
Click to collapse
Yes you can, but the file isn't the same, you should edit:
system/usr/keylayout/synaptics-rmi.kl
If you want to swap keys, simply switch the numbers (139 with 158), it's exactly the same as modifying the functions, but easier to type, especially on a phone.
It doesn't work for me. I added virtual at menu and back. Changed gravitybox back long press and double tap to kill foreground app. Single tap of back still not working.
Have i missed out anything? Oss 2.20 here.
J0kker said:
Yes you can, but the file isn't the same, you should edit:
system/usr/keylayout/synaptics-rmi.kl
If you want to swap keys, simply switch the numbers (139 with 158), it's exactly the same as modifying the functions, but easier to type, especially on a phone.
Click to expand...
Click to collapse
Thanks so much it worked.
Saved and rebooted the phone
Tiongkia said:
It doesn't work for me. I added virtual at menu and back. Changed gravitybox back long press and double tap to kill foreground app. Single tap of back still not working.
Have i missed out anything? Oss 2.20 here.
Click to expand...
Click to collapse
Strange, i'm on OSS 2.2.0-X and it's working perfectly.
Maybe try to activate Master switch under Navigation Bar tweaks in gravity box ?
I'm almost sure this won't help, but you need to write it all in uppercase letters.
J0kker said:
Strange, i'm on OSS 2.2.0-X and it's working perfectly.
Maybe try to activate Master switch under Navigation Bar tweaks in gravity box ?
I'm almost sure this won't help, but you need to write it all in uppercase letters.
Click to expand...
Click to collapse
Its already in caps. Don't work
Also try enabling master switch under navigation bar tweaks. Also don't work.
I just updated to 2.2.0-x too
Tiongkia said:
Its already in caps. Don't work
Also try enabling master switch under navigation bar tweaks. Also don't work.
I just updated to 2.2.0-x too
Click to expand...
Click to collapse
I can try to upload my generic.kl file if you want, just to see if it works for you as it does for me (this way we will know if it's this file related or not).
You should have menu-home-recents.
Rename the file (remove the .txt, i could not join a .kl file, invalid).
Maybe check the permissions too.
Envoyé de mon ONE E1003 en utilisant Tapatalk
J0kker said:
I can try to upload my generic.kl file if you want, just to see if it works for you as it does for me (this way we will know if it's this file related or not).
You should have menu-home-recents.
Rename the file (remove the .txt, i could not join a .kl file, invalid).
Maybe check the permissions too.
Envoyé de mon ONE E1003 en utilisant Tapatalk
Click to expand...
Click to collapse
I appreciate it buddy. But don't work
Tiongkia said:
I appreciate it buddy. But don't work
Click to expand...
Click to collapse
Sorry to ear that, if you ever manage to get it working, let us know (and why/how).
Tiongkia said:
I appreciate it buddy. But don't work
Click to expand...
Click to collapse
You should check if A you have a text editor that supports editing in system partition and B if you have root file explorer that supports writing in system partition (and permissions). I would recommend es file explorer, just for this particular task. Afterwards just delete the file explorer.
The easy way is to delete the file in keylayout and write the file (with es file explorer) from OP couple of posts ago in keylayout direction. Reboot and also enable masterswitch in gravitybox. Voila, this method can't go wrong and works always.
I have es explorer and root browser. I am able to change permission too. Also reboot but no effect.
Anyone else tried?
Tiongkia said:
I have es explorer and root browser. I am able to change permission too. Also reboot but no effect.
Anyone else tried?
Click to expand...
Click to collapse
I tried and it worked perfect. Can you look up what your generic file says under 139 and 158 ?
Tiongkia said:
I have es explorer and root browser. I am able to change permission too. Also reboot but no effect.
Anyone else tried?
Click to expand...
Click to collapse
Just wondering, do you have navbar enabled ?
If it is, try to disable it and reboot... i've never tried with navbar enabled, so who knows !
Tried all. Don't work. I give up. Thanks buddies. Appreciate it
Hi,
Applied without problem, just I can't set double tap action on the Home button.
I don't know why double tap doesn't work just for the home button. No problem with menu or back settings or on long press.
I think that Nova breaks this setup.
My conf :
OOS 2.2X, Xposed 80, Gravity Box 5.3.3, Nova lastest release
Edit : When I revert to the original file, the default setting (Settings > Buttons) Double tap for the Home buton is ignored.