How To Guide How-To Enable Two-Button Navigation on the OnePlus 9 Pro with Android 11!

Search This thread

rwilco12

😺 Recognised Developer / Retired Forum Moderator
Hey friends! I don't know about you guys, but I really dislike the latest implementation of Gesture Navigation and the old 3-Button Navigation bar makes me feel like I'm stuck back on Ice Cream Sandwich! It made me really sad when Google forced all the OEMs to ditch 2-Button Navigation. Fortunately, we can now get it back! Even on Android 11!!

You will need USB Debugging enabled on your phone and ADB installed on your computer. You will also need your phone to be rooted with the latest version of Magisk installed.

It's a super easy process and all it takes is installing one Magisk module and an ADB command. I've created two versions of the module, one with the standard height nav bar and another with a shorter one that takes up less space on the display. You can find both versions of the module here: https://www.rwilco12.com/downloads.php?dir=Files/Misc Files/Magisk Modules/Two-Button Navigation

After installing the module, all you have to do is go into ADB and run this command.
adb shell cmd overlay enable com.android.internal.systemui.navbar.twobutton

Here's a helpful video we recorded that should help you through the process.
 
Last edited:

TheKnux

Senior Member
Sep 28, 2011
2,927
920
Akron
Nexus Player
OnePlus 9
Is there any way to bypass the adb command since you're using a Magisk module? Does it persist through reboots? Is there a way to run the command via the su command using a terminal emulator on the device rather than using a pc to issue the adb command?
 

rwilco12

😺 Recognised Developer / Retired Forum Moderator
Is there any way to bypass the adb command since you're using a Magisk module? Does it persist through reboots? Is there a way to run the command via the su command using a terminal emulator on the device rather than using a pc to issue the adb command?
I'm a noob at Magisk modules and couldn't figure out how to pass the ADB command during the flashing process. I'm hoping I can do a v2.0 and get that in there down the road though!

But yes, it persists through reboots. The only times it will get wiped is if you update your option in Settings, or if you flash a system update.

And I could see a terminal emulator working, I just haven't tried it myself yet.
 

Fre$h

Senior Member
Hey friends! I don't know about you guys, but I really dislike the latest implementation of Gesture Navigation and the old 3-Button Navigation bar makes me feel like I'm stuck back on Ice Cream Sandwich! It made me really sad when Google forced all the OEMs to ditch 2-Button Navigation. Fortunately, we can now get it back! Even on Android 11!!

You will need USB Debugging enabled on your phone and ADB installed on your computer. You will also need your phone to be rooted with the latest version of Magisk installed.

It's a super easy process and all it takes is installing one Magisk module and an ADB command. I've created two versions of the module, one with the standard height nav bar and another with a shorter one that takes up less space on the display. You can find both versions of the module here: https://www.rwilco12.com/downloads.php?dir=Files/Misc+Files/Magisk+Modules/OnePlus+Oxygen+OS+11+-+Two-Button+Navigation

After installing the module, all you have to do is go into ADB and run this command.
adb shell cmd overlay enable com.android.internal.systemui.navbar.twobutton

Here's a helpful video we recorded that should help you through the process.
TY @rwilco12 but a thread was already initiated if I'm not wrong here : https://forum.xda-developers.com/t/how-to-enable-two-button-navigation.4260373/
 
  • Like
Reactions: rwilco12

rwilco12

😺 Recognised Developer / Retired Forum Moderator

Burt Squirtz

Senior Member
Feb 11, 2018
606
293
Google Pixel 6
Hey friends! I don't know about you guys, but I really dislike the latest implementation of Gesture Navigation and the old 3-Button Navigation bar makes me feel like I'm stuck back on Ice Cream Sandwich! It made me really sad when Google forced all the OEMs to ditch 2-Button Navigation. Fortunately, we can now get it back! Even on Android 11!!

You will need USB Debugging enabled on your phone and ADB installed on your computer. You will also need your phone to be rooted with the latest version of Magisk installed.

It's a super easy process and all it takes is installing one Magisk module and an ADB command. I've created two versions of the module, one with the standard height nav bar and another with a shorter one that takes up less space on the display. You can find both versions of the module here: https://www.rwilco12.com/downloads.php?dir=Files/Misc+Files/Magisk+Modules/OnePlus+Oxygen+OS+11+-+Two-Button+Navigation

After installing the module, all you have to do is go into ADB and run this command.
adb shell cmd overlay enable com.android.internal.systemui.navbar.twobutton

Here's a helpful video we recorded that should help you through the process.
OP, in theory, do you think it would be possible to somehow disable onepluses built-in navigation gestures, but keeping the 'hide nav bar' feature that goes along with it? I ask this because, I'd love to use a third party app to do navigation gestures. The built-in gestures have this annoying animation when you swipe up from bottom or swipe from the sides. It's subtle and it's very brief but it's there. And my OCD wants to get rid of it. Fluid navigation gestures for example is very clean and you don't see an animation when you use any sort of gesture navigation. It looks so much sleeker and snappier.
 

