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

How To Guide Remove NavBar Gesture Pill (and more) for non-rooted Pixel 6 Pro

Search This thread

s.hirimuthugoda

New member
Nov 28, 2021
1
1
Hi guys, I've seen several posts asking how to remove the Gesture Pill. It's easy if you're rooted, but it's also possible if you're not rooted.
Here is a step by step guide. There is also a huge amount of UI mods that can be made using the same method.

1. Download the Shizuku app from the Playstore
2. Start the Shizuku app by running the following adb command:
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
3. Download and install FabricateOverlay release from Github (Version 1.0.2)
4. In FabricateOverlay click “Add Overlay”
5. Choose Android System
6. Click “Add”
7. Set “android:dimen/navigation_bar_height” to 1. Apply. Save. Tick.
8. Set “android:dimen/navigation_bar_frame_height” to 0. Apply. Save. Tick.
9. Enjoy!

Let me know in the thread if anything is unclear.

Thanks to @squee666 for an alternative solution that does not affect the keyboard! Try it out!

Credits:
Zachary Wander for the FabricateOverlay app and the instructions.
RikkaW for the Shizuku Api.
MishaalRahman, Quinny898 and various Redditors (especially LankeeM9 and audie-tron171) for the relevant settings.
Have been searching for a legit method for my Android 12 for a long time and I can't thank you enough for this.
 
  • Like
Reactions: StrangerWeather

lemonspeakerz

Senior Member
Nov 8, 2021
54
20
Hi, some people on reddit have compiled a spreadsheet. It is incomplete but it's a start: https://docs.google.com/spreadsheets/d/1n3-EbZWS18TzDErelJIB_1lPLtih7eJ5VVx0djHOIFs/edit#gid=0

https://www.reddit.com/r/android_beta/comments/qjwcqf
Alternatively, if you are not in too much hurry, I am currently trying to write an app that will make the non-root tweaks easier.
How did you remove the battery icon?
I looked thru that spreadsheet and can't find the mods you did.
 

StrangerWeather

Recognized Contributor
Jul 18, 2012
3,475
7,995
53
Oxford

StrangerWeather

Recognized Contributor
Jul 18, 2012
3,475
7,995
53
Oxford

cd993

Senior Member
May 8, 2009
3,454
1,208
London
@StrangerWeather

From Reddit
Somehow I managed to hide the navigation bar while KEEP the keyboard gaps.

#Android system

set "navigation_bar_height" to 1 px.

set "navigation_bar_height_landscape" to 1 px.

save then enable.

Edit: set to 1 px instead of 0 to fix the camera lag issue then switching modes.

#System UI

set "navigation_home_handle_dark_color" to 00000000. (only the first 2 hex matters, 0x00rrggbb for 0% opacity)

set "navigation_home_handle_light_color" to 00000000.

save then enable.

after activating the layout, switch light/dark theme to make it actually take effects.


Using this now works perfect also fabric overlay a right battery drain when actively using

Is there a way to make the little gesture icons invisible after this method? Using FNG I can see the icons. I'd like the keyboard gap but not see the icons if possible... when I try enter 0x00rrggbb it doesn't allow the r's or g's to be typed, only the b's, so looks like this 0x00bb ?
 
Last edited:

ZzEzZ

Senior Member
Mar 29, 2016
62
13
Anyone know which setting could change the opacity of the notification shade?

I want to make it slightly transparent instead of the ugly grey blob it is now.
 

Zilla0617

Senior Member
Im trying to follow the mod of getting rid of the pill, when I try to save an overlay name it won't allow me to save. Nothing happens when I hit save

