[Q] Can anybody tell me how to remap the menu button that it will work like on the Galaxy S5? Menu button will open the App manager (like long press the home button on our s4)
Pet1981 said:
[Q] Can anybody tell me how to remap the menu button that it will work like on the Galaxy S5? Menu button will open the App manager (like long press the home button on our s4)
Click to expand...
Click to collapse
Write an xposed module to hook into the intercept before queuing method then start a runnable on the key down event then on key up event remove the runnable. Or do the same thing but using smali.
elesbb said:
Write an xposed module to hook into the intercept before queuing method then start a runnable on the key down event then on key up event remove the runnable. Or do the same thing but using smali.
Click to expand...
Click to collapse
Thx I'll try
Pet1981 said:
[Q] Can anybody tell me how to remap the menu button that it will work like on the Galaxy S5? Menu button will open the App manager (like long press the home button on our s4)
Click to expand...
Click to collapse
Or you can remap the buttons
You need root for this - system > usr > key layout > generic.kl
Replace "Key 139 Menu" to "key 139 APP_SWITCH WAKE_DROPPED"
ExjeetzZ said:
Or you can remap the buttons
You need root for this - system > usr > key layout > generic.kl
Replace "Key 139 Menu" to "key 139 APP_SWITCH WAKE_DROPPED"
Click to expand...
Click to collapse
Thx! Works great!
Pet1981 said:
Thx! Works great!
Click to expand...
Click to collapse
Why don't you try this? http://forum.xda-developers.com/showthread.php?t=2490029
ExjeetzZ said:
Or you can remap the buttons
You need root for this - system > usr > key layout > generic.kl
Replace "Key 139 Menu" to "key 139 APP_SWITCH WAKE_DROPPED"
Click to expand...
Click to collapse
It work. Good job
Related
anyone know how to change "long press end button" waitting time?
example:from 4sec to 2sec
tq
kphang said:
anyone know how to change "long press end button" waitting time?
example:from 4sec to 2sec
tq
Click to expand...
Click to collapse
I've used advancedconfig to link EndKey (found in windows directory) to link to the left soft key. So one click, and it locks instantly.
Copy App *.exe do you want to select EndKey, past in SD and change name to Endkey.exe, copy overwrite the windows folder.
Hi,
Just had navbar (with soft key) editing build.prop but I can't disable hardkey even by editing /system/usr/keylayout/Generic.kl
Did someone found a way ?
Thanks
You would need for someone to develop a custom kernel to disable that. Atleast thats how it is on the galaxy tab s
OK I solve that. You need to disable key number 158 and key number 254 in /system/usr/keylayout/Generic.kl file.
Hey guys, I need a tiny bit of help. I'm running Exodus ROM, which is my favorite. Only issue is it doesn't have the option to swap the back and recent apps button. I'm left-handed so I have to have that switched. When I had my OnePlus One I was able to switch the buttons by editing the corresponding system files. So I'm trying to do the same for my OnePlus 2, but need confirmation on which files to swap.
Here's where I'm at so far.
Using ES File Explorer I've navigated to:
system --> usr --> keylayout
then opened --> Generic.kl (in text editor)
From there I see that --> key 139 is the menu and --> key 158 is the back button. So I believe those are the two that I need to swap. Can someone confirm this? As on the Oneplus One it was slighty labeled differently.
Edit----------------
Okay I tried swapping 139 and 158 and those weren't it. So I need help identifying which to swap. Thanks
Edit --------------
Nevermind. I used the option to change short press action. For any other left-handers that may stumble on this thread if you're using Exodus ROM navigate to:
Menu --> Hardware --> Action Rebinding --> Back --> Single Press Action --> and change to "Recent Apps"
Then click on App Switch --> single press and action change to "Navigate Back"
ImHavenHart said:
Hey guys, I need a tiny bit of help. I'm running Exodus ROM, which is my favorite. Only issue is it doesn't have the option to swap the back and recent apps button. I'm left-handed so I have to have that switched. When I had my OnePlus One I was able to switch the buttons by editing the corresponding system files. So I'm trying to do the same for my OnePlus 2, but need confirmation on which files to swap.
Here's where I'm at so far.
Using ES File Explorer I've navigated to:
system --> usr --> keylayout
then opened --> Generic.kl (in text editor)
From there I see that --> key 139 is the menu and --> key 158 is the back button. So I believe those are the two that I need to swap. Can someone confirm this? As on the Oneplus One it was slighty labeled differently.
Edit----------------
Okay I tried swapping 139 and 158 and those weren't it. So I need help identifying which to swap. Thanks
Edit --------------
Nevermind. I used the option to change short press action. For any other left-handers that may stumble on this thread if you're using Exodus ROM navigate to:
Menu --> Hardware --> Action Rebinding --> Back --> Single Press Action --> and change to "Recent Apps"
Then click on App Switch --> single press and action change to "Navigate Back"
Click to expand...
Click to collapse
Not in Generic.kl but in Syanptics.kl
Also reboot after changing.
Hello Guys, this Guide is for those who are on AOSP 5.1.1 Rom (May work on other ROMs) and want complete stock experience with On-Screen Navigation Bar for your Redmi Note 3 pro SnapDragon!
REQUIRMENTS:
1) Any Root File Manager (Here ES file explorer)
CAUTION: Editing system files is harmful, do it at your own risk.
GUIDE:
STEP 1 - Enabling Software keys
1.Open ES File Explorer, tap the menu icon from top left corner and expand Tools. In tools, enable the ‘Root Explorer’ option and grand full root access to ES explorer when prompted.
2.In ES explorer, open the Device (/) directory from Menu > Local > Device. Go to system folder and open the build.prop file with ES note editor.
3. Edit the file by selecting the edit option from top right corner. Then scroll down to the bottom and add the line qemu.hw.mainkeys=0
4. Go back and select ‘Yes’ to save the build.prop file.
5.Reboot the phone.
NOTE: If you see the on-screen keys only then proceed to next step!
STEP 2 - Disabling Hardware Keys
1) Open ES file explorer, go to Device > system > usr > keylayout directory. Open the file “ft5x06_ts.kl”, open it as Text and then select ES note editor. Edit the file and simply add the # prefix in front of the word key for all 4 keys.
In the end of that file there will be following four lines:
key 158 BACK
key 139 MENU
key 172 HOME
key 217 SEARCH
Add a '#' before each line so it would look like this:
#key 158 BACK
#key 139 MENU
#key 172 HOME
#key 217 SEARCH
2) Go back, Save file and Reboot.
3) Hardware Keys should now be disabled.
STEP 3 - Disabling capacitive key lights.
1)Download Capacitive Buttons app from Play Store.
2)Open it and grant root access.
3)Select the first option i.e no brightness.
4)Reboot.
All Done!
Dear tested on rmn3pro global stable 7.3.6 and it is working.
It worked for me
thank you
Its not working on redmi note 3 pro miui9.2. Please help.
anx.srv said:
Its not working on redmi note 3 pro miui9.2. Please help.
Click to expand...
Click to collapse
Same here. Does not work with MIUI 9.5
Not working in my stock rom.
I've tried this in custom rom.its worked.But in my Samsung j7 2015 stock rom, its not working.Is there any other method to enable on screen navigation bar?
Please Help!
I find the capacitive buttons hard to use so after a bit of trial and error i found a way to enable software keys and disable the capacitive buttons.
To enable software keys :-
With root file editor, edit the build.prop and add the following to the very bottom
qemu.hw.mainkeys=0
Reboot and the soft keys should now now be showing! They auto-hide as well when required.
WARNING: If you install a ROM update that changes the build prop it will disable the softkeys.
You can usually still navigate to edit the build prop again and then save and reboot though.
To disable capacitative buttons
Use root file explorer and navigate to /system/usr/keylayout
edit the mtk-tpd file and put a # in front of the lines for home, back, menu, app switch
e.g
# key 172 HOME VIRTUAL
# key 139 MENU VIRTUAL
# key 158 BACK VIRTUAL
# key 580 APP_SWITCH VIRTUAL
Reboot and the capacitive buttons no longer work!
tested working on Androium rom so far
f1ux said:
I find the capacitive buttons hard to use so after a bit of trial and error i found a way to enable software keys and disable the capacitive buttons.
To enable software keys :-
With root file editor, edit the build.prop and add the following to the very bottom
qemu.hw.mainkeys=0
Reboot and the soft keys should now now be showing! They auto-hide as well when required.
WARNING: If you install a ROM update that changes the build prop it will disable the softkeys.
You can usually still navigate to edit the build prop again and then save and reboot though.
To disable capacitative buttons
Use root file explorer and navigate to /system/usr/keylayout
edit the mtk-tpd file and put a # in front of the lines for home, back, menu, app switch
e.g
# key 172 HOME VIRTUAL
# key 139 MENU VIRTUAL
# key 158 BACK VIRTUAL
# key 580 APP_SWITCH VIRTUAL
Reboot and the capacitive buttons no longer work!
tested working on Androium rom so far
Click to expand...
Click to collapse
thanks for the tip.
please i want to know if it is possible to change the arrangement of the soft keys, possible switch the back soft key and the recent task soft keys
becleanstayclean said:
thanks for the tip.
please i want to know if it is possible to change the arrangement of the soft keys, possible switch the back soft key and the recent task soft keys
Click to expand...
Click to collapse
I haven't found a way, but I haven't looked either so far.
A quick Google says xposed can modify the nav bar