Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After first reboot, pill not hidden when only using hide navigation bar option, but works after second reboot #95

Open
nixigaj opened this issue Dec 28, 2024 · 14 comments

Comments

@nixigaj
Copy link

nixigaj commented Dec 28, 2024

When i say yes to Hide the navigation bar? and yes to Hide gesture hint/pill but keep space under the keyboard? but no to everything else, the pill is still present after the first reboot, but after the second one everything works. I guess this might not be something that is that fixable, but maybe it could be added as a note to the README.

Device: Pixel 9 Pro
Android version: 15
OS: GrapheneOS 2024121200 (patched with pixincreate/Magisk and self-signed OTA server)
HideNavBar version: 27.5

Screenshots

After first reboot

Screenshot_20241228-204230
Screenshot_20241228-204124
Screenshot_20241228-204109

After second reboot

Screenshot_20241228-204759
Screenshot_20241228-204829
Screenshot_20241228-204821

@DanGLES3
Copy link
Collaborator

When i say yes to Hide the navigation bar? and yes to Hide gesture hint/pill but keep space under the keyboard? but no to everything else, the pill is still present after the first reboot, but after the second one everything works. I guess this might not be something that is that fixable, but maybe it could be added as a note to the README.

Device: Pixel 9 Pro Android version: 15 OS: GrapheneOS 2024121200 (patched with pixincreate/Magisk and self-signed OTA server) HideNavBar version: 27.5

Screenshots

After first reboot

Screenshot_20241228-204230 Screenshot_20241228-204124 Screenshot_20241228-204109

After second reboot

Screenshot_20241228-204759 Screenshot_20241228-204829 Screenshot_20241228-204821

Not sure why it needs a second reboot, might be some odd behavior of Graphene OS, like perhaps the overlays aren't fully installed until after the boot script has already ran, so the script only works on the second reboot

Just a guess, Graphene does change some Android behavior significantly after all

@WirlyWirly
Copy link

I'm also having this consistent white pill at the bottom of my screen, however a second reboot doesn't work for me. It appears whenever I choose yes for Hide gesture hint/pill but keep space under the keyboard?.

Also, because I'm experiencing the volume keys not detected error, I've had to race through the installation. I thought at first it was an option I wasn't reading quick-enough, but after seeing this post I don't think that's it.

Device: OnePlus12
OS: OxygenOS15.0 (Android 15)
Magisk v28.1
HideNavBar: v27.5

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Jan 7, 2025

I'm also having this consistent white pill at the bottom of my screen, however a second reboot doesn't work for me. It appears whenever I choose yes for Hide gesture hint/pill but keep space under the keyboard?.

Also, because I'm experiencing the volume keys not detected error, I've had to race through the installation. I thought at first it was an option I wasn't reading quick-enough, but after seeing this post I don't think that's it.

Device: OnePlus12 OS: OxygenOS15.0 (Android 15) Magisk v28.1 HideNavBar: v27.5

Yeah, hiding just the pill isn't working on Android 15 as of yet as it moved all navigation bar related resources to the system launcher and I haven't yet adapted the code of the hide pill function to create an appropriate overlay for the launcher. I can try to make one soon if you want to test.

@WirlyWirly
Copy link

Definitely, I can be a test dummy 👍

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Jan 7, 2025

Definitely, I can be a test dummy 👍

test-hidepill.zip

See if this works

@WirlyWirly
Copy link

With test-hidepill.zip, yes the pill is gone, but now all the navbuttons are present. Tried the double restart and they persist.

Screenshot_2025-01-06-19-44-07-57_3aea4af51f236e4932235fdada7d1643

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Jan 7, 2025

With test-hidepill.zip, yes the pill is gone, but now all the navbuttons are present. Tried the double restart and they persist.

Screenshot_2025-01-06-19-44-07-57_3aea4af51f236e4932235fdada7d1643

Could you change your device to gesture mode again, then reboot?

@WirlyWirly
Copy link

WirlyWirly commented Jan 7, 2025

I've had my phone in navbutton mode, since the goal was to have neither stock nav buttons nor stock gestures (I'm using a gesture app).

I changed to gesture mode and this is the result; Home/Recent and Back gestures are still active (though I chose to disable them) and the pill is there too. Restarted a couple times just to make sure and it doesn't seem to have done anything.

Screenshot_2025-01-06-19-59-36-55_3aea4af51f236e4932235fdada7d1643

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Jan 7, 2025

I've had my phone in navbutton mode, since the goal was to have neither stock nav buttons nor stock gestures (I'm using a gesture app).

I changed to gesture mode and this is the result; Home/Recent and Back gestures are still active (though I chose to disable them) and the pill is there too. Restarted a couple times just to make sure and it doesn't seem to have done anything.

Screenshot_2025-01-06-19-59-36-55_3aea4af51f236e4932235fdada7d1643

Ahh, I didn't account for the Oxygen OS launcher, send me the apk and I'll see what I can do to fix it

@WirlyWirly
Copy link

WirlyWirly commented Jan 7, 2025

I'm using Nova, but here's a link to the stock OxygenOS launcher.

OnePlus System Launcher
https://www.apkmirror.com/apk/oneplus-ltd/system-launcher-5/system-launcher-5-15-3-12-release/

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Jan 7, 2025

I've had my phone in navbutton mode, since the goal was to have neither stock nav buttons nor stock gestures (I'm using a gesture app).
I changed to gesture mode and this is the result; Home/Recent and Back gestures are still active (though I chose to disable them) and the pill is there too. Restarted a couple times just to make sure and it doesn't seem to have done anything.
Screenshot_2025-01-06-19-59-36-55_3aea4af51f236e4932235fdada7d1643

Ahh, I didn't account for the Oxygen OS launcher, send me the apk and I'll see what I can do to fix it

If all you want to do is disable the navigation bar entirely (with no gestures or buttons) this module should work much better on Oxygen OS
hide.zip

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Jan 8, 2025

I'm using Nova, but here's a link to the stock OxygenOS launcher.

OnePlus System Launcher https://www.apkmirror.com/apk/oneplus-ltd/system-launcher-5/system-launcher-5-15-3-12-release/

Could you try the zip i sent above?

@WirlyWirly
Copy link

WirlyWirly commented Jan 8, 2025

Yes, I tried that zip with nav buttons enabled and it worked. Everything is hidden, no pill or keyboard nav buttons.

Still unable to keep only the keyboard back/input-switch buttons while not getting the pill error.

I then tried it with gesture navigation and it also worked. Everything is hidden while all built-in gestures remain functional. This isn't as practical for OxygenOS 15.0 because it has a native option to hide the gesture pill, but for other launchers it makes sense.

@DanGLES3
Copy link
Collaborator

DanGLES3 commented Jan 8, 2025

Yes, I tried that zip with nav buttons enabled and it worked. Everything is hidden, no pill or keyboard nav buttons.

Still unable to keep only the keyboard back/input-switch buttons while not getting the pill error.

I then tried it with gesture navigation and it also worked. Everything is hidden while all built-in gestures remain functional. This isn't as practical for OxygenOS 15.0 because it has a built-in option to hide the gesture pill.

Unfortunately I don't have a perfect solution for Oxygen OS, since its back gesture implementation is custom I can't disable it without disabling the navigation bar entirely (thus getting rid of the keyboard switcher button)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants