Reduce the height of the status bar (Pixel Experience) - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

I did not want to pollute the dev topic with questions, but I was wondering if there is a way to decrease the height of the status bar. It's awfully big and takes up too much of the screen.
I used an ABD command to remove the navigation line in the bottom, so I'm wondering if there is something similar for the status bar.
Or maybe a mod perhaps?
Thanks

If anyone ever stumbles upon this thread
With the ADB command:
ADB shell wm overscan 0,-20,0,-50
You remove the pill/line at the bottom and the unnecessary pixels above the clock/icons in the status bar

Related

[Q] ICS Buttons/status bar back to top edge

Enjoying a fresh install of ICS, but becoming more and more annoyed at accidentally tapping the status bar that's now located at the bottom edge of the screen, just below the space bar when typing.
Ive hunted through the options and I'm sure I've just missed the right check box, but where/how can i return the status bar and the associated buttons/menus back to the traditional top of the screen and safely out of my typing reach?
Currently running SGT7 20120604 nightly.
thanks for the help.
--B
I also want to know. I don't like bottom position.
Ditto, it's driving me crazy!
just change the resolution to 240dpi, you'll get into phone mode instead of tablet mode. Therefore you will get your status bar on the top.
If you mean by "ICS Buttons" is the soft keys of Navigation Bar, you can disable it from the system settings.

[HowTo] Hide the Navigation & Status Bars on Your Galaxy S9 — No Root Needed

