Is there a way to fully disable the Navigation Bar??? - Google Pixel Questions & Answers

Greetings!!!
I'm trying to fully disable the NavBar without success...
If I try to mod build.prop adding the following line at the end of the file:
qemu.hw.mainkeys=1
My system just crashes.
That's the tweak that i've been using to disable the NavBar on every phone I had before.
I read somewhere that I can just set my phone to be always on immersive mode via a terminal command, and that's way I did to "hide" the NavBar, but every time I swipe up "by mistake", the bar appears (or every time I try to use the keyboard).
I don't need the NavBar because I use LMT, it just takes space on my screen.
Can anyone please help me sort this out???
Best regards!!!

Bump

https://forum.xda-developers.com/pixel/themes/mod-navbar-tuner-additional-qa-tile-rows-t3522314
This is a method, setting DPI of nav bar to zero. Also there is immersive mode. Also if rooted there are apps that can hide the status and nav bars. I used an app called Tile root for Nougat. It worked great. Now I use a custom ROM which has it built in.

Related

Toggle Nav Bar

Is there's anyways I can toggle my navigation bar via a shortcut without going immersive mode because it conflicts with my LMT pie control. I think there should be a way I can long press any key or a custom tile which toggles an option that enables/disables my navigation bar just like I do with my data service. I've been searching for months for that option but I haven't been successful. Not everyone knows how to use navigate my cellphone with gestures like I do, so to make my life and their life easier I want to toggle a shortcut to activate/disactivate that, without having to go to my rom settings or GB settings because it takes some times and sometimes I have to reboot which is quite annoying.

Broke the Nav Bar on Android 7

