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

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.

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?

TheKnux said:
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?
Click to expand...
Click to collapse
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.

rwilco12 said:
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.
Click to expand...
Click to collapse
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/

Fre$h said:
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/
Click to expand...
Click to collapse
Lol I totally missed that post! I appreciate him sharing my video! The modules I posted here are different than the one he attached to his post. Same net effect, just more options.

rwilco12 said:
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.
Click to expand...
Click to collapse
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.

Burt Squirtz said:
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.
Click to expand...
Click to collapse
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.

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

Fre$h said:
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
Click to expand...
Click to collapse
Agreed!

Hello, did you remove the module? The directory is empty(

OnePlus Oxygen OS 11 - Two-Button Navigation (SHORT)
And
OnePlus Oxygen OS 11 - Two-Button Navigation (STANDARD)

bgkone said:
Hello, did you remove the module? The directory is empty(
Click to expand...
Click to collapse
Sorry about that, I must've posted the wrong link. I've updated it in the OP. Thanks!

Related

18:9 immersive mode/gesture controls/no root

DISCLAIMER: This guide was NOT made by me, I'm simply sharing this here because it's really useful IMO.
This is a guide made by reddit user turkcem421, on how to take advantage of this beautiful 18:9 aka 2:1 display.
Here's the link https://www.reddit.com/r/lgg6/comments/7bqy5r/guide_fullscreen_immersive_mode_with_gesture/
And some screenshots...
Very interesting, thank you. I was also looking for a way to do this after playing with a friend's iPhone X and realizing how outdated a navigation bar now feels.
I was on a different path. Instead of enabling immersive mode, my goal is to disable the soft keys entirely. This requires editing build.prop, which requires root, which I can't get on my H870DS. However it seems to be possible to edit it with adb as well, was going to try that next.
EDIT: file system is read-only, doesn't work with adb.
Also, there's an app called Pie Control that can provide gesture navigation controls and is very elegant IMHO. My goal is to use that as a replacement for soft keys.
Hi crabnebula,
Author of the reddit guide here. I actually tried the adb build.prop approach also! It was pretty tough to write it to the system successfully (as you noticed, there are a lot of weird things on the backend of the LG G6 compared to the Nexus phones that I am used to) but eventually I did manage to write it and chmod it by combining a lot of tricks I learned hereHowever it did not have any effect, i.e. the LG G6 ROM does not seem to care about what that line of build.prop says and just shows the buttons anyway. After that failure I ended up figuring out the solution that I put in the guide.
Pie controls looks nice too, I was considering it. There are two things I like about all-in-one gestures though that to my knowledge are not in the others (but I have not checked thoroughly)
1) all in one gestures includes both gesture controls and immersive mode in the same app, and the immersive mode also has a built-in fix to let the keyboard work (see my guide). I don't know another way to have immersive mode with a working keyboard, and it is also really handy that it's all one app, i.e. if for any reason the app crashes or is stopped then the nav bars also come back when the gesture controls stop working.
2) there is an 'alt-tab' functionality, comparable to double tapping on multitasking button. Very handy to do this with a single swipe. I didn't see any other apps that had this (but maybe I did not look hard enough)
 @yilun thanks for posting the guide here!
