Toggle Enable/Disable Proximity Sensor Systemwide - Tasker Tips & Tricks

This is a tasker/macrodroid macro that I created that toggles proximity sensor on/off systemwide.
You must be rooted to use it - it uses a shell command to edit a system file that determines if proximity sensor is on or off.
Installation:
Extract zip file
Open the respective macro with tasker or macrodroid
Create a homescreen shortcut or QS tile to toggle the macro / task
This was tested on Xiaomi Poco F3 - Android 13 - CrDroid v9.5
But it should work on most phones

Nice.
I'm curious, what's the reason for you wanting to disable the software-based Prox.-Sensor? Lack of reliability?

Related

Oneplus 3: Problem with alert slider on Oxygen 3.2.2

I've been using tasker since 3.1.3 to customize the alert slider to my needs. I set up the following modes and actions:
- all: all notifications with sound + vibration
- priority: all notifications silent + vibration
- none: airplane mode (with xposed and airplane mode helper)
This worked perfectly with all versions including 3.2.1, on 3.2.2 it stopped working.
I'm not sure if it's an OS problem or a tasker problem, but something with the interrupt modes seems to be wrong.
I've set up a simple action in tasker to flash the active interrupt mode.
On 3.2.1 the modes are all - priority - none, just as they should be.
On 3.2.2 tasker shows the interrupt modes all - priority - priority, which ,eans that there is noi difference between the middle and the upper setting of the slider.
I already posted this on the oneplus homepage and in the oneplus 3 forum here. Am I the only one with this issue?

HavocOS 2.9 fan edition

