Swap back and recent buttons... - T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting

Goto system/usr/keylayout and then click on generic.kl.
Change: 127 MENU
Change: 139 MENU
Change: 158 APP_SWITCH
Change: 254 BACK
That should have your back key on left side, recents on right and hold recents for menu. Oh and I forgot. Reboot after you make these changes. Otherwise won't work.
And for the record I'm on lunesta and thank god I didn't totally screw it up by writing it down. But I got confused. Can somebody confirm 127, 139, 158 and 254 are back, menu, menu and app_switch in respective order. Thanks.
And I hope y'all enjoy that because I could find it anywhere and took a chance on my own.

Bump. Somebody confirm the default values for me in case i gotta change back. I don't have the generic.kl.bak file.

I just checked those are the right numbers but I'm on firekat rom right now and it says 158 is menu key and 254 is app switch nvm I just answered what you were asking for yes you have the right order I just checked.

How can I put the menu button function on left side instead of recents? Anyone know?

Thanks!

raw2000j said:
How can I put the menu button function on left side instead of recents? Anyone know?
Click to expand...
Click to collapse
Not sure since I am confused about why two menu buttons.

I mean i dont want to press 2 times for menu function I rather have it like before I press left key once and menu comes up

Confused
So I have to open it with TEXT EDITOR and put in "Swap" before the numbers just like that??
@rbiter said:
Goto system/usr/keylayout and then click on generic.kl.
Swap 127 MENU
Swap 139 MENU
Swap 158 APP_SWITCH
SWAP 254 BACK
That should have your back key on left side, recents on right and hold recents for menu. Oh and I forgot. Reboot after you make these changes. Otherwise won't work.
And for the record I'm on lunesta and thank god I didn't totally screw it up by writing it down. But I got confused. Can somebody confirm 127, 139, 158 and 254 are back, menu, menu and app_switch in respective order. Thanks.
And I hope y'all enjoy that because I could find it anywhere and took a chance on my own.
Click to expand...
Click to collapse

AFourg said:
So I have to open it with TEXT EDITOR and put in "Swap" before the numbers just like that??
Click to expand...
Click to collapse
No don't put the word "swap"

AFourg said:
So I have to open it with TEXT EDITOR and put in "Swap" before the numbers just like that??
Click to expand...
Click to collapse
There. Fixed it. Didn't think about noobs. Just change the command at the line number to what I posted.

I did that and to no avail. Nothing happened.
I changed the command line on APP_SWITCH and BACK because the first two "MENU" looked just like you posted so no change there, and nothing happened after reboot.
chrispyutec said:
No don't put the word "swap"
Click to expand...
Click to collapse

AFourg said:
I did that and to no avail. Nothing happened.
I changed the command line on APP_SWITCH and BACK because the first two "MENU" looked just like you posted so no change there, and nothing happened after reboot.
Click to expand...
Click to collapse
You did something wrong. Make sure you back space delete the letters and add what needs to be there. For app switch make sure underscore is there. Make sure to save. Then reboot. This is an easy mod.

I'll try again. Thanks for your help.
(even though I did exactly as I reread it but than again I might not have backspaced when I saved/rebooted)

@rbiter said:
Goto system/usr/keylayout and then click on generic.kl.
Change: 127 MENU
Change: 139 MENU
Change: 158 APP_SWITCH
Change: 254 BACK
That should have your back key on left side, recents on right and hold recents for menu. Oh and I forgot. Reboot after you make these changes. Otherwise won't work.
And for the record I'm on lunesta and thank god I didn't totally screw it up by writing it down. But I got confused. Can somebody confirm 127, 139, 158 and 254 are back, menu, menu and app_switch in respective order. Thanks.
And I hope y'all enjoy that because I could find it anywhere and took a chance on my own.
Click to expand...
Click to collapse
No. NOT REALLLLLLLAAAAYYYYYYY