Thank you! The UI looks so much better without the nav-bar and status bar there to interfere. ^^
turkcem421 said:
Hi crabnebula,
Author of the reddit guide here. I actually tried the adb build.prop approach also! It was pretty tough to write it to the system successfully (as you noticed, there are a lot of weird things on the backend of the LG G6 compared to the Nexus phones that I am used to) but eventually I did manage to write it and chmod it by combining a lot of tricks I learned hereHowever it did not have any effect, i.e. the LG G6 ROM does not seem to care about what that line of build.prop says and just shows the buttons anyway. After that failure I ended up figuring out the solution that I put in the guide.
Pie controls looks nice too, I was considering it. There are two things I like about all-in-one gestures though that to my knowledge are not in the others (but I have not checked thoroughly)
1) all in one gestures includes both gesture controls and immersive mode in the same app, and the immersive mode also has a built-in fix to let the keyboard work (see my guide). I don't know another way to have immersive mode with a working keyboard, and it is also really handy that it's all one app, i.e. if for any reason the app crashes or is stopped then the nav bars also come back when the gesture controls stop working.
2) there is an 'alt-tab' functionality, comparable to double tapping on multitasking button. Very handy to do this with a single swipe. I didn't see any other apps that had this (but maybe I did not look hard enough)
@yilun thanks for posting the guide here!
Click to expand...
Click to collapse
Thank you for the reddit guide and the further information. I really appreciate that you took the time to share!
Guess I'll give up on the build.prop setting.
After playing with AIO Gestures a little more, I have to agree with you. The combination of features makes it more useful and I actually prefer the way it works when using both the bottom edge and corners to replace the 3 usual soft keys, instead of a pie menu.
The only issue I have is that the phone seems to drop out of immersive mode when returning to the launcher and certain apps, but it's a minor nuisance.
I'm hoping that in a next version of Android and/or in future OEM updates, they are going to introduce native gesture-based navigation, at least as an option. In the meantime, it's great to have an alternative that works without root. Thanks again!
I'm using something like this since 3 weeks. What I've did to get the immersive screen was all in adb code. What is causing the battery drain is Google apps that won't support 18:9 mode so you have to exclude them from immersive. You can still use youtube modded APK (18:9 support) and Chrome beta to get full screen.
The adb code is
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
I use aiog too.
PinG91 said:
I'm using something like this since 3 weeks. What I've did to get the immersive screen was all in adb code. What is causing the battery drain is Google apps that won't support 18:9 mode so you have to exclude them from immersive. You can still use youtube modded APK (18:9 support) and Chrome beta to get full screen.
The adb code is
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
I use aiog too.
Click to expand...
Click to collapse
Greenify doesn't help me with battery drain, anyway this tip solve my problems. Thanks a lot!
Happy to help
How can I disable it?
victor19 said:
How can I disable it?
Click to expand...
Click to collapse
You mean revert the whole process?
You can do it one by one manually, but I'd recommend just making a backup and factory resetting.
The other way is extremely time consuming and not very practical at all.
PinG91 said:
I'm using something like this since 3 weeks. What I've did to get the immersive screen was all in adb code. What is causing the battery drain is Google apps that won't support 18:9 mode so you have to exclude them from immersive. You can still use youtube modded APK (18:9 support) and Chrome beta to get full screen.
The adb code is
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
I use aiog too.
Click to expand...
Click to collapse
I updated my immersive mode with the above command and did a reboot.
Solved my battery drain and heat problems immediately.
THANKS!!!
victor19 said:
How can I disable it?
Click to expand...
Click to collapse
adb shell settings put global policy_control null*
Just like that
I have set it up correctly but have a few questions. Is op possible to disable the navbar completely everytime i swipe up to go home from the buttom. The navbar shows up and is in the way. And is it possible to disable the white glow on the screen from the all in one gestures app?
To disable glow go to "personalization" > "edge preference" and set "opacity" to 0%.
PinG91 said:
I'm using something like this since 3 weeks. What I've did to get the immersive screen was all in adb code. What is causing the battery drain is Google apps that won't support 18:9 mode so you have to exclude them from immersive. You can still use youtube modded APK (18:9 support) and Chrome beta to get full screen.
The adb code is
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
I use aiog too.
Click to expand...
Click to collapse
Does this solve all the apps that don't support 18:9? Is there a way to tell if there are other apps that cause it?
Sent from my LG-H870 using Tapatalk
tanguita said:
Does this solve all the apps that don't support 18:9? Is there a way to tell if there are other apps that cause it?
Sent from my LG-H870 using Tapatalk
Click to expand...
Click to collapse
This will solve the battery drain. If you need to take off another app from the inmersive just added to the line. ,-app
PinG91 said:
This will solve the battery drain. If you need to take off another app from the inmersive just added to the line. ,-app
Click to expand...
Click to collapse
Indeed it does... I screwed up mixing the command with the immersion from aiog (which activated immersion for everything). Thanks again!
Sent from my LG-H870 using Tapatalk
PinG91 said:
I'm using something like this since 3 weeks. What I've did to get the immersive screen was all in adb code. What is causing the battery drain is Google apps that won't support 18:9 mode so you have to exclude them from immersive. You can still use youtube modded APK (18:9 support) and Chrome beta to get full screen.
The adb code is
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
I use aiog too.
Click to expand...
Click to collapse
So if you force immersive this way, you still need to use AIOG with the special settings applied through adb in order for the keyboard to function in immersive mode, or do you only use AIOG for the actual gestures?
crabnebula said:
So if you force immersive this way, you still need to use AIOG with the special settings applied through adb in order for the keyboard to function in immersive mode, or do you only use AIOG for the actual gestures?
Click to expand...
Click to collapse
Just for gestures. There is no need of touching any setting for immersive on AIOG.
Can't believe how simple that all was. Only thing I couldn't do was the SVC for ls993. Literally no one has it, spend 25 min looking and 5 minutes going through the tutorial.
Only issue I know is that some apps have a very small black sliver on the bottom, is this due to not forcing long display through the SVC? Does anyone know the SVC for ls993???
Either way, the rest works 1000x better than I expected and the battery drain solutions are terrific.
Home screen looks super good too

