Ans for how to remap menu &home key - Galaxy Note II Q&A, Help & Troubleshooting

Tutorial in changing menu key to home key and recent app functionality on long press
Applies for all Samsung galaxy s and note s
1.First install solid explorer v1.4.3a only in this v u can edit system file only in rooted d
2.Then go to system/usr/keylayout/gpio-keys.kl .. In this change key function
Key 172 HOME to > key 172 MENU
3.Then go to system/use/key layout/sec_touchkey.kl...In this change keyfunction
Key 139 MENU to > key 139 HOME
..Then reboot now u find the menu and home key functions are interchanged u can do this in any ROM or in stock ROM
I tried a day and found it thanks

Related

[Q] Power button is dead

Hi!
I `ve got a problem - power button in my ACE2 is down. It`s most likely hardware problem. So that, I want to use the warranty.
But I cannot, due to custom ROM inside.
So that`s where my question come from - how can I install stock ROM on my device? So far, I can`t use ODIN - because I can`t enter DOWNLOAD MODE (no power button = no power menu = no key`s combination)
I see two options:
- an app that go`es to download mode from the interface - any help would do, I cannot find anything in the G.Play
- changing hard keys mapping (f.e. vol up could replace power) - is that possible at all?
I`ve already learned, that hard keys mapping location is in:
/system/usr/keylayout/Generic.kl
and mapping looks like this:
key 142 POWER WAKE
key 143 POWER WAKE
key 152 POWER WAKE
key 115 VOLUME_UP
So what can I do to replace this two keys?
Problem solved:
File changed:
system/usr/keylayout/gpio-keys.kl
Mapping:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 116 POWER WAKE
key 172 HOME WAKE_DROPPED
Replacing VOLUME_UP with POWER works just fine.

[Guide] Disable hard navigation keys (not onscreen buttons)

I have seen a bunch of posts regarding the capacitive buttons and on screen navigation buttons. Love them or hate them, this is how you can turn them off.
I will leave that up to you on how to get onscreen Navy buttons.
As for turning off the capacitive buttons this is how I did it.
1.To eneble onscreen buttons follow this thread http://forum.xda-developers.com/redmi-1s/themes-apps/how-to-onscreen-buttons-redmi-1s-t2950455
2. Download a root file explorer. Root Browser Lite --> http://goo.gl/b9ISW This is what I will use.
3.Load up Root Browser and navigate to system>usr>keylayout. We will be looking for a file called "ft5x06.kl".
4. Select it and hit "Open as..." then "Text file" then "RB Text Editor"
5. Now we see this:
key 139VIRTUAL
key 158 VIRTUAL
key 102 HOME
key 217 SEARCH
All you have to do is option out the keys you don't want to work with a #. So if you are like me and think the home button is fine, it will look like this.
#key 139VIRTUAL
#key 158 VIRTUAL
key 102 HOME
key 217 SEARCH
6. When you have the ones you want optioned out just tap the little disk icon in the top right. It will ask for root rights, grant it, saved.
7. Now just reboot and DONE!
Tested on
1. Redmi 1s(miui, Validus, Pa, mokee,cm11 ROMs)
Sent from my HM 1S using Tapatalk
Hit thanks if this post helped you[emoji106]
Nice guide, works with CM11 too, only the file for editing is different:
/system/usr/keylayout/ft5x06.kl
Don't remember to backup the original file before editing!
philip_petev said:
Nice guide, works with CM11 too, only the file for editing is different:
/system/usr/keylayout/ft5x06.kl
Don't remember to backup the original file before editing!
Click to expand...
Click to collapse
Thanks bro OP updated....:thumbup:
Sent from my HM 1S using Tapatalk
Thanks
It worked awesome on Mokee ROM history version
thanks for useful tips. its a pain operating non backlit capacitive button

menu to app switch and long press menu button remapping?

system/usr/keylayout/generic.kl file
key 139 MENU
replace with: key 139 APP_SWITCH
in this way opens the recent apps menu button. but I want you to open the menu long pressed the menu key. What can I do for it?
I've tried it, the keys did not work:
key 139 APP_SWITCH
key 139 MENU WAKE

How to swap the BACK & MENU button

Device: Xiaomi Redmi3
I have tried to edit the qwerty.kl file in /system/usr/keylayout, swap the two strings BACK and MENU and then restart, but it doesn't work.
PS: not virtual bottons

How to remap Hardware keys in treble roms?

any other options other than Gravitybox?
thanks in advance
[Requires root]
Option A:
Go to system > usr > Keylayout and edit these lines
KEY 139 MENU
KEY 158 BACK
Click to expand...
Click to collapse
swap MENU and BACK numbers:
KEY 158 MENU
KEY 139 BACK
Click to expand...
Click to collapse
Option B:
Go to Vendor > USR > KEYLAYOUT
Select ft5435_ts.kl (or similar name) and edit these lines:
key 158 BACK VIRTUAL
key 139 APP_SWITCH VIRTUAL
key 172 HOME VIRTUAL
key 217 SEARCH VIRTUAL
key 143 WAKEUP
Click to expand...
Click to collapse
swap back and app_switch number:
key 139 BACK VIRTUAL
key 158 APP_SWITCH VIRTUAL
key 172 HOME VIRTUAL
key 217 SEARCH VIRTUAL
key 143 WAKEUP
Click to expand...
Click to collapse
the numbers are an example, they can be different
Button Mapper: https://play.google.com/store/apps/details?id=flar2.homebutton

Categories

Resources