Putting your Galaxy S9 in Immersive Mode lets you truly enjoy the gorgeous display that Samsung is so famous for. You can't have it set on at all times, however, so you'll still have to deal with the status and navigation bars that cut the phone's aspect ratio down to that of a standard phone. But if you're willing to dig a little deeper, there are ways to go full Immersive Mode on your S9 for good.
The good news is the S9 and S9+ now let you hide the navigation bar by double-tapping the tiny circular button on the left side of the navigation bar, giving you more screen space to enjoy content. You're still left with the status bar to deal with, however, and while it's transparent when on the home screen, the status bar will often turn opaque depending on that app you're currently using.
Thankfully, it's possible to hide your Galaxy S9's status bar and go full immersive using a method that's been out for a while. Though the process doesn't require root, you'll need to run an ADB command. Keep reading further if you want to get the most out of your S9's gorgeous display — just be sure to follow the steps exactly as they appear, especially if this is your first time with ADB and Fastboot.
Requirements
Developer options and USB debugging enabled
Windows, Mac, or Linux computer
ADB and Fastboot installed
USB data cable
Step 1 Allow USB Computer Connection
After installing ADB and turning on USB Debugging, connect your Galaxy S9 to your computer with a USB data cable. Next, swipe down from the top of your screen and select the "Android System" notification, then choose "Transfer files" from the popup.
Step 2 Open ADB
Running an ADB command is necessary hide the S9's status bar to keep it on Immersive Mode at all times. Because of this, you'll need to open a Command Prompt or Terminal window in the platform-tools folder inside of your ADB installation directory.
If you downloaded the SDK Tools from Google and did a default installation, go to the C:\Program Files (x86)\Android\android-sdk folder. If not, go to the folder where you installed ADB, then open the platform-tools folder located inside. Now, hold the shift button on your keyboard, then right-click within the window and choose "Open command window here."
If you have a Mac or Linux machine, open a Terminal window and change directories to the platform-tools folder. Perform a search on your hard drive for "platform-tools" if you don't know where it is, as the folder's exact location can vary depending on where you extracted ADB and Fastboot when the utilities were installed.
Step 3 Input Commands
Now that a connection has been established with the S9 and ADB is up and running, you'll need to type in a single command to hide the status bar at the top of the screen, so enter the following:
Code:
adb shell settings put global policy_control immersive.status=*
Step 4 Enjoy Full-Time Immersive Mode
Immediately after sending the above command, your status and navigation bars will disappear. At this point, it would be a good idea to restart your phone so that any apps that were previously open can redraw themselves to accommodate the extra screen real estate.
From now on, you'll still be able to access the navigation and status bars on your S9 by swiping in from either the top or bottom of the display, depending on which one you wish to access. The keyboard will still pop out as it normally does whenever you tap on a box that requires text input, and the home button's haptic feedback still remains active, but you'll need to reveal the navigation buttons to access Google Assistant.
Reverting This Mod
If you ever want to bring your S9 back to its stock configuration and re-enable the status bar, simply type in the following command to bring the display back to its original settings:
Code:
adb shell settings put global policy_control null*
Does this hide the navigation bar even in home screen?
What if I only want to hide the navigation bar, but not the status bar?
Thanks.
bethedealer said:
Does this hide the navigation bar even in home screen?
What if I only want to hide the navigation bar, but not the status bar?
Thanks.
Click to expand...
Click to collapse
Here you go:
· Hide Status Bar only type:
Code:
adb shell settings put global policy_control immersive.status=*
· Hide Navigation Bar only type:
Code:
adb shell settings put global policy_control immersive.navigation=*
· Hide Both Bars type:
Code:
adb shell settings put global policy_control immersive.full=*
+ Immersive in all apps except certain apps
Code:
adb shell settings put global policy_control immersive.full=apps,-"app location",-"another app location"
+ Immersive in all apps but with certain apps having Status bar not hidden
Code:
adb shell settings put global policy_control immersive.navigation=apps,:immersive.status=apps,-"app location",-"second app location"
Ex:
Code:
adb shell settings put global policy_control immersive.navigation=apps,:immersive.status=apps,-com.whatsapp
+ Immersive in all apps but with certain apps having Navigation bar not hidden
Code:
adb shell settings put global policy_control immersive.status=apps,:immersive.navigation=apps,-"app location",-"second app location"
Ex:
Code:
adb shell settings put global policy_control immersive.status=apps,:immersive.navigation=apps,-com.whatsapp
I try to disable the navigation bar on a S9+ and don't work for me.
Enviado desde mi SM-G965F mediante Tapatalk
There is a much easier way. Install BxActions and you get the option to press bixby button to enter inmmersive mode. No root needed
negrata said:
I try to disable the navigation bar on a S9+ and don't work for me.
Enviado desde mi SM-G965F mediante Tapatalk
Click to expand...
Click to collapse
I wasn't able to hide it in the first S9 I had and can't hide it on this one either. I can hide the status bar but not the navigation bar. If I use the code to hide both it makes the status bar show but does not hide the navigation bar. I have tried multiple times. When I put in the command for both or even just the navigation bar, it disappears for a micro second like a flash, and then is still there. I have even installed System Ui Tuner and get the same results. It's weird and it's driving me crazy. Was able to hide both just fine with the S8, S8+, and the Note8.
Just another update. I have tried this on 3 different S9's with no lu k. I can only hide the status bar but not the navigation bar. I was able to do it on the S8, S8+, and the Note 8 and on 2 LG V30's. I guess maybe I'm not supposed to have the navigation bar hidden on an S9.
To hide nav bar instantly use adb and hide using the command
adb shell wm overscan 0,0,0,-120
If not hiding properly then change value 120 and see the difference.
I tried this on my s9 plus and its working.
This code is not found by me instead i got it by googling and searching after long time.
Sent from my SM-G965F using XDA Prem ium HD app
Massive thank you from me. This has made the S9 so much more appealing on the eyes. :victory:
Now just need Samsung to pull their finger out and do something about the Navbar below the keyboard while typing. So annoying!
No way to hide the nav bar on the homescreen yet?
EDIT - Unfortunately hiding the status bar using this command breaks WhatsApp partially, emoticon panel is broken and can't see the top status bar above chat where you see the last seen time of the recipient unless the keyboard is hidden
truckerdewd said:
Just another update. I have tried this on 3 different S9's with no lu k. I can only hide the status bar but not the navigation bar. I was able to do it on the S8, S8+, and the Note 8 and on 2 LG V30's. I guess maybe I'm not supposed to have the navigation bar hidden on an S9.
Click to expand...
Click to collapse
It works mate, but on home screen can't hide nav bar, also under keyboard while typing unfortunately.
denistina:) said:
It works mate, but on home screen can't hide nav bar, also under keyboard while typing unfortunately.
Click to expand...
Click to collapse
On the Note8, S8, S8+,and the V30, the nav bar could be hidden on the home screen but on 3 different Galaxy S9's I had no luck. I have it hid on the home screen on my wife's Note8,I did it when she got it back in Oct when it was still on Nougat. The S8, S8+, and both V30's were also on Nougat when I was able to auto hide the nav bar via ADB commands and the the 2nd V30 and my wife's Note8 stayed like that after the update to Oreo so it is possible that it is a thing in Oreo for Samsung devices that are already on Oreo prior to doing the ADB commands.
I can do it just fine on my current phone which is an LG G7 ThinQ running Oreo just fine so it is most likely something in to Samsung software that is preventing it.
Are you guy still interested in remove navigation bar
https://forum.xda-developers.com/galaxy-s9/how-to/remove-replace-navigation-bar-t3813885/post77020140#post77020140
The best way for me so far
I tried almost all app to remove and replace the navigation bar for my Samsung S9 but all of them facing serval crop screen and app UI issue. For example Samsung Internet new tabs alignment, Crop grey backgound when windows popping up (I will attache screenshot below.)
And now I think I found the best way so far to fix all these issue
- "Oneplus Gestures" is best one for me for the alternative app to replace the navigation bar because not like others, the pill of this app is always at the bottom (not shift) and it work on overlays app (ex: FB messenger)
- "Hide Nav Bar" is the app that I choose to remove the native nav bar but for now it has some issue which cropping some app and I have solution for that. You have to enable global immersive mode then exclude the apps that cropped. So far I found these apps need to exclude: Smart Capture, Edge Widget, Instagram, Gallery. By filter immersive mode for these app you could use "Immersive Mode Manager" app or just write this adb command
Code:
adb shell settings put global policy_control immersive.navigation=apps,-com.samsung.android.app.smartcapture,-com.samsung.android.app.widgetedge,-com.instagram.android,-com.sec.android.gallery3d
- Not finish yet, the fix other UI issue (Samsung Internet, Gallery) you need to use "Routines" app belong to Good Lock 2018 app to use Samsung Hide Nav Bar for Samsung Internet and Gallery app.
Then enjoy your edge to edge screen with gesture navigation. This work around fix all my issue when remove and replace navigation bar on my S9. If you find other issue feel free to discuss.
View attachment 4545422
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Xperience Z said:
Here you go:
· Hide Status Bar only type:
Code:
adb shell settings put global policy_control immersive.status=*
· Hide Navigation Bar only type:
Code:
adb shell settings put global policy_control immersive.navigation=*
· Hide Both Bars type:
Code:
adb shell settings put global policy_control immersive.full=*
+ Immersive in all apps except certain apps
Code:
adb shell settings put global policy_control immersive.full=apps,-"app location",-"another app location"
+ Immersive in all apps but with certain apps having Status bar not hidden
Code:
adb shell settings put global policy_control immersive.navigation=apps,:immersive.status=apps,-"app location",-"second app location"
Ex:
Code:
adb shell settings put global policy_control immersive.navigation=apps,:immersive.status=apps,-com.whatsapp
+ Immersive in all apps but with certain apps having Navigation bar not hidden
Code:
adb shell settings put global policy_control immersive.status=apps,:immersive.navigation=apps,-"app location",-"second app location"
Ex:
Code:
adb shell settings put global policy_control immersive.status=apps,:immersive.navigation=apps,-com.whatsapp
Click to expand...
Click to collapse
So how do I hide the Status bar everywhere except on my home screen? Using Nova Launcher it is needed.
---------- Post added at 12:27 PM ---------- Previous post was at 12:09 PM ----------
NVM got it.
Rule n5
5. Create a thread topic or post a message only once, this includes external links & streaming media.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
You can bump your unanswered question once every 24 hours
Duplicate threads and posts will be removed
Always post in an existing thread if a topic already exists, before creating a new thread.
Use our search function to find the best forum for your device.
Links to an external source are only allowed if relevant to the topic in hand. A description must be included, no copy & pasting from the original source.
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
Since this thread is a copy/paste from original source, is now closed!

