[MOD][MAGISK][ANDROID 11] Addon Features for Pixel Devices - Pixel 3 Thread - Google Pixel 3 Themes, Apps, and Mods

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So what is this? This is a Magisk module that adds the following features to any Pixel 3, 4 or 5 device running on Android 11:
Forces Google Sans font system wide
63Accent colors
12Icon shapes
22Fonts
Wallpapers Breel 2019; 2020 & 2020a
9 different Dark Styles
Adds 2 button mode navigation (it was removed on Android 11 but I think some users like that navigation mode, so I add it)
Background Blur options
Blur Intensity options
Adaptive sound options
Navigation bar options (hide pill, reduce keyboard bottom space size, hide assist handles)
SystemUI Tuner options
Rounded corner options
QS Rows x Columns options
QS Footer Drag Handle options (Default, Accent based, Hidden)
Option to show more icon notifications on staus bar
Forces Basic Attestation thus making ctsProfile true by just enabling Magisk Hide
Rom Control app (to setup all options available that you cannot using just Styles & Wallpapers)
Everything can be controlled using Styles & Wallpapers and also Rom Control app.
This MOD will probably work on any AOSP, or close to it, ROMs.
Get it here: Android_11_Addon_Features_for_Pixel_V8.zip
Just a note, this module already includes a SafetyNet fix, so if you're using another module for SafetyNet, please remove it since I don't know if that couldn't cause issues.
For all users already running Android 12 please go to THIS THREAD.
Addon Features EXCLUSIVE for Pixel Devices running on STOCK Android 11 ROM:​
These exclusive and specific for Pixel Devices running on STOCK Android 11 ROM Magisk modules that you'll see next adds all of the features stated above but with extra goodies!
"Exclusive features" included:
Battery Bar
Battery Styles
Clock Customization
Corrected lock screen icons not changing after applying different theme
"Disco Dingo" the QS (just a funny name for the option to apply random colors on QS toggles)
Hide QS Labels
Lock screen album art customization
Lock screen camera shortcut (enable/disable)
Lock screen custom clock faces
Network Traffic Indicators (unfortunately, on redfin, it only works on QS Header and not on status bar)
QS Battery percentage independent options
QS Header opacity level control
QS Headers styles
QS Panel opacity level control
QS Tiles styles
QS Data usage info
QS Rows x Columns options (both on portrait and landscape modes)
Reduce Status bar height (and correct left padding on devices with the notch on the left)
Removed side assist handles from lock screen
Status bar Quick Pulldown (Never, Right pulldown, Left pulldown, Always)
Switch styles
Touch QS Labels to add or remove on QS customize panel (just didn't bothered to translate "Tap or Drag Tiles..." strings, so you'll continue to see "Drag Tiles..." but the feature is there, try it.)
Exclusive features downloads:
Android_11_Addon_Features_For_Pixel_V13.zip -> "Harmless" module that works on any Pixel device running on STOCK ROM, much like the "universal mod" shared above, but with a Rom Control app version that has more options. The "exclusive features" options won't do anything if the SystemUI module, shared next, isn't installed. If your going to try these exclusive features module, install this one and not the one shared above. The SaftetyNet is also included on this module, so once again, don't try to use any other SafetyNet module since it could break things.
Android_11_SystemUI_for_Addon_Features_V10.zip -> This is "THE" module! This module adds all xml and smali changes into SystemUI. 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 for a modded SystemUI, you could run into problems if some other module tries to do the same or it's simply incompatible with it. This module was updated to match latest Android 11 October 2021 build.
Android_11_SystemUI_for_Addon_Features_V9.zip -> Use this version ONLY if you're still running any Android 11 build between June and September 2021!
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. 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).
The "SystemUI module" requires that your device is already updated to March build!
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 between builds. When that happens, I have to recreate the module again to adapt those changes. For instance, March build was not compatible with the module that was built on top of February build SystemUI. 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
Requirements:
Unlocked bootloader
Magisk Root | Magisk Manager
Suggestion:
Uninstall all other modules you may have installed IF you're going for the "exclusive features". 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, just flash latest stock build through fastboot. If you want to retain your data, remove the "-w" flag from the update command on flash-all script.
How to install? (If you're running a Pixel 5, just install the module...you don't need all these next steps)
Uninstall Device Personalization Services updates
Clear Google Play Store app data and cache
Flash the Magisk Module(s)
Reboot device
Open Google Play Store and update Device Personalization services (or any other Pixel exclusive app you see it needs to update).
Profit!
Video:
Check all Rom Control (with exclusive features) options HERE.
How's these "exclusive features" even possible?
All (well, not all but almost...) features that you see on Pixel Devices "SystemUI module" were reverse engineered from Evolution X ROM source code. The source code is available on the link 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 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
Want to port the "exclusive features" to your Pixel device running on other ROM? Here's how:
https://github.com/ElTifo/CustomSettingsForDevs/tree/Pixel4a/app/src/mods
Credits:
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
@kdrag0n for Safetynet-fix.
@Freak07 for Adaptive Audio
Cheers and enjoy!

OP has been updated!
New "exclusive features" added:
"Disco Dingo the QS" (just a funny name for the option to apply random colors on QS toggles)
Lock Screen Camera Shortcut (enable/disable)
Status bar reduce height (and option to correct left padding on devices with the notch on the left)
Status bar quick QS pulldown (Never, Right pulldown, Left pulldown, Always)
Hope you may enjoy these new features.
Remember, these features needs both "Addon features V10" and "SystemUI V5" modules to be flashed.
Cheers!

OP has been updated!
New "exclusive features" added:
Status bar reduce height options (Default, Small, Medium)
Lock Screen Fluid Custom Clock
Hope you may enjoy these new features.
Remember, these features needs both "Addon features V11" and "SystemUI V6" modules to be flashed.
Cheers!

