Themes / Apps / Mods [MOD][MAGISK][ANDROID 12] Addon Features for Pixel Devices - Pixel 6 Thread

Search This thread

Typhus_

Senior Member
addon_features_for_pixel_devices_andorid_12-png.5456283


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)

Downloads:

Download latest module version from HERE! Further updates can be done using Magisk Manager.
For more info about updates, please read THIS POST.
Addon_Features_for_
Pixel_More_Live_Wallpapers.zip
This is an 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:
  • Since V17 the installer mod detects if your device runs into a boot loop after flashing it. If it does, and this will happen on any device not running stock Android 12 Pixel ROM, it will force a new reboot and will try to boot your device running a mod "Lite" version. The "Lite" version is nothing more than a mod version where the only features available are the ones above the red line text.

  • If you want those "exclusive features", the ones after the red line text, working on your current ROM you will have to port them yourself. I explain how to later on this post.

  • Those "exclusive features" are based on xml and smali changes made on stock SystemUI and framework-res. Without these changes the, "exclusive features" won't work.

  • 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. If you want to try any other mod that changes SystemUI, or framework-res, there's an option on ROM Control that allows you to disable those "exclusive features". After disabling them, your Pixel device will reboot with a "Lite" version as well.

  • Make sure that you're able to run adb shell as root before flashing this module and reboot your device. Just in case something went really wrong and you need to remove the module manually.

  • If your device really refuses to boot, after flashing this mod, connect your phone to your PC during boot and run this:

Code:
adb shell
Code:
su
Code:
rm -rf /data/adb/modules/AddonFeaturesForPixel/system/framework/ && rm -rf /data/adb/modules/AddonFeaturesForPixel/system/system_ext/ && reboot

This will only remove framework and systemui "modded" files. Without them, you're device will boot and the other features, that don't require modding, will work just fine.
In fact, if you remove these files from the module zip before flashing, you can flash that modified zip on any device running any AOSP, or close to it, ROM.
In case you want to completely remove the mod, you can just run this:
Code:
adb shell
Code:
su
Code:
rm -rf /data/adb/modules/AddonFeaturesForPixel/ && reboot

  • If you forgot to enable the ability to run adb shell as root, and if your device fails to boot, you can fix that by removing all Magisk modules you have installed. That can be achieved by running the following commands even without root shell 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 it's possible that the MOD will force boot with Lite version. 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 boot loop, 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 Android 12 Pixel ROM build, or later until February 2022 for "FULL" version compatibility
  • Any AOSP, or close to it, Android 12+ ROM on any device for "LITE" version only (not fully tested...some devices/ROMs may not work)

Suggestion:

  • Uninstall all other modules you may have installed before installing this. They could be incompatible with the module thus making the device get caught in a boot loop. 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 "Addon Features" module
  2. Reboot device
    If your device/ROM is fully compatible, everything will be ok at first boot
    If not, your device will auto-reboot after first failed boot attempt and boot again with the Lite version only
  3. Have fun!

How to update?

  1. Open Magisk Manager app
  2. Press the update button on"Addon Features" module
  3. Reboot device
  4. Have fun!

Video:

You may check what to expect from this module HERE.

Note that this video was recorded when I've made this for Android 11. Some features may not be present for Android 12 and others can be that didn't exist for Android 11. 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 "exclusive" features that you see on the list above 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/


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
@Liranazuz5 and @roirraW "edor" ehT for all support and testing stuff.
@siavash79 for all help regarding module installation scripts and update feature from Magisk.
@iamlooper for At a glance enhancer module and it's install/uninstall logic which was adapted to Addon Features


Cheers and enjoy!
 

Attachments

  • 01.png
    01.png
    799.8 KB · Views: 2,726
  • 05.png
    05.png
    793.1 KB · Views: 2,089
  • 02.png
    02.png
    250.1 KB · Views: 2,013
  • 03.png
    03.png
    1.5 MB · Views: 2,039
  • 04.png
    04.png
    209.9 KB · Views: 2,692
Last edited:

clipcarl

Senior Member
Nov 20, 2009
252
97
I think it may be dependent on the order of installation. I got the black screen every time I installed until I switched up and install the SystemUI module first, rebooted, then installed the addon features module.

Previous times I tried which didn't work I installed the addon features module then the SystemUI module all in the same session. Got black screen every time.
 

Typhus_

Senior Member
I think it may be dependent on the order of installation. I got the black screen every time I installed until I switched up and install the SystemUI module first, rebooted, then installed the addon features module.

Previous times I tried which didn't work I installed the addon features module then the SystemUI module all in the same session. Got black screen every time.

Well, as I've talked about that on Telegram, that shouldn't be required.

BUT, if it works that way, no problem at all by doing so.
 
  • Like
Reactions: wayne_1313

clipcarl

Senior Member
Nov 20, 2009
252
97
Some things I've noticed / some requests:
  • I'm not a fan of the font change. Is there a way to undo that?
  • Battery percent inside the icon doesn't work
  • filled circle battery doesn't show when power connected
  • Network traffic meter inside the status bar doesn't work
Otherwise this mod is PURE AWESOME! Thank you.
 

Typhus_

Senior Member
Some things I've noticed / some requests:
  • I'm not a fan of the font change. Is there a way to undo that?

Yes, but you'll need to edit Android_12_Addon_Features_for_Pixel_V4 module zip. Open the zip with WinRar or 7zip (do not extract the zip, edit it inside one of those programs) and just delete the fonts folder you'll see inside the system folder. Flash that edited zip file and no more font change.

  • Battery percent inside the icon doesn't work

It doesn't? That's odd. It really should work. Maybe on Pixel 6 SystemUI the resource ID's are different. I may have to look into that.

  • filled circle battery doesn't show when power connected

Weird. it should work and it's working ok at my end. But, once again, I've made this using a Pixel 4a SystemUI as base. Some resource ID's could be different. I need to recheck that.

  • Network traffic meter inside the status bar doesn't work

Well, that really doesn't work since if I include it the mod wouldn't work. That happened on the Android 11 mod for Pixel 5 models. Why? Really don't know but it can't be fixed. I'm sorry.

Otherwise this mod is PURE AWESOME! Thank you.

No problem. Glad you've liked it.


Cheers!
 

Typhus_

Senior Member
Well, I've been checking for possible different resource ID's on SystemUI for sunfish (Pixel 4a), raven (Pixel 6 Pro) and oriole (Pixel 6). There's no different resource ID's regarding battery or anything battery related on settingslib.

So, those battery features you've talked about should really be working. I find it very weird if they're not.

