how to enable MENU button? - One (M7) Q&A, Help & Troubleshooting

im trying to modify the system.apk from the latest OTA (1.29.XXXX.17) to reanble the MENU button as ling press in back button
i tryed but no success what are the file/lines to edit?
any helps?

Related

Right Menu Remove

Hi!
i tried to remove the software right menu but after i deleted every file form the software, i still have the text "Right Menu" on the right button. when i push the button the mobile says that the link to the software is missing.
the programm was installed on my storage card and i removed everything i could find.
how can i change the value from the right button? or do you know which file right menu creates, that i could remove it?
thanx a lot!
schneidl
In the registry HKCU\Software\Microsoft\Home\Keys\113 delete all values or customize it
thanks! solved my problem!
DEATH
Thank you so much! I was about to make a hard reset cause Right Menu had taken over my left soft key, + you thaught me how to change my soft keys. THANKS!

Tips - use G button as camera button / lock screen (change key binding)

I found it in a chinese forum (bbs.gfan.com/android-2014369-1-1.html)
I'm sure most people found the G button useless, so it would be nice to change that. The following is my experience with it:
The position of the G button make it perfectly useful as lock/unlock button, you can use it to shutdown as well, but cannot use it to switch on the phone, I guess it is electrically hardwired to the power button at the top.
Not too bad for camera, long press it will launch the camera app, but it don't have 2 levels so press it once and it will start auto-focus and take picture immediately, similar to touch and release shutter button in camera app, which mean you can't "dis-engage" a failed focus attempt.
here is the method:
1. make sure you have root and r/w to system partition
2. the file in question is "TWL4030_Keypad.kl", it's in /system/usr/keylayout/
3. before making any changes, copy the file to SDcard as a backup
4. open the file with any text editor, scroll down to 3rd line from the bottom, it should be "key 95 GESTURE"
5. if you want to use it as camera button, change it to "key 95 CAMERA WAKE_DROPPED"
if you want to use it as power/lock button, change it to "key 95 POWER WAKE_DROPPED"
6. save the changes, reboot to see the changes.
Very good.
In fact, I may even use this on nova.
the method is work.
after edit file it create backup file which is name "TWL4030_Keypad.kl.bak"
It works! Great!
worked perfectly thx!
thank u..
this work
hey, i was followed this method but my Optimus Black can't use it .. when i push my Gesture it can't go to camera .. somebody help me ??
My phone still on Original ROM.
After modify to Power/Lock mode, it's work.
but into Shutter mode, doesn't work.
Any idea?
SnoopyZ
digezter said:
hey, i was followed this method but my Optimus Black can't use it .. when i push my Gesture it can't go to camera .. somebody help me ??
Click to expand...
Click to collapse
did u reboot after making the changes?
digezter said:
hey, i was followed this method but my Optimus Black can't use it .. when i push my Gesture it can't go to camera .. somebody help me ??
Click to expand...
Click to collapse
notice you need to long press to start the Camera App. (you should feel the phone vibrate)
or just start the camera app, then press the G button to take a picture to see if it works.
It should be a pretty straight forward modification.
Could it be
"key 95 RECOVERY WAKE_DROPPED" ???
wow, very nice
Very nice. Thanks.
To all who could not manage get it to work: You must take care of file attributes after modyfing the file content ( otherwise it won't work ). It must be CHMOD 644.
( I use SD Maid for this )
It doesn't work for me, i am using pays ROM. Can someone upload the file? Thank u!
Enviado desde mi LG-P970 usando Tapatalk
"key 95 HEADSETHOOK WAKE"
to use headset button
I tried modifying the file and saving it ... but the it always comes up as an error and doesn't allow me to save it... any solutions???
you need to have your phone "root" AND mount system partition as read and write
fjsw said:
you need to have your phone "root" AND mount system partition as read and write
Click to expand...
Click to collapse
Hey my phone is rooted, how do I mount system partition a read and write ? Sorry I'm a noob
if you use ES File Explorer, goto setting, select 2 checkboxs "Root Explorer" and "Mount File System"
if you use root explorer, change directory to /system, then press "Mount R/W" button
yabgo said:
"key 95 HEADSETHOOK WAKE"
to use headset button
Click to expand...
Click to collapse
Sorry to ask but: what is the "headset button" and what is it good for?
Thanks,
Kusie

[Q] Button remaping

anyway i can remap my search button as back button?
No reply! Why ppl why! anyway found the way in dr rush cm 10 v2. Editing one file helped
Hi,
This is for people who are having a problem with keys remapping.
Edit qwerty.kl in system-usr-keylayout
Then change the values as below:
158 BACK
139 MENU
217 SEARCH
102 HOME
Check out the link below for an update/patch.
http://forum.xda-developers.com/showpost.php?p=41876923&postcount=18

[Guide How-to] Replace Recents with Menu

This guide is for the Samsung Tab S 8.4 and should work on all variants.
Keylayout edits:
system/usr/keylayout/Generic.kl
Change key 254 from APP_SWITCH to MENU
key 254 MENU
Then reboot the Tab to take effect.
To regain recent apps I use Nova Launcher, Gestures and Buttons and program my second menu key push to recent apps.
As soon as we have a custom recovery I will have a mod to program long press menu to recent apps.
Thanks tdumham for your help.
Enjoy!!!
EMSpilot said:
This guide is for the Samsung Tab S 8.4 and should work on all variants.
Keylayout edits:
system/usr/keylayout/Generic.kl
Change key 254 from APP_SWITCH to MENU
key 254 MENU
To regain recent apps I use Nova Launcher, Gestures and Buttons and program my second menu key push to recent apps.
As soon as we have a custom recovery I will have a mod to program long press menu to recent apps.
Thanks tdumham for your help.
Enjoy!!!
Click to expand...
Click to collapse
confirmed to work with 10.5, had to reboot after edit to take effect.
Thanks!
I noticed with the last firmware update a LONG press on recents will bring up the Menu.
LMT pie apk
Nexus 5 via Tapatalk
Now that there's twrp is there a zip for this yet?
Sorry for reviving an old thread but this helped me immensely and is a much better solution than the stock behavior but does anyone know what can be changed so that I can put the Recents on the Menu key via a long press? Right now long press brings up Search which I have no use for. With the solution above I can access app options like I want to but bring up recents requires a trip back to the Home screen to take advantage of Nova Launcher's gestures.
Thanks in advance for anyone who can assist or point me to a thread with the answer. The search brought me to this thread to begin with.

How to remap hardware button on Ivan lollipop?

Hello, I'm running Ivan lollipop on my phone.. But I wanted the menu button to act as APP_SWITCH button..
I tried to play with the file generic.kl but I'm not expert..
Someone can help me please?
erto90 said:
Hello, I'm running Ivan lollipop on my phone.. But I wanted the menu button to act as APP_SWITCH button..
I tried to play with the file generic.kl but I'm not expert..
Someone can help me please?
Click to expand...
Click to collapse
of course you know that long-pressing it show up recent apps right? you want the recents with single tap only?
moly82 said:
of course you know that long-pressing it show up recent apps right? you want the recents with single tap only?
Click to expand...
Click to collapse
yes, want recents with a single tap!
Do you know how to do?
However i'm italian like oyu, if you got a solution, hit me on hangout ([email protected])
erto90 said:
yes, want recents with a single tap!
Do you know how to do?
However i'm italian like oyu, if you got a solution, hit me on hangout ([email protected])
Click to expand...
Click to collapse
don't know sorry. but maybe @deepesh.tickoo (author of this nice how-to http://forum.xda-developers.com/xiaomi-mi-3/general/guide-how-to-enable-screen-nav-bar-t2968850) could help you? maybe you just need to change somehow the /usr/keylayout/atmel-maxtouch.kl file?
It's a kernel feature. So your out of luck.
Also you might want to post in his thread as that rom is not here
Alternative method:-
Install xposed framework.
soft reboot.
download gravity box module.(KitKat version).
Activate it.
soft reboot.
open gravity box,
goto navigation key actions
remap keys.
Done.
on phone now,
will upload ss later.
Xposed and lollipop... No way
erto90 said:
Hello, I'm running Ivan lollipop on my phone.. But I wanted the menu button to act as APP_SWITCH button..
I tried to play with the file generic.kl but I'm not expert..
Someone can help me please?
Click to expand...
Click to collapse
Hi, try go to system/usr/keylayout and open atmel-maxtouch.kl
From there, rename "key 139 MENU VIRTUAL" to "key 139 APP_SWITCH VIRTUAL"
Then save and reboot. Worked for me.
reddygun2848 said:
Hi, try go to system/usr/keylayout and open atmel-maxtouch.kl
From there, rename "key 139 MENU VIRTUAL" to "key 139 APP_SWITCH VIRTUAL"
Then save and reboot. Worked for me.
Click to expand...
Click to collapse
How can I excess menu...? Is 3 dot menu option appears........
reddygun2848 said:
Hi, try go to system/usr/keylayout and open atmel-maxtouch.kl
From there, rename "key 139 MENU VIRTUAL" to "key 139 APP_SWITCH VIRTUAL"
Then save and reboot. Worked for me.
Click to expand...
Click to collapse
It works but I lost vibration and button backlight..
reddygun2848 said:
Hi, try go to system/usr/keylayout and open atmel-maxtouch.kl
From there, rename "key 139 MENU VIRTUAL" to "key 139 APP_SWITCH VIRTUAL"
Then save and reboot. Worked for me.
Click to expand...
Click to collapse
After doing this 3dot menu option is not showing in Chrome... I am not able to access menu in Chrome... ?

Categories

Resources