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

[MOD][MAGISK][ANDROID 12] Addon Features for Pixel Devices - Pixel 4a 5g Thread

Search This thread

Typhus_

Senior Member
addon_features_for_pixel_devices_andorid_12-png.5456283


What is this?

These are some Magisk modules that adds the following cool features to any Pixel 3, 4, 5 and 6 device running Android 12:

  • 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
  • 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*)
  • SystemUI Tuner options
  • 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)
  • Option to 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

    ------------------//------------------------
  • Enable/Disable Wifi + Cell QS Tiles instead of single Internet QS Tile *
  • Battery Styles *
  • Clock Customization *
  • Network Traffic Indicators (on Pixel 5, Pixel 6 and Pixel 6 Pro devices they only work on QS Header) *[/SIZE]
  • 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 (requires Visualizer fix module) *
  • 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 *
  • Rom Control app (to setup all these options)


* -> These features are only available if "SystemUI module" is installed.

Downloads:

Addon_Features_for_Pixel_Visualizer_Fix.zip -> Install this module first (if you haven't installed it before). Afterwards, reboot your device and wait for about 1 minute before doing anything else. Really, I'm not joking, install, reboot and just wait. You see, this "Visualizer fix" module is only needed in order to add a missing permission to SystemUI. It only has to be installed once (obviously, if in the future you clean flash the ROM, you'll have to flash it again or you'll be missing that required permission). And, since it's only needed once, this module is deleted from the system after doing what it has to do. So, it's normal that you won't see it as installed after installing everything.

Android_12_Addon_Features_for_Pixel_V12.zip -> "Harmless" module that works on any Pixel device running on STOCK ROM, The features marked with an * above options, on Rom Control app, won't do anything if the SystemUI module, shared next, isn't installed.

Android_12_SystemUI_for_Addon_Features_V12.zip -> This is "THE" module! This module adds all xml and smali changes into SystemUI and framework-res. Without this module the "exclusive features" won't work. Also, this module could be responsible for breaking boot if it fails to work at your end. I've ran several tests on my device (a Pixel 4a) and didn't face any issues but, since this module replaces stock SystemUI and framework-res for modded ones, you could run into problems if some other module tries to do the same or it's simply incompatible with it.

Addon_Features_for_Pixel_More_Live_Wallpapers.zip -> Optional module. I've decided to remove everything regarding wallpapers from Addon features main module and create this one. I thought that it wouldn't make much sense to have a single module with almost 500 MB. So, this new optional module adds Pixel 6 static and live Wallpapers (obviously redundant for Pixel 6 users...) but, as well, it adds other Live Wallpapers that aren't normally available for download on Wallpaper & Style app (old stuff like doodle, conveyer belt, etc. from older pixels).


Notes regarding the "exclusive version" for Pixel devices:

  • DO NOT, I'll repeat, DO NOT flash "SystemUI module" zip on any other ROM besides stock Pixel. It won't work! If you want those extra features on your current ROM you will have to port them yourself. I explain how to later on this post.
  • Make sure that you're able to run adb shell as root before rebooting your device.
  • If something goes wrong after flashing "SystemUI module", like if your device doesn't boot or something stupid, connect your phone to your PC during boot and run this:

Code:
adb shell
Code:
su
Code:
rm -rf /data/adb/modules/Modded_SystemUI && reboot

  • If you forgot to enable the ability to run adb shell as root, and if your device is on a "non-boot" state, the only way you can fix that is to remove all Magisk modules you have installed. That can be achieved by running the following commands during boot:

Code:
adb shell
Code:
magisk --remove-modules
  • If none of the above methods work to get your device booting, then you have to boot into safe mode. By doing so, Magisk will disable all modules for you (it doesn't uninstall them, just disables them). To force a boot into safe mode all you need to do is to keep pressing volume down button during boot animation. After the system boots into safe mode you can reboot your device to boot up normally (since all modules will be disabled). If you get stuck during boot animation again, just force another reboot (I've had to do that during my tests).

  • When a new OTA update comes please don't flash the "SystemUI module" until I say it's ok to do so. I mean, me or any other member who may have tested it. Why? Because Google may change things on stock SystemUI and/or framework-res between builds. When that happens, I have to recreate the module again to adapt those changes. Rest assured that I'll always test the module with new builds and update as necessary.

  • In case your device gets caught in a bootloop, please provide me a logcat so I may try and look if anything can be done about it. To do so, during boot connect your device to your PC and grab a logcat with this adb command:

    Code:
    adb logcat > log.txt

    After grabbing the log, please open the txt file and search for "FATAL". Afterwards post here the lines where the "Fatal error occurred".


  • I've made these modules for my personal use and just decided to share with all XDA community. Having this in mind, there's no need for donations (although I won't refuse them if you want to buy me a beer). As for requests or whatever, I can only add more stuff when, and if, I have time for it. I'm a really busy man in real life so I can't promise anything nor ETAs.

Requirements:

  • Unlocked bootloader
  • Magisk Root | Magisk Manager
  • Stock December 2021 build, or later, running

Suggestion:

  • Uninstall all other modules you may have installed before installing SystemUI module zip. They could be incompatible with the "SystemUI module" thus making the device get caught in a bootloop. You may install them afterwards, one by one, just to make sure everything is ok.
  • If you're up to it, instead of disabling/removing modules, I recommend you to flash latest stock build through fastboot using flash_all.bat. In order to retain your data, remove the "-w" flag from the update command on flash-all script.

How to install?

  1. Flash both "Addon Features" and "SytemUI" Magisk Modules
  2. Reboot device
  3. Have fun!

Faced a black screen after flashing the "SystemUI MOD"? Then try this:
(This usually happens when an error about "TensorFlow lib" is shown on the logcat, if it's any other error, don't do this. Share the log instead so I may take a look)

  1. Uninstall both modules
  2. Enable 3 button, navigation mode on System Settings
  3. Flash both "Addon Features" and "SytemUI" Magisk Modules
  4. Reboot device
  5. Have fun!

If you're still having issues or if you want to fix that "TensorFlow lib stupid bug", which is responsible for not being able to use stock gestures navigation, then you'll have to do this:


  1. Uninstall all previous Magisk modules you had installed
  2. Completely uninstall Magisk (using the option on Magisk Manager app)
  3. Reboot device
  4. Flash latest stock ROM build through fastboot using flash_all.bat (remember to remove the -w flag inside the bat file if you want to keep your data)
  5. Root the device again using latest Magisk Canary (stable version works for the time being but latest Magisk Canary is more compatible with Android 12)
  6. Flash these two modules, and only these just to make sure no other module is causing conflicts
  7. Reboot device
  8. Hopefully it will work, so enjoy!

Video:

Check all Rom Control (with exclusive features) options HERE.

Note that this video was recorded when I've made this for Android 11. Some features may not be present (yet) for Android 12. The video is here only for those, who have never tried this on Android 11, may understand what to expect.


How's these "exclusive features" even possible?

All features that you see on Pixel Devices "SystemUI module" were reverse engineered from Proton AOSP and Evolution X ROM source code. The source code is available on the links bellow shown on the credits. This means that I've been practicing some hard core "old school" Android smali edition in order to get this working. So, yes, I have some credits about this but, if it weren't for the original developers and it's public source code, none of this would be possible. Thank them for this!

Smali, and xml, edition wasn't enough to get this working. After decompiling, changing/adapt the code and recompiling everything again, I had to find a way to make it bootable without messing with the original apk signature. And here is where VR Theme logic came in handy. So thanks for the original dev who brought us this feature.

As for ROM Control app....this was/is a project created by daxgirl and wubydax back in 2015! So yeah, I'm not bringing anything new here, I just followed their instructions in order to get the features working after editing smali/xml with the source code taken from PAOSP and Evolution X. The original app source code is also available on the link shared on the credits.

I've just combined all of the above into a Magisk Module and shared here so that we can get the best of both worlds....a stock ROM with custom features included.

Rom Control with "exclusive features" source code:

https://github.com/ElTifo/CustomSettingsForDevs/tree/Pixel4a_Android12


Want to port the "exclusive features" to your Pixel device running on other ROM? Here's how:

https://github.com/ElTifo/CustomSettingsForDevs/tree/Pixel4a_Android12/app/src/mods


Credits:

Proton AOSP ROM team, specially @kdrag0n for all his work on Dual tone light/dark themes and other Proton AOSP helpfull commits.
EvolutionX ROM team, specially @joeyhuab

@daxgirl and @Wuby986 for ROM Control project and source code.
@Tulsadiver for showing me how to adapt VR Theme logic originally used on 3Minit Battery Mod by @gharrington.

@Ticklefish for Tickle My Android
@topjohnwu for Magisk
@Freak07 for Adaptive Audio
@trzpro for More themed icons on launcher mod


Cheers and enjoy!
 

Attachments

  • 04.png
    04.png
    209.9 KB · Views: 92
  • 01.png
    01.png
    799.8 KB · Views: 75
  • 02.png
    02.png
    250.1 KB · Views: 72
  • 03.png
    03.png
    1.5 MB · Views: 73
  • 05.png
    05.png
    793.1 KB · Views: 90
Last edited:

Typhus_

Senior Member
Does this have horizontal status bar fix as well...........or just veritcal?

Horizontal? What's wrong with horizontal size? Don't get me wrong, I have a Pixel 4a so I don't know how's horizontal size on other modules.

On Pixel 4a there's nothing wrong with the horizontal size. Anyway, the vertical overlays I've created also change the start and end padding...so...probably yes. Don't know for sure.
 

GohanBurner

Senior Member
May 8, 2011
855
165
Waukesha, WI
Horizontal? What's wrong with horizontal size? Don't get me wrong, I have a Pixel 4a so I don't know how's horizontal size on other modules.

On Pixel 4a there's nothing wrong with the horizontal size. Anyway, the vertical overlays I've created also change the start and end padding...so...probably yes. Don't know for sure.

I am installing this as we speak, but on the Android 11 version the vertical status bar was nice and slim but horizontal bar was stock size. It would just be nice to have more real estate for notifications in horizontal mode. Also, thank you for updating this.
 

GohanBurner

Senior Member
May 8, 2011
855
165
Waukesha, WI
I have installed this twice. Both with my other modules enabled and with just the two addon packages enabled. Both times I boot to a black screen. Thankfully, I am able to see the power menu and can boot to safe mod to disable Magisk. Any ideas?
 
Last edited:

Typhus_

Senior Member
I have installed this twice. Both with my other modules enabled and with just the two addon packages enabled. Both times I boot to a black screen. Thankfully, I am able to see the power menu and can boot to safe mod to disable Magisk. Any ideas?

Have you tried the "Faced a black screen" solution as I've explained on the OP?

Either way, without a logcat I can't know for sure what may have failed.
 

GohanBurner

Senior Member
May 8, 2011
855
165
Waukesha, WI
Have you tried the "Faced a black screen" solution as I've explained on the OP?

Either way, without a logcat I can't know for sure what may have failed.
Yes. I am already on the latest stock fresh build. Re-rooted, the whole 9. But I boot, see the G logo, then it distorts for a split second and disappears to a black screen. Power menu still shows up so something might be wrong with that systemUI addon I'm guessing.
 

Typhus_

Senior Member
Great thank you 👍.
It is possible to have center clock ? And %of battery on circle icon ?

those features are already included.

It is possible to chage phill bar gesture length ?

For the time being, no.

And it is compatible with Substratum theme ?

I think so, yes.

I use battery/Clock mod and G-Visual mod and with your mod I have all in one .

Battery/Clock mod can't be installed side by side with this module since both will try to make changes on SystemUI. As for G-Visual mod...what feature does it have for you to use it? Anyway, even if you still want to use it, you can since G-Visual mod just adds overlays.


Cheers!
 
those features are already included.



For the time being, no.



I think so, yes.



Battery/Clock mod can't be installed side by side with this module since both will try to make changes on SystemUI. As for G-Visual mod...what feature does it have for you to use it? Anyway, even if you still want to use it, you can since G-Visual mod just adds overlays.


Cheers!
Ok thanks for response.
Yes if I use this mod I don't use Battery/Clock mod too.
I use G-Visual mod for reduce gboard and reduce status bar but is it on the mod too 👍 And for change the Phil gesture bar but they had this feature with Live Dark Substratum theme and if don't change systemUI I can use it only for have more big phil gesture bar.
Great I test it and same use font manager mod. With your I have all in one and is better.
Have a good day.
 

Typhus_

Senior Member
Hello, pixel 4a 5g systemui cause black screen
Add no only works

Hello.

You're getting this error:


Code:
--------- beginning of crash
11-18 21:36:11.873  2431  2431 E AndroidRuntime: FATAL EXCEPTION: main
11-18 21:36:11.873  2431  2431 E AndroidRuntime: Process: com.android.systemui, PID: 2431
11-18 21:36:11.873  2431  2431 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Failed to load native TensorFlow Lite methods. Check that the correct native libraries are present, and, if using a custom native library, have been properly loaded via System.loadLibrary():

You may try what I've explained on the OP regarding that error...

...OR...

...try to enable 2 button or 3 button mode navigation. Afterwards flash the SystemUI module and check if that worked. Some users reported that gestures feature requires TensorFlow lib to be ok. At my end it is...but for some it isn't.


Cheers!
 

megapinky

Senior Member
Dec 11, 2007
288
40
Morelos
Hello.

You're getting this error:


Code:
--------- beginning of crash
11-18 21:36:11.873  2431  2431 E AndroidRuntime: FATAL EXCEPTION: main
11-18 21:36:11.873  2431  2431 E AndroidRuntime: Process: com.android.systemui, PID: 2431
11-18 21:36:11.873  2431  2431 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Failed to load native TensorFlow Lite methods. Check that the correct native libraries are present, and, if using a custom native library, have been properly loaded via System.loadLibrary():

You may try what I've explained on the OP regarding that error...

...OR...

...try to enable 2 button or 3 button mode navigation. Afterwards flash the SystemUI module and check if that worked. Some users reported that gestures feature requires TensorFlow lib to be ok. At my end it is...but for some it isn't.


Cheers!
I enable 2 button, install system ui, reboot, boots ok
If I try to return to gesture navigation, black screen appears instant
 

Attachments

  • log3.zip
    1.2 MB · Views: 0

Typhus_

Senior Member
Hello!

Both modules have been updated to Version 5 and the links are now available on the OP.



What changed?

  • Added Android 11 Icon Styles and Icon Shapes overlays
  • Added ProtonAOSP Fonts overlays
  • Option to enable/disable Wifi and Data separate Tiles, instead of Internet Tile
  • Reduced screenshot overlay PIP time after taking a screenshot
  • Added more themed icons
  • Updated Rom Control app

Hope you may enjoy this.


Heads up:

  • The icons and fonts overlays gets disabled after a reboot or a SystemUI restart. Don't know why. So, after a reboot you'll have to change those options again.
  • The icon shapes, sometimes, require us to disable theme icons and enable it again after choosing our desired shape. Don't know why as well...

Yeah, this kind'a sucks... but, if I find a solution, I'll fix it on next version.



Cheers!
 

Typhus_

Senior Member
Hello!

Both modules have been updated to Version 6 and the links are now available on the OP.


What changed?

  • Added Album art on lock screen options
  • Added Music visualizer options (requires Addon_Features_for_Pixel_Visualizer_Fix.zip)
  • Force Google Sans system-wide is now optional
  • Enable/disable combined signal icons on status bar
  • Added center clock fix to the right (for Pixel 3a models)
  • Updated Rom Control app


Heads up:

  • I still wasn't able to understand what causes the fonts, icons and icon shapes overlays get reset upon reboot or SystemUI restart
  • Install Addon_Features_for_Pixel_Visualizer_Fix.zip first. Afterwards, reboot and wait for about 1 minute before doing anything else. Really, I'm not joking, install, reboot and just wait. Afterwards you may install the other 2 modules and reboot
  • The visualizer fix is deleted from the system after doing what it has to do. So it's normal that you won't see it as installed after finishing all this. That fix is only there to add a missing permission to SystemUI. It only has to be installed once (obviously if on the future you clean flash the ROM, you'll have to do it again)


Anyway, hope you may enjoy this.

Cheers!
 
Last edited:
  • Like
Reactions: kkjb and n3rd3x3

Typhus_

Senior Member
Hello!

Both modules have been updated to Version 7 and the links are now available on the OP.


What changed?

  • SystemUI MOD has been updated for December build
  • Fix fonts, icons and icon shapes overlays get reset upon reboot or SystemUI restart
  • Light theme QS Header is now optional
  • Added 2 more battery styles (Big circle and Big dotted circle)
  • Added option to enable/disable dual tone battery meter (it only works on icon portrait mode)
  • Added option to enable/disable showing the number of unread messages on status bar notifications
  • Added option for QS Quick pulldown with one finger (options are off, drag from the top left and drag from the top right)
  • Enable Game Overlay for all Pixels by default (although, if something goes wrong while playing games, you can disable this feature)
  • Added 8 new fonts overlays
  • Fix lag on camera if navbar his completely hidden
  • Added option to enable/disable left shortcut on Lock screen
  • Added option to enable/disable camera shortcut on Lock screen
  • Force Google Sans system-wide is still optional but it's enabled by default (I like it that way, so yeah...bummer. You'll still be able to disable it, so no problem whatsoever)
  • Removed battery percentage option on system settings (since we can now change it on ROM Control app, it didn't make much sense to leave it there. Besides, it wasn't doing anything...)
  • Updated Rom Control app


Hope you may enjoy this.

Cheers!
 
  • Like
Reactions: evild and Homeboy76

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hello!

    Both modules have been updated to Version 11 and the links are now available on the OP.


    What changed?



    • Added more java date string types on clock date customization
    • Added signal icons styles (don't know why but when enabling them, Rom Control app crashes...well, whatever... 🤷‍♂️)
    • Fixed some icons not appearing on lock screen status bar (they can be disabled using SystemUI Tuner for those who don't want them to appear anywhere)
    • Enable/disable carrier text on lock screen
    • Added date, clock and battery click actions on QS Header (long click on clock goes to system time settings, simple click opens clock app)
    • Fix Network Traffic on QS if set to QS header only (now it's only visible if fully expanded and on the top right)
    • Force user selected font on more UI places
    • Added Landscape battery style and left battery text option
    • Use less blur and zoom on lock screen album art
    • Added QS Tiles animations options
    • Enable/Disable vibration while touching QS Tiles
    • Allow overriding feature flags (this allows us to override feature flags manually using setprop persist.sysui.flag."whatever_flag_we_want" command)
    • Added Voice Access for all Pixels (you can turn it on on Accessibility options and control your device with voice commands)
    • Updated Rom Control app


    Hope you may enjoy this and I wish you all a happy new year! 🤘 :devilish: 🤘


    If you would like to
    show me your support, please leave a like or follow my band pages or drum covers YouTube channel (the links are on my signature). I would be very grateful if you did.


    See you guys in 2022! :cool:



    Cheers!
    1
    Hello!

    SystemUI V11 module is compatible with January build, I'm already using it. Addon features is as well, but that one never gets affected when a new build comes out...

    Although I noticed some changes on some java files, fact is, it's compatible.

    Either way, I'll have to recheck stuff (in case I notice that something gets broken while using it).

    Now I just have to wait to see if January build for Pixel 6 devices brings new stuff, or not.


    Cheers!
    1
    Thank you for the informations. It's a pitty, that not everything will work on Android 12, but what is working at the moment with your mod is the most important stuff. So i'm fine with it.

    Well, just found a way to hide the pill maintaining the height on the bottom. Cool, I'll add it on next update.

    Cheers!
    1
    Hello!

    Both modules have been updated to Version 12 and the links are now available on the OP.


    What changed?

    • Removed everything Wallpaper related into a separate module (that module includes Pixel 6 static and live wallpapers, as well as several live wallpapers that aren't normally available for download, stuff like Doodle, Conveyer belt, etc.)
    • Enable/disable gradient effect on QS Tiles and Brightness slider
    • Hide gestures navbar pill (using transparency)
    • Colorize gestures navbar pill with dynamic accent color
    • Bring back the Dark Themes from Android 11 Addon Features
    • Use 4G instead of LTE option
    • Resize navbar pill (normal, medium, big)
    • Smaller landscape battery icon
    • Tap to add or remove tiles in QS customizer
    • Added one more icon pack (Oxigen OS)
    • Added one more icon shape (Leaf)
    • 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
    • Updated Rom Control app


    Hope you may enjoy this.


    Cheers!
  • 5
    addon_features_for_pixel_devices_andorid_12-png.5456283


    What is this?

    These are some Magisk modules that adds the following cool features to any Pixel 3, 4, 5 and 6 device running Android 12:

    • 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
    • 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*)
    • SystemUI Tuner options
    • 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)
    • Option to 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

      ------------------//------------------------
    • Enable/Disable Wifi + Cell QS Tiles instead of single Internet QS Tile *
    • Battery Styles *
    • Clock Customization *
    • Network Traffic Indicators (on Pixel 5, Pixel 6 and Pixel 6 Pro devices they only work on QS Header) *[/SIZE]
    • 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 (requires Visualizer fix module) *
    • 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 *
    • Rom Control app (to setup all these options)


    * -> These features are only available if "SystemUI module" is installed.

    Downloads:

    Addon_Features_for_Pixel_Visualizer_Fix.zip -> Install this module first (if you haven't installed it before). Afterwards, reboot your device and wait for about 1 minute before doing anything else. Really, I'm not joking, install, reboot and just wait. You see, this "Visualizer fix" module is only needed in order to add a missing permission to SystemUI. It only has to be installed once (obviously, if in the future you clean flash the ROM, you'll have to flash it again or you'll be missing that required permission). And, since it's only needed once, this module is deleted from the system after doing what it has to do. So, it's normal that you won't see it as installed after installing everything.

    Android_12_Addon_Features_for_Pixel_V12.zip -> "Harmless" module that works on any Pixel device running on STOCK ROM, The features marked with an * above options, on Rom Control app, won't do anything if the SystemUI module, shared next, isn't installed.

    Android_12_SystemUI_for_Addon_Features_V12.zip -> This is "THE" module! This module adds all xml and smali changes into SystemUI and framework-res. Without this module the "exclusive features" won't work. Also, this module could be responsible for breaking boot if it fails to work at your end. I've ran several tests on my device (a Pixel 4a) and didn't face any issues but, since this module replaces stock SystemUI and framework-res for modded ones, you could run into problems if some other module tries to do the same or it's simply incompatible with it.

    Addon_Features_for_Pixel_More_Live_Wallpapers.zip -> Optional module. I've decided to remove everything regarding wallpapers from Addon features main module and create this one. I thought that it wouldn't make much sense to have a single module with almost 500 MB. So, this new optional module adds Pixel 6 static and live Wallpapers (obviously redundant for Pixel 6 users...) but, as well, it adds other Live Wallpapers that aren't normally available for download on Wallpaper & Style app (old stuff like doodle, conveyer belt, etc. from older pixels).


    Notes regarding the "exclusive version" for Pixel devices:

    • DO NOT, I'll repeat, DO NOT flash "SystemUI module" zip on any other ROM besides stock Pixel. It won't work! If you want those extra features on your current ROM you will have to port them yourself. I explain how to later on this post.
    • Make sure that you're able to run adb shell as root before rebooting your device.
    • If something goes wrong after flashing "SystemUI module", like if your device doesn't boot or something stupid, connect your phone to your PC during boot and run this:

    Code:
    adb shell
    Code:
    su
    Code:
    rm -rf /data/adb/modules/Modded_SystemUI && reboot

    • If you forgot to enable the ability to run adb shell as root, and if your device is on a "non-boot" state, the only way you can fix that is to remove all Magisk modules you have installed. That can be achieved by running the following commands during boot:

    Code:
    adb shell
    Code:
    magisk --remove-modules
    • If none of the above methods work to get your device booting, then you have to boot into safe mode. By doing so, Magisk will disable all modules for you (it doesn't uninstall them, just disables them). To force a boot into safe mode all you need to do is to keep pressing volume down button during boot animation. After the system boots into safe mode you can reboot your device to boot up normally (since all modules will be disabled). If you get stuck during boot animation again, just force another reboot (I've had to do that during my tests).

    • When a new OTA update comes please don't flash the "SystemUI module" until I say it's ok to do so. I mean, me or any other member who may have tested it. Why? Because Google may change things on stock SystemUI and/or framework-res between builds. When that happens, I have to recreate the module again to adapt those changes. Rest assured that I'll always test the module with new builds and update as necessary.

    • In case your device gets caught in a bootloop, please provide me a logcat so I may try and look if anything can be done about it. To do so, during boot connect your device to your PC and grab a logcat with this adb command:

      Code:
      adb logcat > log.txt

      After grabbing the log, please open the txt file and search for "FATAL". Afterwards post here the lines where the "Fatal error occurred".


    • I've made these modules for my personal use and just decided to share with all XDA community. Having this in mind, there's no need for donations (although I won't refuse them if you want to buy me a beer). As for requests or whatever, I can only add more stuff when, and if, I have time for it. I'm a really busy man in real life so I can't promise anything nor ETAs.

    Requirements:

    • Unlocked bootloader
    • Magisk Root | Magisk Manager
    • Stock December 2021 build, or later, running

    Suggestion:

    • Uninstall all other modules you may have installed before installing SystemUI module zip. They could be incompatible with the "SystemUI module" thus making the device get caught in a bootloop. You may install them afterwards, one by one, just to make sure everything is ok.
    • If you're up to it, instead of disabling/removing modules, I recommend you to flash latest stock build through fastboot using flash_all.bat. In order to retain your data, remove the "-w" flag from the update command on flash-all script.

    How to install?

    1. Flash both "Addon Features" and "SytemUI" Magisk Modules
    2. Reboot device
    3. Have fun!

    Faced a black screen after flashing the "SystemUI MOD"? Then try this:
    (This usually happens when an error about "TensorFlow lib" is shown on the logcat, if it's any other error, don't do this. Share the log instead so I may take a look)

    1. Uninstall both modules
    2. Enable 3 button, navigation mode on System Settings
    3. Flash both "Addon Features" and "SytemUI" Magisk Modules
    4. Reboot device
    5. Have fun!

    If you're still having issues or if you want to fix that "TensorFlow lib stupid bug", which is responsible for not being able to use stock gestures navigation, then you'll have to do this:


    1. Uninstall all previous Magisk modules you had installed
    2. Completely uninstall Magisk (using the option on Magisk Manager app)
    3. Reboot device
    4. Flash latest stock ROM build through fastboot using flash_all.bat (remember to remove the -w flag inside the bat file if you want to keep your data)
    5. Root the device again using latest Magisk Canary (stable version works for the time being but latest Magisk Canary is more compatible with Android 12)
    6. Flash these two modules, and only these just to make sure no other module is causing conflicts
    7. Reboot device
    8. Hopefully it will work, so enjoy!

    Video:

    Check all Rom Control (with exclusive features) options HERE.

    Note that this video was recorded when I've made this for Android 11. Some features may not be present (yet) for Android 12. The video is here only for those, who have never tried this on Android 11, may understand what to expect.


    How's these "exclusive features" even possible?

    All features that you see on Pixel Devices "SystemUI module" were reverse engineered from Proton AOSP and Evolution X ROM source code. The source code is available on the links bellow shown on the credits. This means that I've been practicing some hard core "old school" Android smali edition in order to get this working. So, yes, I have some credits about this but, if it weren't for the original developers and it's public source code, none of this would be possible. Thank them for this!

    Smali, and xml, edition wasn't enough to get this working. After decompiling, changing/adapt the code and recompiling everything again, I had to find a way to make it bootable without messing with the original apk signature. And here is where VR Theme logic came in handy. So thanks for the original dev who brought us this feature.

    As for ROM Control app....this was/is a project created by daxgirl and wubydax back in 2015! So yeah, I'm not bringing anything new here, I just followed their instructions in order to get the features working after editing smali/xml with the source code taken from PAOSP and Evolution X. The original app source code is also available on the link shared on the credits.

    I've just combined all of the above into a Magisk Module and shared here so that we can get the best of both worlds....a stock ROM with custom features included.

    Rom Control with "exclusive features" source code:

    https://github.com/ElTifo/CustomSettingsForDevs/tree/Pixel4a_Android12


    Want to port the "exclusive features" to your Pixel device running on other ROM? Here's how:

    https://github.com/ElTifo/CustomSettingsForDevs/tree/Pixel4a_Android12/app/src/mods


    Credits:

    Proton AOSP ROM team, specially @kdrag0n for all his work on Dual tone light/dark themes and other Proton AOSP helpfull commits.
    EvolutionX ROM team, specially @joeyhuab

    @daxgirl and @Wuby986 for ROM Control project and source code.
    @Tulsadiver for showing me how to adapt VR Theme logic originally used on 3Minit Battery Mod by @gharrington.

    @Ticklefish for Tickle My Android
    @topjohnwu for Magisk
    @Freak07 for Adaptive Audio
    @trzpro for More themed icons on launcher mod


    Cheers and enjoy!
    2
    Hello!

    Both modules have been updated to Version 6 and the links are now available on the OP.


    What changed?

    • Added Album art on lock screen options
    • Added Music visualizer options (requires Addon_Features_for_Pixel_Visualizer_Fix.zip)
    • Force Google Sans system-wide is now optional
    • Enable/disable combined signal icons on status bar
    • Added center clock fix to the right (for Pixel 3a models)
    • Updated Rom Control app


    Heads up:

    • I still wasn't able to understand what causes the fonts, icons and icon shapes overlays get reset upon reboot or SystemUI restart
    • Install Addon_Features_for_Pixel_Visualizer_Fix.zip first. Afterwards, reboot and wait for about 1 minute before doing anything else. Really, I'm not joking, install, reboot and just wait. Afterwards you may install the other 2 modules and reboot
    • The visualizer fix is deleted from the system after doing what it has to do. So it's normal that you won't see it as installed after finishing all this. That fix is only there to add a missing permission to SystemUI. It only has to be installed once (obviously if on the future you clean flash the ROM, you'll have to do it again)


    Anyway, hope you may enjoy this.

    Cheers!
    2
    Hello!

    Both modules have been updated to Version 7 and the links are now available on the OP.


    What changed?

    • SystemUI MOD has been updated for December build
    • Fix fonts, icons and icon shapes overlays get reset upon reboot or SystemUI restart
    • Light theme QS Header is now optional
    • Added 2 more battery styles (Big circle and Big dotted circle)
    • Added option to enable/disable dual tone battery meter (it only works on icon portrait mode)
    • Added option to enable/disable showing the number of unread messages on status bar notifications
    • Added option for QS Quick pulldown with one finger (options are off, drag from the top left and drag from the top right)
    • Enable Game Overlay for all Pixels by default (although, if something goes wrong while playing games, you can disable this feature)
    • Added 8 new fonts overlays
    • Fix lag on camera if navbar his completely hidden
    • Added option to enable/disable left shortcut on Lock screen
    • Added option to enable/disable camera shortcut on Lock screen
    • Force Google Sans system-wide is still optional but it's enabled by default (I like it that way, so yeah...bummer. You'll still be able to disable it, so no problem whatsoever)
    • Removed battery percentage option on system settings (since we can now change it on ROM Control app, it didn't make much sense to leave it there. Besides, it wasn't doing anything...)
    • Updated Rom Control app


    Hope you may enjoy this.

    Cheers!
    1
    I enable 2 button, install system ui, reboot, boots ok
    If I try to return to gesture navigation, black screen appears instant

    Yes, it's the TensorFlow lib issue. To fix that completely a stock ROM reflash is necessary. If not, the only solution is that...disable gestures.
    1
    Hello!

    Both modules have been updated to Version 9 and the links are now available on the OP.


    What changed?

    • Corrected all icon packs overlays so that the WiFi, BT and Hotspot QS Toggles won't cause a SystemUI FC
    • Cell QS Tile now shows carrier name
    • Added 3 more fonts
    • Revamped Screenshot service (it now allows us to delete screenshot as soon as we take it and we can enable/disable screenshot shutter sound)
    • Updated Rom Control app

    Cheers!