yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] youngblood68:
it must be my english i am sure its just an small issu but is this sign - a minus sign ? and the command is adb shell settings .....and the rest ? or adb shell ....then press enter and then wite settings..... witch is it ....anyways thnaks for being patience , but if i dont get it now then i dont have any patience haha , so lets try for the last time please
[Nexus 6P General] youngblood68:
this is the right picture as you can see device has been recognized
[Nexus 6P General] Rashad83:
Yes minus sign, and the command can be entered using a single line no need to type adb shell and hit enter although it works both ways. Just type the whole command line after that hit enter.
[Nexus 6P General] youngblood68:
nope its not working tried all ways and still get what you see the last message
[Nexus 6P General] Rashad83:
The command has been executed successfully since you didn't get any error message and you should see the changes on your phone the status and navigation bar should be hidden.
[Nexus 6P General] youngblood68:
but i want it to show in whatsapp telegram and the rest it can be hidden ....and thats whats not working
[Nexus 6P General] Rashad83:
You should see the status and navigation bar when opening those apps.
[Nexus 6P General] youngblood68:
Well I don't. When I have it in full mode . It's in full mode all over . So maybe this command don't work on s8 plus ?
[Nexus 6P General] Rashad83:
Please read my post earlier, you can't use the shortcutter app with the command lines I gave. You have to choose one of them.

Remove shortcutter app, and apply the command line I gave you should be able to get what you want.
[Nexus 6P General] youngblood68:
Ahh.so dose this means disable shortcutter then do the command and then it should work ? Ok thank you for your help ....will let you know if I manage to do it.

---------- Post added at 12:38 AM ---------- Previous post was at 12:31 AM ----------

YES, it works, I missed that part where you said commands don't work with shortcutter lol , working perfectly now , thanks a million :)
[Nexus 6P General] Rashad83:
You are welcome. Good luck
[Nexus 6P General] saywhat4118:
Can we have immersive mode only in specific apps instead of system wide? such as Google Maps, Launcher etc. I have it working system wide and excluded some apps. It would be a pain to bring it back on every app i want to use it on. Just wondering if there was a command to just disable the nav bar specifically in certain apps. Thanks guys.
[Nexus 6P General] Rashad83:
This has been answered in the first page. Simply enter the following command:

> adb shell settings put global policy_control immersive.navigation="1st app location","2nd app location", ....

Ex: adb shell settings put global policy_control immersive.navigation=com.whatsapp,com.tencent.mm,com.google.android.youtube
[Nexus 6P General] saywhat4118:
Ahh... I see the difference in the line now. Instead of "...immersive.full=apps,-..." you have it on each specific apps. Thanks again.
[Nexus 6P General] Rashad83:
In your case it's immersive.navigation

Immersive.navigation-> to hide navigation

Immersive.status-> to hide status

Immersive.full-> to hide both
[Nexus 6P General] youngblood68:
Hi , is there away how to fin dout whats the apps name ? whatsapp =com.whatsapp i would like it to be on in settings screen as well , disable it ,thank you
[Nexus 6P General] Rashad83:
Please read the first post, it's all there.
[Nexus 6P General] Reflxxx:
Using this also but this does break multiple apps with popup selection boxes. Try setting the picture resolution of the 'selfie' camera. The menu shows for a split second and then closes again. Same happens in other locations/apps (system and third party) to.

Someone has a fix for this?
[Nexus 6P General] Rashad83:
Just exclude the apps that require the status, navigation or both to function properly. That is the solution.

The problem you speak of could be specific to your device rom. I don't face such issues on my device or the stock Android rom.

Edit: I just noticed what you mean by split second pop up menu. To solve this if it's a 1 time selection from the pop up menu then do the selection before you go immersive or simply exclude the app that is misbehaving.
[Nexus 6P General] Reflxxx:
I'm on stock rom. Only happens when using FULL immersive.
[Nexus 6P General] Rashad83:
You mean stock Samsung not stock Android(Nexus,Pixel devices). Anyway some apps aren't designed with Status and navigation hidden in mind so they require the status, navigation or both to run as intended. Just exclude the apps that are misbehaving.
[Nexus 6P General] cocolish:
SafetyNet wouldn't bypass after inserting these commands to a shell terminal on my S8.