OP has been updated!
New "exclusive features" added:
Bring back status bar footer drag handle (and it's options | Default; Accent based; Hidden)
Added option to completely remove the nav bar (it gets removed on any navigation mode but stock gestures will continue to work)
Center clock position fix option (it's needed for devices with a left notch using default status bar height)
Added Switch styles
Hope you may enjoy these new features.
Remember, these features needs both "Addon features V12" and "SystemUI V7" modules to be flashed.
Notes:
The "center clock position fix" is somewhat related to the status bar height and "fix left side padding" options. You may encounter a few weird behaviors if you try to enable/disable/change those 3 features several times on Rom Control. I ran into a weird situation when testing all possible combo options....at the end I choose default status bar height and left clock. To my surprise, the clock ended up behind the notch...WTF!? So, if that, by any chance, happens to you, just try to set on/off all to default values, close ROM Control, open it again and choose your desired combo.
The "completely remove navigation bar" option has a warning dialog. I've added a "warning" so that people read it and understand what that option does. Since the text is somewhat long, I've added a timer that only enables the overlay, that removes the nav bar, after 10 secs (so that people have time to read the warning). And so, if you see the warning and just decide to immediately touch OK, you'll notice that the nav bar will only disappear after 10 secs... Having this said, the first a**hole that comes here stating something like "hey man I touch the remove nav bar option and it doesn't disappear...wtf!?...plzzz, halp. I've tried to enable disable several times...it dasn't wark!!!"... will be rewarded with a very nice "F**K *ff!" answer.
Cheers!

Hello!
SystemUI MOD V7 is compatible with April update, I'm using it already and it's working ok.
Tested it on sunfish (Pixel 4a) but I think it's the same for all models.
Thought you'd like to know.
Cheers!

Same here installed April from OTA file. App does crash though changing some settings and UI reboot but the settings get applied anyway.

Wallpapers won't download or apply Pixel 3 April 2021
@Typhus_

Lovatastic said:
Wallpapers won't download or apply Pixel 3 April 2021
@Typhus_
Click to expand...
Click to collapse
Clear Google Play App Data and Cache. Reboot device. Go to play store and check for Pixel apps updates. Update them. Done.

Typhus_ said:
Clear Google Play App Data and Cache. Reboot device. Go to play store and check for Pixel apps updates. Update them. Done.
Click to expand...
Click to collapse
Still not working. Device personalisation shows as pixel 5 when I have the 3 could this be the issue?

Lovatastic said:
Still not working. Device personalisation shows as pixel 5 when I have the 3 could this be the issue?
Click to expand...
Click to collapse
No.
Check if Pixel Live Wallpapers app is updated. It should be.

Typhus_ said:
No.
Check if Pixel Live Wallpapers app is updated. It should be.
Click to expand...
Click to collapse
Thanks version 1.3 showed as up to date in PS but APKMirror has 1.5 that got it working again. Thank you!
Also I'm using fluid navigation and hiding navigation bar so I can customise swipe gestures. I was wondering since you can adjust the width sensitivity of the back gestures would it also be possibly to adjust the height so it doesn't interfere with pull out menus?

I have 3 separate magisk modules for safetynet and google pay, do they all need them all disabled?
Gpay SQLite fix, magisk hide props fix, and kdrag0n universal safety net fix (it looks like this one for sure needs to be disabled as it's already implemented in this mod)
I want to try this mod out a lot it looks fabulous but I'm wary to mess up my working google pay! Anyone have any intel?

NinetoFive said:
I have 3 separate magisk modules for safetynet and google pay, do they all need them all disabled?
Gpay SQLite fix, magisk hide props fix, and kdrag0n universal safety net fix (it looks like this one for sure needs to be disabled as it's already implemented in this mod)
I want to try this mod out a lot it looks fabulous but I'm wary to mess up my working google pay! Anyone have any intel?
Click to expand...
Click to collapse
My guess is that you should try to disable the current modules you currently have installed. Then, install this one and check if you need the other ones. If you do, try to enable one at a time just to make sure they're compatible.
SafetyNet fix is not needed at all since it's already implemented on this MOD. That one you can completely uninstall it.
Cheers!

To confirm for anyone else wondering:
As Typhus stated, the SafetyNet fixes I had were all redundant. I disabled them all and then tried just this mod and it worked fine. Originally I thought it messed up SafetyNet but it turns out the API for the checker built into Magisk wasn't working itself so it had nothing to do with the mod. It's working great on the pixel 3, thanks!

Will it work on Pixel2xl?? I tried it some of the features work and some doesn't? I flashed build.props from pixel5 but no luck...is there anyway I can enjoy all these features on pixel 2 xl?

Daniyal48 said:
Will it work on Pixel2xl?? I tried it some of the features work and some doesn't? I flashed build.props from pixel5 but no luck...is there anyway I can enjoy all these features on pixel 2 xl?
Click to expand...
Click to collapse
Hello!
The "universal mod", that is, the Addon Features V8 module, should work on every AOSP, or close to it, ROM on any Pixel device.
Unfortunately, the Addon Features V12 adds more features that will only work if a separate module, the SystemUI V7, is also installed. But, that module is a modded SystemUI that must be compatible with the phone model you're running. Google stopped updating Pixel 2 XL, so your SystemUI is simply not compatible with it.
BUT on the OP I've shared a link to GitHub where I explain how anyone can try and port this MOD to their own SystemUI. Everything you need is there, you could try and port it yourself.
Cheers!

Typhus_ said:
Hello!
The "universal mod", that is, the Addon Features V8 module, should work on every AOSP, or close to it, ROM on any Pixel device.
Unfortunately, the Addon Features V12 adds more features that will only work if a separate module, the SystemUI V7, is also installed. But, that module is a modded SystemUI that must be compatible with the phone model you're running. Google stopped updating Pixel 2 XL, so your SystemUI is simply not compatible with it.
BUT on the OP I've shared a link to GitHub where I explain how anyone can try and port this MOD to their own SystemUI. Everything you need is there, you could try and port it yourself.
Cheers!
Click to expand...
Click to collapse
Thank you I will give it a try

Hey i have a problem. If i install Android_11_SystemUI_for_Addon_Features_V7.zip my phone boots but the screen just turns on and off. Just the Android_11_Addon_Features_For_Pixel_V12.zip works fine. Does anyone know why this happens? One idea i have is, that i cant find the Device Personalization Services in the playstore so i just disabled it.
Im using a pixel 3 with the latest april update.
Can anyone help me?

Yeah same issue here with pixel 2xl. i think it is the system UI . We have to port it for our own device. He has mentioned the method in the thread

SadaUkyo said:
Hey i have a problem. If i install Android_11_SystemUI_for_Addon_Features_V7.zip my phone boots but the screen just turns on and off. Just the Android_11_Addon_Features_For_Pixel_V12.zip works fine. Does anyone know why this happens? One idea i have is, that i cant find the Device Personalization Services in the playstore so i just disabled it.
Im using a pixel 3 with the latest april update.
Can anyone help me?
Click to expand...
Click to collapse
Yeah same issue here with pixel 2xl. i think it is the system UI . We have to port it for our own device. He has mentioned the method in the thread

Related

[App][Xposed][KK] Xposed Frame work with Gravity Module-Tweak Box

GravityBox - all-in-one tweak box - Xposed module for devices running AOSP 4.4​Version 2.8.4 [KitKat]
Version for JellyBean is available in this thread:​
http://forum.xda-developers.com/showthread.php?p=48820866#post48820866
READ THIS POST CAREFULLY BEFORE PROCEEDING ANY FURTHER
Hey!
After countless hours of coding and searching for proper entry points to inject code to incorporate fixes and mods, here it is:
GravityBox - a complex Xposed module targeted for devices running Android 4.4, which turns vanilla ROM into
feature-packed "non-flashing" custom ROM.
Originally, this module was designed for MTK6589 devices which lack custom ROMs built from source due to MediaTek closed-source policy.
Later on, it was adjusted to support other (non-MTK) devices running vanilla or close-to-vanilla AOSP ROMs.
Introduction
The app utilizes amazing Xposed framework coded by recognized
developer rovo89 which, briefly, provides interface for injecting code into any app, including system services allowing modifications of applications and system services at run-time. One of the biggest advantages of GravityBox is that it is not bound to any specific device. Actually, it should run on any device having vanilla Android 4.4 (ROM close enough to AOSP).
This project wouldn't be possible without rovo's Xposed framework, so huge kudos to him.
Feature highlight
--- CyanogenMod Pie controls
--- Expanded Desktop
--- Statusbar QuickSettings tile management with tile reordering
--- Lockscreen targets
--- Statusbar icon coloring
--- Statusbar Brightness Control
--- Statusbar icon colors
--- Additional QuickSettings tiles:
------- Sync on/off, WiFi AP on/off, GravityBox shortcut, Torch, Network mode (2G/3G/2G+3G switch), Sleep, QuickRecord,
QuickApp, GPS on/off, Ringer mode, Volume tile
--- Quick pulldown - switches to QuickSettings when status bar is pulled down near edges
--- Auto-switch to QuickSettings when there are no notifications
--- Center clock in statusbar
--- Battery indicator style
--- Navigation bar tweaks
--- Low battery warning policy
--- Disable LED flashing when battery low
--- Disable LED while charging
--- Advanced power-off menu (reboot, recovery)
--- Volume key cursor control
--- Skip tracks by volume key long-press while screen off (thanks to rovo89)
--- More volume levels for music stream
--- Option to control safe headset media volume
--- Button for clearing all recent tasks at once
--- CRT screen off animation
--- Minimal brightness setting
--- Autobrihtness levels adjustment
--- Lockscreen tweaks - show widgets maximized, lockscreen background style (color fill, custom image)
--- Lockscreen rotation
--- Hardware key actions - menu long-press/double-tap, back long-press, home long-press
--- Dithered Holo background
--- Option to use solid black Holo background
--- Expandable volume panel
--- Option to unlink ringtone and notifications volumes
--- Notification drawer style (background color, image for portait/landscape, transparency)
--- Button backlight modes (default, disabled, always on while screen is on)
--- Dialer (Phone) tweaks
--- Launcher tweaks
--- Screen recording
... more to come
Compatibility
Some words about GB's main concept. One thing I didn't like about xposed modules was that it was always necessary to reboot a device after making a change to some option. Since GB's main concept was to turn MTK devices running stock ROM into something that's close enough to a feature-packed custom ROM, I had to take a decision - for it to be as much comfortable as possible and to really behave like a custom ROM, I had to design it to support most of the preference changes to be done on the fly without needing to reboot a device. While this sounds nice, it also brings couple of "drawbacks". For changes to be made on the fly, it is necessary to make some preparations when device starts. This means, even if you don't use the particular feature, the necessary preparation/modification is already there and is waiting for the user to come and change that option.
This means it is not possible to "completely deactivate" particular feature if it causes trouble on your device or if you installed GB because you want to use only one particular feature you can't find elsewhere.
This results in issues on ROMs/devices that have parts that are diverting from default Android implementation too much, or are running heavily modified custom ROMs.
If you experience weird issues after installing GB, even if you didn't activate a particular feature, it is not because of GB is broken, it is because it is not compatible with your ROM. It is very similar as if you installed ROM built from source for Nexus to some Xperia device - it won't work.
Next thing, GB is a complex module and is not suitable for 1 purpose scenario. This means, if you are running custom ROM built from source (CM, PAC, ...), and you are missing a certain feature, your best option is to go ask creators of those ROMs to implement those additional features. Supplementing missing features on well-known custom ROMs built from source by installing xposed modules (especially complex ones) is definitely not a good way to go and can cause more trouble than good.
And finally, the last. GB being a complex module, it shouldn't be combined with other complex modules often racing for the same goal. They can conflict/fight on the same playground and there's no way you can deterministically say which one's going to win.
They can even lose both.
So in summary:
- this module is designed to run on vanilla or close-to-vanilla Android 4.4 (AOSP)
- supports "Google devices" like Nexus, HTC One Google play edition, and others running vanilla Android 4.4
- Samsung Touchwiz, HTC Sense, MIUI, LeWa, etc. are NOT supported. It is not guaranteed this module will work on these at all so try at your own risk. This module is simply too complex to support all kind of ROM brands that were vastly modified by vendors.
- DO NOT USE WITH CUSTOM ROMS LIKE CM,AOSPA,ROOTBOX,AOKP,SLIM, OMNI AND THEIR OTHER CLONES... IT MAKES NO SENSE AND CAN CAUSE CONFLICTS AND UNEXPECTED BEHAVIOUR
- I will not implement any exceptions that will adapt this module to a specific custom ROM. Please, do understand, it is unmanageable.
- I will not provide any support for devices violating these compatibility rules
Prerequisites
To use this module, the following conditions must be met
- You have a device running Android 4.4 that's based on AOSP (vanilla or close-to-vanilla Android)
- ROM must be rooted (XposedInstaller requires root to be able to install framework into system)
- You have working custom recovery allowing you to make a backup before installing Xposed framework
GravityBox KitKat version has been developed and tested on Nexus 5
Installation
1) Backup your current ROM in custom recovery. I am serious. Don't skip this step.
2) Get the Xposed installer from Download section fromhttp://dl.xposed.info/latest.apk (the latest version is typically available at this link: http://dl.xposed.info/latest.apk)
3) Install and run Xposed installer and follow the instructions to activate Xposed framework
4) Reboot. If device doesn't boot that means that the Xposed framework is not compatible with ROM you are currently
running. You don't need to continue with the next steps. You will have to restore your ROM from backup.
5) Download, GravityBox APK from the second post, rename it to GravityBox.apk and install it.
Alternatively, you can download the latest GravityBox directly from Xposed Installer (search for GravityBox [KK] module).
6) Make sure GravityBox app is installed into internal memory. If it was installed into phone storage or external storage,
move it into the internal memory first (applies only to devices having additional or external storage)
7) Run Xposed installer, go to Modules menu and activate GravityBox by checking the checkbox
8) Reboot
9) Launch GravityBox from app drawer or from Xposed installer and set options as desired
Reporting bugs
If you experience problems with certain feature, provide the full-detailed info that can help me
to reproduce the bug and attach debug.log file you'll find in:
/data/data/de.robv.android.xposed.installer/log
In case you experience SystemUI crashes or other apps Force Closing, or device soft reboots, attach logcat from time
crash occurs. (use adb logcat *:E or your favorite logcat app from Play Store).
Please, don't attach big logs. Only the portion where error is clearly seen.
Disable all other xposed modules before reproducing bug to make sure it is really GravityBox related
Remember, this app was developed and tested on one particular device so it is not guaranteed that
it will work flawlessly on yours.
Multilanguage support
Volunteers are welcome to translate GravityBox to other languages.
Simply download this file: https://github.com/GravityBox/Gravit...es/strings.xml
Use Notepad++ to edit strings and then send me edited file so I can include translations into next release.
Source code
GravityBox is opensource. Sources are available in my gihub: https://raw.github.com/GravityBox/GravityBox/kitkat/res/values/strings.xml
If you're a dev and have some ideas for additional features, feel free to fork it, work on it
and send the pull requests.
Copyright notice
https://github.com/GravityBox/GravityBox/blob/kitkat/NOTICE
Support development
Coding, maintaining and supporting this project costs me a lot of my precious time. If you find this project useful, you are welcome to support its development via donation. This form of support is meant to compensate for my time dedicated to the community + eventually, help me to afford newer device to keep up with AOSP evolution thus providing continuous support as Android evolves. Thanks!
Changelog
https://github.com/GravityBox/GravityBox/blob/kitkat/CHANGELOG.txt
Change log:
---Improved Screen Recording
--- now can be used without busybox installed
--- detects if device supports screen recording
- AppLauncher: fix missing apps after reboot on some devices
- Fixed Screen Off Effect not respecting system default
- Updated Chinese (Simplified) translations (thanks to liveasx)
- Updated Spanish translations (thanks to jvbferrer)
- Updated Japanese translations (thanks to WedyDQ10)
- Updated Italian translations (thanks to pesa1234)
Full Change log:
https://github.com/GravityBox/GravityBox/blob/kitkat/CHANGELOG.txt
Please do not post other's work as if it is your own!
Original thread here
You did not even alter the OP, just copied and pasted. Please review XDA forum rule 12
Thread closed

