Code Monkey home page Code Monkey logo

hidenavbar's Introduction

Fullscreen/Immersive Gesture Tweaks for Android 10-13

THIS REPO HAS BEEN MOSTLY DISCONTINUED AS OF MAGISK'S DISABLING OF THE REPO FEATURE, TO ALWAYS DOWNLOAD MY UPDATED MODULE USE FOX MODULE MANAGER AS MY MODULE IS NOW BEING DEVELOPED ON THE ALT-REPO

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

Requirements

  • Android 10-13
  • Magisk 20+

Installation

  1. Flash the module
  2. Select the desired options on the volume selector
  3. Reboot
  4. Enjoy!

Terminal Setup

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

Disclaimer

  • Any option not working is due to incompatibility with your current ROM (there's little i can do about it)
  • GSI compabitility isn't guaranteed due to Magisk's inconsistent GSI support
  • For issues related to GCam after installing the module you may use the terminal setup tool to increase the navbar size slightly to workaround the issue
  • Automatic navbar coloring doesn't work on Android 11+

Links

Options

  • Android Default

  • Fullscreen

  • Immersive (With the Pill + Default Keyboard Spacing)

  • Immersive (With the Pill + Small Keyboard Spacing)

  • Immersive (Without the Pill + Default Keyboard Spacing)

  • Immersive (Without the Pill + Small Spacing under the Keyboard)

  • Additionally back gestures can be disabled on Android 11-12 for either left side only (to access side menus on apps) or both sides (if one wishes to remap the back gestures with other apps)

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, omit special symbols such as á,ã

Special Thanks

  • skittles9823 for his help with the initial install script

  • Nebulart for the banner

  • Samchugit for making the original immersive gestures module

  • Zackptg5 for the MMT-Ex template

  • Topjohnwu for making Magisk

  • RKBDI for the Rboard module

  • Gnonymous7 for some general inspiration, if you want more visual tweaks make sure to check out their module G-VisualMod

  • All Custom ROMs who made my module an official feature in their ROM (AOSIP, Havoc & etc)

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-hotfix

  • Fix terminal setup tool

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)

(if you notice any issues on Android 11 due to the new install logic report to me immediatelly)

For older changelogs check here

hidenavbar's People

Contributors

dangles3 avatar koz-nik avatar vladi69 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hidenavbar's Issues

Hide little close keyboard button

I got very annoyed by the space below the keyboard and this module fixed it, thanks a lot for that (working flawlessly on Oneplus 8t OxygenOs 11), but now the close keyboard button is right below my comma button so I keep pressing it accidently. it would be awesome if this module could hide the button completely, it is obsolete anyway since you can just use the back gesture to close it

The keyboard height setting does not work after installed the module

When installing the module I setted fullscreen gesture and android default keyboard height, but actually the keyboard has a low height. Just like the screenshot.
Pixel 3, android 11. The latest system version, and module version is 8.1
Thank you for writing this module.
Screenshot_20201204-130325

Camera slow changing modes with module installed on Pixel 6

I was wondering why on my Pixel 6 changing camera mode took about 1-2 seconds, whereas without root it was immediate. I tried unistalling this module and the camera started working flawlessly. I'm running the latest update on my Pixel 6, latest Magisk (24.3), and the latest version of HideNavBar.

Hiding status bar on Android 11

This module supports hiding status bar under Android 11? I tried it with crDroid 7.3 Custom ROM on OnePlus 5T, but it doesn't work for me.

Restore back gesture

I tried to disable back gesture but I couldn't enabled it again. I tried to reinstall module with not allow disabling gesture but that also didn't fix it.
Any suggestions?

Module breaking Home gesture.

The swipe up gesture (Home and Overview) is broken on AOSP Android 10 after flashing this module. The November security patch supports navigation gestures for custom launchers, and I'm using Nova.

Snapchat Bug

On my Xiaomi Mi 9 Cepheus (Running Paranoid Android Quartz 2 AOSP ROM) Snapchat has a black bar at the bottom of the display.
Has anyone else experienced this?
Screenshot_20200501-144246
Also visible in my recents:
Screenshot_20200501-202117

how to flash this?

I tried zip all and install through magis manager, but it says
this zip is not a Magisk Module !

I bet there is'nt install.sh present after looking another module

Module uninstallation doesn't restore original behavior

I did the following:

  1. Installed the module on Lenovo Tab P11 (android 11)
  2. During installation, chose fullscreen + disabled all back gestures

