Disable immersive mode system-wide

Borchuck

Senior Member
Jul 8, 2014
240
37
48
Hello,
Has anyone knows how to disable immesrsive mode system-wide (navigation bar ALWAYS visible) ? I have spent couple of weeks searching many forums, guides and apps (including xposed) and cannot find nothing... I would be very grateful for any help!!!
Thanks in advance!
 

Bcl2

Senior Member
Jul 24, 2015
166
24
0
You can try these shell commands, I use them to hide status bar while I'm gaming:

· 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*

You can set up a Tasker profile to hide the status and/or navigation bar only when certain apps are in foreground. I'm quite sure that root is needed to run these commands. I think this is the only way to hide the navigation bar since the Motorola software doesn't have an integrated option.

For more commands, and to this via ADB, look here: https://forum.xda-developers.com/nexus-6p/general/guide-hide-navigation-bar-status-bar-app-t3509747

P.S. If you are not familiar with Tasker, use Automate, it does the same things but it is a lot easier to use.
 

Borchuck

Senior Member
Jul 8, 2014
240
37
48
Thank you but all I want to is to make navbar always visible, in other words prevent it from hiding. Some apps autohides navigation bar which is very annoying, especially when app not responding and you want to close it with long press back button or just want to switch to another app. I have root, unlocked bootloader, xposed and selinux set to permissive, I even can modify systemui.apk to disable this irritating immersive mode. If I only know how.
 

Bcl2

Senior Member
Jul 24, 2015
166
24
0
Sorry, I tought you wanted to hide the nav bar :)

Btw, did you try the last command (adb shell settings put global policy_control null*)? Probably it won't work but give it a try.

I'm quite sure that you can do what you want to do by modifying the framework-res.apk, but I don't know which file/string you have to modify. Try to search with notepad++ in the whole extracted apk for ''navbar'', ''navigation'' or ''immersive''
 

Borchuck

Senior Member
Jul 8, 2014
240
37
48
Well, thats the problem -everywhere there are tutorials how to hive navbar but I cannot find info how to make it always visible. Is it so hard to achieve?
PS I've already tried the last command, i doesn't work, seems like apps have higher priority to hiding navbar.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone