How To

How to enable system wide-immersive mode without root

In the current times when the mobile phones are being compared in terms of looks and especially the screen size that should be wide for most of the people, we want to hide the status and navigation bar so we can view our content entirely on the wide HD screen.

Some time back, mobile phones with android 4.4 started with the immersive mode for a widescreen experience but Google and OEMs were not offering the ability to enable or disable the immersive mode as per the needs of the users. There are some third party applications like GMD full-screen immersive mode that provided the facility a few years back. But the biggest issue with using this app is that it breaks the soft keyboard.

Users used an ADB command that helped to adjust the system wide-immersive mode but there was a problem that this ADB command requires root. Later it was discovered that this ADB commands could also be used with the non-rooted devices. This means that you can enable system-wide immersive mode on demand.

Enable Immersive Mode On Non-Rooted Devices

Enable system wide-immersive mode without root

In the case of non-rooted devices, we need to install two applications that are TASKER and AUTO TOOLS BETA. You can also install the auto-notification if you want the nougat title, but it is not necessary to do so.

After installing both the applications,  you have to grant the WRITE_SECURE_SETTINGS permission to Autotools in order to be able to toggle Immersive Mode. we have to do this because the command for Immersive Mode is defined under the settings.global class.

Granting Secure Settings Permission to Autotools

the android permissions management system helps you to select the programs you want to grant the permissions while installation. But there are certain permissions that applications cannot be granted even if they request it in the Manifest like WRITE_SECURE_SETTINGS. By using the ADB package manager tool we can give any permission to any desired application.

The next step is to install the ADB binary on your computer. Then enable USB Debugging in Developer Options by going to Settings –> About Phone and tap on Build number 7 times if you haven’t already and connect your phone to your computer. Finally, send the following command once you’ve opened up a terminal:

ADB shell pm grant com.joaomgcd.Autotools android.permission.WRITE_SECURE_SETTINGS

Now through auto tools you can change the global, secure, or system settings on the device.

Using Tasker to Toggle Immersive Mode via Nougat Tile

Enabling the immersive mode via title needs nougat. So if you don’t have Nougat then skip this section to learn how to toggle it on a per-app basis. If you haven’t already, go download AutoNotification from the Google Play Store and grant it Notification Access. This Tasker plug-in will help us to make our own custom Notification Tile.

Steps To Enable Immersive Mode By Tasker

  1. Open the Tasker app and press the + button in the bottom right corner.
  2. Now create an Event context and select Plugin –> AutoNotification. Hit the pencil icon to open the configuration page for Auto Notification.
  3. Under the Command Filter enter immersive mode (we have to use the same command in case of the nougat devices).
  4. next step is to create a new Task with any random name attached to the Profile, and then go to Plugin > Auto Notification > Tiles.
  5. select the first title and then enter the command immersive mode exactly the same as written.
  6. The label is what will be displayed on the tile, so name it something like “Immersive Mode.” For the Icon, save the icon that is attached at the beginning of this section to your internal storage and use that. Finally, for the State select Toggle Active/Inactive.

Using Tasker to Toggle Immersive Mode on a Per-App Basis

Enabling the immersive mode on a per app basis is really simple. All you need to do is create an Application context in Tasker that will trigger when the application is launched or closed, and when it does so Immersive Mode is enabled. In order for Tasker to monitor applications, you’ll need to enable its Accessibility Service.

the profile description for those of you who are familiar with Tasker is given below. If you are not that familiar with Tasker, read on for step-by-step instructions.

Profile: Per-App Immersive Mode (192)
	Application: Chrome
Enter: Anon (199)
	A1: AutoTools Secure Settings [ Configuration:Immersive Mode: Toggle Timeout (Seconds):60 ] 

Exit: Anon (204)
	A1: AutoTools Secure Settings [ Configuration:Immersive Mode: Toggle Timeout (Seconds):60 ]


To use tasker, create a profile to start Immersive Mode when certain applications are open. Open up Tasker and press the + button in the bottom right corner to create a new Profile. For the context type, select Application and select all of the applications that you want Immersive Mode to be active in. after this press back and Tasker will ask you to create a Task. No need to add the task, just press the checkmark to begin the Task creation. Once you enter the Task creation screen, there’s only one Action you need to add. Press the + button at the bottom and go to Plugin > Autotools > Secure Setting. Press the pencil icon to configure Autotools and go to Display then tap on Immersive Mode and choose “Toggle.”

one last thing we need to do, and that’s to disable Immersive Mode when you exit the application. Go back to Tasker’s main screen and long-press on the Task you just created so you can create an Exit Task. When you create an exit task, simply add the same action you added in the first task – this will enable Immersive Mode.

hope you will find the article the best of all, for any queries feel free to ask in the comment section below.

About the author

Aaryan Panwar

I am Aaryan Panwar a 16 years old tech blogger and a youtuber. I have a really big interest in technology and RMG is the best way to share my views on it with you all. I will try my best to provide you all the tech news and many more.

LineageOS 15.1 (Android 8.1 Oreo) Is now available for many devicesDownload Now
+