swapping back and recent buttons does not space properly

Hey, trying to swap my recent and back buttons. I've tried Custom Navigation Bar app, as well as the adb shell command (adb shell settings put secure sysui_nav_bar "space,recent;home;back,space").
While both methods (the same, from what I understand) swap the buttons, the buttons are spaced closer together than they used to be. I suppose I can just get used to it, but it looks funny to me. Anyone have a different solution?
Recent, space; Home; Space, back
The 'spaces' have to be swapped in their respective space. At least this is how I remember when in the same sit
dontbeweakvato said:
Recent, space; Home; Space, back
The 'spaces' have to be swapped in their respective space. At least this is how I remember when in the same sit
Click to expand...
Click to collapse
That command makes the buttons too far apart. It's weird that these commands can't get the default spacing correct
I think there's space for 5 icons but some require a 'space' within their icon field. What were you using custom navbar app?
dontbeweakvato said:
I think there's space for 5 icons but some require a 'space' within their icon field. What were you using custom navbar app?
Click to expand...
Click to collapse
Yeah, I tried both custom navbar as well as through adb, but the spacing is off for both. but I believe they basically do it the same way. Interestingly enough, without inverting the recent and back buttons, the spacing gets messed up by custom navbar. It's not a huge deal, just something I noticed
Hopefully Google bakes it into 8.1 system tuner
beezar said:
Yeah, I tried both custom navbar as well as through adb, but the spacing is off for both. but I believe they basically do it the same way. Interestingly enough, without inverting the recent and back buttons, the spacing gets messed up by custom navbar. It's not a huge deal, just something I noticed
Hopefully Google bakes it into 8.1 system tuner
Click to expand...
Click to collapse
This method still works worked for me on Android P beta. The gestures work as they should after the swapping the buttons. I left in "recent" in the script. No issues when doing this.
Thanks Fatphatboy88
https://forum.xda-developers.com/showpost.php?p=74133909&postcount=4
You have to install the ADB and fastboot
plug you phone into your computer
turn on debugging mode
open up a command prompt window in the adb folder on your computer
these are the following commands I used. I did notice if you have small hands you could type ";home;recent,back" and it will put the home icon in the middle and the other two buttons on the right. What ever button you put the semi colons around will be in the center of the screen.
Type
adb shell
settings put secure sysui_nav_bar "space,recent;home;back,space"
localfinesse said:
This method still works worked for me on Android P beta. The gestures work as they should after the swapping the buttons. I left in "recent" in the script. No issues when doing this.
Thanks Fatphatboy88
https://forum.xda-developers.com/showpost.php?p=74133909&postcount=4
You have to install the ADB and fastboot
plug you phone into your computer
turn on debugging mode
open up a command prompt window in the adb folder on your computer
these are the following commands I used. I did notice if you have small hands you could type ";home;recent,back" and it will put the home icon in the middle and the other two buttons on the right. What ever button you put the semi colons around will be in the center of the screen.
Type
adb shell
settings put secure sysui_nav_bar "space,recent;home;back,space"
Click to expand...
Click to collapse
Sorry to revive an old thread, but I didn't want to start a new one for the same problem... Can anyone tell me if this method works on Pie stock? Do I need to root/unlock bootloader? My phone is almost completely factory, and I love it aside from the back/recent buttons being different than I'm used to.
Smoghog said:
Sorry to revive an old thread, but I didn't want to start a new one for the same problem... Can anyone tell me if this method works on Pie stock? Do I need to root/unlock bootloader? My phone is almost completely factory, and I love it aside from the back/recent buttons being different than I'm used to.
Click to expand...
Click to collapse
I believe you need to be rooted.
Smoghog said:
Sorry to revive an old thread, but I didn't want to start a new one for the same problem... Can anyone tell me if this method works on Pie stock? Do I need to root/unlock bootloader? My phone is almost completely factory, and I love it aside from the back/recent buttons being different than I'm used to.
Click to expand...
Click to collapse
check out https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner no root required
uicnren said:
check out https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner no root required
Click to expand...
Click to collapse
I looked at that, but the string of bad reviews turned me off of using it. I would much prefer the clean and simple fix that localfinesse highlighted above, if possible.. I may give it a shot even though I'm not rooted, just to see if it works.
I've been using it since I got the phone last year;works great. I am rooted. The only tiny glitch I had was when I switched to using the gesture navigation. After I switched back to the three buttons, the recent menu was gone. However, I went into the app and it appeared again. It works just as it had before.
localfinesse said:
This method still works worked for me on Android P beta. The gestures work as they should after the swapping the buttons. I left in "recent" in the script. No issues when doing this.
Thanks Fatphatboy88
https://forum.xda-developers.com/showpost.php?p=74133909&postcount=4
You have to install the ADB and fastboot
plug you phone into your computer
turn on debugging mode
open up a command prompt window in the adb folder on your computer
these are the following commands I used. I did notice if you have small hands you could type ";home;recent,back" and it will put the home icon in the middle and the other two buttons on the right. What ever button you put the semi colons around will be in the center of the screen.
Type
adb shell
settings put secure sysui_nav_bar "space,recent;home;back,space"
Click to expand...
Click to collapse
Just a follow-up for anyone who comes along to this thread later - You CAN do the above method suggested by localfinesse even if you are not rooted. It was easy to just go ahead and do it that way since I would have had to have to use adb commands from the pc to authorize the custom navigation bar app, anyhow. Feels much better now
Edit: I'm on Android Pie final, no root or unlock. All you need is Developer Options opened and USB Debugging enabled.
Follow-up questions: Does anyone know what else can be added in the two extra spaces? Is there a list somewhere? And Is it possible to launch camera from one?
Smoghog said:
Just a follow-up for anyone who comes along to this thread later - You CAN do the above method suggested by localfinesse even if you are not rooted. It was easy to just go ahead and do it that way since I would have had to have to use adb commands from the pc to authorize the custom navigation bar app, anyhow. Feels much better now
Edit: I'm on Android Pie final, no root or unlock. All you need is Developer Options opened and USB Debugging enabled.
Follow-up questions: Does anyone know what else can be added in the two extra spaces? Is there a list somewhere? And Is it possible to launch camera from one?
Click to expand...
Click to collapse
Idk if you can do that with the adb shell command. But you *can* use Custom Navigation Bar without root. It also offers extra left/right buttons, and you can assign functions to those buttons (including launching apps).
The adb shell commands work perfect. Used it on my work pixel 2.