After a reboot, a pill disappeared & back gestures stopped working (as expected), but 'Switch between apps' and 'Find all open apps' gestures stopped working, while 'Go to Home screen' gesture continued working (names of gestures are taken from here: https://support.google.com/android/answer/9079644).

After module's uninstallation + reboot, the pill & back gestures were restored, but 'Switch between apps' and 'Find all open apps' gestures weren't (they worked as expected before installation). Just to make sure, I checked directory /data/adb/modules, and it was empty. Moreover, even after I completely uninstalled Magisk (+reboot), those two gestures were not restored.

From the scenario above, the following seem to be the issues (from most severe to less severe):

  1. Module's uninstallation doesn't restore the original functionality (gestures 'Switch between apps' and 'Find all open apps')
    P.S.: if there is a workaround for this, please write it in this task - having no 'Find all open apps' is very inconvenient, and having to do a factory reset (or a complete reflash) is only the very last resort.

  2. If module disables some gestures on the bottom edge when it is installed & the pill is hidden ('Switch between apps' and 'Find all open apps'), it should disable the other ones as well ('Go to Home screen'). The rationale for it - fullscreen mode with disabled back gestures is most useful when one wants to replace built-in gestures with a dedicated gesture app, and disabling only some gestures while leaving the others prevents this replacement (since built-in gestures will interfere with gestures managed by app)

Note: I rarely used 'Switch between apps', and therefore there is some possibility that the claim that the gesture disappeared after installing the module may be false since I don't use the gesture correctly (I tried this gesture recently only after installing the module). 'Find all open apps' gesture is most definitely missing, though.

This module works on Oxygen OS!

Hi! Thanks so much for making this mod. I just installed this on my OnePlus 8T+ running the latest Oxygen OS 11 and it works perfectly! I used this configuration: Immersive (Without the Pill + Default Spacing under the Keyboard)

You can update your description so that people know it works, at least on the 8T.

Q: How do I change keyboard when I have Fullscreen enabled?

First of all, I LOVE this module and I am very thankful for your work.

This is probably not an issue so please don't shoot me.
I checked all closed issues, the README, could not find an answer, so I thought I'll make an Issue (sorry!)

So the question is: How do I change keyboards if I have the module in fullscreen?

I use a Pixel 4a and a Oneplus 9R and neither has the option once I enable/use the module like this.
So I'm pretty much stuck with Gboard. Which works great 99% of the time, but rarely I need "Hacker keyboard" and such too.

Thank you!

Can the gesture height be even lower ?

The module is great, but gesture is too sensitive. Every time I move the pushing button at the bottom of the screen (when using Snapseed for example)it would trigger the app switch gesture.
I modded the module myself by changing the gesture height from 23dp to 18dp and it works perfect for me. I wonder if you can make the value as default

immersive mode problem

pixel4xl
Rom:Android 12beta4.1
Immersive mode:The position of the navigation bar has moved down, making it easy to accidentally touch.

A small problem

Can I make the color of this part the same as the Gboard 😁

Huge black bar under keyboard

hey! I wanna start off saying I'm super thankful for this module because I HATE the gesture pills. I read other people saying that the keyboard is too low but I'm having the exact opposite problem. After an update to the ROM on my phone, there's now a huge black bar at the bottom of my screen (down in the screenshot) which puts the keyboard way higher than I'm used to and I don't know how to get it to go away.

Screenshot_Chrome_20200518-211125

Trigger areas for back gesture

After moving from MIUI to an AOSP rom (YAAP), I noticed that the AOSP gestures trigger on the complete height of the side of the display. This is super annoying with apps that have a sidebar that you can slide open (examples are Boost for reddit and Telegram).

It would be nice to have an option to ignore the back gesture when you swipe in the top ⅓ area of the display (also in landscape), so that you can still trigger the swipe to open the sidebar of the app.

The only workaround, which feels unnatural to use, is to swipe down from the edge, and then towards the other edge of the screen to open it.

Pixel 3 XL - Android 11

Has anyone tested this module on Pixel 3 XL running Android 11 DP3? Does it have any effect on the left corner bug.

Gesture swipe up from bottom disabled

My device Asus ROG phone 5
I chose Immersive - Hide the pill... All worked as I expected, but the gesture swipe up from bottom to go to the desktop is disabled, swipe up and nothing happend
Sorry, I need your help but I didnot find other way to contact you

Magisk installer timeouts pointless

The magisk module installer asks questions like "choose gesture mode" and if the user does not react within 3 seconds or so, it just goes on to the next step/fails the installation.

Instead, it should wait for user input indefinitely, until it proceeds to any next step. 3 seconds are sometimes not enough to read + make a useful decision.

The current installation process feels like a speedrun :)

White bar in immersive hide pill mode

Great work on fixing the gcam lag, although I now have an odd looking white bar/space at the bottom of my screen in immersive hidden pill mode. This was never the case with previous versions. Do you think it is something you could look at please? Pixel 6 Pro, Android 12, March update. Thanks in advance

Preview images

It doesn't show the keyboard switcher button at all. Important for alot of people

Hiding the Status Bar

This is more of a feature request than an issue, but I think it might be a good idea to consider adding functionality to hide the status bar for a "completely immersive experience".