About
Havoc-OS 2.x is based on AOSP, inspired by Google Pixel.
Has a refined Material Design 2 UI by @SKULSHADY.
So many features that you probably won't find in any ROM.
All you can dream of and all you'll ever need.
Just flash and enjoy...
Code:
General:
MD2 UI
Rounded UI
Enhanced QS Battery Estimation
Seekbars for Media Notifications
QS Panel Inspired by OOS
Pixel Lockscreen weather
Substratum Support
Compiled using SDCLANG
OTA Support
Signature Spoofing
Micro-G support
Lockscreen charging animation
In-built Oneplus Camera & Gallery(Oneplus Device only)
Status Bar:
Double tap to sleep
Statusbar brightness slide
Quick & Smart pulldown
Clock Settings
Date Settings
Battery Customization
Battery Bar
Network Traffic Indicator
Carrier Label Customization
Status Bar Icons Toggle
Notifications Count
Bluetooth Battery Status
VoLTE Icon Toggle
Old Mobile Type Icon style
4G/LTE icon switch
Data Disable Icon Toggle
Breathing Notifications
Quick Settings:
Layout customization
Brightness Slider Customization
Brightness Slider On Bottom
Auto Brightness Icon
Auto Brightness Icon on Right
Brightness Control Buttons
QS Elements Customization
Tile Tittle
Vibrate On Touch
Information Header
QS Footer Customization
VPN Warning
Settings Icon
Running Services Icon
Edit Icon
User Switcher Icon
Interface:
Themes
UI Style (Pixel/AOSP)
Background Color (Automatic/Light/Dark/Shady/Glassy)
Accent Color
Font Manager
App Icon Shape (Default/Square/Rounded Square/Squircle/Circle/Teardrop/Hexagon)
QS Themes
QS Color based on Wallpaper
QS Color based on Accent
Custom QS Panel color
QS Panel Opacity
QS Header Style (Black/Grey/Light Grey/Accent Based/Transparent)
Custom QS Header Image
QS Tile Style (Wavey/Cookie/Teardrop and 15+ More)
Settings Customisation
Switch Appearance (OnePlus/Material Design 2)
Dashboard Icons (Round/Oreo/Round Accented/Round OnePlus Style/Oreo Style Accented)
Dashboard Conditions
Dashboard Suggestions
Ambient Display:
Ambient Options
Always On
Always On When Charging
Wakeup On New Notifications
Sensor Based Screen Wakeup (Tilt/Hand Wave/Pocket)
Battery Level at Botton while Dozing
Music Ticker
Screen:
Smart Pixel
Screen Stabilization
Corner Customisation
Rounded Corner Radius
Corner Content Padding
Satus Bar Padding
Buttons:
Volume Rockers
Volume Panel On Left
Volume Dialog Timeout
Volume Steps
Keyboard Cursor Control
Swap Keys
Control Ring Volume
Control Music Volume
Volume Rocker Wakeup
Volume keys Answer Call
Power Button
Power Menu Customization
End Call
Screen off power button torch
Hardware keys
Disable Keys
Swap Keys
Backlight Brightness
Backlight Timeout
Backlight On Touch
Accidental Touch Protection
Back/Home/Overview Button Customisation
Single Tap Action
Long Press Action
Double Tap Action
Home Button Use While Ringing Toggle
Navigation bar:
Navigation Mode (Fling/SmartBar/Default)
Stock Navigation Bar Customisation
Gestures
Pixel Animation
One-Handed Mode
Layout Customisation
Smart Bar Customisation
Fling Customisation
Pulse Customisation
Height Customisation (Potrait/Landscape)
Gestures:
System Gestures
Jump to Camera
Long Press to Activate Torch
Swipe Up on Home Button
Full Gesture Mode
Double Tap on NavBar to Sleep
Prevent Ringing
Swipe to Screenshot
Swipe Gestures
OnePlus Gestures
Edge Gestures
Pie Control
Lockscreen:
Double Tap to Sleep
Media Cover Art
Media Cover Art Filter (Blur/Greyscale/Accent tinted/Greyscale and Blurred)
Music Visualiser
Clock Widget Customisation
Info Widget Customisation
Weather Temperature Unit (Celsius/Fahrenheit)
Unlocking
FP Authentication Vibration
Force FP Authentication
LS Dismissal On Face Unlock
Pocket Detection
Allow FP in Pocket
Elements Customisation
Quick Settings
Satus Bar
Multiuser Switch
Status Text
Charging Info
Left/Right Shortcuts
Lock Icon
Shortcuts
Mid-Screen Shortcuts
Bottom Shortucts
Others
Pin Ripple
Scramble Layout
Quick Unlock
Auto Lock
Power Button Instantly Locks
Direct Unlock
Lockscreen Message
Recents:
Recents style (Quickstep/Oreo/Grid/Android Go/Slim)
Oreo Recents Customization
Clear All Button
Clear All Button Location
Button Style
Memory Bar
Custom Styles
Icon Pack
Apps Blacklist
Immersive Mode (Full Screen/Status Bar/Navigation Bar -- Clock/Date)
Slim Recents Customisation
Notifications:
Lights Customization
Charging Light
Notification Light
Blink Flashlight on Call
Status Bar
Heads Up Customisation
Ticker Customisation
Disable/Enable FC Notifications
Immersive Mode Messages
Toast Icon
Force Expanded Notifications
Kill App Button
Noisy Notifications
In-Call Vibration
On Connect
On Disconnect
On Call Waiting
For Notifications
Animations:
Disable animation
Animation Duration
Animation customization
List view animation
QS tile animation
Power menu animation
Screen off animation
Toast animation
System:
Signature Spoofing
CPU info
Privacy Guard
Burn-in protection
Input Method:
Selector notification
Auto keyboard rotation
Auto-Rotate Timeout
Disable Full Screen Keyboard
Show enter key
Battery Saving:
Sensor block per-package
Alarm Blocker
Wakelock Blocker
Suspended Actions
Doze settings
Aggresive Battery
Aggresive Idle
Aggresive Standby
Auto-enable on Battery saver mode
View CPU Frequency Stats
Miscellaneous:
MediaScanner behaviour on boot
Scrolling Cache
USB Configuration
Wake Up on Charge
Launch Music App
Screen Capture
Screenrecord Shortcut
Screenrecord Quality
Screenshot Shortcut
Screenshot Type (Full/Partial)
Other Features:
LiveDisplay
On-the-go mode
Prevent Accidental wake-up
Seperate ringtone for SIM1&2
Battery Charge Warning
Smart Charge
Advanced Battery Info
QS Tile Shortcuts:
Heads Up tile
Caffeine tile
Ring mode tile
CPU info tile
Suspended action tile
Smart pixel tile
Ambient display tile
AOD tile
Screenrecord tile
Stabilization tile
Gaming Mode tile
Screenshot tile
Accidental touch tile
Alarm/Calc/Phone/Camera/Music tiles
Expanded Desktop tile
Havoc settings tile
HW key tile
LTE tile
Navbar tile
On the go tile
Pie control tile
Reboot tile
Sleep screen tile
Accent picker tile
Volume panel tile
High Brightness tile
Sound Search
One Handed Mode Tile
Compass Tile
App Picker Tile
Language
Team
Lead Developers:
SKULSHADY (Anushek Prasal)
ZeNiXxX (Viktor Hermann)
Changelogs
• Merged September security patch
• Added New Recorder app with audio support
• Added Lockscreen Date styles
• Added OP gestures haptic feedback toggle
• Added Circle battery style from PA
• Added Default data SIM switcher in CellularTile
• Added edit action on screenshot notification
• Improved Media seekbar in notification
• Other fixes and improvements
• Selinux enforcing
• Added vector icons for Dirac
• Enable call recording
• flash whatsapp video patch for fix whatsapp vc
BUGS
You tell me
Links
MOD EDIT: Download link removed
Whatsapp Video lag patch : Click here
Bitgapps: Click here
Our channel: https://t.me/Lavenderdownloads
Donate
If you like our work then please consider donating.
Paypal: http://paypal.me/beingmishra
Installation
1. Download the ROM, GApps (Optional), Magisk (Optional) from the links above.
2. Wipe System, Data, Dalvik, Cache.
3. Flash the ROM, Whatsapp video lag patch
4.GApps (Optional), Bitgapps (optional)
5. Reboot and Enjoy.
Credits
LineageOS (https://github.com/LineageOS)
Crdroid (https://github.com/crdroidandroid)
Pixel Experience (https://github.com/PixelExperience)
Nitrogen Project (https://github.com/nitrogen-project)
Omnirom (https://github.com/omnirom)
MSM-Xtended Team (https://github.com/Project-Xtended)
Skydragon (https://gitlab.com/HolyDragonProject)
Syberia Project (https://github.com/syberia-project)
XDA:DevDB Information
[fan-edition] HavocOS 2.9 09-09-2019, ROM for the Xiaomi Redmi Note 7
Contributors
Shobhit31107, Shobhit31107
Source Code: https://github.com/Havoc-OS
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: unlocked bootloader
Version Information
Status: Stable
Current Stable Version: HavocOS 2.9
Stable Release Date: 2019-09-09
Created 2019-06-25
Last Updated 2019-09-09
09-09-2019
Changelogs:-
• Merged September security patch
• Added New Recorder app with audio support
• Added Lockscreen Date styles
• Added OP gestures haptic feedback toggle
• Added Circle battery style from PA
• Added Default data SIM switcher in CellularTile
• Added edit action on screenshot notification
• Improved Media seekbar in notification
• Other fixes and improvements
• Selinux enforcing
• Added vector icons for Dirac
• Enable call recording
• flash whatsapp video patch for fix whatsapp vc
06-09-2019
Changelogs:-
- Add gcam
- Removed snap
- Removed HAL3 Switcher
- Flash Whatsapp patch for fix video lag on whatsapp
- Update gps
- Fix offline charging
- Fix dirac
- Google assistant as deafult
- Increase Headset speaker volume
- Update build fingerprint to 10.3.6.0
- Compile clang with 9.0.6
- Remove NFC configs
- Update IFAA blobs
- Update Audio configs from MIUI V10.3.10.0
- Added dtbo and vbmeta in zip
15-07-2019
Source Changelogs:-
• Added Gaming mode QS tile
• Improved Gaming mode
• Improved OP gestures feedback duration
• Improved Aggressive battery
• Improved LiveDisplay
• Improved Pocket lock
• Performance improvements
• Other fixes and improvements
Device Changelogs:-
- July security patch
- Added stock Genom kernel
- Enabled A gps
- Added HAL3||HAL1 switcher go to setting>system>Advanced
- Enabled dual Lte
- Enabled 4K on front cam
- Enabled volte for Vodafone/Airtel
- Updated carrier configs from MIUI V10.3.6
- Update FM blobs from LA.UM.7.2.r1-06900-sdm660.0
26-06-2019
Changelogs
-Fixed Double tap to wakeup
- Fixed adaptive brightness
Bugs
-Offline charging
25-06-2019
Changelogs
-selinux now enforcing,thanks to @AmulyaX for the commit
-Added Dirac
-Update GPS HAL
-Support physical cutout
-Set default hotspot name
-add support for f2fs
-Adjust cutout overlay
Source Changelogs
• Added Android Q activity animations
• Added new QS tile styles
• Added new Gaming mode
• Improved Pocket mode
• Improved LiveDisplay
• Improved media notifications
• Improved statusbar items layout
• Improved navbar pixel animation
• Changed battery stats reset level to 95%
• Removed screenshot delay
Opening multiple thread for just a rom doesn't make sense to me.... Atleast yhu could maintain yur thread n updates it s it comes.
Thanks.
Hello. How is official different? I am currently using offical havocOS. Is there more feature in this? thanks
Tapatalkkal küldve az én Redmi Note 7 eszközömről
szunyi77 said:
Hello. How is official different? I am currently using offical havocOS. Is there more feature in this? thanks
Tapatalkkal küldve az én Redmi Note 7 eszközömről
Click to expand...
Click to collapse
its unofficial build bro some changed thing see changelogs
15-07-2019
Source Changelogs:-
• Added Gaming mode QS tile
• Improved Gaming mode
• Improved OP gestures feedback duration
• Improved Aggressive battery
• Improved LiveDisplay
• Improved Pocket lock
• Performance improvements
• Other fixes and improvements
Device Changelogs:-
- July security patch
- Added stock Genom kernel
- Enabled A gps
- Added HAL3||HAL1 switcher go to setting>system>Advanced
- Enabled dual Lte
- Enabled 4K on front cam
- Enabled volte for Vodafone/Airtel
- Updated carrier configs from MIUI V10.3.6
- Update FM blobs from LA.UM.7.2.r1-06900-sdm660.0
Shobhit31107 said:
its unofficial build bro some changed thing see changelogs
Click to expand...
Click to collapse
lol its the official dt with rom sources updated...
i thought we already have official XD .
Hafyzy said:
i thought we already have official XD .
Click to expand...
Click to collapse
yes but i make unofficial builds
Namaless said:
lol its the official dt with rom sources updated...
Click to expand...
Click to collapse
nope u wrong bruh
Calls proximity sensor work?
Inviato dal mio Redmi Note 7 utilizzando Tapatalk
is "Official" meanly more "Stable" than Un-Official??
or just a word "Official"??
Shobhit31107 said:
nope u wrong bruh
Click to expand...
Click to collapse
Nice if you share your dt we can make much better the other version :fingers-crossed:
Namaless said:
Nice if you share your dt we can make much better the other version :fingers-crossed:
Click to expand...
Click to collapse
bro m not sharing my dt bcz soo much unwanted things ?
wait sometime then m gonna use amulyax x tree with some changes
Klaus1983 said:
Calls proximity sensor work?
Inviato dal mio Redmi Note 7 utilizzando Tapatalk
Click to expand...
Click to collapse
yes
robbayani said:
is "Official" meanly more "Stable" than Un-Official??
or just a word "Official"??
Click to expand...
Click to collapse
some people like official nd some people's like unofficial ?
Face unlock error
hi, when i try configure new face automatically closes, then try for second time and force closes.
the log here:
time: 1563247542975
msg: java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/app/FaceLock/lib/arm64/libfacenet.so" needed or dlopened by "/system/lib64/libnativeloader.so" is not accessible for the namespace "classloader-namespace"
stacktrace: java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/app/FaceLock/lib/arm64/libfacenet.so" needed or dlopened by "/system/lib64/libnativeloader.so" is not accessible for the namespace "classloader-namespace"
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1669)
at com.google.android.libraries.vision.facenet.FaceNet.<clinit>(FaceNet.java:67)
at com.google.android.libraries.vision.facenet.FaceNet.createFromAssets(FaceNet.java:118)
at com.android.facelock.FaceLockUtil.initialize(FaceLockUtil.java:148)
at com.android.facelock.SetupEnrollmentScreen.onCreate(SetupEnrollmentScreen.java:517)
at android.app.Activity.performCreate(Activity.java:7145)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2933)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3088)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1818)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6739)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:859)
i flash lastest gapps and face unlock fix and libraries.
some help?
Please shift from gdrive to android file host or sourceforge as gdrive stops other users from downloading if too many users have downloaded . sourceforge or afh have no such restrictions . @Shobhit31107
migu5499 said:
hi, when i try configure new face automatically closes, then try for second time and force closes.
the log here:
time: 1563247542975
msg: java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/app/FaceLock/lib/arm64/libfacenet.so" needed or dlopened by "/system/lib64/libnativeloader.so" is not accessible for the namespace "classloader-namespace"
stacktrace: java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/app/FaceLock/lib/arm64/libfacenet.so" needed or dlopened by "/system/lib64/libnativeloader.so" is not accessible for the namespace "classloader-namespace"
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1669)
at com.google.android.libraries.vision.facenet.FaceNet.<clinit>(FaceNet.java:67)
at com.google.android.libraries.vision.facenet.FaceNet.createFromAssets(FaceNet.java:118)
at com.android.facelock.FaceLockUtil.initialize(FaceLockUtil.java:148)
at com.android.facelock.SetupEnrollmentScreen.onCreate(SetupEnrollmentScreen.java:517)
at android.app.Activity.performCreate(Activity.java:7145)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2933)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3088)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1818)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6739)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:859)
i flash lastest gapps and face unlock fix and libraries.
some help?
Click to expand...
Click to collapse
Flash rom+gapps or bitgpps at a time
KazuDante said:
Please shift from gdrive to android file host or sourceforge as gdrive stops other users from downloading if too many users have downloaded . sourceforge or afh have no such restrictions . @Shobhit31107
Click to expand...
Click to collapse
oh okay next time i ll upload on sourceforge