[Q] Gesture apps - Why home gesture dont work?

Hi to all!
I'm experiencing a really strange thing when try to set an HOME gesture with some of most famous apps for that purpose, like ALL IN ONE GESTURES, EDGE GESTURES and similar.
If I set recent apps and back gesture, they work in every way I set them...but if I try to set ANY KIND of gesture for returning to home... nothing happens.
The command work properly (I feel the haptic vibration, or alinz, that starts when a command is performed), but the gesture won't work in the end...
Anyone noticed that too? Maybe there's something I missed for make them work?
I use swipe up from bottom border and it works for me. I use aio.
Sent from my ONEPLUS A5010 using Tapatalk
I didn't find the cause yet but it is also happening to me. If I reboot the phone the home gesture starts to work fine, it only breaks if I re-enabled the nav bar + disable immersive mode using their quick tiles provided by joneplustools and systemuituner. The easiest solution is to reboot the phone.
Well but are you rooted?
Because I can disable navbar but on home screen it'll be always there, so I can't use bottom gestures, only edge...
--anx-- said:
Well but are you rooted?
Because I can disable navbar but on home screen it'll be always there, so I can't use bottom gestures, only edge...
Click to expand...
Click to collapse
Right now I'm rooted, yes.
Without root the navbar always shows if you swipe from the bottom. You could try a 0px navbar by I think it doesn't work in OOS at the moment.
hardspartan360 said:
Right now I'm rooted, yes.
Without root the navbar always shows if you swipe from the bottom. You could try a 0px navbar by I think it doesn't work in OOS at the moment.
Click to expand...
Click to collapse
I already have the 0pt navbar and used successfully on S8 but with OnePlus it just don't works, I suppose because the navbar is named "drawable" in OnePlus internals while in APK it's "navbar", at least I've read it on multiple sources...
--anx-- said:
I already have the 0pt navbar and used successfully on S8 but with OnePlus it just don't works, I suppose because the navbar is named "drawable" in OnePlus internals while in APK it's "navbar", at least I've read it on multiple sources...
Click to expand...
Click to collapse
Yeah that must be the reason.
If you don't want to root right now your solution is to use a gesture app like edge gestures or swipe navigation because you can use gestures from the right/left edge so you activate the navbar less often.
It's not ideal but is has one advantage; for example when I want to close a game using the back button, the gesture sometimes is not recognized and I have to activate the navbar using the quick setting and that sometimes breaks the home gesture like we discussed yesterday so I have to reboot the phone sometimes. You only have to swipe from the bottom and it's all fine.
hardspartan360 said:
Yeah that must be the reason.
If you don't want to root right now your solution is to use a gesture app like edge gestures or swipe navigation because you can use gestures from the right/left edge so you activate the navbar less often.
It's not ideal but is has one advantage; for example when I want to close a game using the back button, the gesture sometimes is not recognized and I have to activate the navbar using the quick setting and that sometimes breaks the home gesture like we discussed yesterday so I have to reboot the phone sometimes. You only have to swipe from the bottom and it's all fine.
Click to expand...
Click to collapse
Yeah...but the fact that navbar is permanent in home screen no matter if you choose to hide it or not is really disappointing...
--anx-- said:
I already have the 0pt navbar and used successfully on S8 but with OnePlus it just don't works, I suppose because the navbar is named "drawable" in OnePlus internals while in APK it's "navbar", at least I've read it on multiple sources...
Click to expand...
Click to collapse
According to my experience this kind of problem is most likely caused by a third party app, possibly an xposed module or some half baked apk. Privately exchange a list of your installed apps, compare and concentrate on the more dubious apps you have in common and you may find your culprit there.
frozl said:
According to my experience this kind of problem is most likely caused by a third party app, possibly an xposed module or some half baked apk. Privately exchange a list of your installed apps, compare and concentrate on the more dubious apps you have in common and you may find your culprit there.
Click to expand...
Click to collapse
Well I don't have any X module since I'm not rooted, apps installed I don't know but I doubt it because are the same apps that was in S8 before, so I don't think that an app can interfere with the 0pt navbar functions...
--anx-- said:
Yeah...but the fact that navbar is permanent in home screen no matter if you choose to hide it or not is really disappointing...
Click to expand...
Click to collapse
Yeah that's the main gripe. I suppose you are concerned about burn-in.
I don't know if stock OOS Oreo will fix that. Maybe some Dev can mod the navbar file as I was done with the old filetype as in the Galaxy S8.
I also can tell you that on LiquidRemix 8.0 ( it's on a Telegram group as is in testing stage ) you could hide the navbar completely without root but I understand that you don't want to change the rom and right now is has bugs so is better to stay in Oxygen.
Right now I'm using stock OOS 4.7.4 with root and to update is super easy, just download and flash the full zip, flash your kernel + magisk/superSu after and it's done.
I don't know if you care about Android Pay...
---------- Post added at 01:02 AM ---------- Previous post was at 01:00 AM ----------
frozl said:
According to my experience this kind of problem is most likely caused by a third party app, possibly an xposed module or some half baked apk. Privately exchange a list of your installed apps, compare and concentrate on the more dubious apps you have in common and you may find your culprit there.
Click to expand...
Click to collapse
I can tell you that on a fresh installed OOS 4.7.4 without third party apps it doesn't work. The problem is that on Oxygen the navbar has another name in system so that mod doesn't work.
No I don't care about it because there's no need for it now, at least for me.
I've always rooted phones, no problems with that, it's just that I don't feel the need to do it with 5T since is nearly stock and good to run stock "as is"...

[APK] Navigauton bar - 0 pt apk - OnePlus 5T compatibility?

Hi to all!
Just wanted to know if there's a possibility to get this APK work on out 5T too...on S8 it worked like a charm and easily bring the chance to navigate the phone without navigation soft keys, along with a swipe navigation app from Play Store (All In One Gestures for example).
This apk reduce the height of the navbar to 0, pratically will "delete" the navbar permanently (after a reboot), and the stock state could be reversed with simply uninstall this app.
But I noticed that this will not work on 5T: installed, reboot but navbar it's still there...
So, the question is: anyone knows how to get this to work with 5T too?
https://forum.xda-developers.com/attachment.php?attachmentid=4188536&d=1497996764
Looking for the same thing but one that shrinks the navbar like -18DPI or smaller. None of the available mods or substratum themes seem to work for Oreo regarding the navbar.
Ah, I'm on NOUGAT, hasn't switched to Oreo yet, waiting official OTA.
But I think that this, once "fixed", should work on Oreo and Nougat too...
At least...I hope...
--anx-- said:
Ah, I'm on NOUGAT, hasn't switched to Oreo yet, waiting official OTA.
But I think that this, once "fixed", should work on Oreo and Nougat too...
At least...I hope...
Click to expand...
Click to collapse
On nougat there's a couple different ways. If your rooted there's a magisk module. If not you should be able to use Andromeda and use the substratum navbar height plug in.
Only thing regarding changing the height to -o is that it sometimes breaks your power button. So if you hold it it instantly reboots your phone.
There's a thread on how to get around that if your are rooted using Xposed temporarily to achieve hiding the navbar.
qben88 said:
On nougat there's a couple different ways. If your rooted there's a magisk module. If not you should be able to use Andromeda and use the substratum navbar height plug in.
Only thing regarding changing the height to -o is that it sometimes breaks your power button. So if you hold it it instantly reboots your phone.
There's a thread on how to get around that if your are rooted using Xposed temporarily to achieve hiding the navbar.
Click to expand...
Click to collapse
I'm not rooted, but that "Andromeda" thing? It's a Substratum module?
what does this apk do to the phone?
i know you wrote it will adjust the height to 0px
but whats the benefit out of it?
leongzxc said:
what does this apk do to the phone?
i know you wrote it will adjust the height to 0px
but whats the benefit out of it?
Click to expand...
Click to collapse
The benefit is to be able to use FULL display without on screen buttons, prevent burn-in because of softkeys...and let be able to navigate the phone with gestures with apps like All in one gestures or swipe navigation.
:good:
Best solution atm is to root your device and use jOnePlus Tools app. No need for Xposed at all, as jOnePlus Tools adds a qs tile to show/hide the navigation bar.
The best solution is that I think, found in another thread posted by @janres155 , that can be done with ADB without root, xposed or Substratum...only a single command in ADB shell will do the trick:
https://forum.xda-developers.com/oneplus-5t/how-to/guide-rid-navbar-drawbacks-xposed-t3712135/page7

How To Guide Remove NavBar Gesture Pill (and more) for Pixel 6 Pro

Update: This only works if you are rooted now, since the January 2022 patch.
Hi guys, I've seen several posts asking how to remove the Gesture Pill. It's easy if you're rooted, but it's also possible if you're not rooted.
Here is a step by step guide. There is also a huge amount of UI mods that can be made using the same method.
1. Download the Shizuku app from the Playstore
2. Start the Shizuku app by running the following adb command:
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
3. Download and install FabricateOverlay release from Github.
4. In FabricateOverlay click “Add Overlay”
5. Choose Android System
6. Click “Add”
7. Set “android:dimen/navigation_bar_height” to 1. Apply. Save. Tick.
8. Set “android:dimen/navigation_bar_frame_height” to 0. Apply. Save. Tick.
9. Enjoy!
Let me know in the thread if anything is unclear.
Thanks to @squee666 for an alternative solution that does not affect the keyboard! Try it out!
Credits:
Zachary Wander for the FabricateOverlay app and the instructions.
RikkaW for the Shizuku Api.
MishaalRahman, Quinny898 and various Redditors (especially LankeeM9 and audie-tron171) for the relevant settings.
Very nice, thank you for this!
Points 8 and 9 xan you be more specific.
Damn, it's too bad that the overlay system can't change fonts. I don't even want to install custom fonts, I just want to change the system default to the new Google font instead of Roboto. Without root.
Can we enable Fluid Navigation Gestures after applying a similar tweak?
tids2k said:
Points 8 and 9 xan you be more specific.
Click to expand...
Click to collapse
Basically you need to search "android:dimen/navigation_bar_height" by entering it in the search box. Then click on it. Then add the value in the value box and click "Apply". There are screenshots showing how it works here.
StrangerWeather said:
Basically you need to search "android:dimen/navigation_bar_height" by entering it in the search box. Then click on it. Then add the value in the value box and click "Apply". There are screenshots showing how it works here.
Click to expand...
Click to collapse
Thank you figured out eventually.
Guyinlaca said:
Can we enable Fluid Navigation Gestures after applying a similar tweak?
Click to expand...
Click to collapse
What do you mean?
Great! It works. Thanks!
But there seems to be one down-side ... when you enable the overlay the Google keyboard does not longer show the "down" marker to make the keyboard disappear. The android:dimen/navigation_bar_frame_height (0) is causing that. See attached 2 screenshots. First one is without overlay enabled, second one has overlay enabled. Notice how the little downward pointing arrow is gone on the second one.
foobar66 said:
But there seems to be one down-side ... when you enable the overlay the Google keyboard does not longer show the "down" marker to make the keyboard disappear. The android:dimen/navigation_bar_frame_height (0) is causing that. See attached 2 screenshots. First one is without overlay enabled, second one has overlay enabled. Notice how the little downward pointing arrow is gone on the second one.
Click to expand...
Click to collapse
Good point. However, you just need to swipe back for the keyboard to disappear.
StrangerWeather said:
Hi guys, I've seen several posts asking how to remove the Gesture Pill. It's easy if you're rooted, but it's also possible if you're not rooted.
Here is a step by step guide. There is also a huge amount of UI mods that can be made using the same method.
1. Download the Shizuku app from the Playstore
2. Start the Shizuku app by running the following adb command:
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
3. Download and install the latest FabricateOverlay release from Github
4. In FabricateOverlay click “Add Overlay”
5. Choose Android System
6. Click “Add”
7. Set “android:dimen/navigation_bar_height” to 0. Apply. Save. Tick.
8. Set “android:dimen/navigation_bar_frame_height” to 0. Apply. Save. Tick.
9. Enjoy!
Let me know in the thread if anything is unclear.
Credits:
Zachary Wander for the FabricateOverlay app and the instructions.
RikkaW for the Shizuku Api.
MishaalRahman, Quinny898 and various Redditors (especially LankeeM9 and audie-tron171) for the relevant settings.
Click to expand...
Click to collapse
What is the workaround for me that im rooted?
foobar66 said:
But there seems to be one down-side ... when you enable the overlay the Google keyboard does not longer show the "down" marker to make the keyboard disappear. The android:dimen/navigation_bar_frame_height (0) is causing that. See attached 2 screenshots. First one is without overlay enabled, second one has overlay enabled. Notice how the little downward pointing arrow is gone on the second one.
Click to expand...
Click to collapse
It might be possible to increase the bottom margin of the keyboard in system.ui. I'll check in a bit.
Edit: Actually, the handle is part of the navbar, which is the reason why it disappears when removing the navbar.
cultofluna said:
What is the workaround for me that im rooted?
Click to expand...
Click to collapse
Just open the Shizuku app and press "Start" in "Start (for rooted devices)".
So on Android 10, there was an overscan feature that allowed the 3 button navigation to be hidden and replaced with 3rd party navigation apps such as Fluid Navigation Gestures. This allowed swipe up from the bottom navigation much like OnePlus and Samsung offer. My curiosity is if this mod allows third party apps the hide and utilize the navbar.
Guyinlaca said:
So on Android 10, there was an overscan feature that allowed the 3 button navigation to be hidden and replaced with 3rd party navigation apps such as Fluid Navigation Gestures. This allowed swipe up from the bottom navigation much like OnePlus and Samsung offer. My curiosity is if this mod allows third party apps the hide and utilize the navbar.
Click to expand...
Click to collapse
Only if they integrate the Shizuku library into their app afaik.
I can confirm this working on my Pixel 3 XL on Android 12, no root, locked bootloader. Thank you so much for this!
StrangerWeather said:
Good point. However, you just need to swipe back for the keyboard to disappear.
Click to expand...
Click to collapse
Aha yes ... if you swipe above the keyboard it goes away ... did not know that! Thanks for that tip.
One question, how come that this sticks after reboot (even when disabling Shizuku/FabricateOverlay)?
foobar66 said:
One question, how come that this sticks after reboot (even when disabling Shizuku/FabricateOverlay)?
Click to expand...
Click to collapse
Basically you only need to give the app permission to change the settings (i.e. write to secure settings). Once the system setting is written it sticks. But if you want to change the value again you will need to go through the same process with both apps.

Categories

Resources