re: reassign hardware keys
@rbiter said:
Goto system/usr/keylayout and then click on generic.kl.
Change: 127 MENU
Change: 139 MENU
Change: 158 APP_SWITCH
Change: 254 BACK
That should have your back key on left side, recents on right and hold recents for menu. Oh and I forgot. Reboot after you make these changes. Otherwise won't work.
And for the record I'm on lunesta and thank god I didn't totally screw it up by writing it down. But I got confused. Can somebody confirm 127, 139, 158 and 254 are back, menu, menu and app_switch in respective order. Thanks.
And I hope y'all enjoy that because I could find it anywhere and took a chance on my own.
Click to expand...
Click to collapse
Instead of messing around with files in your phone why not simply
download/install Graviitybox (xposed module) it has the exact
feature you are looking for, reassign hardware keys.
Here is a direct download link for Gravitybox:
https://www.dropbox.com/s/yvjx0ycpnuqz3tu/GravityBox.apk?dl=0
Be sure to install xposed framework first, here is a direct download link
for xposed framework:
https://dl.dropboxusercontent.com/u/45687485/Xposed.Frameworks.installer_v32.apk
Good luck!

Misterjunky said:
Instead of messing around with files in your phone why not simply
download/install Graviitybox (xposed module) it has the exact
feature you are looking for, reassign hardware keys.
Here is a direct download link for Gravitybox:
https://www.dropbox.com/s/yvjx0ycpnuqz3tu/GravityBox.apk?dl=0
Be sure to install xposed framework first, here is a direct download link
for xposed framework:
https://dl.dropboxusercontent.com/u/45687485/Xposed.Frameworks.installer_v32.apk
Good luck!
Click to expand...
Click to collapse
Gravity box is mainly for aosp roms. Touchwiz is far from it. I am quite sure some features work fine. I am also quite sure gravity box does this little write up automatically should you select it. I just put it out there for those that like to tinker.

@rbiter said:
Gravity box is mainly for aosp roms. Touchwiz is far from it. I am quite sure some features work fine. I am also quite sure gravity box does this little write up automatically should you select it. I just put it out there for those that like to tinker.
Click to expand...
Click to collapse
There are two different versions of gravitybox, one is for
aosp and the other is specifically for android 4.4 kitkat.
Here is the gravitybox for kitkat 4.4 v3.4.9 download link:
http://tinyurl.com/k9vgrla
Check it out!
Good luck!

Misterjunky said:
There are two different versions of gravitybox, one is for
aosp and the other is specifically for android 4.4 kitkat.
Here is the gravitybox for kitkat 4.4 v3.4.9 download link:
http://tinyurl.com/k9vgrla
Check it out!
Good luck!
Click to expand...
Click to collapse
One is for Jellybean (4.3.x)
One is for Kitkat (4.4.x)
Both are targeted for AOSP, but some tweaks work fine on non-AOSP roms.

whittikins said:
One is for Jellybean (4.3.x)
One is for Kitkat (4.4.x)
Both are targeted for AOSP, but some tweaks work fine on non-AOSP roms.
Click to expand...
Click to collapse
I left Wanam exposed for gravity box on my note 3...and still have it on their it's the best....gravity box has many more things that wanam dosent....it's all hidden in menus instead of layered out like wanam has his.
---------- Post added at 11:52 AM ---------- Previous post was at 11:52 AM ----------
Of course not all will work...but most of it.

Want to leave my buttons the same just want my recents to be menu when pressed and long press for recents. Don't really see anything definite in here.
Sent from my SM-N910T using Tapatalk

Related

[MOD] Remap search softkey to camera

