[MODULE] Fullscreen/Immersive Gestures tweaks for Android 10-12

Search This thread

DanGLES3

Senior Member
Nov 11, 2017
794
783
immersive gestures / hide keyboard buttons = no / hide pill = no / hide keyboard buttons = no / reduce keyboard bar size = no / gesture sensitivity = low

- / - / - / - / +
Check if Fullscreen works, due to the way MIUI handles its navigation bar dimensions immersive doesn't seem to work properly, have yet to find a way to fix this
 

lelemito95

Senior Member
May 27, 2014
125
9
26
Could provide me a screenshot of the following folders with the module installed?

/data/adb/modules/hidenavbar/system/product/overlay
/data/adb/modules/hidenavbar/system/product/overlay/navigationbargestural
 

Attachments

  • 2.jpg
    2.jpg
    74.9 KB · Views: 34
  • 1.jpg
    1.jpg
    77.3 KB · Views: 35

DanGLES3

Senior Member
Nov 11, 2017
794
783
Huh, that's really weird, everything seems to be in order, so your navigation bar is still visible? iirc MIUI has an option to hide the navigation bar, see if that's on and turn it offf
 

leathan

Senior Member
Sep 15, 2013
198
44
Works great on 4 of 5 devices of mine. With it not working on my newest one ASUS Rog phone 6. If it should work or there is some info I can provide you to help you make it work let me know.

I tried all the options I could think but all of them make the gestures not work. Although it does hide the keyboard button and all that which is what I most want, but it still breaks gestures (low and high, show pill and hide pill, fullscreen and immersive).

Thanks much!!!
 

DanGLES3

Senior Member
Nov 11, 2017
794
783
Works great on 4 of 5 devices of mine. With it not working on my newest one ASUS Rog phone 6. If it should work or there is some info I can provide you to help you make it work let me know.

I tried all the options I could think but all of them make the gestures not work. Although it does hide the keyboard button and all that which is what I most want, but it still breaks gestures (low and high, show pill and hide pill, fullscreen and immersive).

Thanks much!!!
I've gotten multiple reports of this, it seems ASUS tied the gestures directly to the navigation bar height, so hiding it breaks gestures

Unfortunately I can't fix that, I'm very sorry
 
  • Like
Reactions: duttyend

DanGLES3

Senior Member
Nov 11, 2017
794
783
Works great on 4 of 5 devices of mine. With it not working on my newest one ASUS Rog phone 6. If it should work or there is some info I can provide you to help you make it work let me know.

I tried all the options I could think but all of them make the gestures not work. Although it does hide the keyboard button and all that which is what I most want, but it still breaks gestures (low and high, show pill and hide pill, fullscreen and immersive).

Thanks much!!!
if all you want is to hide the buttons underneath the keyboard you can do that through the terminal configuration tool by running the following on termux and making sure to not hide the navigation and keyboard bars

su -c hn
 
  • Like
Reactions: duttyend

leathan

Senior Member
Sep 15, 2013
198
44
if all you want is to hide the buttons underneath the keyboard you can do that through the terminal configuration tool by running the following on termux and making sure to not hide the navigation and keyboard bars

su -c hn
Oh I should have tried that! Thanks!

I also want the pill to be hidden so if there is a way to help with that let me know Im decent at the terminal and can give you logs and whatnot but its also not that big of a deal as the main thing that drove me crazy was that down arrow in landscape mode.
 

DanGLES3

Senior Member
Nov 11, 2017
794
783
Oh I should have tried that! Thanks!

I also want the pill to be hidden so if there is a way to help with that let me know Im decent at the terminal and can give you logs and whatnot but its also not that big of a deal as the main thing that drove me crazy was that down arrow in landscape mode.
Sadly if you were to just remove the pill without hiding the navigation bar you'd likely just be left with an empty bar at the bottom of the screen (the navigation bar)

Logs won't really help as the issue isn't my module but ASUS tying things up for seemingly no reason, same thing happened with Nubia which did an even weirder thing by tying the navigation bar height to the back gesture
 
  • Like
Reactions: duttyend

leathan

Senior Member
Sep 15, 2013
198
44
Sadly if you were to just remove the pill without hiding the navigation bar you'd likely just be left with an empty bar at the bottom of the screen (the navigation bar)

Logs won't really help as the issue isn't my module but ASUS tying things up for seemingly no reason, same thing happened with Nubia which did an even weirder thing by tying the navigation bar height to the back gesture
Ok thanks for the information. Also I tried running the command su -c hn but im actually not sure where the hn binary is and get hn inaccessible or not found. On all my other devices I just clicked modules on magisk and installed what I saw on github. is there an hn binary in there if I unzip it?
 

DanGLES3

