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

Search This thread

lelemito95

Senior Member
May 27, 2014
126
10
28
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: 47
  • 1.jpg
    1.jpg
    77.3 KB · Views: 48

leathan

Senior Member
Sep 15, 2013
211
48
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
917
989
Moto G5S Plus
Samsung Galaxy M51
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
917
989
Moto G5S Plus
Samsung Galaxy M51
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
211
48
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
917
989
Moto G5S Plus
Samsung Galaxy M51
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
211
48
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
917
989
Moto G5S Plus
Samsung Galaxy M51
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
211
48
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
917
989
Moto G5S Plus
Samsung Galaxy M51
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
917
989
Moto G5S Plus
Samsung Galaxy M51
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
211
48
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
917
989
Moto G5S Plus
Samsung Galaxy M51
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
917
989
Moto G5S Plus
Samsung Galaxy M51
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?
 

OrtizFerrari

Senior Member
Aug 26, 2013
67
14
Hello, I just updated the module from 9.3, and I'm seeing this strange empty bar below the keyboard... @DanGLES3 do you know what is this happening? I tried installing fullscreen and also immersive, but in both cases, the result was the same:

Oneplus 5T (Android 10)

photo_2022-08-10_17-30-42.jpg
 

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    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
    - Telegram
    - PayPal
    - Revolut Tag @danielem47

    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


    v25.0​

    • Fixed the module not working on A14 QPR2
    • Fixed the issue where the keyboard bar was overlaying the keyboard on A14 (this fix may cause the hide keyboard buttons option to not work)

    v24.0​

    • Lowered overlay priority and added slight delays to the boot script (which should prevent system overlays from overriding the module's values)
    • Disabled config_imeDrawsImeNavBar (which should allow the hide keyboard buttons option to work properly on Android 13 and up)

    v23.0​

    • Miscenaleous fixes

    v22.0​

    • Added Android 14 support (experimental)

    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)

    Older changelogs can be found here

    8
    Update 22.0 released with experimental support for Android 14
    5
    Pixel 6a. I upgraded to Android 14 (October update) and while immersive mode worked initially, the pill was no longer hidden. I reinstalled the module from Androidacy (within Magisk it says v22.0 version code 56, but the filename is v21.0-55) and now it doesn't appear to work at all -- it's neither in immersive more nor is the pill hidden.
    Try this version
    4
    There are alternatives, but I like how dedicated the dev is with this. Plus it's a clean cut, a module for one purpose and one purpose only.
    Thank you, this is kind of my longest running project, so i'd feel bad to just abandon it for no reason, as long as someone still wants to use it i'll happily still maintain it
    4
    Version 25 released which should fix the compatibility issues with Android 14 QPR2