[GUIDE][17-3-2018]Auto Hide Status & Navigation Bar in All Apps[No Root] - HTC U11+ Guides, News, & Discussion

Hi guys, i am a new proud owner of HTC U11+, i received it today .
A brief history, before this device i had and still do a Nexus 6p but i think its days are numbered. Having said that it was my favorite owned device to date i am also active on XDA forums mostly writing guides about needed simple tricks. Last year my thread got famous around the internet for showing how to hide the Status and Navigation bar which benefited alot of Samsung S8/S8+ users.
Ok enough about that, so here is how to auto hide the status bar and navigation bar on all apps except the "Home Screen" without using any app for that. For some reason the navigation & status bar will unhide it self once you start another app, for now there is no remedy for it.
One more thing, one would ask what is the benefit of doing this?, well the short answer is you will have a bigger app screen size which will result in a more enjoyable experience.
Requirements:
-adb/fastboot environment (adb shell) on your PC after connecting the phone in file transfer mode and usb debugging is on
-Connect the device and run the command lines:
How To:
· Hide Status Bar only type:
adb shell settings put global policy_control immersive.status=*
· Hide Navigation Bar only type:
adb shell settings put global policy_control immersive.navigation=*
· Hide Both Bars type (Immersive Mode):
adb shell settings put global policy_control immersive.full=*
· Back to normal/default state:
adb shell settings put global policy_control null*
Now, since our device has a shortcut to hide the navigation bar but not the status bar this is where the immersive command line is most useful.
Note: Please run the command line again in apps where the effect hasn't applied to, do it while you are still in the app. also if you need certain apps with the status bar shown still then please visit my Nexus 6p thread which is more specific.
Finally, this method isn't stable, meaning if you use the shortcut from the navigation bar to hide the bar you will need to reapply the command line once again to get the immersive mode back, another alternative method to this is to use an app from the play store.
Update( 17-3-2018):
-To make the navigation bar hide and stick on the launcher home page without going back to normal after you start another app, remove the "show hide navigation bar" shortcut in the navigation bar first or second panel and reapply the command line one more time.
-After using an app from the play store, the immersive mode doesn't seem to stick after a restart of the device. So i suggest you use an app called "Granular Immersive Mode(Paid App)" to apply the immersive mode from the phone without using the PC every time there is a change.
-It seems using the PC CMD method to get immersive mode isn't playing well with HTC phones, and you will have to reapply it with every restart of the device.
Good Luck.
Video to showcase: https://www.youtube.com/watch?v=TtbatlO8t94&feature=youtu.be

Disable the navigation bar without root. Navigation bar isn't visible when using keyboard and sticks after restart of the device.
https://forum.xda-developers.com/nexus-6p/general/guide-remove-navigation-bar-using-adb-t3775768

Rashad83 said:
Disable the navigation bar without root. Navigation bar isn't visible when using keyboard and sticks after restart of the device.
https://forum.xda-developers.com/nex...2#post76183092
Click to expand...
Click to collapse
Correct link should be this one
https://forum.xda-developers.com/ne...-using-adb-t3775768/post76183092#post76183092

Related

Is there a way to fully disable the Navigation Bar???

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.

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

Essential Phone Immersive mode