I really wanted to hide my Status- and Navigationbar but these commands wouldn't work for me because of the reason above. Any other ideas how to hide Statusbar and Navigation on an S8?

Thanks!
[Nexus 6P General] Rashad83:
Why don't you use your PC instead. If you still want to do it on your phone make sure to install the latest Magisk build and try afterwards if that didn't work make sure to run Magisk in core mode.

Edit: it seems Samsung is pushing an update to hide the navigation bar. https://www.reddit.com/r/GalaxyS8/comments/6h7ci2/latest_software_update/
[Nexus 6P General] airyimbin:
Is there a way to hide the nav bar while in multi window mode? I tried it on my S8+ and the nav bar still comes up when you go into split screen. I didnt add any exclusions.
[Nexus 6P General] Rashad83:
https://xdaforums.com/showpost.php?p=72409010&postcount=70

I think it is better not to hide it since it probably will affect the function of the other apps.
[Nexus 6P General] alexx_y:
Gmail and Instagram app location

Could anyone tell me what the app location is for Gmail and Instagram please? My phone isn't rooted so I can't look it up myself and I want to exclude them.
[Nexus 6P General] Rashad83:
com.google.android.gm

com.instagram.android
[Nexus 6P General] alexx_y:
Cool thanks!
[Nexus 6P General] phantom146:
Since I'm lazy, anyone here knows how to go fully immersive on nova launcher (home launcher) itself but get navigation bar and status bar back on all apps except nova launcher? or do I have to list all apps one by one?
[Nexus 6P General] Rashad83:
adb shell settings put global policy_control immersive.full=com.teslacoilsw.launcher
[Nexus 6P General] phantom146:
May the force be with you *random hand gesture*
[Nexus 6P General] peterdinoy:
is anybody getting battery drain issues, my android system usage is extremely high
[Nexus 6P General] Rashad83:
Nah, i don't. It's different for every device and rom. But in general it doesn't consume. I would advise restarting your device clearing cache/dalvik and finding out which apps are really causing the battery consumption.
[Nexus 6P General] mainicia:
I got same problem on my Huawei P9, but it's solved after cache cleared
[Nexus 6P General] Webbs♥:
Just like to say thank you for this guide.
[Nexus 6P General] dihluan:
you don't need a root explore to find apps location. Just go to play.google.com on pc or web browser and find app you need. the location show on address bar.

for whatsapp it's https://play.google.com/store/apps/details?id=com.whatsapp

cheers

You guy probably should exclude all music player out of immersive mode to avoid battery drain, ALL of them
[Nexus 6P General] jaladhjin:
Does this remove the nav & statusbar permanently ?

Or just make them that sort of have to swipe up or down to pull them out ?
[Nexus 6P General] Rashad83:
Just hides them, you have to swipe to see them.
[Nexus 6P General] jaladhjin:
Is there a way to remove them more permanently like the qwmainkeys build.prop tweak?
[Nexus 6P General] Tulsadiver:
You could try my Aroma if you have root. I have a mod that completely removed the navbar.

https://xdaforums.com/nexus-6p/themes-apps/mod-oreo-aroma-mods-aroma-installer-t3666999
[Nexus 6P General] Amd4life:
awesome mod thanks
[Nexus 6P General] st3rv:
On my S8+ stock keyboard, when long pressing a key to access the symbols suggestions, the symbols are now previewed at the top of my screen instead of over the keyboard :o

Edit: a lot of popups are out of place, but i guess you guys already know that.
[Nexus 6P General] Rashad83:
That's normal a lot of apps don't play well when hiding the bars, you simply have to exclude the apps that don't play well. It's a small price to pay.
[Nexus 6P General] st3rv:
Thank you yes, I did that, but I cannot find a way to fix the misplaced pop up when you long press a keyboard key for symbols, which happens in every app. I don't see the keyboard in the list of apps for me to exclude. Any suggestion?
[Nexus 6P General] Donairman:
adb shell settings put global policy_control immersive.navigation=apps,-com.google.android.GoogleCamera,-com.google.android.gm,-com.android.vending,-com.lge.launcher3,-com.android.chrome

gm is Gmail.

vending is Play Store

launcher3 is the default Home launcher on Lg G6. (im using the app called All in one gestures, so when i swipe up from the button it takes me home. thus, swiping up takes me home and shows the nav bar for 2-3secs, might as well have it on the home screen). works well.

tips:

seems default apps like chrome do not go full immersive.

If you download the app 'LG package disabler' it will show you the app and services, and their "com.android.name."

after about 2-3 days of testing, leaving the status bar and hiding the nav bar only seems best. this is what the S8 update has pushed out. and iphone X. leaving the status bar, makes it all play nice with the keyboard (space, emjo and other places); tested in whatsapp. im very sure this is why S8/Note 8 left the status bar
[Nexus 6P General] Rashad83:
In my case, the reason I hide the status bar is to avoid screen burn in in the long run, the only apps that don't play well with the keyboard are apps that require the status bar not hidden. Some apps require both bars like YouTube.

[MENTION=4933764]st3rv[/MENTION]

To fix the pop up issue, you have to use another keyboard or simply don't hide the bars in apps. I believe the issue is with the keyboard not playing well when bars are hidden.

Anyway if it's a headache for anyone to hide on a per app basis I have 3 recommendations:

1) As suggested just hide the navigation bar and if still there are apps misbehaving simply exclude them.

2) Change the keyboard app, use Google or swift keyboard instead.

3) Use an app from the play store that gives you a shortcut tile in the quick settings to enter immersive mode and go back normal once clicked when needed.
[Nexus 6P General] walder:
Thanks

[MENTION=4093352]Rashad83[/MENTION] thank you. There is enough out there re global application of the commands but your first post is perfect in terms of complex include / exclude specific apps, and status or/and navbar combinations. Works perfectly on the Pixel (2016) and OP5.
[Nexus 6P General] Led_:
you'r the one , thanks so much
[Nexus 6P General] EMJI79:
Works great on my LG G6 non rooted.

Can you precise an app for shortcut tile in the quick settings?

Also is there a way not to have the navigation bar popping up when swiping from the bottom? (I am using xda's LMT pie and don't need it).
[Nexus 6P General] Rashad83:
You can use this app:https://play.google.com/store/apps/details?id=com.leedroid.shortcutter

There are others not sure on the best and latest but some require root.

Regarding your question about the navigation bar, why don't you disable the navigation bar all together from the build.prop if you are using LMT or change the trigger points instead from the bottom use the sides.
[Nexus 6P General] EMJI79:
Actually I have gone with the sides, thanks.

Disabling the navigation bar with build.prop is the qwmenu something stuff? I have to search about that. Wouldn't it cause issues with apps like YouTube or whatsapp?
[Nexus 6P General] Rashad83:
Before hiding the navigation bar method I always have been disabling the navigation bar and using LMT. Disabling the navigation bar doesn't cause any issues with any app, the only downside to it is you have to do it with every Rom update, it requires root to do the changes and sometimes if LMT stops working you will not be able to navigate through your phone unless you restart the phone but there are solutions to that by creating a custom shortcut to LMT in the quick setting shortcuts which you can access from any app.

You can follow this tutorial although it's old on how to disable: https://www.google.com.sg/amp/s/www.androidexplained.com/how-to-disable-navigation-bar/amp/

