[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] GROOVYJOSHCLARK:
I am pretty sure you can do this with the "Pixel Addon" MAGISK module already (but I could be misunderstanding what you end goal is) but check it out first before going crazy code changing (unless youre like me and have fun doing so). The lite one works for LOS, the full for stock and since its a module for MAGISK, its enable/disable from the manager to apply/remove with no leftovers (module removes everything when disabled):

Releases · ElTifo/CustomSettingsForDevs

Contribute to ElTifo/CustomSettingsForDevs development by creating an account on GitHub.

github.com

(here are a few options):

What is this?

This is a Magisk module that adds the following

cool custom features to any Pixel device (from 3a to 6 Pro)

running

stock Android 12 Pixel ROM

:

Enable/Disable Google Sans font system wide

Adds Icon Styles and Icon Shapes overlays from Android 11

Fonts options

Enable/Disable Combined signal icons

Pixel 6 Wallpapers (requires an extra module, please check downloads section)

Adds 2 button mode navigation (it was removed on Android 11 but I think some users like that navigation mode, so I add it)

Adaptive sound options

Enable Voice access for all Pixel devices

Navigation bar options (reduce keyboard bottom space size, completely remove NavBar, invert layout*, set back gesture height*)

Enable/Disable SystemUI Tuner

Enable Game Overlay for all Pixels by default (although, if something goes wrong while playing games, you can disable this feature)

Enable/Disable dual tone battery meter (it only works on icon portrait mode)

Enable/Disable showing the number of unread messages on status bar notifications

Reduce Status bar height (and option to correct left padding on devices with the notch on the left)

Enable/Disable more themed icons on launcher (some apps don't have a themed icon so it won't work for all apps)

Enable/Disable left shortcut on Lock screen

Enable/Disable camera shortcut on Lock screen

Enable/Disable gradient effect on QS Tiles and Brightness slider

Hide gestures navbar pill (using transparency)

Colorize gestures navbar pill with dynamic accent color

Dark Themes from Android 11 Addon Features

Choose QS number of rows

Brightness slider padding and thick track options

Enhanced Google Dialer (to enable stuff like

Call Recording

and etc.)

Enhanced Smart Space (to enable stuff like Flashlight, Earthquakes options, etc.)

Enables some newer Pixel features to older Pixel devices (things like Live Translate, Haptic feedback settings, etc.)

Enable/Disable option to reduce QS Tiles text size (works better on some QS Tiles themes)

Option to install Tap Tap (a great app for devices without Quick Tap and even for the ones that have it)

These next features, also included in the MOD, indicates that

framework-res and/or SystemUI were modded

. This means that these next features will only work on devices running stock Android 12 Pixel ROM. I'll talk more about this later.

Enable/Disable Wifi + Cell QS Tiles instead of single Internet QS Tile

Battery Styles

Clock Customization

Network Traffic Indicators

QS Battery percentage independent options (show estimate time remaining or just percentage)

Dual tone Light/Dark themes for Quick Settings Panel and Power Menu

Album art on lock screen options

Music visualizer options

QS Quick pulldown with one finger (options are off, drag from the top left, drag from the top right and drag from anywhere on the top)

Revamped Screenshot service (it allows us to delete screenshot as soon as we take it and we can enable/disable screenshot shutter sound)

Show/Hide QS Edit icon on QS footer

Show/Hide Quick access Developer options icon on QS footer

Quick access Rom Control app by long pressing on QS Footer Settings icon

Edit Back gesture navigation height

Enable/Disable inverted layout for 2 and 3 button navigation modes

Enable/Disable carrier text on lock screen

Date, clock and battery click actions on QS Header (long click on clock goes to system time settings, simple click opens clock app)

QS Tiles animations and vibration options

Disabled icon blacklist on both status bar and lock screen(the icons can be disabled using SystemUI Tuner for those who don't want some icons to appear anywhere)

Override feature flags (This allows us to override feature flags manually using setprop persist.sysui.flag."whatever_flag_we_want" command)

Use 4G instead of LTE option

Resize navbar pill (normal, medium, big)

Tap to add or remove tiles in QS customizer

Enable/disable QQS Brightness slider

Enable/disable default QS Brightness slider

Auto brightness QS icon (on/off)

Brightness slider position (Top, Bottom)

Double tap to sleep on status bar

Double tap to sleep on lock screen

Enable/disable Double-line clock on lock screen and AOD

Enable/disable circle background on lock screen fingerprint icon (it only does anything on devices that have it, obviously)

Force accent color on ripple animation while unlocking with fingerprint

QS Tiles Styles

Edge Sense Plus MOD (it only works on devices with active edge sensor)

Battery Bar

-------------------//------------------

Rom Control app (to setup all these options)