Updated 3/14 - Custom Nav bar works on 8.1 Final!
Use this - adb shell wm overscan 0,-143,0,0
For navigation - use J-touch and/or Navigation Swipes app
Hide Navigation Bar using Custom Nav Bar
Update 3/8/2018 - Custom Nav bar doent work on 8.1
Use this - adb shell wm overscan 0,-143,0,-150
For navigation - use J-touch and/or Navigation Swipes app
Update 01/30/2018
Use command - wm overscan 0,-143,0,0
and hide nav bar using custom nav bar app. Notification dropdown works !
Update -
Follow below post for good adb solution (Thanks qmc)
https://forum.xda-developers.com/showpost.php?p=74981323&postcount=24
Hide Status Bar
adb shell wm overscan 0,-160,0,0
Hide Nav Bar
adb shell wm overscan 0,0,0,-150
Hide Nav and Status bar
adb shell wm overscan 0,-160,0,-150
Go back to default setting
adb shell wm overscan 0,0,0,0
Example Video (Thanks Toyeboy )
Example Video (Thanks qnc)
https://drive.google.com/file/d/1Plkkq3BfTHA1bCofUr5I_3e76IHHozAl/view
Warning - It does not allow swipe down of the notification or use navigation bar. You have to use workaround to get navigation bar and notification bar. For example search for Pie control /Side bar apps on google play. You could also use gesture control apps.
Try below apps for navigation as nav bar and notifications are gone for good-
https://apkpure.com/side-apps-bar-edge-sidebar/infamous.apps.appsbarfree
https://play.google.com/store/apps/details?id=com.suphi.swipenavigation
I use fingerprint sensor swipe for notification bar pull down.
--------------------------
Found an app which actually hiding nav bar and notification bar and making full use of screen. It works with most apps including chrome.
https://play.google.com/store/apps/details?id=com.gmd.immersive&rdid=com.gmd.immersive
Keyboard is not working in immersive mode though.
This one works too
https://play.google.com/store/apps/details?id=in.omerjerk.fullscreenimmersive
It does work but is very buggy with keyboard and other issues ,I'm no Dev so it's easy for me to say but I just wish essential did fully immersive.Ive got rid of nav bar via Adb and it work flawless with the layout app.But getting apps to use notification area seems to be very problematic,and if essential sort this it will make the screen estate so much better ,the few apps like Google maps photos etc that do use full screen look outstanding
Sent from my PH-1 using XDA Labs
· Hide Status Bar only type:
adb shell settings put global policy_control immersive.status=*
· Hide Navigation Bar only type:
adb shell settings put global policy_control immersive.navigation=*
· Hide Both Bars type:
adb shell settings put global policy_control immersive.full=*
· Back to normal/default state:
adb shell settings put global policy_control null*
Exclude Google apps -> Do this or you might see strange battery drain issues.
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
tech_head said:
· Hide Status Bar only type:
adb shell settings put global policy_control immersive.status=*
· Hide Navigation Bar only type:
adb shell settings put global policy_control immersive.navigation=*
· Hide Both Bars type:
adb shell settings put global policy_control immersive.full=*
· Back to normal/default state:
adb shell settings put global policy_control null*
Exclude Google apps -> Do this or you might see strange battery drain issues.
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
Click to expand...
Click to collapse
Thanks for the suggestion. I replaced the asterisk with a few select apps that would benefit and the status bar indeed autohides. Unfortunately, it doesn't draw over where the status bar would be. Any suggestions?
That's the issue faced with a lot of this immersive app,it hides stays bar but doesn't use it for apps,attached are maps and photos apps taking full use of screen ,will using the adb command above do this
Sent from my PH-1 using XDA Labs
tech_head said:
· Hide Status Bar only type:
adb shell settings put global policy_control immersive.status=*
· Hide Navigation Bar only type:
adb shell settings put global policy_control immersive.navigation=*
· Hide Both Bars type:
adb shell settings put global policy_control immersive.full=*
· Back to normal/default state:
adb shell settings put global policy_control null*
Exclude Google apps -> Do this or you might see strange battery drain issues.
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
Click to expand...
Click to collapse
I tried this, this is hiding status bar but status bar becomes black strip and apps are not using that space. If I use GMD, apps using full screen. Thoughts ?
Agree tried gmd just too many bugs with keyboard etc for every day use.Some Devs have fully immersive in their ROMs but not sure if it uses full screen on apps or just puts a black bar there
This should be a priority for essential,and when apps.use the full screen including the notch they really stand out
Sent from my PH-1 using XDA Labs
how about editing the Navbar height without gravitybox?
Immersive mode doesn't work in landscape mode, right?
Guys, all of you without root?
For root use: https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner
vergilbt said:
Guys, all of you without root?
For root use: https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner
Click to expand...
Click to collapse
Works great for the nav buttons but not the status bar.
Sent from my PH-1 using XDA Labs
avd said:
Works great for the nav buttons but not the status bar.
Click to expand...
Click to collapse
I never understood hiding the status bar...
Now especially with the way the camera notch is... Let there be the unused space... Whatever else you put there is gonna be impeded...
Hi guys! I'm new with the PH1 but I've always hated the navbar. I just found a module on magisk called hide navigation bar, you need busybox too. It works, I got force close of system ui on boot but after that works! I'm on magisk 15, it worked on 14.3 also.
The navbar is gone for good, it uses the old method changing qemu.hw.mainkeys
Azdian said:
how about editing the Navbar height without gravitybox?
Click to expand...
Click to collapse
Like setting "wm overscan 0,-?,0,0" forcing the navigation bar above the visiable screen space?
Try this one, again keyboard need to be enabled via floating button
https://play.google.com/store/apps/details?id=in.omerjerk.fullscreenimmersive
Rep7ile said:
Like setting "wm overscan 0,-?,0,0" forcing the navigation bar above the visiable screen space?
Click to expand...
Click to collapse
All I want is a smaller navbar, is it possible without gravitybox?
Azdian said:
All I want is a smaller navbar, is it possible without gravitybox?
Click to expand...
Click to collapse
Yes it is but you will Need access to ADB.
Basically you would. Open a Adb shell and type "wm overscan 0,0,0,-23" you can Make. It. As Thick Or Thin as you want. I hope I understand your question and could Help.
Rep7ile said:
Yes it is but you will Need access to ADB.
Basically you would. Open a Adb shell and type "wm overscan 0,0,0,-23" you can Make. It. As Thick Or Thin as you want. I hope I understand your question and could Help.
Click to expand...
Click to collapse
didn't work, I tried "adb shell wm overscan 0,0,0,-15" and the navbar height still the same.
worked for me! You have to do adb shell, then the other command.
I set it to - 140 to completly remove it. Then I use swype navigation.
Thanks!
Yeah worked great, I was doing it wrong.
But what are the other values for " 0,0,0,-23"?

