Remapping hardware keys Galaxy on5 - Samsung Galaxy On5 Questions & Answers

Hey, before anything thank you for your time. So I'm coming from the Samsung Galaxy Light and very much prefer the old hard key setup. For instance the recent apps button was the menu button and I simply had to long-press the home button to view recent apps. I wish to revert to these old settings. I have already rooted this device and flashed/installed xposed framework. I figured out how to to edit the key layout file called "Generic.kl" and have already changed the recent apps key to menu, however I cannot figure out how to change long-press home to the recent apps key and have decided to search for help. I wasn't able to find anything on search engines or forums concerning my issue and have resorted to asking for assistance in this forum.
What do I have to do to remap longpress home to recent apps on the Galaxy on5?

http://forum.xda-developers.com/xposed/modules/mod-xposed-additions-t2294274
or maybe this:
https://play.google.com/store/apps/details?id=com.irishin.buttonsremapper&hl=en

es0tericcha0s said:
http://forum.xda-developers.com/xposed/modules/mod-xposed-additions-t2294274
or maybe this:
https://play.google.com/store/apps/details?id=com.irishin.buttonsremapper&hl=en
Click to expand...
Click to collapse
Oh um thanks. But I already tried both of those and neither can do what I want. Is there any help I can get concerning editing the keylayout files?

Related

Menu Remap Mod?

On my Evo LTE running CM10 the recent apps button on short press opens settings and long press opens recent apps. I like this function vs having to have a shortcut on the desktop or getting to it from notifications. On most newer phones/tablets running ICS/JB there are mods that remap this function but I've not seen this anywhere for the Nexus. I"m running stock but rooted and would prefer to stay that way if i can. Does anyone either know how to do it or if there's a mod floating around that i was unable to find using "search"?
I would also love to customize what app is opened when sliding up from the soft keys, if that's related.
Pezo said:
I would also love to customize what app is opened when sliding up from the soft keys, if that's related.
Click to expand...
Click to collapse
No that's not exactly what i'm talking about but i would like to do that as well. If i understand correctly if you hold any of the software key/button (IE back, home, or recent apps) and slide your finger up there is a dotted circle with google search button at the top. If i could place the settings app there that would get me by. As for now when i hit the recent apps button i would prefer that to be the settings button or being able to long press the button to open settings. I think what i want is a limitation of the launcher but who knows. Anyone who does have any idea how to do this please let me know. I did attempt to edit the keys file in system/usr/keylayout by trying to add an extra key for settings but it didn't work.

[Q] is it possible to change key functions?