Could you try to restart SystemUI (there's a button for that on Rom Control) after changing to one of those options to see if it does anything?

Really, I'm not finding anything, at code level, that could cause those bugs.
 
  • Like
Reactions: wayne_1313

flyl0

Account currently disabled
Dec 8, 2018
258
102
Cannes
OnePlus 7 Pro
Sony Xperia 5 II
I think it may be dependent on the order of installation. I got the black screen every time I installed until I switched up and install the SystemUI module first, rebooted, then installed the addon features module.

Previous times I tried which didn't work I installed the addon features module then the SystemUI module all in the same session. Got black screen every time.
Did exactly what you did and it's working !!
This is the only way it will work..
 
  • Like
Reactions: wayne_1313

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!
 

clipcarl

Senior Member
Nov 20, 2009
252
97
...
So, those battery features you've talked about should really be working. I find it very weird if they're not.
...

Sorry, that was my mistake. The battery percentage inside the icon feature, and the charging indicator for the filled circle battery icon, do both work but only if your battery is less than 100%. At 100% neither works but that's fine.

What does the SystemUI Tuner feature do?

Are the icon style and shape features only for the default launcher? I haven't noticed a difference but I use Nova7.

Again, thanks! Love this module!
 

liver20

Senior Member
Dec 24, 2012
2,212
367
30530
OnePlus 7T
OnePlus 8 Pro
Well, I've been checking for possible different resource ID's on SystemUI for sunfish (Pixel 4a), raven (Pixel 6 Pro) and oriole (Pixel 6). There's no different resource ID's regarding battery or anything battery related on settingslib.

So, those battery features you've talked about should really be working. I find it very weird if they're not.

Could you try to restart SystemUI (there's a button for that on Rom Control) after changing to one of those options to see if it does anything?

Really, I'm not finding anything, at code level, that could cause those bugs.
Hi!!!
Your module is amazing

Only i have the problem that my apps are in portuguesse after flash your module
 
  • Like
Reactions: wayne_1313

Typhus_

Senior Member
Hi!!!
Your module is amazing

Only i have the problem that my apps are in portuguesse after flash your module
Really!?

Well, that's odd...and, to be honest, it shouldn't really happen at all.

I haven't forced anywhere my default language and no one else ever reported that behavior.

Weird...

But, you're able to change to your desired language afterwards, right?

Really weird. And you mean all apps or just ROM Control?
 
  • Like
Reactions: wayne_1313

liver20

Senior Member
Dec 24, 2012
2,212
367
30530
OnePlus 7T
OnePlus 8 Pro
Really!?

Well, that's odd...and, to be honest, it shouldn't really happen at all.

I haven't forced anywhere my default language and no one else ever reported that behavior.

Weird...

But, you're able to change to your desired language afterwards, right?

Really weird. And you mean all apps or just ROM Control?
Some apps. Amazon app, webs that load on brave like Google, now is Google is in portuguesse
 
  • Like
Reactions: wayne_1313

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    addon_features_for_pixel_devices_andorid_12-png.5456283


    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)

    Downloads:

    Download latest module version from HERE! Further updates can be done using Magisk Manager.
    For more info about updates, please read THIS POST.
    Addon_Features_for_
    Pixel_More_Live_Wallpapers.zip
    This is an 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:
    • Since V17 the installer mod detects if your device runs into a boot loop after flashing it. If it does, and this will happen on any device not running stock Android 12 Pixel ROM, it will force a new reboot and will try to boot your device running a mod "Lite" version. The "Lite" version is nothing more than a mod version where the only features available are the ones above the red line text.

    • If you want those "exclusive features", the ones after the red line text, working on your current ROM you will have to port them yourself. I explain how to later on this post.

    • Those "exclusive features" are based on xml and smali changes made on stock SystemUI and framework-res. Without these changes the, "exclusive features" won't work.

    • 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. If you want to try any other mod that changes SystemUI, or framework-res, there's an option on ROM Control that allows you to disable those "exclusive features". After disabling them, your Pixel device will reboot with a "Lite" version as well.

    • Make sure that you're able to run adb shell as root before flashing this module and reboot your device. Just in case something went really wrong and you need to remove the module manually.

    • If your device really refuses to boot, after flashing this mod, connect your phone to your PC during boot and run this:

    Code:
    adb shell
    Code:
    su
    Code:
    rm -rf /data/adb/modules/AddonFeaturesForPixel/system/framework/ && rm -rf /data/adb/modules/AddonFeaturesForPixel/system/system_ext/ && reboot

    This will only remove framework and systemui "modded" files. Without them, you're device will boot and the other features, that don't require modding, will work just fine.
    In fact, if you remove these files from the module zip before flashing, you can flash that modified zip on any device running any AOSP, or close to it, ROM.
    In case you want to completely remove the mod, you can just run this:
    Code:
    adb shell
    Code:
    su
    Code:
    rm -rf /data/adb/modules/AddonFeaturesForPixel/ && reboot

    • If you forgot to enable the ability to run adb shell as root, and if your device fails to boot, you can fix that by removing all Magisk modules you have installed. That can be achieved by running the following commands even without root shell 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 it's possible that the MOD will force boot with Lite version. 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 boot loop, 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 Android 12 Pixel ROM build, or later until February 2022 for "FULL" version compatibility
    • Any AOSP, or close to it, Android 12+ ROM on any device for "LITE" version only (not fully tested...some devices/ROMs may not work)

    Suggestion:

    • Uninstall all other modules you may have installed before installing this. They could be incompatible with the module thus making the device get caught in a boot loop. 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 "Addon Features" module
    2. Reboot device
      If your device/ROM is fully compatible, everything will be ok at first boot
      If not, your device will auto-reboot after first failed boot attempt and boot again with the Lite version only
    3. Have fun!

    How to update?

    1. Open Magisk Manager app
    2. Press the update button on"Addon Features" module
    3. Reboot device
    4. Have fun!

    Video:

    You may check what to expect from this module HERE.

    Note that this video was recorded when I've made this for Android 11. Some features may not be present for Android 12 and others can be that didn't exist for Android 11. 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 "exclusive" features that you see on the list above 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/


    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
    @Liranazuz5 and @roirraW "edor" ehT for all support and testing stuff.
    @siavash79 for all help regarding module installation scripts and update feature from Magisk.
    @iamlooper for At a glance enhancer module and it's install/uninstall logic which was adapted to Addon Features


    Cheers and enjoy!
    8
    Hello!


    I've managed to add the "update through Magisk Manager" feature into Addon Features and SystemUI modules. :)

    I can't thank @siavash79 enough for all his help regarding this. Really, if it wasn't for him, I'd still be banging my head trying to figure this out.

    So what does this mean? It means that when a new version is available, Magisk will show you an "Update" button just like in the old days when Magisk module repository was accessible on Magisk Manager. If the version is already updated, Magisk will show the "Update" button but greydout.

    Both modules links have been updated, on the OP, to the versions where this feature already is present. Nothing else has changed, it's still V15 but, if you want, you can flash those versions in order to be able to obtain a new version (when it's available) automatically.

    Is this cool or what!?

    If you want to test the update feature, instead of flashing V15, available on the OP, flash V14 instead from my GitHub Releases . You may find V14 version HERE.

    Just remember, there are 2 SystemUI module versions. One is for all Pixels from 3a to 5a and another is just for Pixel 5, 6 and 6 Pro.

    The SystemUI that has "Pixel_5_or_6" on it's name, is the one just for Pixel 5, 6 and 6 pro...as the name indicates...duh. Any other Pixel can flash that one but it will lose network traffic indicators on status bar. That's the only "downside" if you have any other Pixel, rather than those mentioned, and you flash that version. BUT if you have a Pixel 5, 6 or 6 Pro and don't flash the module version for those models, you'll face a boot loop!


    So, want to test? Cool. Download and flash both Addon Features + SystemUI V14 module versions you'll find on the shared link (there's no problem whatsoever on flashing V14 on top of current V15). After reboot, open Magisk again and check your installed modules. You should see the update button. Press it, wait for the changelog to appear and...install V15.

    Easy.


    Hope you may enjoy this.


    Cheers!
    8
    Hello!

    Addon Features has been updated to Version 20 and the new release is already available for download through Magisk.


    What Changed?

    • Improved boot loop rescue script so that, hopefully, the LITE zip isn't needed any more (needs testing from experienced users)
    • Added tinting to lock icon when no pin, pattern or fingerprint is setup
    • Added Google Dialer Theme V2 flags
    • Added one more Icon Pack
    • Added one more QS Tile Theme (thanks to @Liranazuz5)
    • Added option to choose navbar pill thickness
    • Added option to remove Pixel 2021 stuff from settings (only works on older Pixel devices..it should fix the long press power button stuff reported on V19)
    • Moved QS Header carrier label to the top right
    • Updated ROM Control app

    Notes:
    • LITE version zip is still available for download on GitHub if this new boot loop rescue script still refuses to work properly on some devices.

    Hope you may enjoy this.

    Cheers!
    8
    Hello!

    Addon Features has been updated to Version 18 and the new release is already available for download through Magisk.



    What Changed?

    • Added 3 more icon shapes
    • Added 1 more icon pack
    • Fix circle battery QS tinting (finally...)
    • Updated ROM Control app

    Hope you may enjoy this.


    Cheers!
    8
    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!