[MOD][Magisk] Disable Navbar For 3rd-Party Navigation Gestures

Search This thread
If you're like me, you like using a 3rd party navigation gesture app with the navbar hidden.
In Android 11, google disabled wm overscan which makes it difficult to hide the navbar.

Luckily, it's possible with Magisk and a little bit of tinkering.

THIS GUIDE ASSUMES YOU'RE FAMILIAR WITH MAGISK AND MAGISK MODULES.


Prerequisites:
  1. Install Magisk
  2. Install Magisk Hide Props Config
  3. Install Universal SafetyNet Fix
    • optional but recommended if you use gPay, Bank Apps, etc.
  4. Install a terminal emulator (like Termux)
    • this is also theoretically possible with platform-tools and root over adb shell but my tutorial will be using the terminal
  5. Settings > System > Gestures > System Navigation is set to 3-button Navigation
    • this is only required if you're using a 3rd party gesture navigation app (I use Vivid Navigation Gestures)
    • you can skip #5 at your own risk if you wish to keep Google's Gestural Navigation but hide the UI
To disable the Navbar, enter the following commands (don't type the descriptions).
  1. su (gain root access)
  2. props (open the hideprops menu)
  3. 4 (Add/edit prop values)
  4. n (New custom prop)
  5. qemu.hw.mainkeys (the build prop for whether to include softkey navbar)
  6. 1 (sets the build prop to disable the softkey navbar)
  7. y (yes to continue with defaults)
  8. y (yes to reboot)
That's it! Once your phone reboots you should no longer have a Navbar.
In theory, this should work on many devices, but I've only tested it on my stock Pixel 3 and Pixel 5.

This method is even better than overscan IMO because it doesn't come with the same quirks.
I had issues with the volume menu appearing off-screen and certain fullscreen apps assuming the Navbar was still there.
 

elong7681

Senior Member
If you're like me, you like using a 3rd party navigation gesture app with the navbar hidden.
In Android 11, google disabled wm overscan which makes it difficult to hide the navbar.

Luckily, it's possible with Magisk and a little bit of tinkering.

THIS GUIDE ASSUMES YOU'RE FAMILIAR WITH MAGISK AND MAGISK MODULES.


Prerequisites:
  1. Install Magisk
  2. Install Magisk Hide Props Config
  3. Install Universal SafetyNet Fix
    • optional but recommended if you use gPay, Bank Apps, etc.
  4. Install a terminal emulator (like Termux)
    • this is also theoretically possible with platform-tools and root over adb shell but my tutorial will be using the terminal
  5. Settings > System > Gestures > System Navigation is set to 3-button Navigation
    • this is only required if you're using a 3rd party gesture navigation app (I use Vivid Navigation Gestures)
    • you can skip #5 at your own risk if you wish to keep Google's Gestural Navigation but hide the UI
To disable the Navbar, enter the following commands (don't type the descriptions).
  1. su (gain root access)
  2. props (open the hideprops menu)
  3. 4 (Add/edit prop values)
  4. n (New custom prop)
  5. qemu.hw.mainkeys (the build prop for whether to include softkey navbar)
  6. 1 (sets the build prop to disable the softkey navbar)
  7. y (yes to continue with defaults)
  8. y (yes to reboot)
That's it! Once your phone reboots you should no longer have a Navbar.
In theory, this should work on many devices, but I've only tested it on my stock Pixel 3 and Pixel 5.

This method is even better than overscan IMO because it doesn't come with the same quirks.
I had issues with the volume menu appearing off-screen and certain fullscreen apps assuming the Navbar was still there.
@nontheoretical Do we revert back by reverting the module back to defaults?
 

Hecke92

Senior Member
Dec 27, 2011
357
118
Can somebody help me real quick?

I installed it, but after reboot I only get a blinkung "lock"-icon and nothing more, cant control my phone.

Tried to revert it using adb, but I get
C:\WINDOWS\system32>adb shell
$ su -c
/system/bin/sh: su: inaccessible or not found
$
 

titanreign

Senior Member
Nov 1, 2012
71
23
Not working on op7 pro running a11 (oos 11.0.1.1)
I've always just edited build.prop adding the qemu.hw.mainkeys=1 myself. Neither of which seem to be working for me now.
 

pchel48

New member
Jan 23, 2012
4
0
Moscow
pchelk.in
On Pixel 5, after setting prop, there's a delay when switching between camera modes. It goes from 1 sec without it enabled to almost 5 second after enabling it.
 

andybones

Forum Moderator
Staff member
May 18, 2010
15,088
15,447
Google Pixel 5
Can probably pull the modified .apk from this MOD
 
Last edited:
  • Like
Reactions: Veiranx and pchel48

Pho3nX

Senior Member
Jun 13, 2013
2,882
2,106
Nothing Phone 1
If you're like me, you like using a 3rd party navigation gesture app with the navbar hidden.
In Android 11, google disabled wm overscan which makes it difficult to hide the navbar.

Luckily, it's possible with Magisk and a little bit of tinkering.

THIS GUIDE ASSUMES YOU'RE FAMILIAR WITH MAGISK AND MAGISK MODULES.


...

Work perfectly on my Xiaomi.eu ROM (Mi 11) and Lawnchair 11 + My Gesture - Edge navigation gesture

Thx mate, i miss my Launcher so long time, i don't like MIUI Launcher


PS ; i have install my program after lol, without Navbar & Gestures. If Someone forget to install Gesture app BEFORE, just :

- Click Settings > Search "Google Play" > "Google Play Protect" > In "Security Status again "Google Play Protect" > Use Back Arrow on Front left > You are on Google Play, now just install your favorite Gesture app :)
 
Last edited:
  • Like
Reactions: BrandonMCMFG

Veiranx

Senior Member
Can probably pull the modified .apk from this MOD
Works perfectly. The only slight to this method is that there are three one-pixel lines along the bottom of the screen. Small price to pay compared to having the camera slowly switching modes!
 
Last edited:

Veiranx

Senior Member
Screenshot_20210812-092914_XDA_Developers.png


I already have the obvious three lines there, but just below them are the barely visible extra lines.
 

andybones

Forum Moderator
Staff member
May 18, 2010
15,088
15,447
Google Pixel 5
They're from FNG (Fluid Navigation Gestures), indicating where I have the three gestures. I have swipe up to activate: left for back, center for home, right for recents.
ahh ok, I could suggest trying to download his .apk for substram and hiding the 3rd party nav bar?
but it doesnt semm like it's too big of an isuse.
but worth a shot :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    If you're like me, you like using a 3rd party navigation gesture app with the navbar hidden.
    In Android 11, google disabled wm overscan which makes it difficult to hide the navbar.

    Luckily, it's possible with Magisk and a little bit of tinkering.

    THIS GUIDE ASSUMES YOU'RE FAMILIAR WITH MAGISK AND MAGISK MODULES.


    Prerequisites:
    1. Install Magisk
    2. Install Magisk Hide Props Config
    3. Install Universal SafetyNet Fix
      • optional but recommended if you use gPay, Bank Apps, etc.
    4. Install a terminal emulator (like Termux)
      • this is also theoretically possible with platform-tools and root over adb shell but my tutorial will be using the terminal
    5. Settings > System > Gestures > System Navigation is set to 3-button Navigation
      • this is only required if you're using a 3rd party gesture navigation app (I use Vivid Navigation Gestures)
      • you can skip #5 at your own risk if you wish to keep Google's Gestural Navigation but hide the UI
    To disable the Navbar, enter the following commands (don't type the descriptions).
    1. su (gain root access)
    2. props (open the hideprops menu)
    3. 4 (Add/edit prop values)
    4. n (New custom prop)
    5. qemu.hw.mainkeys (the build prop for whether to include softkey navbar)
    6. 1 (sets the build prop to disable the softkey navbar)
    7. y (yes to continue with defaults)
    8. y (yes to reboot)
    That's it! Once your phone reboots you should no longer have a Navbar.
    In theory, this should work on many devices, but I've only tested it on my stock Pixel 3 and Pixel 5.

    This method is even better than overscan IMO because it doesn't come with the same quirks.
    I had issues with the volume menu appearing off-screen and certain fullscreen apps assuming the Navbar was still there.
    2
    On Pixel 5, after setting prop, there's a delay when switching between camera modes. It goes from 1 sec without it enabled to almost 5 second after enabling it.
    This is known issue when doing this MOD. I believe that SystemUIGoogle.apk needs to be modified to remedy it.
    2
    Can probably pull the modified .apk from this MOD
    1
    @nontheoretical Do we revert back by reverting the module back to defaults?

    To revert from terminal:
    su (gain root)
    props (open hideprops menu)
    5 (delete a prop)
    r (reset all props)
    y (to continue)
    y (to reboot)
    1
    If you're like me, you like using a 3rd party navigation gesture app with the navbar hidden.
    In Android 11, google disabled wm overscan which makes it difficult to hide the navbar.

    Luckily, it's possible with Magisk and a little bit of tinkering.

    THIS GUIDE ASSUMES YOU'RE FAMILIAR WITH MAGISK AND MAGISK MODULES.


    ...

    Work perfectly on my Xiaomi.eu ROM (Mi 11) and Lawnchair 11 + My Gesture - Edge navigation gesture

    Thx mate, i miss my Launcher so long time, i don't like MIUI Launcher


    PS ; i have install my program after lol, without Navbar & Gestures. If Someone forget to install Gesture app BEFORE, just :

    - Click Settings > Search "Google Play" > "Google Play Protect" > In "Security Status again "Google Play Protect" > Use Back Arrow on Front left > You are on Google Play, now just install your favorite Gesture app :)