[MOD][MAGISK][ANDROID 11] Addon Features for Pixel Devices - Pixel 4a Thread

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So what is this? This is a Magisk module that adds the following features to any Pixel 3, 4 or 5 device running on Android 11:
Forces Google Sans font system wide
63 Accent colors
12 Icon shapes
22 Fonts
Wallpapers Breel 2019; 2020 & 2020a
9 different Dark Styles
Adds 2 button mode navigation (it was removed on Android 11 but I think some users like that navigation mode, so I add it)
Background Blur options
Blur Intensity options
Adaptive sound options
Navigation bar options (hide pill, reduce keyboard bottom space size, hide assist handles)
SystemUI Tuner options
Rounded corner options
QS Rows x Columns options
QS Footer Drag Handle options (Default, Accent based, Hidden)
Option to show more icon notifications on staus bar
Forces Basic Attestation thus making ctsProfile true by just enabling Magisk Hide
Rom Control app (to setup all options available that you cannot using just Styles & Wallpapers)
Everything can be controlled using Styles & Wallpapers and also Rom Control app.
This MOD will probably work on any AOSP, or close to it, ROMs.
Get it here: Android_11_Addon_Features_for_Pixel_V8.zip
Just a note, this module already includes a SafetyNet fix, so if you're using another module for SafetyNet, please remove it since I don't know if that couldn't cause issues.
For all users already running Android 12 please go to THIS THREAD.
Addon Features EXCLUSIVE for Pixel Devices running on STOCK Android 11 ROM:​
These exclusive and specific for Pixel Devices running on STOCK Android 11 ROM Magisk modules that you'll see next adds all of the features stated above but with extra goodies!
"Exclusive features" included:
Battery Bar
Battery Styles
Clock Customization
Corrected lock screen icons not changing after applying different theme
"Disco Dingo" the QS (just a funny name for the option to apply random colors on QS toggles)
Hide QS Labels
Lock screen album art customization
Lock screen camera shortcut (enable/disable)
Lock screen custom clock faces
Network Traffic Indicators (unfortunately, on redfin, it only works on QS Header and not on status bar)
QS Battery percentage independent options
QS Header opacity level control
QS Headers styles
QS Panel opacity level control
QS Tiles styles
QS Data usage info
QS Rows x Columns options (both on portrait and landscape modes)
Reduce Status bar height (and correct left padding on devices with the notch on the left)
Removed side assist handles from lock screen
Status bar Quick Pulldown (Never, Right pulldown, Left pulldown, Always)
Switch styles
Touch QS Labels to add or remove on QS customize panel (just didn't bothered to translate "Tap or Drag Tiles..." strings, so you'll continue to see "Drag Tiles..." but the feature is there, try it.)
Exclusive features downloads:
Android_11_Addon_Features_For_Pixel_V13.zip -> "Harmless" module that works on any Pixel device running on STOCK ROM, much like the "universal mod" shared above, but with a Rom Control app version that has more options. The "exclusive features" options won't do anything if the SystemUI module, shared next, isn't installed. If your going to try these exclusive features module, install this one and not the one shared above. The SaftetyNet is also included on this module, so once again, don't try to use any other SafetyNet module since it could break things.
Android_11_SystemUI_for_Addon_Features_V10.zip -> This is "THE" module! This module adds all xml and smali changes into SystemUI. 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 for a modded SystemUI, you could run into problems if some other module tries to do the same or it's simply incompatible with it. This module was updated to match latest Android 11 October 2021 build.
Android_11_SystemUI_for_Addon_Features_V9.zip -> Use this version ONLY if you're still running any Android 11 build between June and September 2021!
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. 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).
The "SystemUI module" requires that your device is already updated to March build!
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 between builds. When that happens, I have to recreate the module again to adapt those changes. For instance, March build was not compatible with the module that was built on top of February build SystemUI. 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
Requirements:
Unlocked bootloader
Magisk Root | Magisk Manager
Suggestion:
Uninstall all other modules you may have installed IF you're going for the "exclusive features". 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, just flash latest stock build through fastboot. If you want to retain your data, remove the "-w" flag from the update command on flash-all script.
How to install? (If you're running a Pixel 5, just install the module...you don't need all these next steps)
Uninstall Device Personalization Services updates
Clear Google Play Store app data and cache
Flash the Magisk Module(s)
Reboot device
Open Google Play Store and update Device Personalization services (or any other Pixel exclusive app you see it needs to update).
Profit!
Video:
Check all Rom Control (with exclusive features) options HERE.
How's these "exclusive features" even possible?
All (well, not all but almost...) features that you see on Pixel Devices "SystemUI module" were reverse engineered from Evolution X ROM source code. The source code is available on the link 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 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
Want to port the "exclusive features" to your Pixel device running on other ROM? Here's how:
https://github.com/ElTifo/CustomSettingsForDevs/tree/Pixel4a/app/src/mods
Credits:
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
@kdrag0n for Safetynet-fix.
@Freak07 for Adaptive Audio
Cheers and enjoy!
Typhus_ said:
This is a simple Magisk module that:
- Forces Google Sans font system wide
- Adds more accent colors and icon shapes
- Adds 9 dark styles (use cmd overlay to enable/disable them or any other method you may know to change overlay states)
- Enables Background Blur
- Enables Adaptive sound
The MOD is compatible with any Pixel 4 device running Android 11.
Made it for my personal use, decided to share for anyone who's interested on these features.
Adaptive sound takes time to appear on Settings. Just wait a few minutes.
Enjoy!
Cheers!
Click to expand...
Click to collapse
Hey thanks for this. I really appreciate the different fonts and icon shapes.
Really appreciate your work man, just a quick question; what can I modify to skip the font stuff from the module? Because I use another module for a custom font and it gets overridden by this one, tnx.
Daenjel said:
Really appreciate your work man, just a quick question; what can I modify to skip the font stuff from the module? Because I use another module for a custom font and it gets overridden by this one, tnx.
Click to expand...
Click to collapse
Open the zip and remove the /system/fonts folder. Reflash that modified zip. Done.
Thank you for your great work!
However I didn't see adaptive sound showing on the setting, even though a few hours later.
bigJbig said:
Thank you for your great work!
However I didn't see adaptive sound showing on the setting, even though a few hours later.
Click to expand...
Click to collapse
Sometimes the service doesn't run at boot. Please reboot the phone and wait like 2~3 minutes.
OP has been updated.
Safetynet fix added to the module.
Typhus_ said:
OP has been updated.
Safetynet fix added to the module.
Click to expand...
Click to collapse
Thank you again for these customization options. I've had it flashed for several days and rebooted many times and cannot locate the adaptive sound option. Would it just be under sound and vibration? Everything else is great.
floydster1708 said:
Thank you again for these customization options. I've had it flashed for several days and rebooted many times and cannot locate the adaptive sound option. Would it just be under sound and vibration? Everything else is great.
Click to expand...
Click to collapse
It should be on sound and vibration, yes. On my Pixel 4a it's here....so I can't quite understand why it isn't on yours....
floydster1708 said:
Thank you again for these customization options. I've had it flashed for several days and rebooted many times and cannot locate the adaptive sound option. Would it just be under sound and vibration? Everything else is great.
Click to expand...
Click to collapse
Same thing happen to my pixel 4.
bigJbig said:
Same thing happen to my pixel 4.
Click to expand...
Click to collapse
Please, try to uninstall the Device Personalization Services app update. Then, having the module installed, reboot and wait for, like, 2 minutes tops. Check if the option appears or not.
Typhus_ said:
This is a simple Magisk module that:
- Forces Google Sans font system wide
- Adds more accent colors and icon shapes
- Adds 9 dark styles (use cmd overlay to enable/disable them or any other method you may know to change overlay states)
- Enables Background Blur
- Enables Adaptive sound (make sure to uninstall Device Personalization Services updates before flashing the module)
- Forces Basic Attestation thus making ctsProfile true by just enabling Magisk Hide.
The MOD is compatible with any Pixel 4 device running Android 11.
Made it for my personal use, decided to share for anyone who's interested on these features.
Adaptive sound takes time to appear on Settings. Just wait a few minutes.
Enjoy!
Credits:
EvolutionX ROM team, specially @joeyhuab
@kdrag0n for Safetynet-fix.
@Freak07 for Adaptive Audio
Cheers!
Click to expand...
Click to collapse
This is terrific. Thank you
How to edit so just enables blur?
Thanks!
badaas said:
How to edit so just enables blur?
Thanks!
Click to expand...
Click to collapse
Delete everything inside /system folder on the zip. Flash the modified zip. Done.
Typhus_ said:
This is a simple Magisk module that:
- Forces Google Sans font system wide
- Adds more accent colors and icon shapes
- Adds 9 dark styles (use cmd overlay to enable/disable them or any other method you may know to change overlay states)
- Enables Background Blur
- Enables Adaptive sound (make sure to uninstall Device Personalization Services updates before flashing the module)
- Forces Basic Attestation thus making ctsProfile true by just enabling Magisk Hide.
The MOD is compatible with any Pixel 4 device running Android 11.
Made it for my personal use, decided to share for anyone who's interested on these features.
Adaptive sound takes time to appear on Settings. Just wait a few minutes.
Enjoy!
Credits:
EvolutionX ROM team, specially @joeyhuab
@kdrag0n for Safetynet-fix.
@Freak07 for Adaptive Audio
Cheers!
Click to expand...
Click to collapse
I have this font that I really like that's not included. Is it possible for me to just add it to system in your module and flash the modified zip or is there more to it than that. Not that I'm complaining in any way. I like all the fonts. Just curious
floydster1708 said:
I have this font that I really like that's not included. Is it possible for me to just add it to system in your module and flash the modified zip or is there more to it than that. Not that I'm complaining in any way. I like all the fonts. Just curious
Click to expand...
Click to collapse
The font itself won't do anything. You would have to edit fonts_customization.xml and create an overlay for it.
Another solution would be to rename the font files to roboto*whatever* and replace it inside the zip /system/fonts. But, by doing so you would lose Google Sans applied system wide. If that's your objective, then you can do it.
Cheers!
Hi, would something break with regards to the safetynet if I've already flashed this (to resolve safetynet on Android 11) and then I try to flash your file?
Typhus_ said:
The font itself won't do anything. You would have to edit fonts_customization.xml and create an overlay for it.
Another solution would be to rename the font files to roboto*whatever* and replace it inside the zip /system/fonts. But, by doing so you would lose Google Sans applied system wide. If that's your objective, then you can do it.
Cheers!
Click to expand...
Click to collapse
Ok. Cool thanks
Xaeons said:
Hi, would something break with regards to the safetynet if I've already flashed this (to resolve safetynet on Android 11) and then I try to flash your file?
Click to expand...
Click to collapse
No problem at all. But, it's useless to have 2 modules doing the same thing, so, you could just use one of them,
nvm got it figured out, thanks!

Themes / Apps / Mods Custom Magisk Module Mod Maker-ADB and Zip Installers

The purpose of the ADB installer is to generate for you a custom module that you can flash in Magisk App. The Zip Installer actually installs it for you on the final step and is done thru Magisk app instead of your pc.. Both will have all the mods that you have selected from the installer menu-folders. You need root and of course you need to be attached to your PC. On first installation of systemui base, a pop-up asking to give ADB shell root permission will show. Please do so.
Zip installer is installed from your phone, not your pc. You will install the mods through Magisk app. Unzip the Zip Installer onto your internal sdcard. Like ADB installer, start with a SystemUI base. Do not reboot between selections as Magisk as shows after flashing selections (options are found inside the numbered folders). Hit the back button to make your next selection. Do not reboot thru Magisk until after you are done with your selections and have flashed the "Complete Installation" zip.
Custom clocks (date, etc) and internet speed indicators do not change colors due to light-dark background colors like the statusbar icons do.
I'm also including my Pixel Launcher mod below. Also a ADB Installer. You can change app drawer background-text color (separately for light mode and dark mode). Change the number of hot seat icons on home page (and size) as well as change the number of columns in the app drawer.
ADB and Zip Installer Instructions-Root is required
1. Flash a SystemUI Base First. It provides the necessary smali files and public ID's for everything to work.
The difference between color base and stock base :
Color Base:
You have to flash a color in order to change the color of the QS tiles (default is blue). You have a choice to leave the "OFF" QS tiles as a inverse of "ON" QS color or you can change them to Gray. You also have an option to change lockscreen colors. Color base doesn't always work nicely with light theme. Nothing horible. just some text in places that is not as bright as it needs to be.
Stock Base:
This is the one most people need to use. To change the color of the QS tiles for stock base you go to settings/display/device theme and select the color you want. The "OFF" color tiles remain gray. You have an option to change settings/notification/volume bar backgrounds to black. The background accent also works with Color Base. There is no option to change lockscreen color with Stock Base.
2. FLASH ALL THE MODS YOU WANT. ONCE YOU DONE WITH EVERYTHING, FLASH THE "COMPLETE INSTALLATION" Option. This will create a Magisk App flashable zip in a folder on your sdcard called ozop (for ADB Installer). Flash that to install your selection of mods. Flashing it for Zip Installer will install it as a module and is your final step.
Root required
ADB Instructions.
1. Unzip ADB Mods Installer Files.zip on your PC
2. Run TulsadiverModsInstaller.bat (Give ADB Shell Root Permissions. If missed on first opportunity, turn on in magisk manager, superuser)
3. ADB debugging Enabled
4. Flash the SystemUI Base First. It provides the necessary smali files and public ID's for everything to work
5. Go through the other options selecting what all mods you want. It is generally best to start at the top and work your way down.
6. Once finished with selections, run "Complete Installation" at the bottom. This will generate your mymagisk.zip module in a folder called "ozop" on your sdcard.
Root required
ZIP Instructions.
1. Unzip Zip Installer onto your internal sdcard
2. Flash thru Magisk app. Flash the SystemUI Base First. It provides the necessary smali files and public ID's for everything to work
(Do not reboot between selections as Magisk shows after flashing selections. Hit the back button to make your next selection)
3. Go through the other options selecting the mods you want. It is generally best to start at the top and work your way down.
4. Once finished with selections, flash "Complete Installation" at the top. This will install your selections as a Magisk module.
If you installed the color base version, once installed and working, go to settings/display/Device theme and reselect the QS/accent color you chose from installer menu.
List of MODS Available
Clock Format and Position Mods
Internet Traffic Speed Single Indicator (changes from upload-download) otherwise signals are over/under
Choose Traffic Speed Indicator Up-Down Icon Colors (default is white)
Navbar Height Options
Navbar Swap
Remove NavBar
3 Minit Battery
Battery Bar Mod
One percent custom battery Mods-Several to choose from
One percent custom battery Text-only-Several to choose from
Colored Statusbar-Navbar Icons
Colored Statusbar Icons
Remove Carrier Text Options
Smaller LTE Icon
Animations
Fonts (including Lockscreen clock)
Change QS pulldown circle color
Change Status bar Data Icon to a "cell tower" looking icon (see below)
Change QS data icon to a cell tower icon
Note Added a couple of wifi and data signal options.
WiFi 1 and Cell Tower 1
View attachment 5096921
WiFi 2 Cell Tower 2
View attachment 5096923
WiFi 3 data 3
View attachment 5096925
Includes a batch (.bat), and powershell installers, one for windows, one for linux.
Android 12 comes with a more narrow brightness-volume bar option.
View attachment 5393399
View attachment 5440619
This is a SystemUI mod and might not be compatible with any other SystemUI Mods you may have installed.
-------------------------------
ADB Installer
Android 13
March update
Uploaded 3-26-23
270.21 MB file on MEGA
mega.nz
------------------------------------
ADB Installer
Android 12.1
Uploaded 7-8-22
July update
https://mega.nz/file/oBZEXKhb#eC6YhoF0LwTED_WHe3caxU7i7IS0MODwUvHZsJ6xrX0
Zip Installer
Android 12.1
Uploaded 7-8-22
July update
https://mega.nz/file/xMpymTAS#JmXd35SqEjpFgirpH-W38CCLitnCZmW_g6Rw5Qssavw
--------------------------------
Android 12
Uploaded 2-10-22 February update
ADB Mod Installer FilesPixel612Feb2.zip | by Tulsadiver for Pixel
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
-------------------------------------------------
If I helped, hit the Thanks Button!
Feeling generous, send me a beer!
--------------------------------------------------
View attachment 5096921View attachment 5096923View attachment 5096925
--------------------------------------------------------------------------------------
Pixel Launcher Mod
Start by picking a base. Bases come with, or without, a search bar and Hotseat heights The larger number of rows you pick, the lower your hotseat drops on your home screen. If your hotseat comes out too low, try again with a higher base.
Your first time of installing this, you may have to go to settings/styles and wallpapers, select grid style, and apply the custom grid at the far left.
Remove Search Bar
App Drawer background color (Light and Dark Mode)
App Drawer Text Color or remove (Light and Dark Mode)
Home screen App Text Color
Smart-screen Text color
App Icon Sizes 30-50-45-50-56 dip (56 is stock)
Columns (5-6-7)
Rows (5 through 11)
-------------------
Android 13
March update
Uploaded 3-26-23
File on MEGA
mega.nz
---------------------
Android 12.1
ADB Pixel launcher Uploaded 3-31-22
NexusLauncherReleaseADBPixel1212Mar.zip | by Tulsadiver for Pixel
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
-------------------
Android 12
ADB Pixel launcher Uploaded 12-17-21
NexusLauncherReleaseADBPixel12.zip | by Tulsadiver for Pixel
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
------------------------
If anyone needs more help, here are the steps that worked for me:
1) Make sure device is rooted.
2) Enable USB debugging from Developer options.
3) Plug device into PC.
4) Device should have Android launched and sitting at your home screen.
5) On your PC, open ADB from command prompt, and call "adb kill-server" and "adb start-server".
6) Open on TulsadiverModInstallerStock.bat.
7) Type 1 and press Enter. Select an option and press Enter again. You should see a quick flash of text, which indicates failure in this case. Look at your device and you should see an "Allow USB debugging" prompt, so accept this.
8) You should get a Superuser prompt at some point here on your device. If not, go to Magisk > Superuser and enable "Shell".
9) Retry step 7 and it will work this time. The app will take some time to generate the base file. You can ignore any errors that show up here, as long as the creation process continues.
10) Follow any intermediate steps you want. These will be very quick.
11) Complete the last step. This one will take some time.
12) Go to Magisk > Modules > Install from storage, and install the module that was just created (found in the /storage/ozod folder).
13) Reboot.
Hey, it seems very interresting !
2 quick questions. When using full screen gestures, does removing navbar/set height to 0 break things ?
And is it possible to add things like : Double tap to wake (instead of single) // Double tap to sleep on launcher and lockscreen. Thanx !
Unsure about double tap. In regards to navbar, I don't remove it to 0 dip, but to .5. That seems to eliminate breakage. That being said, I'm currently redoing this mod as I've found multiple bugs.
I've identified an issue that causes the navbar to scroll off-screen when the notification panel is shown. First I turn off my screen by pressing the Power button (but phone still kept unlocked by Smart Lock). This causes the issue to start. Then I select the Lockdown option to lock my phone, and this fixes the issue:
screen-20211101-082000[1]
Watch "screen-20211101-082000[1]" on Streamable.
streamable.com
This creates a problem for many apps that have content which is aligned to the bottom of the screen, as it resizes the app's content. It's especially problematic for list content, since the list scrolls up a bit when this happens and the scroll position stays that way:
screen-20211101-081102
Watch "screen-20211101-081102" on Streamable.
streamable.com
EDIT: Wait, is this a problem with stock Android 12 when not using gesture navigation? It still happens even when I disable the Magisk modules. It doesn't seem to be a situation I can even replicate in emulator.
February update has been uploaded.
A new ADB installer has been uploaded to update the "NavbarGone" option due to the 2nd generation February update. That is the only thing that needed updating. Another option would be to replace the "nav0" folder that is inside the "navbar" folder with the attached.
March update for 12.1 has been uploaded.
Can I use just the nexuslauncher mod to remove searchbar on 12.1 based rom?
Reechings said:
Can I use just the nexuslauncher mod to remove searchbar on 12.1 based rom?
Click to expand...
Click to collapse
I just added one for 12.1
April update for 12.1 has been uploaded.
Used ADB install for RC/battpercentgoneswap and flashed waterfall28.zip separately. Working perfectly and very easy to install. Also works alongside HideNavBar and USNF. I was banging my head trying to stack the standalone mods.
Thank you for the great work, and thank you for being patient with users like me. So glad to have my battery and time looking the way I expect. You never know how much you miss something until it's gone. The mods really make it so much easier to glance that information.
Hung0702 said:
Used ADB install for RC/battpercentgoneswap and flashed waterfall28.zip separately. Working perfectly and very easy to install. Also works alongside HideNavBar and USNF. I was banging my head trying to stack the standalone mods.
Thank you for the great work, and thank you for being patient with users like me. So glad to have my battery and time looking the way I expect. You never know how much you miss something until it's gone. The mods really make it so much easier to glance that information.
Click to expand...
Click to collapse
Glad you tried it and that it worked for you. Also, thank you for your support.
Mods for April update will work on May update.
I uploaded the old firmware. There were some changes, apparently. Please hold off for a while.
The services.jar and SystemUI has changed. It's going to have to be updated.
June update has been uploaded.
June update working and easy install! Think you could incorporate waterfall28 into the ADB installer so it's a one-stop shop? Right now I have to reboot and flash them separately, which is fine. However, I have been using your mod for many months and intend to continue for even more. It would be a nice convenience.
Hung0702 said:
June update working and easy install! Think you could incorporate waterfall28 into the ADB installer so it's a one-stop shop? Right now I have to reboot and flash them separately, which is fine. However, I have been using your mod for many months and intend to continue for even more. It would be a nice convenience.
Click to expand...
Click to collapse
It's in the zip installer now... I forgot to add it to the adb installer.
July update has been uploaded.

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

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
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.
Spoiler: Click to know more.
For more info about updates, please read THIS POST.
Addon_Features_for_Pixel_More_Live_Wallpapers.zip
Spoiler: Optional module. Click to read more.
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:
Spoiler: Please read them at least once. THEY'RE IMPORTANT!!
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?
Flash "Addon Features" module
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
Have fun!
How to update?
Open Magisk Manager app
Press the update button on"Addon Features" module
Reboot device
Have fun!
Video:
Spoiler: Click to see the 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?
Spoiler: Click here if you're interested on learning how this works
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!
You're just amazing and great person, indeed!
Keep going, bro
thanks. i was waiting for this.
Does the module work on [KERNEL] [blu_spark r128]?
jachu76 said:
Does the module work on [KERNEL] [blu_spark r128]?
Click to expand...
Click to collapse
I've never heard about any kernel conflict with any Magisk module...so I guess there's no problem what so ever. Unless that kernel has something that unables the use of Magisk.
I've installed both of these modules and caused bootloop in my Pixel 5a.
In my case, the standard module works properly, but the SystemUI module causes a black screen. This has persisted after a full firmware flash over Fastboot. My initial suspicion was that I had the Android 12 Extensions module installed, and hooked via LSPosed, but even after disabling every module except for Addon Features and the corresponding SystemUI module, the issue persists. I also had some Fabricate Overlays installed for Android System, which were fully disabled for the purposes of testing compatibility. My phone is on the November update (notably SP1A.211105.002, not the .A1 build that Google pushed by accident)
I've attached the corresponding logcat. Looks like the main thing I can find is java.lang.UnsatisfiedLinkError: dlopen failed: library "/system_ext/priv-app/SystemUIGoogle/SystemUIGoogle.apk!/lib/arm64-v8a/libtensorflowlite_jni.so" not found, which I have verified is not present in a logcat without the module enabled.
EDIT: On my end, at least, the log doesn't want to attach- I've uploaded it to a pastebin that allows larger uploads like this. https://zerobin.net/?fd2cedbc89f0c0cb#v6HSPuXJFd8Kya9COoqVey1R7PLJLq3f4bL/3M+O6W4=
I also have bootloop (SP1A:210812.016.A1)
All of you who faced that TensorFlow error, please flash latest stock build through fastboot using flash_all.bat.
Remove the -w flag on the update command (inside the bat) before flashing.
Afterwards root the device again and flash both of my modules. Just those, no others so that nothing will interfere with the mod.
After successful boot (hopefully), you may try any other modules you want (except those who use VRTheme as well to mod SystemUI).
For the record, the error could be something like this:
--------- beginning of crash
11-10 23:44:55.943 2253 2253 E AndroidRuntime: FATAL EXCEPTION: main
11-10 23:44:55.943 2253 2253 E AndroidRuntime: Process: com.android.systemui, PID: 2253
11-10 23:44:55.943 2253 2253 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():
11-10 23:44:55.943 2253 2253 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: library "/system_ext/priv-app/SystemUIGoogle/SystemUIGoogle.apk!/lib/arm64-v8a/libtensorflowlite_jni.so" not found
As you may see, the system is complaining about not finding a lib that's inside SystemUIGoogle.apk. Obviously, the lib is present and this bug is just that...a bug.
I too faced this error during my early tests. I thought it was just a bug on my device since it got solved by flashing stock again.
Why did it worked because of that?
Beats me...
For texting purposes, try the Battery Mod by Tulsadiver. See if it works. At my end it didn't work as well (resulting on the same error) and that was when I knew I had to reflash stock.
Cheers!
jerbear294 said:
In my case, the standard module works properly, but the SystemUI module causes a black screen. This has persisted after a full firmware flash over Fastboot. My initial suspicion was that I had the Android 12 Extensions module installed, and hooked via LSPosed, but even after disabling every module except for Addon Features and the corresponding SystemUI module, the issue persists. I also had some Fabricate Overlays installed for Android System, which were fully disabled for the purposes of testing compatibility. My phone is on the November update (notably SP1A.211105.002, not the .A1 build that Google pushed by accident)
I've attached the corresponding logcat. Looks like the main thing I can find is java.lang.UnsatisfiedLinkError: dlopen failed: library "/system_ext/priv-app/SystemUIGoogle/SystemUIGoogle.apk!/lib/arm64-v8a/libtensorflowlite_jni.so" not found, which I have verified is not present in a logcat without the module enabled.
EDIT: On my end, at least, the log doesn't want to attach- I've uploaded it to a pastebin that allows larger uploads like this. https://zerobin.net/?fd2cedbc89f0c0cb#v6HSPuXJFd8Kya9COoqVey1R7PLJLq3f4bL/3M+O6W4=
Click to expand...
Click to collapse
Same issue on my device after flashing SystemUI module.
Mr.Demous said:
Same issue on my device after flashing SystemUI module.
Click to expand...
Click to collapse
Have you read the post I've wrote just before yours?
Issue persists even after reflashing (twice). 3Minit Battery isn't working either, same issue.
I did confirm that the resulting SystemUIGoogle has that library, so I have no idea what could be causing this...
I doubt this makes any difference, but which version of Magisk are you using? I'm using v23 (Stable).
I won't be around much today but can still test anything that doesn't require a PC to test while I'm out and about (namely new versions of the module, since that can be reversed with Safe Mode if need be)
jerbear294 said:
Issue persists even after reflashing (twice). 3Minit Battery isn't working either, same issue.
I did confirm that the resulting SystemUIGoogle has that library, so I have no idea what could be causing this...
I doubt this makes any difference, but which version of Magisk are you using? I'm using v23 (Stable).
I won't be around much today but can still test anything that doesn't require a PC to test while I'm out and about (namely new versions of the module, since that can be reversed with Safe Mode if need be)
Click to expand...
Click to collapse
I'm using latest Magisk Canary but tried on latest stable (23.0) on my early tests and it worked as well. My guess is that before flashing stock again we must first uninstall Magisk by choosing that option on Magisk Manager. "Completely uninstall Magisk", reboot, flash stock again, root again, try again and it should work.
Other users reported this worked on Telegram.
There's a user that tried this module on a ported Pixel 5 ROM to a Redmi Note 5 device and, even there, it worked...so...
Typhus_ said:
I'm using latest Magisk Canary but tried on latest stable (23.0) on my early tests and it worked as well. My guess is that before flashing stock again we must first uninstall Magisk by choosing that option on Magisk Manager. "Completely uninstall Magisk", reboot, flash stock again, root again, try again and it should work.
Other users reported this worked on Telegram.
There's a user that tried this module on a ported Pixel 5 ROM to a Redmi Note 5 device and, even there, it worked...so...
Click to expand...
Click to collapse
This, too, did not work. I fully uninstalled Magisk, rebooted, reflashed stock, rebooted, reflashed Magisk, rebooted, applied the modules, rebooted... black screen.
jerbear294 said:
This, too, did not work. I fully uninstalled Magisk, rebooted, reflashed stock, rebooted, reflashed Magisk, rebooted, applied the modules, rebooted... black screen.
Click to expand...
Click to collapse
That's odd. It should really work having done all those steps.
I guess the only last thing I could suggest is to completely reflash stock by wiping data and everything.
But, probably that's just too much trouble just to get this working...dunno...
The logs still report "TensorFlow Lite" lib issue, right? Or is it any other stuff?
Typhus_ said:
That's odd. It should really work having done all those steps.
I guess the only last thing I could suggest is to completely reflash stock by wiping data and everything.
But, probably that's just too much trouble just to get this working...dunno...
The logs still report "TensorFlow Lite" lib issue, right? Or is it any other stuff?
Click to expand...
Click to collapse
Not home at the moment, but IIRC it was indeed the same TensorFlow library that couldn't be found for whatever rhyme or reason.
Pixel 6 Pro, boots up and black screen flashes a few times on the lock screen and then the phone shuts down, reboots and after a second time of doing this flashing, the phone gives up and tells me that my data is corrupt and may need a factory reset
--------- beginning of crash
11-15 00:37:06.978 2012 2012 E AndroidRuntime: FATAL EXCEPTION: main
11-15 00:37:06.978 2012 2012 E AndroidRuntime: Process: com.android.systemui, PID: 2012
11-15 00:37:06.978 2012 2012 E AndroidRuntime: java.lang.NullPointerException: Attempt to write to field 'android.graphics.drawable.Icon com.android.internal.statusbar.StatusBarIcon.icon' on a null object reference
11-15 00:37:06.978 2012 2012 E AndroidRuntime: at com.android.systemui.statusbar.phone.StatusBarIconControllerImpl.setIcon(StatusBarIconControllerImpl.java:168)
11-15 00:37:06.978 2012 2012 E AndroidRuntime: at com.google.android.systemui.reversecharging.ReverseChargingViewController.updateReverseChargingIcon(ReverseChargingViewController.java:165)
stopthebadpuns said:
Pixel 6 Pro, boots up and black screen flashes a few times on the lock screen and then the phone shuts down, reboots and after a second time of doing this flashing, the phone gives up and tells me that my data is corrupt and may need a factory reset
--------- beginning of crash
11-15 00:37:06.978 2012 2012 E AndroidRuntime: FATAL EXCEPTION: main
11-15 00:37:06.978 2012 2012 E AndroidRuntime: Process: com.android.systemui, PID: 2012
11-15 00:37:06.978 2012 2012 E AndroidRuntime: java.lang.NullPointerException: Attempt to write to field 'android.graphics.drawable.Icon com.android.internal.statusbar.StatusBarIcon.icon' on a null object reference
11-15 00:37:06.978 2012 2012 E AndroidRuntime: at com.android.systemui.statusbar.phone.StatusBarIconControllerImpl.setIcon(StatusBarIconControllerImpl.java:168)
11-15 00:37:06.978 2012 2012 E AndroidRuntime: at com.google.android.systemui.reversecharging.ReverseChargingViewController.updateReverseChargingIcon(ReverseChargingViewController.java:165)
Click to expand...
Click to collapse
Thank you for your test, report and logcat.
I'm sorry for that issue regarding your data. That really shouldn't have happened.
I know now what caused that behavior. That was the exact same error that existed on Pixel 5 owners when I did this mod for Android 11.
The issue is caused by Network traffic indicators feature. I never figured out what could be wrong and the only solution I could provide was to completely remove the feature of showing Network Traffic on satusbar. The feature could only work if we choose network traffic location only on QS Header.
I'm going to try and create a new SystemUI module just for Pixel 6 users. Maybe I need to create a new one for Pixel 5 users as well since, it could be happening on Pixel 5 like it did on Android 11 (no one reported back so I don't know by now).
Once again, thank you for your test and I'm really sorry for the data issue.
Cheers!
Typhus_ said:
Thank you for your test, report and logcat.
I'm sorry for that issue regarding your data. That really shouldn't have happened.
I know now what caused that behavior. That was the exact same error that existed on Pixel 5 owners when I did this mod for Android 11.
The issue is caused by Network traffic indicators feature. I never figured out what could be wrong and the only solution I could provide was to completely remove the fature of showing Network Traffic on satusbar. The feature could only work if we choose network traffic location only on QS Header.
I'm going to try and create a new SystemUI module just for Pixel 6 users. Maybe I need to create a new one for Pixel 5 users as well since, it could be happening on Pixel 5 like it did on Android 11 (no one reported back so I don't know by now).
Once again, thank you for your test and I'm really sorry for the data issue.
Cheers!
Click to expand...
Click to collapse
No worries, I was still able to remove the module after booting into safe mode. Happy to help test and thank you for your work as always!
stopthebadpuns said:
No worries, I was still able to remove the module after booting into safe mode. Happy to help test and thank you for your work as always!
Click to expand...
Click to collapse
Link on the OP for the Pixel 6 version was updated. Can you try and test that new version, please? The name is the same but the file is new.
I've also added a version with the same "fix" for Pixel 5 users (in case this is needed for Pixel 5 just like it was on Android 11).
Hopefully, it will work.
Cheers!