I TAKE NO CREDIT FOR THIS LITTLE HACK, THIS WAS DONE FOLLOWING THE INSTRUCTIONS FROM THIS SITE.
ALL CREDIT GOES TO Decad3nce for making this as easy as 1,2,3.
---------------------------------------------------------------------------------------------------------------------------
THIS SHOULD WORK ON ANY 2.2 ROM. I DON'T KNOW ABOUT 2.1.​--------------------------------------------------------------------------------------------------------------------------------------------------------------
***INSTRUCTIONS***​
1) Download the file HERE
2) put the "incrediblec-keypad.kl" file you just downloaded into the TOOLS folder of your Android-SDK folder.
3) run this:
Code:
adb remount
adb push incrediblec-keypad.kl /system/usr/keylayout
4) Reboot your phone, and then long press the search key to check it out!
-------------------------------------------------------------------------------------------------------------------------------------
UPDATE​
Big Thanks to Touchpro247 over on at for putting together a .zip to flash via recovery!
"Just install via recovery.
or
Un-install via recovery."
no way! i requested this exact feature a while ago on android forums but seemed nobody was interested. so i gave up, haha. so stoked to see this, at work right now, but i am def gonna install this when i get home. thank you!
Awesome find! I like to use my voice search for the search button so I instead mapped camera to the long press menu button.
Is there a way to get this working with optical pad?
Didn't think the whole menu button thing to thoroughly. Going back to Search button.
Thanks a bunch for the support guys!
I'm not too sure about the optical trackpad sorry man!
Would people be able to use Root Explorer to copy the file into designated location? I renamed the original file, just to be safe and copied the new one...then rebooted and it disabled all the soft keys...so I am back to the original for now.
Here's an update.zip for it.
Just install via recovery.
or
Un-install via recovery.
Thanks for posting!
touchpro247 said:
Here's an update.zip for it just install via recovery.
Thanks for posting!
Click to expand...
Click to collapse
Awesome touchpro...
Reason, I did it that way was I wanted to keep the original for backup. I will try update.zip. Thanks!
Tats_06 aka olta777
touchpro247 said:
Here's an update.zip for it just install via recovery.
Thanks for posting!
Click to expand...
Click to collapse
Your welcome man, thanks for posting this, I tried and tried to do this and couldn't get it. I appreciate it. updating OP.
op, thanks for posting
When I edited the the incrediblec-keypad.kl file to use a long press of the Menu button, the short press of the Menu button stopped working. So, no more menu access.
What am I doing wrong? Thanks.
Code:
key 107 ENDCALL WAKE_DROPPED
key 116 POWER WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 217 SEARCH WAKE_DROPPED
key 158 BACK WAKE_DROPPED
key 139 CAMERA WAKE_DROPPED
key 102 HOME WAKE_DROPPED
So, would replacing the key ID with the ID of the optical trackpad button work?
Good questions guys I wish I could be of some help but I don't know much about this stuff
WOW, this works perfectly! Thanks for posting...I always hated the search button anyway.
INTREPID-NY said:
When I edited the the incrediblec-keypad.kl file to use a long press of the Menu button, the short press of the Menu button stopped working. So, no more menu access.
What am I doing wrong? Thanks.
Code:
key 107 ENDCALL WAKE_DROPPED
key 116 POWER WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 217 SEARCH WAKE_DROPPED
key 158 BACK WAKE_DROPPED
key 139 CAMERA WAKE_DROPPED
key 102 HOME WAKE_DROPPED
Click to expand...
Click to collapse
Curious, did you edit it in a "unix" editor? If you used something like notepad to change it and save it, it would be saved in the DOS format. I wonder if using something like Textpad to open and save it in UNIX text format would make it work...
I used ultraedit - it may have saved it in DOS format. I'll give it another try and make sure it saves as Unix.
Is there a way to make the the search function still work on a short press? When I short press my search button it does nothing but when I long press it brings up the camera...any fix would be great thanks!
AisforAustin said:
Is there a way to make the the search function still work on a short press? When I short press my search button it does nothing but when I long press it brings up the camera...any fix would be great thanks!
Click to expand...
Click to collapse
if you do that, it may wanna bring up the search menu while you are taking a picture with this button (when camera app is open).
Farenhe1t said:
WOW, this works perfectly! Thanks for posting...I always hated the search button anyway.
Click to expand...
Click to collapse
yes , I think so.
Can anyone point me in the right direction of a droid incredible keymap? It doesn't seem that pressing the optical track pad button is mapped to anything easily recognizable in the qwerty.kl file, so I'm not sure how to find the button's ID. I looked in the optical trackpad wake thread, but the only difference I could see between that file and the one on my phone is that key 232 was changed from WAKE to WAKE_DROPPED, which I imagine wouldn't change whether the key could wake from sleep or not. I tried using the zip in this thread modified to sub in key 232 (dpad center, seems like maybe thats opti trackpad press) but it did not launch the camera as expected.
As far as I'm concerned, the ideal button mapping would be pressing the opti track pad to launch the camera app, and swiping any direction on the opti track pad to take a picture from within the camera app. First step is to get that button to launch the app, which is preferable to rebinding search, since the opti button isn't used for anything anyways.
Any help would be greatly appreciated.
im currently trying to remap the short press on my milestone to act as the long press (so i can set it to open quick settings on short press) and then the long press can be set to the search. could anyone point me in the right direction? i know how to remap keys but im having trouble changing the short and long press for my search key.

