• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

Pho3nX

Senior Member
Jun 13, 2013
2,564
1,834
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?
 

Top Liked Posts

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