Themes / Apps / Mods [MOD][MAGISK][ANDROID 12] Addon Features for Pixel Devices - Pixel 5a 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!
Well, today I've received some good news. An user reported that the mod is working without the need to flash a different "SystemUI" module just for Pixel 5 devices.
On Android 11 there was a problem where I could not add the Network Traffic indicators feature showing on status bar. They could only work if set to be on QS header. On Android 12 that happened again on Pixel 6 models. So I thought that Pixel 5 devices required that too.
Fortunately, it isn't and that's just cool.
I've attached some screens here so you may check that for yourselves. I'm going to remove the "Pixel_5_SystemUI" link on the OP since it's no longer required.
Cheers!
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!
Thanks!
So i installed this on my Pixel 4a5g and all went smoth. Everything worked with out issue.
Now i did not uninstall any magisk mods or anything like that which I am aware was in the OP to do, but everything went smotthly.
However when i checked safetynet it failed. So I uninstalled the modules and restarted the phone only to still fail safetynet..
I had safetynet fix 2.1.2 installed. But when i looked after uninstalling this mod, i noticed that safetynet was missing from my active mods list. I re installed it and restarted the phone and was passing saeftynet again.
Not saying this mod removed it. I may have accidently.
My question......
Could this mod inadvertenly remove safetynet fix on install?
rhewins2268 said:
So i installed this on my Pixel 4a5g and all went smoth. Everything worked with out issue.
Now i did not uninstall any magisk mods or anything like that which I am aware was in the OP to do, but everything went smotthly.
However when i checked safetynet it failed. So I uninstalled the modules and restarted the phone only to still fail safetynet..
I had safetynet fix 2.1.2 installed. But when i looked after uninstalling this mod, i noticed that safetynet was missing from my active mods list. I re installed it and restarted the phone and was passing saeftynet again.
Not saying this mod removed it. I may have accidently.
My question......
Could this mod inadvertenly remove safetynet fix on install?
Click to expand...
Click to collapse
No, this module does not touch any other module so it's impossible for them to remove the safetynet modue.
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!
Hello!
Both modules have been updated to Version 7 and the links are now available on the OP.
What changed?
SystemUI MOD has been updated for December build
Fix fonts, icons and icon shapes overlays get reset upon reboot or SystemUI restart
Light theme QS Header is now optional
Added 2 more battery styles (Big circle and Big dotted circle)
Added option to enable/disable dual tone battery meter (it only works on icon portrait mode)
Added option to enable/disable showing the number of unread messages on status bar notifications
Added option for QS Quick pulldown with one finger (options are off, drag from the top left and drag from the top right)
Enable Game Overlay for all Pixels by default (although, if something goes wrong while playing games, you can disable this feature)
Added 8 new fonts overlays
Fix lag on camera if navbar his completely hidden
Added option to enable/disable left shortcut on Lock screen
Added option to enable/disable camera shortcut on Lock screen
Force Google Sans system-wide is still optional but it's enabled by default (I like it that way, so yeah...bummer. You'll still be able to disable it, so no problem whatsoever)
Removed battery percentage option on system settings (since we can now change it on ROM Control app, it didn't make much sense to leave it there. Besides, it wasn't doing anything...)
Updated Rom Control app
Hope you may enjoy this.
Cheers!
hi, just installed "Fix for Addon Features", and it hasn't deleted itself .. does that mean it hasn't run?
I'm on Canary Magisk Zygisk 5d6d2417 (23015)
Thanks for updating to V7.
Link for SystemUI V7 has been updated on the OP.
AOD is now fixed!
Hello!
Both modules have been updated to Version 8 and the links are now available on the OP.
What changed?
Added a TensorFlow lib stupid bug fix on the "Addon Features" module zip (from now on, this one really has to be installed first or at the same time as the SystemUI module zip)
Added a workaround for the QS date ugliness when the date is enabled in the clock options
Fix clock being white on light QS after playing media
Updated Rom Control app
Cheers!
Hello!
Both modules have been updated to Version 9 and the links are now available on the OP.
What changed?
Corrected all icon packs overlays so that the WiFi, BT and Hotspot QS Toggles won't cause a SystemUI FC
Cell QS Tile now shows carrier name
Added 3 more fonts
Revamped Screenshot service (it now allows us to delete screenshot as soon as we take it and we can enable/disable screenshot shutter sound)
Updated Rom Control app
Cheers!
Hello!
Both modules have been updated to Version 10 and the links are now available on the OP.
What changed?
Added more custom themed icons
Show/Hide QS edit icon on QS Footer
Show/Hide Quick access Developer options icon on QS Footer
Added one more option for QS Quick pulldown with one finger (now you can drag from anywhere on the top to quickly access brightness bar)
Long press QS footer Settings icon to access Rom Control (since some of you don't see the app icon on the drawer I thought on this solution)
Added option to invert 2 or 3 button navigation modes layout (meaning...now you can swap back and recent apps buttons)
Added option to configure back gesture navigation height (full screen, half screen, one third of the screen or just back down on the screen)
Updated Rom Control app
Hope you may enjoy this!
Cheers!
Thankyou for your work! Can you update please the mirrors for Android_12_Addon_Features_for_Pixel_V10.zip ? I got OOPS! no mirrors found, when i'm trying to download the addon.
jimmy16 said:
Thankyou for your work! Can you update please the mirrors for Android_12_Addon_Features_for_Pixel_V10.zip ? I got OOPS! no mirrors found, when i'm trying to download the addon.
Click to expand...
Click to collapse
That's an Android File Host issue. It will be ok soon...I hope. In the meantime I'll just share it here as attachment. It's the best I can do for now.
Cheers!
Thankyou, is working like a charm
Hello!
Both modules have been updated to Version 11 and the links are now available on the OP.
What changed?
Added more java date string types on clock date customization
Added signal icons styles (don't know why but when enabling them, Rom Control app crashes...well, whatever... )
Fixed some icons not appearing on lock screen status bar (they can be disabled using SystemUI Tuner for those who don't want them to appear anywhere)
Enable/disable carrier text on lock screen
Added date, clock and battery click actions on QS Header (long click on clock goes to system time settings, simple click opens clock app)
Fix Network Traffic on QS if set to QS header only (now it's only visible if fully expanded and on the top right)
Force user selected font on more UI places
Added Landscape battery style and left battery text option
Use less blur and zoom on lock screen album art
Added QS Tiles animations options
Enable/Disable vibration while touching QS Tiles
Allow overriding feature flags (this allows us to override feature flags manually using setprop persist.sysui.flag."whatever_flag_we_want" command)
Added Voice Access for all Pixels (you can turn it on on Accessibility options and control your device with voice commands)
Updated Rom Control app
Hope you may enjoy this and I wish you all a happy new year!
If you would like to show me your support, please leave a like or follow my band pages or drum covers YouTube channel (the links are on my signature). I would be very grateful if you did.
See you guys in 2022!
Cheers!
Hello!
SystemUI V11 module is compatible with January build, I'm already using it. Addon features is as well, but that one never gets affected when a new build comes out...
Although I noticed some changes on some java files, fact is, it's compatible.
Either way, I'll have to recheck stuff (in case I notice that something gets broken while using it).
Now I just have to wait to see if January build for Pixel 6 devices brings new stuff, or not.
Cheers!
Do I have to flash the "visualizer fix" after flashing a factory image (the one when you remove the -w, not deleting all data)? And if I don't use the cover art lock screen option, do I have to flash the "visualizer fix" anyhow?

Proximity Sensor Systemwide Toggle on/off

This is a tasker/macrodroid macro that I created that toggles proximity sensor on/off systemwide.
I have designed this because ultrasound proximity sensor on my Poco F3 is really annoying sometimes
You must be rooted to use it - it uses a shell command to edit a system file that determines if proximity sensor is on or off.
Installation:
Extract zip file
Open the respective macro with tasker or macrodroid
Create a homescreen shortcut or QS tile to toggle the macro / task
This was tested on Xiaomi Poco F3 - Android 13 - CrDroid v9.5
But it should work on most phones

Lower AOD / Ambient display brightness

This is tasker / macrodroid macro that lowers AOD / Ambient display brightness
Installation:
Unzip file
Extract any 2 profiles for your application of choice (tasker or macrodroid)
Import these 2 profiles to the app and enable them
To control the AOD brightness, edit intensity of extra dim in settings > accessibility
Requirements:
Rooted
Tasker or Macrodroid accessibility permission enabled
How it works:
The macro sets extra dim to ON when you turn off your screen so your AOD brightness will be low - when screen is turned on (even on lockscreen), extra dim is set to off and normal brightness is restored
This was tested on Poco F3 - Android 13 - CrDroid v9.5 but it should work on all android phones

Categories

Resources