Is it possible to replace the menu button with the ICS Task Manager/Multitasker?

Is it possible to replace the menu button with the ICS Task Manager/Multitasker? like in the galaxy Nexus? I think even the icon looks similar in a way to a list of apps. This would be useful especially since ICS deals with this perfectly by showing a menu button when it doesn't detect it as a hardware button.
What do you guys think about this idea?
Why not just hold the home button to bring up recent apps..
Sent from my GT-N7000 using xda premium
joshnichols189 said:
Why not just hold the home button to bring up recent apps..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
pachi72 said:
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
Click to expand...
Click to collapse
Agree. Home buttons degrade and break.
pachi72 said:
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
Click to expand...
Click to collapse
VTEChump said:
Agree. Home buttons degrade and break.
Click to expand...
Click to collapse
Yep, and because given the choice, I'm sure most will opt to use it this way. the menu button is getting deprecated as a hardware button and being implemented more and more inside applications.
Hopefully some more ICS ROM devs will see this and review this suggestion. I would love to know what they have to say about it.
I wouldnt mind a widget to do it either. That shouldnt be to hard to do.
moyajaya said:
Is it possible to replace the menu button with the ICS Task Manager/Multitasker? like in the galaxy Nexus? I think even the icon looks similar in a way to a list of apps. This would be useful especially since ICS deals with this perfectly by showing a menu button when it doesn't detect it as a hardware button.
What do you guys think about this idea?
Click to expand...
Click to collapse
+1.
Regards.
This was the first thing I wanted to do after installing ICS. The capacative buttons are mapped in /system/usr/keylayout/melfas-touchkey.kl;
Code:
key 158 BACK WAKE
key 139 MENU WAKE
I'm just not sure what to replace 'MENU' with. 'TASK'?
Hate to double post but I thought I'd share what I've discovered.
I tried replacing 'MENU' with 'APP_SWITCH' in melfas-touchkey.kl and sec_touchkey.kl and got the menu button to act just like the recents button, however there was then no way to access the menu
I had a brief look at the android source code and it looks like the value that decides to show the action overflow button in the toolbar is set depending whether the on screen buttons are being used. Not at all sure about that though and I've seen the new HTC one phones have a hardware recents button replacing the menu so it can't be impossible.
bootlessjam said:
Hate to double post but I thought I'd share what I've discovered.
I tried replacing 'MENU' with 'APP_SWITCH' in melfas-touchkey.kl and sec_touchkey.kl and got the menu button to act just like the recents button, however there was then no way to access the menu
I had a brief look at the android source code and it looks like the value that decides to show the action overflow button in the toolbar is set depending whether the on screen buttons are being used. Not at all sure about that though and I've seen the new HTC one phones have a hardware recents button replacing the menu so it can't be impossible.
Click to expand...
Click to collapse
Thank you for trying this and letting us know about the results. I was thinking if all fails maybe the search option that appears when you click and hold the menu button could be replaced with the menu?
Clicking the Old menu button = New app switcher
Holding the old menu button = Menu
how about that? I think most apps include a search icon if/when they include search functionality.
Had a brainwave today and got it 90% there. I decompiled framework-res.apk and enabled the navigation bar AND resized it to 0. This means the action overflow button shows up in apps without the galaxy nexus-like software keys getting in the way. I then remapped the menu key and it is working like a charm
Of course then there is the little issue of bringing up the menu when using a pre honeycomb app. The simplest solution for me was to use the pen's button+swipe up gesture. This isn't ideal and doesn't even work for people using CM9 or stock ICS.
Here is the modified framework-res for the Team Rocket ROM v1.5:
dl.dropbox dot com/u/2340506/navbarhidden.zip
These forums don't trust me with links
Install with CWM recovery. Don't use it on any other ROM! I can't even guarantee it'll work on every team rocket rom. I'm too lazy to load every ICS ROM but if you post your framework-res.apk I can edit it for you.
After you can remap the hardware keys in /system/usr/keylayout/melfas-touchkey.kl and /system/usr/keylayout/sec_touchkey.kl like I mentioned earlier with Root Explorer or ES File Explorer. I have it set up to mimic the HTC one phones and the galaxy nexus's layout, since I keep the key lights off.
Hopefully this is useful to people. A better way to access the menu on old apps should be easier to do once people start tinkering with the HTC one phones.
bootlessjam said:
Had a brainwave today and got it 90% there. I decompiled framework-res.apk and enabled the navigation bar AND resized it to 0. This means the action overflow button shows up in apps without the galaxy nexus-like software keys getting in the way. I then remapped the menu key and it is working like a charm
Of course then there is the little issue of bringing up the menu when using a pre honeycomb app. The simplest solution for me was to use the pen's button+swipe up gesture. This isn't ideal and doesn't even work for people using CM9 or stock ICS.
Here is the modified framework-res for the Team Rocket ROM v1.5:
dl.dropbox dot com/u/2340506/navbarhidden.zip
These forums don't trust me with links
Install with CWM recovery. Don't use it on any other ROM! I can't even guarantee it'll work on every team rocket rom. I'm too lazy to load every ICS ROM but if you post your framework-res.apk I can edit it for you.
After you can remap the hardware keys in /system/usr/keylayout/melfas-touchkey.kl and /system/usr/keylayout/sec_touchkey.kl like I mentioned earlier with Root Explorer or ES File Explorer. I have it set up to mimic the HTC one phones and the galaxy nexus's layout, since I keep the key lights off.
Hopefully this is useful to people. A better way to access the menu on old apps should be easier to do once people start tinkering with the HTC one phones.
Click to expand...
Click to collapse
Great finds! Thumbs up!
Thank you for your efforts!
I would love to try those but I moved back to Gingerbread for the time being. ICS in the note is far from being a daily driver for me. A lots of bugs and battery drains compared to Gingerbread. Hopefully this will change quickly. I trust the dev community and i'm sure they'll beat samsung in having stable ICS releases...
Back to ICS. Using ICS Stunner 4.3 ROM with the new LP5 kernel and modem. This setup is simply stunning. Best ROM I've tried so far.
Back to subject, how can the process go for AOSP ROMs? Like this one I'm using...
Anyone found any other way around this? Thanks !
Sent from my GT-N7000 using Tapatalk 2 Beta-5
moyajaya said:
Back to ICS. Using ICS Stunner 4.3 ROM with the new LP5 kernel and modem. This setup is simply stunning. Best ROM I've tried so far.
Back to subject, how can the process go for AOSP ROMs? Like this one I'm using...
Anyone found any other way around this? Thanks !
Sent from my GT-N7000 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1450138
I looked into doing the same thing as you did only because I love the tablet layout and holding the home button doesn't bring it up.
In order to get what you and a few others would want on select roms, the source for the framework would have to be adjusted as said in the thread, meaning each dev would have to implement this independently.
The second thing is alread mentioned in this thread, which is changing the key layout.
You can hope that the dev has no issues with inserting it into their build.
NOT changing the source but editing the key layout will only bring up the a Gingerbread styled task switcher. I've tried ;_;
I personally might I add, would just love the same hold the home button functionality while in tablet mode.
evilisto said:
1) change source code related to APP_SWITCH keycode.
platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
from :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0) {
showOrHideRecentAppsDialog(RECENT_APPS_BEHAVIOR_SHOW_OR_DISMISS);
}
return -1;
}
to :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0 && !keyguardOn) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}
2) edit your keylayout files..
/system/usr/keylayout/
for example, if you want to use search key to recent apps on nexus s...
cypress-touchkey.kl
Code:
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
key 217 APP_SWITCH VIRTUAL
and mxt224_ts_input.kl (it would be better to edit both files..)
Code:
key 158 BACK WAKE
key 139 MENU WAKE
key 217 APP_SWITCH WAKE
key 102 HOME WAKE
Click to expand...
Click to collapse

