Help Changing Android Navigation Buttons - Android Q&A, Help & Troubleshooting

I'm looking for a way to swap my back button from the left to the right side, but while still using the the 2 button / "swipe up on home" navigation setting. I used to use the app Custom Navigation Bar by paphonb, but that broke in android 10, and I haven't seen a replacement since. I feel like I may just be overlooking the obvious solution, but as my phone offers no option to swap the button, and since I haven't found another app that works for this purpose, I'm not sure how to swap the button over.
I am using the ROG Phone 2 running stock Android 10. Thanks for any help or advice you can give!
A screenshot of the navigation option I'm using is at
imgur(.)com/xURThiq
sorry I can't post the link in my post.

Related

[Q] How to add a toggle for Recent App?

Hi, I would like to know how I can toggle Recent App of ICS. It can be shown by long clicking on the home button. The one that has preview because I don't like to be pressing so much my home button as I am noticing improper responses from it. Is there a way to put this as an icon or widget on the homescreen? Thx
Anyone? Tried apps like button savior, etc. But it shows their built-in recent apps instead of the firmware's or samsung's.
BUMP
I know this post is old, but Im trying to figure a way too without using an app or service BUMP\
I found what I was looking for in app LMT using the "invisible swipe gestures" set to top center of screen so that swiping top left is notifications, top right is quick settings, and top center opens recents. This is for anyone who might be searching and happen to land on this dead thread. Any other particular method of shortcut will work if you set it to Activities>SystemUI>Overview.recents is the path to this.
sent from the tapatalk app on my S3 running whatever rom Im running this week
I use GMD Gestures, because my sensitive buttons aren't working. Before, I used CM official inbuilt option that you can change the option sensitive (or back) button for recent Apps. Can really recommend that. Greetings.

[MOD][GUIDE]Disable Galaxy Note 8 Capacitive Keys