Make sure you have the original build.prop backed up in case something goes wrong or your Rom backed up to go back to in the worst case scenario. Anyway read up on the process before attempting it.
[Nexus 6P General] EMJI79:
My phone can't be rooted yet , isn't there a non rooted method?
[Nexus 6P General] Rashad83:
I am afraid not if you want to disable the navigation bar. You will need to pull the build.prop add the code for disabling the navigation bar then push it back using a custom recovery(TWRP) to do all that. For the push command to execute successfully you will need to flash root before it otherwise it won't work from my experience.
[Nexus 6P General] EMJI79:
Ok, thanks, I will do without.
[Nexus 6P General] EMJI79:
Hey, I have received my S8 plus yesterday and done the Samsung smart switch thing and it seems it has passed the "hide navigation" mod from the LG to the Samsung. Strange?
[Nexus 6P General] phantom146:
[MENTION=4093352]Rashad83[/MENTION] have you got the workarounds with magisk? It seems that magisk doesn't have enough permissions to edit global_policy. Tried it multiple times with different roms and apps and still no go. With SuperSU however it works like a charm.
[Nexus 6P General] Rashad83:
Hmm, currently i am using the latest magisk build(flashed the zip file not through the application) and i have no issues with hiding the navigation bar but i need to mention that i am not using the stock kernel instead Elemental X kernel.
[Nexus 6P General] Grizonic:
Hi all, thanks for the great guide! Anyhow, I'm having issues with running the commands. I attached a screenshot of the error. I'm running the most recent version of CortexROM, so could it be related to magisk?
[Nexus 6P General] Rashad83:
It’s seems you got root permission so no issue with magisk. When you typed su did you give root permission to the pop up window?.Looking at the code command line, it seems it’s not entered correctly or at least I can’t see the full command line.
[Nexus 6P General] Grizonic:
I tried it again in landscape mode just to be sure the command is correct. And I typed I'd to double check the root permission. It seems fine... I know I've had these before with some terminal emulators, but I always managed to make it work with some of them. This time I have tried all the emulators there is in the play store without success :( I find it strange that Google also doesn't help with this error. I can't be alone on this :D

Edit: even if I only type the word "settings", I get the same error
[Nexus 6P General] Rashad83:
I had an issue with terminal emulators in the previous stock rom after flashing SU not magisk. It seems the issue is with terminal emulators especially on oreo i then tried this app that has built in emulator and it worked fine.

https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox

I am sure it will work if you try it.

If it still doesn't work then i guess you better hide using the PC.
[Nexus 6P General] Grizonic:
It worked with the PC :D Thanks for the help!
[Nexus 6P General] welcometoken:
[MENTION=4093352]Rashad83[/MENTION]

Is there any way to disabled the Navigation Bar on Android7.0?not hide,i want to delete or disabled the Navigation Bar，

added “qemu.hw.mainkeys=0 ” to build.prop file not effert anymore.
[Nexus 6P General] Rashad83:
Disabling the navigation bar worked fine when i was on a nougat rom not sure if it is still the case with Oreo though. May i know what rom you are using and what steps you followed, please provide detailed description.

Make sure you have root and follow this guide: https://xdaforums.com/nexus-6p/themes-apps/mod-remove-navigation-bar-android-n-dp4-t3404882
[Nexus 6P General] giovannifornera:
is there a way to hide (or delete, but without using root) the navigation bar when typing with keyboard?

and is possible to completly delete the navigation bar from everywhere [without root]?
[Nexus 6P General] Rashad83:
To remove the navigation bar you need to add a code line in the build.prop which will disable the navigation bar but you will have to use another app for navigation.

You can edit the build.prop but you will need a custom recovery to import and export the build.prop without root. Also the rom needs to be < 8 because there are reports it's not possible to edit the build.prop without getting a boot loop.

Anyway I think it's too much of hassle doing it every time there is an upgrade, it's much easier to hide the navigation bar.

Oh and regarding the keyboard it's not possible to hide the navigation bar unless you disable the navigation from the build.prop.
[Nexus 6P General] giovannifornera:
thanks for the answer..

i already use an alternative navigation bar, and the upgrade is not a problem [now i have android7].

so the ONLY way is to root the phone and edit built.prop? is possible to root without losing warrancy? [i bought the phone yesterday]
[Nexus 6P General] Rashad83:
As i stated earlier you don't need root to edit the build.prop but you will need root for the navigation app to work properly also with root it's much easier to edit the build.prop.

Regarding warranty officially companies have the right to cancel your warranty rights if they got your phone rooted but so far from my experience i haven't heard of any stories about anyone facing such issue.

Anyway don't worry you can unroot and lock your device bootloader back if you need to return your device for repair purposes if it is still working that is, but the company can still know if you unlocked your bootloader or not but as long it's locked i don't think they will deny you warranty.

In any case please do read on rooting and unlocking your device bootloader before attempting it. Good luck and happy rooting.;)
[Nexus 6P General] giovannifornera:
why you say that i need root for the navigationbar app? [i'm using one without root and without any problem]..

my only problem is to remove the stock navbar ahahahah

and how to modify build.prop without root? using the file explorer i can open it, but if i modify something i can't save.
[Nexus 6P General] Rashad83:
what i mean't by "Work properly" some navigation apps require root to fully utilize their capabilities or they will give you either limited functionality or use accessibility services to fully work. Anyway i don't know what app for navigation you are using but the famous ones require root like GMD Gesture Control and LMT launcher.

To edit the build.prop without root you need to import the file to the PC first and edit it then export it back to the phone using a custom recovery, check this tutorial . That is why i stated you need to read about rooting, unlocking, pull push commands before trying to root your device.

Regarding tutorials there isn't a one source to learn it all but you can search XDA for tutorials or Google about any of the topics discussed.
[Nexus 6P General] EMJI79:
What's the downside of using accessibility services (I use it with lmt)?
[Nexus 6P General] Rashad83:
I am not a ware of any, if your phone isn't rooted the app will require certain private data which aren't accessible without permission in order to function and using accessibility services privileges it can do that like screen state change events, active screen and so forth....... at least that's how i understand it.
[Nexus 6P General] JadonW99:
not working on my S8...

settings put secure sysui_qs_tiles Wifi,Bluetooth,SilentMode,Flashlight,RotationLock,DormantMode,AirplaneMode,custom(com.samsung.android.bixby.wakeup/com.samsung.android.voicewakeup.setting.VoiceWakeupTileService),custom(com.android.settings/com.samsung.android.settings.qstile.PowerSavingTile),custom(com.samsung.android.lool/com.samsung.android.sm.ui.booster.PerformanceTile),WifiCalling,WifiHotspot,custom(com.samsung.android.app.cocktailbarservice/com.samsung.android.app.edgelighting.tile.EdgeLightingTile),BlueLightFilter,custom(com.android.nfc/com.samsung.android.nfc.quicktile.NfcTile),Location,custom(com.samsung.knox.securefolder/.switcher.SecureFolderTile),custom(com.samsung.android.app.aodservice/.settings.AODTileService),custom(com.samsung.android.oneconnect/.external.DeviceVisibilityTile),work,mobiledata

this is how it should look right?
[Nexus 6P General] Rashad83:
Did it work for you or not?, If not what are you hoping to achieve?
[Nexus 6P General] EMJI79:
Is there a way like to "always hide status bar on landscape view"?
[Nexus 6P General] chrb1985:
This is what happend to me: Failure calling service settings: Failed transaction (2147483646) when trying g via Terminal..
[Nexus 6P General] Rashad83:
What do you mean?, If you are hiding the status bar in apps it doesn't matter if you are in portrait or landscape mode the bar will auto hide by itself.
[Nexus 6P General] Rashad83:
You must have typed the wrong command, please provide a detailed steps of actions which resulted in getting the error and a screenshot will even be better.

Make sure you have root and the terminal app has root access, it will not work otherwise. Sometimes you need to type the command a couple of times to kick in. On Oreo with Magisk the command line worked after my second attempt especially if you are excluding certain apps.
[Nexus 6P General] EMJI79:
But if I would like to dude status bar only in landscape mode. The 18.5/9 ratio of my s8 makes it unnecessary to hide status bar in portrait mode but in landscape the proportion of space taken by the status bar is quite bigger.
[Nexus 6P General] Rashad83:
I am afraid this will require a third party app that detects the orientation of the screen and then executes a command line to hide the navigation bar and vice versa. This could maybe work with an app like Tasker.
[Nexus 6P General] EMJI79:
OK thanks. But no root no Tasker... :o
[Nexus 6P General] chrb1985:
Here you go:
[Nexus 6P General] Rashad83:
Ok from the screenshot i can see the code is correct, you would only get the error message if the terminal isn't able to get root access.

I would suggest doing the following:

1. The fastest way to make this work is to use the PC method instead of the terminal emulator which you don't need root for it to work.

2. If you insist on using the terminal emulator i would suggest flashing SU again using Magisk or SuperSu depending on which method you tried earlier. Then grant the Terminal emulator su access once you type "su" command or once you open the terminal. After that type the command line for hiding the navigation bar and hopefully it will work.

3. Try this terminal app in my previous post if suggestion 2 didn't work. https://xdaforums.com/showpost.php?p=74179913&postcount=140

Good Luck!

Update (6-12-2017):

So after Oreo 8.1 December security patch was released I reproduced the same error message you got, which is easy to resolve simply after you get the error retype the code once more:

:su

Click enter

:"Enter the code for hiding apps"

It seems the first attempt doesn't work, you need to do it once more or a couple of times.
[Nexus 6P General] EMJI79:
I have traded my LG G6 fo a Note 8. From as long as I can remember I didn't have any performance issue with th G6 and it was great but now I just did the same on my Samsung Note 8 and I feel like it may have slowed down. Is it possible or is it just in my head?