Nav bar not hiding on 16.1

Hey, great mod. I just installed the April update on my Pixel 6 and v12.0 was working fine. I upgraded to HideNavBar v13.0 and the nav bar reappeared. I went on telegram to try 16.1 but no success there either. I removed the mod, rebooted, then installed v12.0 again and the nav bar is still there (but terminal app is not). So I just uninstalled and tried a navbar remover from someone else that others have confirmed working (but fewer features) and it also does not work.

Is there a way to revert any changes made by the terminal app? There must be a ghost in the machine right? After flashing, v12 was working, but updating to v13+ broke the star feature of this mod. Is there something else I should try?

mgk

FYI waterfall28 changes the status bar height, but I suspect that doesn't matter because I toggled it off and the nav bar was still there.

There is a bug in your magisk module

Module version: 8.7
Magisk version: 22.1(22100)
Android version: 10
device: LG G8
install: Fullscreen + Low (Module Default)

Problems is in post-fs-data.sh this file.
In my device (lg g8 with Android 10),when the device boots,the log shows

01-29 05:14:23.500  1423  1423 I Magisk  : HideNavBar: exec [post-fs-data.sh]
01-29 05:14:58.287  1423  1423 W Magisk  : * post-fs-data scripts blocking phase timeout
01-29 05:14:58.287  1423  1423 I Magisk  : riru_lsposed: exec [post-fs-data.sh]

(I just pick up the useful part in the boot log.And it will make riru_lsposed broken.)
Why will it timeout?

The reason of causing this bug is this code in post-fs-data.sh
resetprop ro.com.google.ime.kb_pad_port_b 1.0

Why will it (resetprop) cause bugs?We don't know yet,but it looks like magisk's problem.
It is very hard to locate it,so,it's hard for magisk developers to fix it.

However,you can easily fix this problem by doing this.
1.Delete post-fs-data.sh
2.Make a new file called system.prop
3.Write this in system.prop
ro.com.google.ime.kb_pad_port_b=1.0

I am using my own fixed versions now,and it works well so far.Now just reporting this bug to you for fixing it.

Light theme support

This would be really nice if module supported white theme. Right now pill doesn't change color to black on white background.
Pocophone F1 Reloaded 1.1 Android 11
Screenshot_20201004-174813_Chrome~2
Screenshot_20201004-174846_Chrome~2

Add icon to change styles

Hi thank you for this module is great. It would be nice if you add an icon where we can change styles without having to reinstall the module. Example configuration mistake, I have to reinstall the module again.

Doesn't work on Android 11 beta 3 :-(

Beta 3 appears to now detect when gesture navigation is disabled and defaults to one of the other methods, so this module no longer seems to work.

Device: Taimen (Pixel 2 XL)
Magisk Canary 20420

Status bar peeking while full screen

Disable status bar peeking when swiping on bottom or side screen while gaming or using any full screen app. MIUI has a good, imo, way of implementing this.

Pixel5 issue

On my Pixel 5 running stock Android 11 rooted with Magisk (latest canary) no matter the options I choose when I install the latest version of this module, the Camera app become hella sluggish, slow when changing from different modes (portrait, video, etc). The app's controls like for instance the stabilization option from the video recording screen does nothing. I'll link a screenshot of how the options should look like that the module breaks.
Screenshot_20201217-191141

Update MAXAPI to 32 (Android 12L)

Just tested with the change on my device, seems to work just fine.

Edit: Seems to be fine in the master repo. The release is just outdated oof. I'll close it.

Please add a middle option

Sir big fan of your work but when we apply the module for full screen gesture, while typing gestures do not behave as they should, it switch tabs while typing, it goes to last app, sometimes home (while texting). it's really annoying while typing.
So I'm requesting a space between keyboard and pill or navbat which is less than stock android but a bit more than your fullscreen so that gestures do not get triggered while texting, it'll be a great help.

Dismiss keyboard and change keyboard icons sometimes get stuck on AOD

I'm using a Pixel 3a XL, running the latest stock ROM.
In some apps, notably the stock messages app and Snapchat, if I open the keyboard then press the power button, the icons on the bottom to dismiss the keyboard and change to a different keyboard get stuck on the always on display.
I've added a video to help demonstrate. This does not happen when the module is disabled.

OIPb5tJrU7.mp4

Menu corruption after dismissing keyboard on fennic/icecat/firefox

First of all, thanks so much. I love the immersive gestures but the black bar was driving me insane.

I have a problem on a remi note 8 running lineage 17.1 where firefox base browsers leave the menu visible if I type anything into the adress bar.

This is after that menu is dismissed, and I can interact with the page, Rotating the screen leaves it up but resized. Changing activities makes it correctly dismiss.

Screenshot_20210415-221056_Fennec

it's the same on immersive and fullscreen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.