Senior Member
Nov 11, 2017
794
783
Ok thanks for the information. Also I tried running the command su -c hn but im actually not sure where the hn binary is. On all my other devices I just clicked modules on magisk and installed what I saw on github. is there an hn binary in there if I unzip it?
If it returned not found, congrats your device likely had weird binary paths

Copy paste this instead

su -c /data/adb/modules/HideNavBar/tools/hn

The tool is there to allow more meticulous customization if one wants to
 
  • Like
Reactions: duttyend

leathan

Senior Member
Sep 15, 2013
198
44
If it returned not found, congrats your device likely had weird binary paths

Copy paste this instead

su -c /data/adb/modules/HideNavBar/tools/hn

The tool is there to allow more meticulous customization if one wants to
Oh I uninstalled it because it wasnt working as I expected, I reinstalled it (gestures not working) and now It obviously finds that binary thanks.

have any recommended values for my asus rog 6. (for just the keyboard arrow since pill wont work) I'm at What NavBar height: and im a little confused what to even enter as I think I want 0 but I think it wont work :D

Thanks so much by the way I really really really love this module on all my devices. SO MUCH
 

DanGLES3

Senior Member
Nov 11, 2017
794
783
Oh I uninstalled it because it wasnt working as I expected, I reinstalled it (gestures not working) and now It obviously finds that binary thanks.

have any recommended values for my asus rog 6. (for just the keyboard arrow since pill wont work) I'm at What NavBar height: and im a little confused what to even enter :D

Thanks so much by the way I really really really love this module on all my devices. SO MUCH
18.0 for the navigation bar, 48.0 for the keyboard bar (you can lower it if you want), about 18 or 32 for the gesture height
 

DanGLES3

Senior Member
Nov 11, 2017
794
783
Oh I uninstalled it because it wasnt working as I expected, I reinstalled it (gestures not working) and now It obviously finds that binary thanks.

have any recommended values for my asus rog 6. (for just the keyboard arrow since pill wont work) I'm at What NavBar height: and im a little confused what to even enter :D

Thanks so much by the way I really really really love this module on all my devices. SO MUCH
Also, happy to help as much as I can, your bug reports are always welcome
 

leathan

Senior Member
Sep 15, 2013
198
44
18.0 for the navigation bar, 48.0 for the keyboard bar (you can lower it if you want), about 18 or 32 for the gesture height
Hey cool it works great! Maybe one day the pill will be gone too lol

Thank youThank youThank youThank youThank youThank youThank youThank youThank youThank you and good luck!
 

DanGLES3

Senior Member
Nov 11, 2017
794
783
Hey cool it works great! Maybe one day the pill will be gone too lol

Thank youThank youThank youThank youThank youThank youThank youThank youThank youThank you and good luck!
Hopefully ASUS one day gets their stuff together (hopefully on Android 13)

It's either that or me figuring out how to program so i can make an Xposed module (I'll study the feasibility of that) to override this behavior or find a way to mod the system APK without everything collapsing in on itself due to a signature mismatch

Either way, thanks for liking my module
 

DanGLES3

Senior Member
Nov 11, 2017
794
783
Hey cool it works great! Maybe one day the pill will be gone too lol

Thank youThank youThank youThank youThank youThank youThank youThank youThank youThank you and good luck!
Already, was taking another look here and honestly, i couldn't find any obvious signs of ASUS breaking gestures, tho might have ideas