Navigation bar on the left as in widescreen mode.

Hi everyone.
Do you know the way to force the position of the navigation bar on the left instead of the bottom? On wide screens it is already possible. Is it possible to cheat the application to put a bar on a regular screen too? The bar at the bottom takes up too much space. There were a lot of questions about the possibility of hiding it, but to no avail. It may be possible to change its location. That would be something!

Full Immersive Mode

For those that want to take advantage of this beautiful screen and all it's glory. These commands will remove the status bar, the navigation bar, or both. They must be run using ADB. I did not create this, these commands have been around for quite a while and I have been using them as far back as the Galaxy S8.
They do the same thing as immersive mode in System UI Tuner but without having to install another app and run commands for that app to work and yes before you ask, I have used that same app on some of the recent phones I have had. These commands are just for those that want the full screen experience.
Without further ado here are the commands to be placed into ADB.
To hide the Status bar:
adb shell settings put global policy_control immersive.status=*
To hide the Navigation bar:
adb shell settings put global policy_control immersive.navigation=*
To hide both Status and Navigation bars:
adb shell settings put global policy_control immersive.full=*
To revert:
adb shell settings put global policy_control null*
Hope Y'all enjoy it.
truckerdewd said:
For those that want to take advantage of this beautiful screen and all it's glory. These commands will remove the status bar, the navigation bar, or both. They must be run using ADB. I did not create this, these commands have been around for quite a while and I have been using them as far back as the Galaxy S8.
They do the same thing as immersive mode in System UI Tuner but without having to install another app and run commands for that app to work and yes before you ask, I have used that same app on some of the recent phones I have had. These commands are just for those that want the full screen experience.
Without further ado here are the commands to be placed into ADB.
To hide the Status bar:
adb shell settings put global policy_control immersive.status=*
To hide the Navigation bar:
adb shell settings put global policy_control immersive.navigation=*
To hide both Status and Navigation bars:
adb shell settings put global policy_control immersive.full=*
To revert:
adb shell settings put global policy_control null*
Hope Y'all enjoy it.
Click to expand...
Click to collapse
is there a code to disable the nav bar permanently? for instance, with the code above it basically hides the nav bar. it is still available if you swipe up. i'd like to completely disable it so it never shows and use LMT with gestures instead.
knives of ice said:
is there a code to disable the nav bar permanently? for instance, with the code above it basically hides the nav bar. it is still available if you swipe up. i'd like to completely disable it so it never shows and use LMT with gestures instead.
Click to expand...
Click to collapse
Oh my god thank you. I'm looking for the same thing. I want to remove the navigation bar entirely. I use fluid navigation gestures right now, because I absolutely hate the OnePlus navigation gestures animation you get. (Flingy shrinking square effect)It feels like it's slowing down the phone.
But when you use the fingerprint sensor with fluid gestures, for a brief moment, the system has to shoot the navigation bar back down again. it's annoying and glitchy. It feels like I can't win, there's always a stupid animation I don't want to see
Burt Squirtz said:
Oh my god thank you. I'm looking for the same thing. I want to remove the navigation bar entirely. I use fluid navigation gestures right now, because I absolutely hate the OnePlus navigation gestures animation you get. (Flingy shrinking square effect)It feels like it's slowing down the phone.
But when you use the fingerprint sensor with fluid gestures, for a brief moment, the system has to shoot the navigation bar back down again. it's annoying and glitchy. It feels like I can't win, there's always a stupid animation I don't want to see
Click to expand...
Click to collapse
edit /system/build.prop:
Code:
qemu.hw.mainkeys=1
untested
knives of ice said:
is there a code to disable the nav bar permanently? for instance, with the code above it basically hides the nav bar. it is still available if you swipe up. i'd like to completely disable it so it never shows and use LMT with gestures instead.
Click to expand...
Click to collapse
I just go into settings and then into buttons & gestures and then navigation bare and gestures and set it for gestures and viola, nav bar gone.
truckerdewd said:
I just go into settings and then into buttons & gestures and then navigation bare and gestures and set it for gestures and viola, nav bar gone.
Click to expand...
Click to collapse
yes, but the nav bar still comes up when you swipe from bottom to top or when you open the keyboard to type something.
i have it set to hide both bars and thats what it does now
---------- Post added at 02:17 AM ---------- Previous post was at 02:15 AM ----------
Heisenberg420 said:
edit /system/build.prop:
Code:
qemu.hw.mainkeys=1
untested
Click to expand...
Click to collapse
unless there is something specifically different with oneplus - this build prop edit no longer works since going to Pie.
there definitely is some way to hide it because some custom roms like Resurrection Remix still remove it completely if you want.
gonna keep trying and see if i can get rid of it all together
Hi
I love to use the phone in full immersive mode, but I have problem with the keyboard. Let's say I have kb up in the browser. Somebody sends me a msg, I have the popup (which I'd also like to be able to disable btw, in case if you know a trick), and it brings back the statusbar for the time of the pop up, and that causes the reloading of the kb. Very annoying. Plus in whatsapp it breaks the ui, the top bar with the name of the contact disappears, and the type bar also covered by the kb for a few pixel widht. If the kb is not up, there's no problem. Am I the knly lucky with these issues?
truckerdewd said:
I just go into settings and then into buttons & gestures and then navigation bare and gestures and set it for gestures and viola, nav bar gone.
Click to expand...
Click to collapse
you're right - this is the way to do it. when you have it turned on the keyboard doesn't come up. that combined with the adb code to hide both bars seems to work
knives of ice said:
yes, but the nav bar still comes up when you swipe from bottom to top or when you open the keyboard to type something.
i have it set to hide both bars and thats what it does now
---------- Post added at 02:17 AM ---------- Previous post was at 02:15 AM ----------
unless there is something specifically different with oneplus - this build prop edit no longer works since going to Pie.
there definitely is some way to hide it because some custom roms like Resurrection Remix still remove it completely if you want.
gonna keep trying and see if i can get rid of it all together
Click to expand...
Click to collapse
This worked for me:
Requirements: ADB and Fastboot installed on PC or Mac.
Instructions: Type without quotations in CMD or Windows PoweShell (use "."before command in PowerShell):
"adb shell wm overscan 0,0,0,-202"
---------- Post added at 09:32 AM ---------- Previous post was at 09:30 AM ----------
And for full, semi, etc. immersive; EdExposed with GravityBox P --> Display Tweaks --> Expanded Desktop Mode settings. In addition, GravityBox adds the Expanded Desktop mode change button to the Power Menu
adb shell settings put global policy_control immersive.full=
hides it completely, been using since I got the phone, I love the impressiveness of full screen mode, only thing is the round corners sometimes partially obstruct screen elements, my previous Mi Mix was much squarer and didnt have this (minor) issue.
I only use the code for the status bar and not the one for the the nav bar or full since I use gestures. I did try it with it with full and had no issues with the buttons popping up when I swipe up or down nor did I have a y keyboard issues.
Skenderbeggar said:
This worked for me:
Requirements: ADB and Fastboot installed on PC or Mac.
Instructions: Type without quotations in CMD or Windows PoweShell (use "."before command in PowerShell):
"adb shell wm overscan 0,0,0,-202"
---------- Post added at 09:32 AM ---------- Previous post was at 09:30 AM ----------
And for full, semi, etc. immersive; EdExposed with GravityBox P --> Display Tweaks --> Expanded Desktop Mode settings. In addition, GravityBox adds the Expanded Desktop mode change button to the Power Menu
Click to expand...
Click to collapse
"adb shell wm overscan 0,0,0,-202"
this code moved it a bit too much. any idea what number stock is? trying different values and its not working
EDIT - i kept messing with this so the keyboard was at the very bottom and the number i needed was -75
Is there an easy way to enable per app nav bar immersive mode? On stock LG Oreo, there was a toggle on the nav bar that you could enable / disable per app to show / hide the nav bar (nothing for status bar .. but I like having the status bar).
If not I think I found something to work on
Edit : So I see that Renovate Ice offers per app, but I am not going to pay for a feature that I can fix myself. I run xxx no limits, and I think I will get in touch with that dev to see if he will let me work with him to get it added in.
-- Brian
I cheesed out and paid for Renovate. It is nice that you can run Renovate with xxx No Limits at the same time .. the only issue being the timeout of the AOD . Way too fast with both installed.
Again, I have only had this phone since Friday, but I will be tearing through the code, and fixing all these little issues that bug the sh*t out of me without someone having to pay for it
-- Brian
Hi
Is anybody there uses full immersive mode on 10?
Before on 9 I had some issues, when the keyboard was active. After it was fixed. (I was on havoc).
Now as I swapped to 10 some months ago, I have the same issue. I was waiting all these months to be fixed, but still the keyboard breaks the ui. You can see in whatsapp chat, substratum, even in xda app, when you write a post.
This only happens, when I hide statbar, as navbar is always hidden, that doesn't give problem, so I did a blacklist for the statbar for tgese apps. I use system ui tuner app.
Do you know any way to fix this?
I wrote a couple of times to the forum of the rom I use, but no answer. I know, not so popular the full immersive mode, but I really like it, please share if you know a fix, thanks.
BTW @truckerdewd I recommend putting a "" around the *
The * is a wildcard character and also sometimes treated as a regex
Code:
adb shell settings put global policy_control immersive.navigation="*"
That should prevent headaches for anyone using shells that auto fill the *
anupritaisno1 said:
BTW @truckerdewd I recommend putting a "" around the *
The * is a wildcard character and also sometimes treated as a regex
That should prevent headaches for anyone using shells that auto fill the *
Click to expand...
Click to collapse
I copied and pasted the exact commands from a web page that I have saved in my email. I have used the same exact commands all the way back to when the Galaxy S8 came out without incident. Best way to prevent the * from bring auto entered in command prompt is to not use Windows shell but to actually make windows use command prompt. Windows shell sucks and I detest it.
truckerdewd said:
For those that want to take advantage of this beautiful screen and all it's glory. These commands will remove the status bar, the navigation bar, or both. They must be run using ADB. I did not create this, these commands have been around for quite a while and I have been using them as far back as the Galaxy S8.
They do the same thing as immersive mode in System UI Tuner but without having to install another app and run commands for that app to work and yes before you ask, I have used that same app on some of the recent phones I have had. These commands are just for those that want the full screen experience.
Without further ado here are the commands to be placed into ADB.
To hide the Status bar:
adb shell settings put global policy_control immersive.status=*
To hide the Navigation bar:
adb shell settings put global policy_control immersive.navigation=*
To hide both Status and Navigation bars:
adb shell settings put global policy_control immersive.full=*
To revert:
adb shell settings put global policy_control null*
Hope Y'all enjoy it.
Click to expand...
Click to collapse
thanks! it worked!
A11 broke immersive mode it seems

can't remove status bar padding on a10

As i updated to android 10 i tried to use gravity box and many other root and non root apps to remove that big fat padding on the edges of the status bar.
most apps work just for android 9 or 8.1.
even tried terminal commands but that padding is still there.
if anybody successfully removed padding, please share your methods.
Trick to hide the pill on Android Q gestures navigation without losing its funcionality
I never wanted to see the pill but I love the new navigation system of Android 10
Type this in adb: adb shell wm overscan 0,0,0,-40
Profit
EDIT: to undo it Type this in adb: adb shell wm overscan 0,0,0,0
"adb shell wm overscan reset" also works
wouldn't that just cut the edge of the screen? like, less content?
dvijetrecine said:
wouldn't that just cut the edge of the screen? like, less content?
Click to expand...
Click to collapse
I'm using "fluid navigantion gestures", from the play store. The gestures are better than a10, and you can completely hide any padding, etc. It's just a couple adb commands, once you've installed the app.
Screenshot attached.
myrigon said:
I'm using "fluid navigantion gestures", from the play store. The gestures are better than a10, and you can completely hide any padding, etc. It's just a couple adb commands, once you've installed the app.
Screenshot attached.
Click to expand...
Click to collapse
mate, i was talking about status bar padding, not navbar height.

Categories

Resources