adb shell settings put global policy_control immersive.status=*

adb shell settings put global policy_control immersive.navigation=*

adb shell settings put global policy_control immersive.full=*

adb shell settings put global policy_control null*

Updates: (15/5/2017):

adb shell settings put global policy_control immersive.full=apps,- "app location" ,- "another app location"

Notes

com.whatsapp

Credits

+ Immersive 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"

adb shell settings put global policy_control immersive.navigation=apps,:immersive.status=apps,-com.whatsapp

Notes

Credits

+ 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"

adb shell settings put global policy_control immersive.status=apps,:immersive.navigation=apps,-com.whatsapp

Notes

Updates: (17/5/2017):

Apps Identified to not play well with navigation and status bar hidden and how to exclude them(To be updated accordingly):

Apps List:

Code:

adb shell settings put global policy_control immersive.navigation=apps,-com.google.android.youtube,:immersive.status=apps,-com.whatsapp,-com.tencent.mm,-com.google.android.youtube,-com.google.android.talk

Hi guys, i was searching for a way to hide the navigation bar without any app that will require you buying it or it consuming battery and after finding a couple of threads on the topic i thought of sharing my findings and also as a reference to go back to in case i forget how to. This is also good for eliminating or reducing screen burn caused by the bars on Amoled screens.Credits go to @ jplempka Type the following commands in adb/fastboot environment (adb shell) on your PC after connecting the phone in file transfer mode and usb debugging is on:--------------------------------------------1. You can get the app location by going to "system/data/data" using any file browser with root, the location should start with the app folder name "com.appname"Ex:2. Remove quotation marks(" ")when adding the location of the app also add an apostrophe(,) if you are adding more than one app and when typing the code there is no space after the apostrophe.Ex: https://forum.xda-developers.com/sho...61&postcount=5 : @ wilhexm , @ rizalkhoiruddin Ex:1. You can get the app location by going to "system/data/data" using any file browser with root, the location should start with the app folder name "com.appname" ex: com.whatsapp2. Remove quotation marks(" ")when adding the location of the app also add an apostrophe(,) if you are adding more than one app and when typing the code there is no space after the apostrophe: @ beatschubser Ex:1. You can get the app location by going to "system/data/data" using any file browser with root, the location should start with the app folder name "com.appname" ex: com.whatsapp2. Remove quotation marks(" ")when adding the location of the app also add an apostrophe(,) if you are adding more than one app and when typing the code there is no space after the apostrophe.By the way this method works on all rom versions i have tested it on Nougat and all commands work. Goodluck-------------------------------------------------------------------*Whatsapp(When typing the status bar needs to be there to see what others wrote at the same time)*Wechat(When typing the status bar needs to be there to see what others wrote at the same time)*Youtube(When typing the status bar and navigation bar need to be there)*Hangouts(When typing the status bar needs to be there to see what others wrote at the same time)------------------------------: If you want to use these commands directly on your phone without a PC you need first to be rooted, next use any shell terminal to insert the code but remove the "adb shell" part.So in the terminal app for example if you wanted to hide both bars you type the following: