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

Search This thread

Pho3nX

Senior Member
Jun 13, 2013
2,690
1,926
Nothing Phone 1
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.

I advise to you change for My Gesture, Fluid is slow and drain battery. My Gesture is new, fast, with lines and you can (premium) change edge effect (Line, Gradiant, Waves, etc... like Google Gesture)
 

Datooo

New member
Jul 20, 2014
4
1
Redmi Note 10
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.
thenk u.. its works on my redmi note 10 running on custom rom android 12 and using FNG...
 

skytbest

Senior Member
Oct 23, 2010
254
14
New York, NY
Does this process still work reliably on a Pixel 5 with the latest patches and updates? Do you have to run these commands to get the nav bars back?
 

soCram

Senior Member
Nov 25, 2007
103
19
At least for me on Android 12 the back gesture does not work anymore. Does anybody have an idea here?
 

Erboyz

New member
Aug 12, 2012
1
0
Jakarta
I can confirm work on Xiaomi 11T Pro MIUI 12.5.10 Android 11. Works flawlessly with Nova7 and FNG. Thank you!
Screenshot_2022-03-21-16-51-59-691_org.mozilla.firefox.jpg
 

Bouster

Member
Jun 13, 2019
8
0
I tried on my Galaxy S9 with NOBLE ROM 2.0 but the "n (New custom prop)" isn't showing up. The option is simply not given. Any ideas?
 

Zeph016

Member
May 6, 2014
9
1
Thank you for this. Works on LG V30 on rooted Stock PIE using FNG. Honestly it behaves like Q-R-S android gestures.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    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 :)