I know I can install XPosed, Wanam, etc. I tried editing the gpio-keys.kl file just like on the S4 and following tutorials, and editing in every which way. Deleting the whole line disables the Home button alltogether which I may have to do and get a soft key Home button. The file affects hardkey input but for some reason we can't change Home button's built in function. Anyone know if there is a way to dig deeper into the system and disable that? I'm comfortable with programming/(de)compiling/etc. So if there is a solution without xposed I want to hear it.
The coding might be different, but use this thread as a starting point
http://forum.xda-developers.com/showthread.php?t=2799050
[Guides & Links] THE GALAXY S5 UNIFIED MODS THREAD
Related
Hi all!
Suddenly today I've noticed something...I never use the BACK hardware key on my diamond. The reason is that this button doesn't seem to make anything different than the HOME button. (of course, I may be wrong! If so, please someone point that difference.) So, the obvious idea came to me: why don't we try to remap this button.
I know that there are apps that do just that (AEBPlus for example) but if you tried these programs you know they use up to 20% of RAM (I'm talking about AEBPlus again). So this is not the best option.
Rather than these 3rd party software, I was thinking to remap the button before the RAM is cocked by means of hard-coding. Sadly for me I do not possess this kind of knowledge so I ask kindly if someone could do this for the community (if it can be done).
I thought that this button could have a similar function as the ALT-TAB but to tell you the truth anything would be better than the original function.
Waiting for your replays...
Or maybe more easier with a registry hack. I am also interested in remapping the back button!
great minds think alike, but not always on the same schedule.
i was just looking into remapping my buttons with something other than AEBplus. i have an HD2, so the built-iin button remapper only gives me control over a long press of the send button; i'm looking into remapping the back button into a short-press "alt+tab" solution and a long-press to open my task manager.
then i searched and found this: forum.xda-developers.com/showpost.php?p=1770782&postcount=1
it's basically noting how you can use shortcut files, renamed and placed in your Windows folder, that remap your buttons. just create a shortcut file and rename it with "long" or "short" button depress followed by an underscore and the documented name of the button, with the standard shortcut ".lnk" filetype, e.g. Long_Send.lnk or Short_Home.lnk. then go into the link properties and set the target to what app you want the button action to open. once built, move the shortcut file to the Windows folder and soft reset the device. et voila.
the only problem is the Back button, specifically. all the other buttons have a single, remappable function when depressed. unfortunately, the Back button is programmed to be "situationally aware" and can perform one of 3 functions based on the situation it's used in. there's an MSDN blog entry here that explains not only the uniqueness of the back button, but how it functions: msdn.microsoft.com/en-us/library/ms912123.aspx
anyways, gonna look into it some more this morning to see how i can remap the sucker with as little resources as possible, if it can be done at all, or how to do it if someone else already has, and in the case of the latter, i'll report back and bump the thread that has the answers.
-oakie
edit: no urls for me yet. fill in your own address bars. :jerkit:
edit 2: AND a 5 minute freeze between posts/edits. at this point, why even bother with registration captchas? or even new registrations at all? sounds like current members and admins would rather turn people off/away than risk a spammer gettin thru. :madjerkit:
Hi,
I've been using CyanogenMod 10.2 on my Nexus 4, but I changed back to Stock Android. But now I'm missing a very useful option: the option to use the volume keys for skipping the Musik when the screen is on and I would like to use it now on Stock Android. The Apps in the Play Store don't work like I want, on one hand they don't work that good and on the other hand they only change the volume control to musik control, but I want to use both (short press for volme up/down, long press for next/previous title) so I thought I could use the ButtonRemapper or Tasker to make this real. But I can't find a function for "long press" in the ButtonRemapper or the possibility to have two things on one button or, in ideally a way to only activate it when the screen is turned off. And in Tasker (I only have the free version now for testing) I can't find a way too, so there would only be the possibility of a script for all I know.
Is there any way to solve my problem?
BTW: I have Android 4.3, rooted. And I need an "step-by-step-walkthrough", especially when I need a script because I don't know anything about scripting, so please have understanding when I need an easy way for that.
Works now with Xposed Framework...
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.
.
Google has already told everyone to stop using hardware menu buttons and to instead use the built-in software ones in the apps.
Unfortunately there's quite a few devices, the Galaxy Note 10.1 2014 included, that still have a menu button.
My goal is to successfully remap that button to a Recents button, and enable the built-in software ones. I'm using Hyperdrive RLS5.1 on my device, but this technique should work with any other ROM too - if it doesn't, there is either a conflict or you might need to change other keylayout files as well.
I fairly easily remapped the key.
You just use a root file explorer like FX to go to "/system/usr/keylayout/Generic.kl" and find the line that looks like "key 139 MENU" and change it to "key 139 APP_SWITCH". Then reboot the device. When you press the button, it will open the task switcher - but there's a nasty caveat. When you do this, the device still has the menu key in it. So if you go into an app like Firefox or Viper4AndroidFX and try and change settings, you can't. The menu button is inaccessible.
But, no fear: the solution is the Xposed Framework, combined with MenuBeGone, which can be found at http://repo.xposed.info/module/ro.epb.menubegone. I've checked the source code and it's completely benign - the key here is that you have to force every app to return "false" when it checks if the device "hasPermanentMenuKey".
It doesn't matter how much remapping you do, the device still technically has a physical menu key. Lil' blighter.
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?