Hide statusbar

I for one like the notch, in fact, it bothers me that the notification icons and clock sit there while my browser is active. I'd love to be able to hide the bar when an app other than the launcher is active. Is this possible?
I found this, but it's for the 5t: https://forums.oneplus.com/threads/...5t-5-1-0-auto-hide-status-bar-no-root.822354/
Waiting for this too.. For now I did the ADB command to hide the notification bar via immersive mode.. but, it doesn't extend the window to the top fully, just hides the top notif bar completely.
adb shell settings put global policy_control immersive.status=*
Ref - https://android.gadgethacks.com/how...s-bars-your-galaxy-s9-no-root-needed-0183504/

How To Disable Immersive Mode And Keep The Software Buttons Always On?

Hey all,
Does anyone know how to disable immersive mode and keep the software buttons always on? My mother has really shaky hands and performing gestures is not really viable for her so I'd like to just disable immersive mode all together that way she has the software buttons on at all times. I have came across multiple commands to hide the navbar and status bar but, nothing to keep it always enabled. Here is all of the commands that I've came across so far
Change Navigation Bar Color
settings put global navigationbar_color <Android value>
Change Navigation Bar Color
settings put global navigationbar_current_color <Android value>
Hide Status Bar Only
adb shell settings put global policy_control immersive.status=*
Hide Navigation Bar Only
adb shell settings put global policy_control immersive.navigation=*
Hide Status Bar and Navigation Bar
adb shell settings put global policy_control immersive.full=*
+ Immersive Mode In All Apps Except Certain Apps
adb shell settings put global policy_control immersive.full=apps,-"app location",-"another app location"
+ Immersive Mode In All Apps But With Certain Apps Having Status Bar Not Hidden
adb shell settings put global policy_control immersive.navigation=apps,:immersive.status=apps,-"app location",-"second app location"
+ Immersive In All Apps But With Certain Apps Having Navigation Bar Not Hidden
adb shell settings put global policy_control immersive.status=apps,:immersive.navigation=apps,-"app location",-"second app location"
Put Status Bar and Navigation Bar Back to Normal/Default State
adb shell settings put global policy_control null*
Any and all help is appreciated.

Categories

Resources