rwilco12

😺 Recognised Developer / Retired Forum Moderator
OP, in theory, do you think it would be possible to somehow disable onepluses built-in navigation gestures, but keeping the 'hide nav bar' feature that goes along with it? I ask this because, I'd love to use a third party app to do navigation gestures. The built-in gestures have this annoying animation when you swipe up from bottom or swipe from the sides. It's subtle and it's very brief but it's there. And my OCD wants to get rid of it. Fluid navigation gestures for example is very clean and you don't see an animation when you use any sort of gesture navigation. It looks so much sleeker and snappier.
In theory, yes, it is totally possible. I was able to do two different heights for the modules. Somebody could make one that has no height or even one that just never generates. That is beyond my skillset though. So in theory, yes, it is possible. Could I do it? Probably not. :)
 

Fre$h

Senior Member
What would be for me a better thing is just to be able to engage the gesture mode for the apps to be in full screen ( without the navbar) but with the navbar button's available too. A sort of weeding between a kingsize display with the usefull part of those buttons that I keep want to use for some reasons
 
  • Like
Reactions: rwilco12

rwilco12

😺 Recognised Developer / Retired Forum Moderator
What would be for me a better thing is just to be able to engage the gesture mode for the apps to be in full screen ( without the navbar) but with the navbar button's available too. A sort of weeding between a kingsize display with the usefull part of those buttons that I keep want to use for some reasons
Agreed!
 

bgkone

Senior Member
Jan 22, 2014
155
28
Ukraine
Hello, did you remove the module? The directory is empty(
 

Attachments

  • Screenshot_20220805-092558.jpg
    Screenshot_20220805-092558.jpg
    410.2 KB · Views: 25

NameIsOptional

Senior Member
May 15, 2022
86
55
USA
OnePlus 9 Pro
OnePlus Oxygen OS 11 - Two-Button Navigation (SHORT)
And
OnePlus Oxygen OS 11 - Two-Button Navigation (STANDARD)
 

Attachments

  • OnePlus Oxygen OS 11 - Two-Button Navigation (SHORT).zip
    10.9 KB · Views: 8
  • OnePlus Oxygen OS 11 - Two-Button Navigation (STANDARD).zip
    11.3 KB · Views: 8
  • Like
Reactions: bgkone and rwilco12

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Hey friends! I don't know about you guys, but I really dislike the latest implementation of Gesture Navigation and the old 3-Button Navigation bar makes me feel like I'm stuck back on Ice Cream Sandwich! It made me really sad when Google forced all the OEMs to ditch 2-Button Navigation. Fortunately, we can now get it back! Even on Android 11!!

    You will need USB Debugging enabled on your phone and ADB installed on your computer. You will also need your phone to be rooted with the latest version of Magisk installed.

    It's a super easy process and all it takes is installing one Magisk module and an ADB command. I've created two versions of the module, one with the standard height nav bar and another with a shorter one that takes up less space on the display. You can find both versions of the module here: https://www.rwilco12.com/downloads.php?dir=Files/Misc Files/Magisk Modules/Two-Button Navigation

    After installing the module, all you have to do is go into ADB and run this command.
    adb shell cmd overlay enable com.android.internal.systemui.navbar.twobutton

    Here's a helpful video we recorded that should help you through the process.
    2
    OnePlus Oxygen OS 11 - Two-Button Navigation (SHORT)
    And
    OnePlus Oxygen OS 11 - Two-Button Navigation (STANDARD)
    1
    Hey friends! I don't know about you guys, but I really dislike the latest implementation of Gesture Navigation and the old 3-Button Navigation bar makes me feel like I'm stuck back on Ice Cream Sandwich! It made me really sad when Google forced all the OEMs to ditch 2-Button Navigation. Fortunately, we can now get it back! Even on Android 11!!

    You will need USB Debugging enabled on your phone and ADB installed on your computer. You will also need your phone to be rooted with the latest version of Magisk installed.

    It's a super easy process and all it takes is installing one Magisk module and an ADB command. I've created two versions of the module, one with the standard height nav bar and another with a shorter one that takes up less space on the display. You can find both versions of the module here: https://www.rwilco12.com/downloads.php?dir=Files/Misc+Files/Magisk+Modules/OnePlus+Oxygen+OS+11+-+Two-Button+Navigation

    After installing the module, all you have to do is go into ADB and run this command.
    adb shell cmd overlay enable com.android.internal.systemui.navbar.twobutton

    Here's a helpful video we recorded that should help you through the process.
    TY @rwilco12 but a thread was already initiated if I'm not wrong here : https://forum.xda-developers.com/t/how-to-enable-two-button-navigation.4260373/
    1
    What would be for me a better thing is just to be able to engage the gesture mode for the apps to be in full screen ( without the navbar) but with the navbar button's available too. A sort of weeding between a kingsize display with the usefull part of those buttons that I keep want to use for some reasons
    1
    Hello, did you remove the module? The directory is empty(
    Sorry about that, I must've posted the wrong link. I've updated it in the OP. Thanks!