I was wondering if there is a way to change key functions on note 3, for example: by pressing menu key we can see recent apps instead of menu
I would be thankful if anyone can suggest a solution to do this:good::laugh:
arash2901 said:
I was wondering if there is a way to change key functions on note 3, for example: by pressing menu key we can see recent apps instead of menu
I would be thankful if anyone can suggest a solution to do this:good::laugh:
Click to expand...
Click to collapse
There are actually a couple different ways to do it...
You can used Xposed mod, with either Xposed Additions or MenuBeGone
(I've never used either of these methods...)
or, the way that I do it, manually edit the \system\usr\keylayout\Generic.kl file.
When I do it, I make the following two changes:
Change key 139 from MENU to BACK
Change key 158 from BACK to APP_SWITCH
Then I use button savior to add the menu for those things that need it...
(I'm coming from Nexus devices, so having the keys with back on the left, and app switch on the right is how I'm used to it...)
Ever wondered to use Google search ? Just saying.
Sent from my N9005
carnagecjb said:
There are actually a couple different ways to do it...
You can used Xposed mod, with either Xposed Additions or MenuBeGone
(I've never used either of these methods...)
or, the way that I do it, manually edit the \system\usr\keylayout\Generic.kl file.
When I do it, I make the following two changes:
Change key 139 from MENU to BACK
Change key 158 from BACK to APP_SWITCH
Then I use button savior to add the menu for those things that need it...
(I'm coming from Nexus devices, so having the keys with back on the left, and app switch on the right is how I'm used to it...)
Click to expand...
Click to collapse
thanks
that's helpful (kind of!)
I was able to change function of key like starting camera by pressing menu key, but still don't know how to put recent app instead of menu?
--------------------------------------------
[problem solved,found it]
thanks a million man
big help
arash2901 said:
thanks
that's helpful (kind of!)
I was able to change function of key like starting camera by pressing menu key, but still don't know how to put recent app instead of menu?
Click to expand...
Click to collapse
Quick and easy answer:
Change key 139 from MENU to APP_SWITCH

Keylayout

Hallo, the new Recent Apps button is annoying me. So i tried to rebind the button to menu. This worked. I changed the /system/usr/keylayout/Generic.kl. (Swapped key 254 (APP_SWITCH) and key 127 (MENU). But I don't know how to rebind the APP-SWITCH key to the hold home key, wich brings me to Google Now. Google Now would be nice on hold MENU, but if I hold the changed button S Finder appears.. I don't need it. So could you tell me, how to bind APP-SWITCH to hold HOME, and Google Now to hold MENU please?
The change I made was inspired by this thread: http://forum.xda-developers.com/showthread.php?t=2337229
Thanks, Colin P
You can use the xposed framwork additions module to remap hardware keys. Or any number of other Play store apps will also endeavor to do so for you.
Or you could directly edit the the /system/usr/keylayout files. As you aren't already doing this though, I can only presume that you aren't familiar with the syntax. In which case, xposed will be your best option.
.
I have a question that involves keylayout, since this is a similar thread, I thought I should ask here. I've added on-screen navigation buttons, and want to disable the soft touch keys (I accidentally press them a lot...). I found out through a Note 2 forum that I need to put a # sign in front of keys 158 and 139, but I think it might be different for Galaxy S5. Can someone help me disable the two soft touch keys (back and recent apps keys). Thanks a lot
You should start your own thread, rather than hijack an existing one.
In short, you can either use an app like Xposed to reassign the keys or edit the keylayout files directly. Simply leave the keys in question unassigned. If you find that the keys still light up, that can be disabled in the Settings menu with the touch key duration setting = always off.
.

restore recent/menu button to normal function

Is there any setting or app that makes the menu/recent and home buttons work like most other devices (menu is single tap on left-most button, recent apps are long-hold on home)?
That's really the only issue I have with the stock rom. I've already rooted my device with TWRP so I can easily remove the bloatware myself.
dstarfire said:
Is there any setting or app that makes the menu/recent and home buttons work like most other devices (menu is single tap on left-most button, recent apps are long-hold on home)?
That's really the only issue I have with the stock rom. I've already rooted my device with TWRP so I can easily remove the bloatware myself.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2799050
Fourth mod from the top in the first post
Thank you. That issue was driving me nuts. Unfortunately, the mod for mapping recent apps to long-press home doesn't work (couldn't find the line or anything similar anywhere in that file), so it looks like a custom rom is the only way to get the full functionality I want. D*mn google and their hatred of hardware.

Remap Menu Button

Hello everyone!
I am currently using @Lenny Bard's SuperTouchWiz v5 ROM (https://forum.xda-developers.com/galaxy-s4/i9505-develop/rom-untouched-stock-rom-t3419034) and I'm loving the ROM except for one thing:
The leftmost key (to the left of the home button), once short-pressed launches the switch app, the long-press does the menu function (or settings? w/e). I want to swap the two as I am much used to a short press launching the menu function.
Can anyone help or lead me to somewhere which can help me solve my problem? I've been searching around but alas it seems that I cannot fully find the proper solution.
Except for Xposed, there isn't any way to do it. Except if you're a developer.
Pwnycorn said:
Except for Xposed, there isn't any way to do it. Except if you're a developer.
Click to expand...
Click to collapse
My installed ROM comes with Magisk manager, any way to make a workaround with it?
postnobil said:
My installed ROM comes with Magisk manager, any way to make a workaround with it?
Click to expand...
Click to collapse
Unless there is a Magisk module that allows you to do it, then no.
Well here's what I did which turned the soft press to menu and long press to google search (altho what I wanted was for it to become app switcher but the long press on home button does that already so I guess it's fine )
On system/usr/keylayout/Generic.kl
I replaced Key 139 APP_SWITCH to MENU
and Key 217 to APP_SWITCH

Categories

Resources