I take no responsibility for you breaking or causing issues on your tablet. Do this at your own risk!
Disable your Galaxy Note 8.0 Capacitive Keys
What you will need:
Root
Root explorer or similar program
and Be Careful
First:
Open your root explorer or similar app
navigate to system>usr>keylayout
Second:
Make backup of sec_touchscreen.kl
Third
This step has been, found to be not needed. Skip to step 4!
Fourth:
Open sec_touchscreen.kl
find line:
key 158 BACK WAKE_DROPPED
and place a # in front of it like:
# key 158 BACK WAKE_DROPPED
then find line:
key 139 BACK WAKE_DROPPED
and place a # in front of it like:
# key 139 BACK WAKE_DROPPED
Save your changes and close the file
reboot your tablet, and you are finished.
Your capacitive buttons will not respond to your fingers, but retain functionality with the s-pen.
ENJOY!
step 3 was not needed for this guide to work!
Hey ual4720, thanks for the great guide,this is the sort of stuff we need to get some development started for our tablet.
That's more of a how-to, a mod means flashing something
will there be custom roms coming?
Thai Damen said:
will there be custom roms coming?
Click to expand...
Click to collapse
I woud say yes, considering it's the same specs powering the Galaxy Note 10.1 (at least, i'm betting on this )
I'm actually sort of surprised someone hasn't tried flashing one of the Galaxy Note 10.1 roms on the Note 8 (I'm not recommending this, i'm not a developer. Just surprised no one (big kahuna's) tried this).
I can't wait until someone figures out how to make this a quick option on the drop down menu so we can toggle the keys on and off based on what we're doing
Sent from my SAMSUNG-SGH-I317 using xda premium
Just to be clear - this is only suppose to disable the capacitive function of the hardware buttons, not enable the virtual on-screen buttons or anything (the latter was what I was hoping for)? Don't mean to diminish the value of the first mod to appear on this forum - I just don't quite understand the use case for this. Thanks!
peng1can said:
Just to be clear - this is only suppose to disable the capacitive function of the hardware buttons, not enable the virtual on-screen buttons or anything (the latter was what I was hoping for)? Don't mean to diminish the value of the first mod to appear on this forum - I just don't quite understand the use case for this. Thanks!
Click to expand...
Click to collapse
I use my tablet in landscape a lot! I found it was hard to hold the tablet with both hands because I kept hitting the Capacitive keys. this is my way of solving that! I thought I would Share it.
Sent from my GT-N5110 using Tapatalk HD
I hope it didn't sound like I was criticizing the patch. I was genuinely interested in how people were using this - we all have our own ways of doing things. For example, the hardware buttons have turned out to be more convenient than I expected for me because I use the tablet in bed a lot, and I find it's easier to touch the buttons if I hold the tablet upside down, so the buttons are at the top. With virtual buttons, they'd just move themselves back to the bottom!
Thanks, working good with LMT launcher.
colhavoc said:
I woud say yes, considering it's the same specs powering the Galaxy Note 10.1 (at least, i'm betting on this )
I'm actually sort of surprised someone hasn't tried flashing one of the Galaxy Note 10.1 roms on the Note 8 (I'm not recommending this, i'm not a developer. Just surprised no one (big kahuna's) tried this).
Click to expand...
Click to collapse
Similar specs, but different. If you tried flashing a ROM you'd softbrick your device. There are a number of devs working on ports and I'm sure we will be seeing customs appearing soon in the future.
Sent from my GT-N5110 using XDA Premium HD app
Thanks a lot for sharing detail information about the Galaxy Note. This will be helpful for me to developing stuff.
Hello all,
after disabling capacitive keys, install GMD gesture control to get the same through customized swipes.
Now SNote will work without being annoyed by keys at the end of the page
Hi all,
I kinda like the HW buttons and I wished they were real buttons rather than capacitive.
Is there a way to disable them ONLY in certain apps? I would like them to be disabled when I use S notes only.
Also,
the mod mentions "Your capacitive buttons will not respond to your fingers, but retain functionality with the s-pen."
So I can actually still use the buttons using the Spen?
Thanks!
For those who tried this, I wonder what app do you use to simulate the "back" and "menu" button WITHOUT using the Stylus?
I'd love to disable the capacitive keys, but there are times when I need to bring up the menu or go back WITHOUT taking out the Stylus and drawing the gesture.
lanwarrior said:
For those who tried this, I wonder what app do you use to simulate the "back" and "menu" button WITHOUT using the Stylus?
I'd love to disable the capacitive keys, but there are times when I need to bring up the menu or go back WITHOUT taking out the Stylus and drawing the gesture.
Click to expand...
Click to collapse
i use apps gesture control. can get it from playstore. the free version is sufficient for daily use unless you want to make custom gesture. go for pro.
andrianarison said:
Hello all,
after disabling capacitive keys, install GMD gesture control to get the same through customized swipes.
Now SNote will work without being annoyed by keys at the end of the page
Click to expand...
Click to collapse
Good day. Could you explain "get the same through customized swipes?"
Do you mean it's possible to toggle the editing or renaming of the "sec_touchscreen.kl" file?
Even if you do this, will you need to restart every time?
theraker007 said:
I can't wait until someone figures out how to make this a quick option on the drop down menu so we can toggle the keys on and off based on what we're doing
Sent from my SAMSUNG-SGH-I317 using xda premium
Click to expand...
Click to collapse
I 2nd this.:good:
I'm using the unofficial CM 10.2 for the note and have deactivated both buttons, but they are still glowing. Is there a way to deactivate this too?
kingofcomedy said:
I'm using the unofficial CM 10.2 for the note and have deactivated both buttons, but they are still glowing. Is there a way to deactivate this too?
Click to expand...
Click to collapse
Try in the Setting, where you can disable it.

[Q] [SGS2][Cyanogen 10.1.3] Remap home button

Hi there,
My phone is a SGS2 with CyanogenMod 10.1.3 stable installed.
I'm looking for a way to remap the physical Home button of my phone with the kill current app functionality.
I've already activated the developer mode and thus can kill an app with a long press on the return key. But it is not really convenient as I need to kill an app quicker (compared to the few seconds delay of the long press gesture).
I've also tried LMT Launcher but the kill-app gesture I've configured take too much time also. The insta-kill feature is what I'm looking for...
Can you help me?
Thanks in advance
You might be able to do that with xposed and a something like gravity box. Bear in mind gravity box isn't intended for CM though, so read the gravity box op thoroughly before you try. Else you may find a different module which can help you.
If you can't get it to work, a way that is guaranteed is to switch roms to one that has full hardware key rebinding... SlimKat for example.
Sent from a galaxy far, far away
Thanks!
I'll see what I can do with these options.

Adding Navbar (softkeys)?

On previous phones including the S5 you could just change the build.prop or use gravity box to add them but every time I try on reboot I get system UI crashing non stop until I undo my changes.
Has anyone gotten them somehow?
What about the side key panel?
Sent from my SM-N910C using XDA Free mobile app
That's in the way and inconvenient. They should have just added pie
Use Xposed and install GravityBox and use Navigation Bar Tweak feature
pcboyy said:
Use Xposed and install GravityBox and use Navigation Bar Tweak feature
Click to expand...
Click to collapse
It doesn't work. My post says that It doesn't.
zgroten said:
It doesn't work. My post says that It doesn't.
Click to expand...
Click to collapse
Had same issue. Use dynamic navbar on playstore or lmt pie. I went for dynamic navbar it's amazing and can be customised to your absolute liking.
I've installed dynamic Navbar but can't seem to figure out how to make it work like a regular Navbar and not sit on top of items on the screen.
I am using lmt pie...loving it
Sent from my SM-N910C using Tapatalk
Nobody can get regular softkeys without system UI crashing?
nope, seems like there's some piece of code missing, so that every time you activate those softkeys it just bootloops. have tried a number of methods, haven't found one that works. missing that soft home button (
eydryan said:
nope, seems like there's some piece of code missing, so that every time you activate those softkeys it just bootloops. have tried a number of methods, haven't found one that works. missing that soft home button (
Click to expand...
Click to collapse
This is a shame. I figured this would be one of the first mods due to the popularity and convenience of on-screen buttons. The bezel on the Note 4 is so small at the bottom that it wouldn't even look like a waste of space to have a navigation bar. The capacitive buttons are so easily pressed due to the small bezel. I don't mind this, but I wish the option for on-screen was included by samsung. I also hate the "back" button on the right side because I'm left-handed and can't reach it with my dominant hand. That should be reversible as well. Is that possible?
I also recommend lmt. The back button is instant.
whittikins said:
but I wish the option for on-screen was included by samsung. I also hate the "back" button on the right side because I'm left-handed and can't reach it with my dominant hand. That should be reversible as well. Is that possible?
Click to expand...
Click to collapse
If device is rooted then you can remap back and menu key by editing generic.kl
Sent from my SM-N910G using xda premium
dr.ketan said:
If device is rooted then you can remap back and menu key by editing generic.kl
Sent from my SM-N910G using xda premium
Click to expand...
Click to collapse
Did exactly that as soon as I got it. Although I actually prefer back key on right, just find note too wide to reach across, being left handed. Turned off the key light, not to cause confusion, and I guess it took a day to train muscle memory.
Sent from my SM-N910W8
dr.ketan said:
If device is rooted then you can remap back and menu key by editing generic.kl
Sent from my SM-N910G using xda premium
Click to expand...
Click to collapse
Ah, thanks! What would I change to simply disable the Recent and Back keys completely? I have on screen keys now. I still want to keep the home button because I don't accidentally press it.
Actually, I just put a # in front of the line for app_switcher, which worked. What do I change or remove to disable the capacitive Back hardware key? Thanks!
EDIT: figured it out!
To disable the Recent and Back hardware keys (capacitive buttons), edit /system/usr/keylayout/Generic.kl and put a # in front of these 2 lines:
key 158 BACK
key 254 APP_SWITCH
Save and reboot!
whittikins said:
Ah, thanks! What would I change to simply disable the Recent and Back keys completely? I have on screen keys now. I still want to keep the home button because I don't accidentally press it.
Actually, I just put a # in front of the line for app_switcher, which worked. What do I change or remove to disable the capacitive Back hardware key? Thanks!
EDIT: figured it out!
To disable the Recent and Back hardware keys (capacitive buttons), edit /system/usr/keylayout/Generic.kl and put a # in front of these 2 lines:
key 158 BACK
key 254 APP_SWITCH
Save and reboot!
Click to expand...
Click to collapse
That's very useful!:good:
marvi0 said:
Had same issue. Use dynamic navbar on playstore or lmt pie. I went for dynamic navbar it's amazing and can be customised to your absolute liking.
Click to expand...
Click to collapse
What is this lmt pie?
kopkiwi said:
What is this lmt pie?
Click to expand...
Click to collapse
It's an amazing app here in xda developed by a recognized member that adds pie control to your phone
drmodify said:
It's an amazing app here in xda developed by a recognized member that adds pie control to your phone
Click to expand...
Click to collapse
The only thing about let and pie control in general is that it auto dissappear. When multiple back key is required, it is a pain.
Which is why I have resorted to using side key panel when I don't want to use capacitive. I edited settings database to add transparency to side panel menu as well as having a hint bar dissappear. I moved it to the comfortable zone for my thumb, and trigger it without fail. It says on till I press outside of the side menu.
It is working great for me. Although I would rather have standard nav bar for purely visual reasons as well as more modding options.
Sent from my SM-N910W8
I too am a lover of a static nav bar on my Galaxy Devices.
I now have a SM-N910P now and am frustrated as heck at not being able to get it functional here, on a rooted stock NK2. I used to run SlimKat 4.4.2 on my SPH-L710 and loved the navbar that they baked into the ROM. SlimLoli is maturing for the Note 4, but it doesn't yet have any S-Pen support baked in. This fact, when coupled with how well Samsung and Sprint have done with TouchWiz on the Note 4 have caused me to hold off on putting a custom ROM on the device.
So, what to do.?. Editing buildprop does indeed cause the looping system UI FC. UDN is an excellent solution barring one issue, and that it is doesn't have a means to dedicate a portion of the display to the nav bar. It just overlays on top of the launcher's/app's UIs. I'd be willing to pay for a solution that fixes this.
Pie controls have never really clicked with me. Not yet being willing to move away from NK2, I find that I am wondering if there is a way to force a portion of the bottom of the screen to be entirely dedicated to a specific app, all of the time. As depicted in this screeny, UDN overlays and it is frustrating as hell.
Anyone have any ideas yet?
-t

Remap App Switch To Menu

So ive been search around for a while now on how to fix this. And to anyone that chimes in and says why do you need the menu button obviously you don't use older apps, the new touch button on the screen is a huge annoyance especially since i've used my phones this way since my first S1. Regardless this is how i want it and so do many other people.
Currently this is only for a rooted phone
I have figured out how to remap the left soft key from the App Switcher/Multi window over to the old style menu key. Instructions for that can be found here
But now i don't have any way of switching to my currently open apps, after remapping the left key, the longpress now takes you to search. and long pressing on the home button also takes you to another variation of the search (both i dont use nor want). I want to be able to remap my left softkey on longpress to open up currently open apps (APP_SWITCH) and it would be nice if long pressing on Home could open the Task Manager as it did on my S3.
As far as i can tell editing of the longpress function is done via a Policy edit. Read about that HERE
Keep in mind that post is from 2014 so i have no idea if the internal code is still being handled the same way, i couldn't even find that file on my S6, but i did find a file called SEPOLICY in my root folder using ROOT EXPLORER. Do any of you know more about this and how I can go about changing this? im sure its a code level adjustment. Thanks
Long-press home button can be controlled without root easily.
Check out this app:
https://play.google.com/store/apps/details?id=com.spada.nowgesturetweaksfree
I use the long-press home to get to my last used app.
I wonder if I can remap my buttons to launch any other apps.. Will have to tinker around a bit.
Ewww.
@rbiter said:
Ewww.
Click to expand...
Click to collapse
if you have nothing useful to bring to this discussion then please get out
j1635 said:
if you have nothing useful to bring to this discussion then please get out
Click to expand...
Click to collapse
very useful. menu for navigation is long long outdate. software nave or 3 dots is the customary way to go. adding a secondary menu button is redudant and unnecessary. my little ewww comment brought a lot to the table. you tryingt to call me out on it is less useful.
@rbiter said:
very useful. menu for navigation is long long outdate. software nave or 3 dots is the customary way to go. adding a secondary menu button is redudant and unnecessary. my little ewww comment brought a lot to the table. you tryingt to call me out on it is less useful.
Click to expand...
Click to collapse
lol f off
If you guys use Dropbox, how do you get to the menu with SORT, etc.. without a menu key. This is making me crazy. I'm using nova launcher and there is no floating menu key. ????
The problem is if not every developer uses it, it's inconsistent.
It often helps if the options etc. In apps are on the top, so you don't have to fidget with your phone to reach the top or use two hands.
The menu button on every app is positioned somewhere else, so I find the op wanting it justified.
All in one gestures let's you remap every key, for some odd reason on my s4 I can remap the menu key, but on the S6 for some odd reason the option of the menu key has vanished in the same app:what:
Sent from my SM-G925F using XDA Free mobile app
Hi pal. Hope it helps. Make 254 button remap, then install nova launcher, in tab gestures select long press menu and then recent app. Profit! Now once tapped you have menu button, long pressed - recent apps.
So, i made it, i use it. It works.
j1635 said:
So ive been search around for a while now on how to fix this. And to anyone that chimes in and says why do you need the menu button obviously you don't use older apps, the new touch button on the screen is a huge annoyance especially since i've used my phones this way since my first S1. Regardless this is how i want it and so do many other people.
Currently this is only for a rooted phone
I have figured out how to remap the left soft key from the App Switcher/Multi window over to the old style menu key. Instructions for that can be found here
But now i don't have any way of switching to my currently open apps, after remapping the left key, the longpress now takes you to search. and long pressing on the home button also takes you to another variation of the search (both i dont use nor want). I want to be able to remap my left softkey on longpress to open up currently open apps (APP_SWITCH) and it would be nice if long pressing on Home could open the Task Manager as it did on my S3.
As far as i can tell editing of the longpress function is done via a Policy edit. Read about that HERE
Keep in mind that post is from 2014 so i have no idea if the internal code is still being handled the same way, i couldn't even find that file on my S6, but i did find a file called SEPOLICY in my root folder using ROOT EXPLORER. Do any of you know more about this and how I can go about changing this? im sure its a code level adjustment. Thanks
Click to expand...
Click to collapse
but if i want to change the long press from split screen to menu? how do i find that? will it work the same?
Delphinus3 said:
but if i want to change the long press from split screen to menu? how do i find that? will it work the same?
Click to expand...
Click to collapse
look at my Rom.. it needs changes in framework to get that working..and it is working
Alex-V said:
look at my Rom.. it needs changes in framework to get that working..and it is working
Click to expand...
Click to collapse
i saw your page.. there are 2 roms i seem to like, yours and EMPORIA but idk who is best. lol i haven't even bought the phone yet but yea the menu button will be missed for me. what i want in a rom? if its based on stock i like it as close to stock as possible (no bloatware), call recording, if there's an option for increasing camera performance thats awesome, better battery life than stock original. that's it basically. and if i only want to root, how can i change menu longpress? i hered theres like a toolbox root app for galaxy devices...
Delphinus3 said:
i saw your page.. there are 2 roms i seem to like, yours and EMPORIA but idk who is best. lol i haven't even bought the phone yet but yea the menu button will be missed for me. what i want in a rom? if its based on stock i like it as close to stock as possible (no bloatware), call recording, if there's an option for increasing camera performance thats awesome, better battery life than stock original. that's it basically. and if i only want to root, how can i change menu longpress? i hered theres like a toolbox root app for galaxy devices...
Click to expand...
Click to collapse
it's only my personal rom..means it's not made for making any profit or let's say thousands of users..
i think you must try it yourself for one or two days and compare..my is very clean

Categories

Resources