Just switched over to the H8. Took the Android 7 upgrade and did a boot loader unlock/TWRP/root.
I went on a quest to get the Nav Bar to hide. I tried a few things (apps out of the app store) none of which really worked. I also made a few changes to build.prop (I'll tell you about that in a second). At some point I realized the NAV bar was GONE. Sometimes I could get it to come back up and sometimes not.
Now I have it back but it has the "hide" button on the left which SHOULD be good except once you hide it, no amount of coaxing will reliably bring it back up. So either I don't know how to bring it up (just swipe up from the bottom, right?) or something is still broken. At this point, I'd be happy just to get rid of the hide button.
I did a few tries with (with both 0 and 1 values)
qemu.hw.mainkeys=1
ro.config.showNavigationBar=false
If you set mainkeys=1 the screen will go black after unlocking. The true/false seems to control the switch on the nav button menu, not the nav bar itself.
In addition in the global settings namespace there is:
navigationbar_is_min=0
policy_control=null*
If you hide the bar, is_min goes to 1 but changing it manually doesn't help. The policy control ought to hide bars if set right but seems to not have any effect.
Any ideas? What am I missing? Something is making it put that extra button on the nav bar.
Update:
Setting policy_control to "" brings the bar back but... it floats over the screen. It works but the app on the screen is "under" it, as though it were pulled up. So I suspect I need to google a different value of policy_control.
If someone has the same setup and could do from an adb shell:
settings get global policy_control
That would be interesting.
Update #2: Rebooting with the taskbar up seems to correct that, but there is still the hide button on the left hand side. Now if it works and I just don't know how to make it reappear that's exactly what I'm after. But as it is if you make a mistake and hide it, it is hard to recover (and yes I know about the floating dock).
Final Update (?)
Ok I think I got it, although I never got it back to stock. Instead of trying to get out of immersive mode I should have gone in for it. From ADB I did:
settings put global policy_control "immersive.full=*"
or
settings put global policy_control "immersive.navigation=*"
That seems to do what I want. The nav bar hides until you swipe up or bring the notifications down. If the keyboard or something else is under it you can use the hide button to push it away. Success! Well... maybe... it seems like I lost it again, but for awhile it was behaving exactly as you'd expect.... hmm..
I've tried to replace the navbar with gestures before, and the best I got was to completely hide the nav.
There are also some apps on the play store that let you do that, and work pretty well.
The problem is the modifications that Huawei made to the OS are so extensive, that messing with the navbar in ways that other devices work, may just break it completely.
It's a pain in the butt to do anything on this phone.
Well I had a few hours of success where the bar hid and would show. Sometimes a drag up would not work but bringing the status bar down would also bring the menu up and that's workable. But... this morning. it decided to hide all the time again. So I can eventually coax it back with settings changes, but that's really not handy at all.
Ok I think I have a better idea now. The build.prop has the
ro.config.showNavigationBar=false
This controls if the "Show navigation bar" shows up in settings (and that's all it controls). However... I had it turned ON and then removed that line from build prop. So having it on appears to control the hide button and that's all.
Meanwhile all the immersive mode stuff was just further confusing.
So the working config seems to be:
Set the nav bar to true in build prob.
the settings should have policy_control to null*
the settings should have navigationbar_is_min 0
then once rebooted, slide the Navigation Bar OFF on the Navigation Key setting (not sure where this is stored).
So it is confusing because Navigation Bar OFF must mean more "Navigation Bar hiding OFF"
Better idea is to leave the nav bar alone. However, if you had a 3rd party replacement (or you like using the floating dock which I don't) then setting the is_min setting to 1 might be just what you want. Just reboot and that sucker stays gone most of the time.
So once I had that sorted out: https://play.google.com/store/apps/details?id=com.gmd.immersive does what I wanted. What an adventure!
Hi,
I know this thread is kind of old, but I've also been trying to his the navy bar, only difference is I never want it to come back.
I've tried qemu.hw.mainkeys and got the black screen after locking, tried is_min setting but it hid the keys on the bar but lleft a bar at the bottom of the screen.
Any ideas on how I can make it vanish forever?
Thanks
Araytha said:
Hi,
I know this thread is kind of old, but I've also been trying to his the navy bar, only difference is I never want it to come back.
I've tried qemu.hw.mainkeys and got the black screen after locking, tried is_min setting but it hid the keys on the bar but lleft a bar at the bottom of the screen.
Any ideas on how I can make it vanish forever?
Thanks
Click to expand...
Click to collapse
Are you in EMUI 5 or 4?
Sent from my Honor 8 using XDA Labs

How can i disable nav bar completely?

Im rooted on 8.1 and im woundering how can i completely disable nav bar not just put it into immersive mode any ideas? Thx
Add to build.prop "qemu.hw.mainkeys=0" and reboot. No more navbar.
You should have another means of navigation setup prior to doing this such as lmt launcher or swipe navigation.
Thx thats the plan
"qemu.hw.mainkeys=0" and adb shell settings put global policy_control immersive.navagation=* both arnt working for me the only thing it did was set the nav to immersive
So the only thing that worked for me was substratum theme navbar height and set it to 0
By giving me your framework-.apk and SystemUIGoogle.apk I can get rid of your NavBar completely.
Ok cool i can pull them for you tonight i just need a root browser to get them?
Yes, or use adb to pull them
Hey. Which app did you use to do that? I couldn't find any that had it to work. Thanks!

Navbar and gestures - automation with spen

Hello,
Have you been trying to automate changing the navigation metod while using spen?
I use navigation gestures but I want to have nav bar when using spen.
This have changed since android 10 and old tasker task doesnt works for me now.
I see in tasker that when im changing navigation metod in settings these settings are beeing changed :
navigation_bar_gesture_while_hidden
navigation_mode
But even after setting up this correctly i still cant see navbar when detaching spen. The funny thing is that in settings it looks like im using nav bar navigation.
Has anyone been successful with this? Switching between navigation buttons and gestures would be super helpful when using S Pen.
I can trigger tasks on detaching/inserting spen but cannot show/hide navbar. Modifying the two aforementioned settings does not seem to have any effect.
Maybe try searching/posting in a Tasker forum, if it's Android 10 related I'm sure it's come up there.

Hide navbar on OxygenOS and keep full swipe gestures Android 11?

On my OnePlus phone (8T), if you enable the setting to hide the gesture pill navbar, it makes it so that in order to switch apps, you have to swipe up and then left/right to switch to an app instead of just swiping left/right directly. This is incredibly annoying, and I want to be able to just hide the navbar while keeping the original gestures.
https://github.com/Magisk-Modules-Repo/HideNavBar
Does the Fullscreen/Immersive Gesture magisk mod work on the 8T? On the github repo it says that immersive mode doesn't work on Oxygen, but I saw some threads mentioning it does so I'm a bit confused. Has anyone tried this?
Or, is there any other way to hide the bar? I also read this post that mentions a way to hide the navbar so you can use a third party gesture system. Is it possible to get an app that replicates the system swipe gestures after hiding the navbar, or do you have to use FNG for it?
https://forum.xda-developers.com/t/how-to-remove-nav-bar-in-android-11.4190469/
I hate how the navbar looks and how useless it becomes when you hide it and I'm THIS CLOSE to switching to a Samsung because they can easily disable it on root
XenonXYZ said:
On my OnePlus phone (8T), if you enable the setting to hide the gesture pill navbar, it makes it so that in order to switch apps, you have to swipe up and then left/right to switch to an app instead of just swiping left/right directly. This is incredibly annoying, and I want to be able to just hide the navbar while keeping the original gestures.
https://github.com/Magisk-Modules-Repo/HideNavBar
Does the Fullscreen/Immersive Gesture magisk mod work on the 8T? On the github repo it says that immersive mode doesn't work on Oxygen, but I saw some threads mentioning it does so I'm a bit confused. Has anyone tried this?
Or, is there any other way to hide the bar? I also read this post that mentions a way to hide the navbar so you can use a third party gesture system. Is it possible to get an app that replicates the system swipe gestures after hiding the navbar, or do you have to use FNG for it?
https://forum.xda-developers.com/t/how-to-remove-nav-bar-in-android-11.4190469/
I hate how the navbar looks and how useless it becomes when you hide it and I'm THIS CLOSE to switching to a Samsung because they can easily disable it on root
Click to expand...
Click to collapse
I could probably make you a module to get rid of it by editing your services.jar. I believe your native gestures would still work.

Categories

Resources