[MOD][MAGISK][ANDROID 12] Addon Features for Pixel Devices - Pixel 3 Thread

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
What is this?
These are two 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
Navigation bar options (reduce keyboard bottom space size, completely remove NavBar)
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 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) *
QS Battery percentage independent options (show estimate time remaining or just percentage) *
Dual tone Light/Dark themes for QuickSettings 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 and drag from the top right) *
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_V8.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_Pixel_3_SystemUI_for_Addon_Features_V7.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.
Android_12_Fixes_for_Pixel_3.zip -> This module is an extra and it's only for Pixel 3 devices. It enables the rounded corners on windows, as well as, AOD screen lights on/off animations.
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.
The SystemUI module is different on Pixel 6 devices! For those I had to make a new module, since Pixel 6 SystemUI is different from all other Pixels.
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
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?
Flash the "SytemUI" Magisk Module
Reboot device
If it booted ok, flash "Addon Features" Magisk Module
Reboot device
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)
Enable 2 button, or 3 button, navigation mode on System Settings
Install "SytemUI" Magisk Module
Reboot device
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:
Uninstall all previous Magisk modules you had installed
Completely uninstall Magisk (using the option on Magisk Manager app)
Reboot device
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)
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)
Flash these two modules, and only these just to make sure no other module is causing conflicts
Reboot device
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!
You little beauty! Thankyou, downloading now
Woohoo! Thanks a lot. My status bar is FINALLY back to normal after A12 messed it up!
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!
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!
Hay, I installed these modules, it reminded me about Pixel Experience Plus, but now I dont know how to disable 'force Google Sans fonts system wide' and font like this (absolutely I dont like this", so you can show me how to turn it off?
Twin.Twiggs said:
View attachment 5470343
Hay, I installed these modules, it reminded me about Pixel Experience Plus, but now I dont know how to disable 'force Google Sans fonts system wide' and font like this (absolutely I dont like this", so you can show me how to turn it off?
Click to expand...
Click to collapse
I've included an option for that on Addon features latest version. It's on "Themes" section.
Quite obvious, if you ask me, but...ok...
Looks like there's a conflict between this and the Font Manager module. System freezes repeatedly and have to reboot if both are activated.
Tried again with v6, thinking it might be the global font option that was causing it, but even with that option off still getting freezing.
Any ideas how to make them both work together? Just want my iOS emojis and right-side clock at the same time. Lol.
jimjitsuesq said:
Looks like there's a conflict between this and the Font Manager module. System freezes repeatedly and have to reboot if both are activated.
Tried again with v6, thinking it might be the global font option that was causing it, but even with that option off still getting freezing.
Any ideas how to make them both work together? Just want my iOS emojis and right-side clock at the same time. Lol.
Click to expand...
Click to collapse
If you're not enabling Google Sans system wide, then I really don't know what could cause any conflict regarding fonts. Maybe that other module needs some update, don't know.
Try to grab a logcat when the freeze happens.
And, by the way, the freeze doesn't happen if you just use that other module?
Typhus_ said:
If you're not enabling Google Sans system wide, then I really don't know what could cause any conflict regarding fonts. Maybe that other module needs some update, don't know.
Try to grab a logcat when the freeze happens.
And, by the way, the freeze doesn't happen if you just use that other module?
Click to expand...
Click to collapse
I'll try to get a logcat. No, the freeze only happens when both are enabled, not when either is enabled separately.
Hello!
Both modules have been updated to Version 7 and the links are now available on the OP.
What changed?
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!
Hello!
Addon features module has been updated to Version 8 and the link is now available on the OP.
What changed?
Added a fix to get rid of the TensorFlow lib stupid bug once and for all
Hope you may enjoy this.
Cheers!
Sorry for disturbing but I found the thread in Pixel 6 Forum which provides much newer versions of this and I installed it. However my Pixel 3 **booted twice** which means it doesn’t support the full version of the latest module according to the thread and I noticed that the github page says “from 3a to 6” but I don’t know if Pixel 3 is included. The question is I have no idea whether it was because Pixel 3 is not supported by the latest version that my installation fell back to lite version, or some other factors led to that. I wonder if Pixel 3 is supported, and if not, what the last version that supports Pixel 3 is as V8 mentioned in this post doesn’t work property on my device (The centralized time is not at the exact center of the status bar but a little shifted to the left).
Masellum said:
Sorry for disturbing but I found the thread in Pixel 6 Forum which provides much newer versions of this and I installed it. However my Pixel 3 **booted twice** which means it doesn’t support the full version of the latest module according to the thread and I noticed that the github page says “from 3a to 6” but I don’t know if Pixel 3 is included. The question is I have no idea whether it was because Pixel 3 is not supported by the latest version that my installation fell back to lite version, or some other factors led to that. I wonder if Pixel 3 is supported, and if not, what the last version that supports Pixel 3 is as V8 mentioned in this post doesn’t work property on my device (The centralized time is not at the exact center of the status bar but a little shifted to the left).
Click to expand...
Click to collapse
Same here!
V20 on github only gives the Lite version working on the Pixel 3
Any chance to get the exclusive features supported for the newest version?
Thanks
Carmine8 said:
Same here!
V20 on github only gives the Lite version working on the Pixel 3
Any chance to get the exclusive features supported for the newest version?
Thanks
Click to expand...
Click to collapse
Hello.
Please read this post. The answer to your question is there.
Cheers!
From this day on, Addon Features Module will no longer receive any updates. It's the EOL for it.
BUT....
I'm pretty sure you all noticed that @siavash79 has been working with me for some time now and we've teamed up to come up with a module that will try to, not only have everything Addon Features had, but MORE.
HOW!?
By creating a new project, called "AOSP Mods".
That project will be a mix between a Magisk module and Xposed module (using Lsposed zygisk version).
For now, the 2 projects are still separated (Addon Features and AOSP Mods) but the final objective is to merge them into a single module.
So, you may still use Addon Features V21 LITE version module zip but, in order to have some of the "exclusive features", that were present on FULL version, working, you'll need to flash AOSP Mods as well.
So, let's all just move on to the new AOSP Mods thread and start to have fun together, shall we?
See you guys "on the other side".
Cheers!

Categories

Resources