Does your device have some form anti mistouch or something of the sort in the settings?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    My Gboard shows some sort of symbol down there, cant tell why its there.
    Any way to remove it?
    Im on a Nothing Phone 1 with android 12.

    View attachment 5705165
    That's the back button, it shows up on Fullscreen mode if you enable the Gcam lag fix, the Gcam lag fix needs to keep a smidge of the navbar visible so it results in this small artifact, if you don't need the Gcam lag fix you can just disable it by reinstalling the module
  • 23
    oEMa4xI.png


    This Magisk Module lets you tweak Android 10-13's gestures.

    Requirements
    - Android 10-13
    - Magisk 20+

    Installation
    1. Flash this module.
    2. Reboot.
    3. Enjoy!

    Terminal Setup
    Run on a terminal app the following command su -c hn

    Download
    To install the module simply search it on Fox's Module Manager

    Links
    - [GitHub](https://github.com/Magisk-Modules-Alt-Repo/HideNavBar)
    - [Telegram](https://t.me/dnmgsk)
    - [Module Manager](https://github.com/Fox2Code/FoxMagiskModuleManager/releases)

    Translation​

    If you wish to have the installer translated to your language send me a text file containing all lines (inside ui_print in common/install.sh) either on Github or my Email

    Disclaimer
    • This module won't disable the navbar, so if you want to use Fluid NG on Android 11-12 then this module isn't for you
    • Any option not working is due to incompatibility with your current ROM (there's little i can do about it)
    • Any issues related to GCam after installing the module are outside my control
    • Automatic navbar coloring doesn't work on Android 11+

    Changelog

    v21.0​

    • Rewrite installer for Android 12+ to use fabricated overlays for higher compatibility
    • Added Gcam lag fix as install option (12+ atm)
      Translations needed for the Gcam fix option
    V20.0
    • Fix Android 10 support (which was broken since v14.0)

    v19.0​

    • Reworked Terminal config tool (su -c hn), should avoid issues related to zipsigner
    • Properly support Rboard Theme Manager v3 to avoid conflicts

    v18.0​

    • Added Samsung A12 support

    v17.0​

    • Proper MIUI detection/install logic (should provide compatibility to MIUI based on Android 10, not tested)

    v16.4​

    • Removed unnecessary waiting during module install

    v16.3​

    • Added Fox Manager Extension support (support link shortcut when installing the module)
    • Try and improve the volume selector delay a bit

    v16.1​

    • Fix the Terminal Config tool

    v16.0​

    • Proper MIUI 13 support

    v15.0​

    • Added MIUI support (confirmed working on MIUI 13)
    • Fixed Terminal Script not working on devices with pseudo/fake xbin folders

    v14.0​

    • Fixed miscelaneous error messages
    • Fixed Terminal config tool on Android 13 (Google's fault this time lol)
    • Tablet support (it works inconsisntently)

    v13.0​

    • Full AAPT rewrite
    • Added terminal config tool for changing each navbar parameter (To use it run the following on a terminal app su -c hn)

    v12.0​

    • Fixed the Gcam lag when switching modes

    v11.0​

    • Preemptive Android 13 support (untested)

    v10.0​

    • Added Support for Android 12L, and thank you all very much for your support over these 2 years of development

    v9.9​

    • Allow hiding the buttons underneath the keyboard in Immersive mode

    v9.8​

    • Fix Rboard checking for the keyboard spacing removal feature (apologies to RKBDI for the troubles)

    V9.7​

    • Automatically removes conflicting overlays during install (AKA some theme modules that include gesture overlays for no reason at all)

    v9.6​

    • More reliable language detection (should prevent issues where the installer shows no text)

    v9.5​

    • Added support for translations in the installer (currently included languages are English, Portuguese and Spanish)

    v9.4​

    • Allow disabling back gesture also on Android 10 (due to way A10 handles the back gesture it's only possible to disable them completely and on fullscreen mode only, if you have Xposed on A10 and wishes to disable only the left back gesture use this Xposed module https://github.com/kuba2k2/NoLeftBackGesture/releases/tag/v1.0)

    v9.3-hotfix​

    • Fix install (sorry for the inconvenience)

    v9.3​

    • Updated Volume selector (from MMT-EX), should resolve install issues on some devices
    • Increased the timeout to 10s to give users time to read the options

    v9.2​

    • Reenable back gestures on NO (on the whether to disable back gestures or not) option

    v9.1​

    • Reenable back gesture on uninstall (if user is unable to change the device's back gesture sensitivy from settings)

    v9.0​

    • Allow disabling back gesture on A11-12 (Left only for side menus and Left & Right for gesture apps)

    v8.8​

    • Update MAXAPI to 31 to support the eventual stable A12 release

    v8.7​

    • Update Volume selector
    • Revised install logic
    • Disable the Gboard spacing some Android 11 ROMs were using by default (users are still free to change/reenable the spacing with Rboard as I've made sure my code won't overlap with it)

    v8.6​

    • Fix and go back to using the new install logic on Android 11

    v8.5​

    • Revert to old install logic on Android 11 (attempts to bug fix module not installing correctly on some devices)

    v8.4​

    • Fixed an issue that was causing hide pill to be installed regardless of user preference
    • Cleaner install code (again)

    Older changelogs can be found here

    3
    Does this work on Android 12L? Nevermind, the attachment uploaded on OP is outdated, download it from GitHub instead.
    I'm very sorry for that ngl, i often forget i have an thread on XDA (my memory just sucks) oopsie
    3
    Here is a zip file of a bunch of overlays that include maybe more than what you need. They have different names so I took an educated guess.

    https://drive.google.com/file/d/11VnvrBv-Yqe1nIRpESScGhvwmmkor3xR/view?usp=drivesdk

    try this, i've rebuilt the main gesture overlay targeting Android 11, worked for a friend of mine

    R seems to enforce signature scheme V2 on its system apks, which is likely why my old overlay wasn't working (as they were signed with a testkey)
    3
    Ok, i've pushed an update on the Magisk Repo that should have fixed the Android 11 compatiblity issue, also i've tweaked the install script to accommodate both Q and R in a single zip
    3
    Update 13.0 released, I'm very sorry for not updating this thread in awhile, i promise to not let his happen again

    • Full AAPT rewrite
    • Added terminal config tool for changing each navbar parameter (To use it run the following on a terminal app su -c hn)