How do I disable Capacitive Buttons and Add on screen "buttons"?

How do I disable Capacitive Buttons and Add on screen "buttons"?
I tried to edit system/usr/keylayout/generic.kl and put # in front of keys 158 and 139 but then I can't save the file.
How do I save the edited file?
Then how do I turn on the on screen buttons?
Thanks in advance.
anyone?
macsrock said:
How do I disable Capacitive Buttons and Add on screen "buttons"?
I tried to edit system/usr/keylayout/generic.kl and put # in front of keys 158 and 139 but then I can't save the file.
How do I save the edited file?
Then how do I turn on the on screen buttons?
Thanks in advance.
Click to expand...
Click to collapse
Hi @macsrock,
From what I understand in order to enable the on screen "soft keys" for a TW ROM, the framework would have to be modified (to what extent I do not know). Whereas in an "AOSP" (stock android) based ROM, a simple build.prop edit would do the trick.
theROMinator said:
Hi @macsrock,
From what I understand in order to enable the on screen "soft keys" for a TW ROM, the framework would have to be modified (to what extent I do not know). Whereas in an "AOSP" (stock android) based ROM, a simple build.prop edit would do the trick.
Click to expand...
Click to collapse
Thank you.
theROMinator said:
Hi @macsrock,
From what I understand in order to enable the on screen "soft keys" for a TW ROM, the framework would have to be modified (to what extent I do not know). Whereas in an "AOSP" (stock android) based ROM, a simple build.prop edit would do the trick.
Click to expand...
Click to collapse
Yeah Samsung are dicks and removed the parts of the framework needed for this I'd much prefer this as well but not happening anytime soon.
Sent from my SM-N9005 using XDA Premium 4 mobile app
I was finally able to disable the capacitive buttons which always get pressed accidentally. Im using GMD gestures. But has anyone yet found any mod to make the on screen navbar work?
By the way,You can also download an app, button savior for soft keys but they look a bit sluggish
If i helped,don't forget to hit the THANKS button