Edit: Nevermind. I restarted and tried again and it worked
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I ended up removing Shizuku and Fabricate Overlays and installed the Addon Features for Pixel Devices and was able to get rid of the pill and hide the navbar in there. Just make sure you get the newest update from the Telegram Group.
    2
    Since this doesn't work anymore, I uninstalled shinzuku and the fabricate overlay. At some point today though, the pill disappeared on my screen! In apps where there is the black space, the black space is still there, but no white line. It's just...gone. No idea why or how this happened.

    I'm afraid to reboot because I suspect the pill will come back, but I will say, I don't mind the black space with no pill that much and like my home screen not having the pill at all!
    1
    Using qemu.hw.mainkeys=1 actually does work, however, it also suffers from the problem of the slow switching between camera modes. So not very useful.
    1
    Has anyone been able to lower the height of the status bar so it sits right below the punch hole? It feels a bit too tall and taking up space. I tried changing the status bar height / portrait but it seems to break the icons on the lock screen (they get moved up to the top edge of the screen and get cut off)
    Best I've gotten is changing the following to 37:

    status_bar_height
    status_bar_height_portrait

    40 starts moving the bar lower, but 37 is about as close as I can get while having the icons looking centered. 20 is the lowest to where I have no issue seeing the icons.
  • 32
    Hi guys, I've seen several posts asking how to remove the Gesture Pill. It's easy if you're rooted, but it's also possible if you're not rooted.
    Here is a step by step guide. There is also a huge amount of UI mods that can be made using the same method.

    1. Download the Shizuku app from the Playstore
    2. Start the Shizuku app by running the following adb command:
    adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
    3. Download and install FabricateOverlay release from Github (Version 1.0.2)
    4. In FabricateOverlay click “Add Overlay”
    5. Choose Android System
    6. Click “Add”
    7. Set “android:dimen/navigation_bar_height” to 1. Apply. Save. Tick.
    8. Set “android:dimen/navigation_bar_frame_height” to 0. Apply. Save. Tick.
    9. Enjoy!

    Let me know in the thread if anything is unclear.

    Thanks to @squee666 for an alternative solution that does not affect the keyboard! Try it out!

    Credits:
    Zachary Wander for the FabricateOverlay app and the instructions.
    RikkaW for the Shizuku Api.
    MishaalRahman, Quinny898 and various Redditors (especially LankeeM9 and audie-tron171) for the relevant settings.
    9
    i think the other question is what kind of other good tips/tricks can be done with this apps?
    Hi, some people on reddit have compiled a spreadsheet. It is incomplete but it's a start: https://docs.google.com/spreadsheets/d/1n3-EbZWS18TzDErelJIB_1lPLtih7eJ5VVx0djHOIFs/edit#gid=0

    https://www.reddit.com/r/android_beta/comments/qjwcqf
    Alternatively, if you are not in too much hurry, I am currently trying to write an app that will make the non-root tweaks easier.
    7
    Hi guys, is anyone interested in an app that makes the overlays a bit simpler? You would still need to install and start Shizuku, but then you could do a bit of theming without root. I have almost finished making an app that allows you to change a few colours without root using a colour picker. For instance, the Material You colours and the drawer colours. I made it for fun but I can share it. If people are interested, I can gradually add more features. Let me know and no worries if not, I know this will probably only interest those of you who are not using a third party launcher in any case. ;-)

    Link to new thread here: https://forum.xda-developers.com/t/non-root-mods-rootless-ui-mods.4366697/
    7
    @StrangerWeather

    From Reddit
    Somehow I managed to hide the navigation bar while KEEP the keyboard gaps.

    #Android system

    set "navigation_bar_height" to 1 px.

    set "navigation_bar_height_landscape" to 1 px.

    save then enable.

    Edit: set to 1 px instead of 0 to fix the camera lag issue then switching modes.

    #System UI

    set "navigation_home_handle_dark_color" to 00000000. (only the first 2 hex matters, 0x00rrggbb for 0% opacity)

    set "navigation_home_handle_light_color" to 00000000.

    save then enable.

    after activating the layout, switch light/dark theme to make it actually take effects.


    Using this now works perfect also fabric overlay a right battery drain when actively using
    5
    Actuall you don't (really) need the apps ... you can generate and enable/disable these overlays via adb:
    Code:
    > adb shell
    > su
    # cmd overlay fabricate --target android --name ChooseYourName1 android:dimen/navigation_bar_frame_height 0x05 0x00
    # cmd overlay enable ChooseYourName1
    # cmd overlay disable ChooseYourName1
    # cmd overlay list
    #
    # cmd overlay fabricate --target android --name ChooseYourName2 android:dimen/navigation_bar_height 0x05 0x01
    First command generates the overlay (named ChooseYourName1), second command enables it, third command disables it, fourth command shows a list of all overlays.

    Just type:
    Code:
    # cmd overlay
    And you can see what other command line args are supported.