Menu Button Failing

So, if you were following my other thread (which I doubt anyone was since no-one offered help), I managed to fix my incredibly hard soft brick
Everything's running great now, except the menu key isn't functioning. This would be fine, except the 3dot menu xposed module is causing other problems when installed and I'm not running a CM ROM so I can't simply make it double press the home button for menu or anything like that.
So I actually need to get the menu button working, not find an alternative. I can't seem to find the number of the button tho. I know you can check with CWM but I don't have it and don't want to risk stuffing up my phone again right now because I will be relying on it pretty heavily for the next week or so. How can I remap the menu button so it can be used as the menu button if I don't know the hard key number? International S4 Active, thanks.
You can try here
http://forum.xda-developers.com/showthread.php?t=2534697. In the Aroma Installer, there's is a button fix of sorts, used on the i537 in safestrap, so we could use regular s4 roms, soomewhere else, don't remember where, the is the button .zip file, by itself.
Sent Via Smoke Signals
tiskael said:
So, if you were following my other thread (which I doubt anyone was since no-one offered help), I managed to fix my incredibly hard soft brick
Everything's running great now, except the menu key isn't functioning. This would be fine, except the 3dot menu xposed module is causing other problems when installed and I'm not running a CM ROM so I can't simply make it double press the home button for menu or anything like that.
So I actually need to get the menu button working, not find an alternative. I can't seem to find the number of the button tho. I know you can check with CWM but I don't have it and don't want to risk stuffing up my phone again right now because I will be relying on it pretty heavily for the next week or so. How can I remap the menu button so it can be used as the menu button if I don't know the hard key number? International S4 Active, thanks.
Click to expand...
Click to collapse
You should be able to flash the keys fix in the MasterPatch that @captaincado posted above. For the actual key numbers see below.
Code:
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 172 HOME
key 139 MENU
key 158 BACK
Good luck.
Just an update, I followed all the instructions, couldn't get this working. It's possible that the button just happened to physically break when I flashed the ROM but it doesn't matter, because I found All in one Gestures (link below) which I used to replace the menu button... and then every other button, plus some. It's really good, I recommend it to anyone who has trouble reaching certain button, has a broken button or would just wants to have a go at increasing speed:
https://play.google.com/store/apps/details?id=com.phoenixstudios.aiogestures&hl=en

Navigation bar customization

O.k., call me OCD, set in my ways, or just plain stubborn, but I simply hate having a recents button in the navbar. I'd much rather have a menu button, and long press the home button to get recents, hearkening back to my old Galaxy SIII. Now, I've flashed countless ROM's on the Nexus 6, and have come across only two that allow the ability to eliminate any button and replace it with anything else. See screenshot for an example of what I'm looking for. Most of the marshmallow ROM's out there only allow you to move the buttons around, and add buttons to the navbar, but none allow you to eliminate or remap the buttons that are already there except for VRToxin. So here are my questions: 1) Why is this kind of customization not found in many ROM's? 2) Is there a mod, or Xposed module that will allow this? I looked at Gravity Box and it doesn't seem to have that ability. Any thoughts/wisdom/comiseration would be appreciated.
morrowa2 said:
O.k., call me OCD, set in my ways, or just plain stubborn, but I simply hate having a recents button in the navbar. I'd much rather have a menu button, and long press the home button to get recents, hearkening back to my old Galaxy SIII. Now, I've flashed countless ROM's on the Nexus 6, and have come across only two that allow the ability to eliminate any button and replace it with anything else. See screenshot for an example of what I'm looking for. Most of the marshmallow ROM's out there only allow you to move the buttons around, and add buttons to the navbar, but none allow you to eliminate or remap the buttons that are already there except for VRToxin. So here are my questions: 1) Why is this kind of customization not found in many ROM's? 2) Is there a mod, or Xposed module that will allow this? I looked at Gravity Box and it doesn't seem to have that ability. Any thoughts/wisdom/comiseration would be appreciated.
Click to expand...
Click to collapse
1. most likely it isnt needed by many people
2. i dont use xposed for many reasons, but one thing is that xposed is not recommended to be run on a custom rom, as it could, and would, mess with that roms code, causing issues and/or reboots.
simms22 said:
1. most likely it isnt needed by many people
Click to expand...
Click to collapse
That's what I figured, it just seems like this would offer much more flexibility, no?
unfortunately no option yet to remove that recents button. afaik. but ive used lmk and as far as i can remember i was able to change the targets. but again . its not gonna be visible everytime coz u have to pull it out from the side or bottom
reyscott1968 said:
unfortunately no option yet to remove that recents button. afaik. but ive used lmk and as far as i can remember i was able to change the targets. but again . its not gonna be visible everytime coz u have to pull it out from the side or bottom
Click to expand...
Click to collapse
what is lmk?
morrowa2 said:
what is lmk?
Click to expand...
Click to collapse
oops.. my bad. its lmt
Try Dirty Unicorns. It has a feature called smart bar and you can add and remove buttons to the nav bar. Its still in the test phase but pretty solid.
---------- Post added at 10:34 PM ---------- Previous post was at 10:33 PM ----------
Go to their Google + site to get the latest test builds. The Marshmallow builds are not official so not on XDA yet.
Sirdragonx said:
Try Dirty Unicorns. It has a feature called smart bar and you can add and remove buttons to the nav bar. Its still in the test phase but pretty solid.
---------- Post added at 10:34 PM ---------- Previous post was at 10:33 PM ----------
Go to their Google + site to get the latest test builds. The Marshmallow builds are not official so not on XDA yet.
Click to expand...
Click to collapse
I'll check it out, thanks!
Looks like even on DU you can't remove the recents button ?
morrowa2 said:
2) Is there a mod, or Xposed module that will allow this? I looked at Gravity Box and it doesn't seem to have that ability. Any thoughts/wisdom/comiseration would be appreciated.
Click to expand...
Click to collapse
I have found one other rom that had the ability to change the navbar but in the last build the feature is gone again. I keep an eye on that rom as i'm searching for the same things as you. It was the last experimental build of "srewd" rom.
If you find a rom yourself please report here
You mentioned gravity box. Gravitybox will let you assign single tap, double tap, and long press actions to navbar buttons. Up to 5 buttons (recent, home, back, menu, custom) with up to three actions each. (Although single tap is slower if a double tap is assigned). You can assign built in actions or apps or shortcuts.
That's a lot of flexibility. The only thing you can't do is change the symbol for those buttons. I guess that's the part you want that gb didn't have?
That would work. I don't care about the symbol as long as the action can be reassigned. Is that GB marshmallow?
Only two I know of are Slim LP and VR toxin. I'm on VR toxin now, which is a great ROM, but security is broken, no pin or pattern unlock.
electricpete1 said:
You mentioned gravity box. Gravitybox will let you assign single tap, double tap, and long press actions to navbar buttons. Up to 5 buttons (recent, home, back, menu, custom) with up to three actions each. (Although single tap is slower if a double tap is assigned). You can assign built in actions or apps or shortcuts.
That's a lot of flexibility. The only thing you can't do is change the symbol for those buttons. I guess that's the part you want that gb didn't have?
Click to expand...
Click to collapse
Lol, so silly, I was looking under navigation bar tweaks, and never saw that menu. Thanks!
morrowa2 said:
Looks like even on DU you can't remove the recents button ?
Click to expand...
Click to collapse
The smartbar is still in alpha stages but in the end should be able to remove it.
zelendel said:
The smartbar is still in alpha stages but in the end should be able to remove it.
Click to expand...
Click to collapse
I'll keep my eye on it.
Even with gravity box, looks like the changes don't stick. Even when another action is assigned, that pesky recent button still brings up recents. It was worth a try.
For now I may just revert back to Slim LP, and hope Yank gets a Slim6 build up soon.
The recents button, and what it should do is considered basic functionality and it's deep in the SystemUI app (which is more like a service). I've changed my navigation bar by adding a permanent menu button and a lot of functionality there is hard coded. So I recommend you build you own rom and customize it.
Mine sticks. Reboot, still there.
I don't know why yours acts differently....
I use a lot of gravity box tweaks and they all work the way they're supposed to for me, except notification shade quick toggle tiles. Reverts to stock after reboot... I have to go back into the gb quick setting menu and press save to get my tiles back after reboot
Droidphilev said:
I have found one other rom that had the ability to change the navbar but in the last build the feature is gone again. I keep an eye on that rom as i'm searching for the same things as you. It was the last experimental build of "srewd" rom.
If you find a rom yourself please report here
Click to expand...
Click to collapse
Looks like the latest build of VRtoxin got the security issues fixed, and retains the navbar customization I like. I'll be sticking with this for a while.
morrowa2 said:
Looks like the latest build of VRtoxin got the security issues fixed, and retains the navbar customization I like. I'll be sticking with this for a while.
Click to expand...
Click to collapse
DU is for the moment my best option but i know that it's about the recents button in your case. (mine is set to long "press for menu" for now)

Categories

Resources