[Xposed] [MIUI 12] [Android 10] MIUI Global Dark Mode Disabler - MIUI Central

Hey everyone!
In MIUI 12, MIUI enables a system flag to forcibly "convert" light app resources and assets to darker colors. This causes graphical issue in several apps, which is why this is just a developer option in AOSP.
Unfortunately, it seems Xiaomi don't care about third-party apps, other than the ones they've whitelisted to disable by default inside MIUI's code.
Despite the setting being modifiable with an ADB command, MIUI resets the setting on boot - hence the need for this Xposed module.
This module stops MIUI forcing nonsupporting third-party apps to display darker colors.
Take a look at the source code if you want to know what MIUI code's hooked to achieve this - It's fully documented.
Enjoy!
Downloads are on the main thread: https://forum.xda-developers.com/xposed/modules/miui-12-miui-global-dark-mode-disabler-t4118621

dark theme, miui 12, xposed

MOD ACTION:
Thread closed as duplicate.

Related

KitKat XPOSED

IS NOT MY WORK Y JUST WANT TO SHOW TO YOU THIS HARD STUFF
ALL CREDIT GO TO THEM
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, Camera 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 including cursor control keys
--- 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 from Xposed official thread (the latest version is typically available at this link: http://dl.xposed.info/latest.apk) or this flashable zip https://mega.co.nz/#!nM9UEKQS!aQtXSzmL_LL9J7pEOtSiQSk7xV9j7-hQ_7mOllB7t4c
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://github.com/GravityBox/GravityBox/tree/kitkat
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/Gravit.../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!
Credits
- @bgcngm for his code contributions to the project
- @MohammadAG for Xperia specific contributions to the project
- @rovo89 for his ultimate Xposed framework and "Volume keys to skip track" mod
- @peptonib for starting me up with this project
- THL W8 owners for providing support and feedback
- CyanogenMod project
- ParanoidAndroid project
- SlimBean, RootBox, AOKP, OmniROM projects
- Sergey Margaritov for ColorPickerPreference
- All those who provided translations for different languages (Mr.Premise, peptonib, kidmar, ch-vox, romashko, Indiant, lelemm, oicirbaf, unavix, LuHash, WedyDQ10, mp3comanche, awaaas, liveasx, samsonbear, Eric850130, xtrem007, benjoe1, asmb111, ...)
- and finally, all those who keep the project alive by supporting me via donations (you know who you are)
Changelog
https://github.com/GravityBox/Gravit.../CHANGELOG.txt
XDAevDB Information
GravityBox [KK] Xposed Framework Module, a Tool/Utility for the Android General
Contributors
C3C076
Version Information
Status: Stable
Please do not wholesale copy and paste threads from elsewhere without at least linking the original thread. Thread closed.

[ROM Lepipop][4.4.2] [Onda V919 3g air 8 core Mt8392] Tweaked, fast, Lollipop themed

Before I go any further, I just want to make it clear that I only PORTED this ROM to the Onda V919 3G Air (NOT for the dual boot version, but Android version only). The original creator Lepi did a wonderful job creating this ROM for the Cube Talk 9x and gave me his blessing to share it. I simply ported it over for our device, ironed out a few compatibility issues, and added a few things here and there.
That being said, I nor Lepi or anyone else will not be held responsible for your device being damaged in any way. Lets get the Onda v919 a bit more ROM love
Special thanks go to:
•Lepi for creating the ROM (original thread here)
•RekGRpth for mods, recipes, and testing
•Alexey for mods, recipes, and testing
•arsenev for mods, recipes, and testing
•cherva70 for mods, recipes, and testing
•Graevka for mods, recipes, and testing
•FatuRe for mods, recipes, and testing
•the_vanya1 for mods, recipes, and testing
•Slimhouse for mods, recipes, and testing
•grisha84 for mods, recipes, and testing
•Paget96 for his great LSpeed Revolution mod (thread here)
Known Bugs:
You tell me
Changelog (based on KitKat 4.4.2 and unofficial 2.0 ROM Cube Talk 9x release from December 2014):
•Fully deodexed
•ROOT by default Superuser app from Clockworkmod
•Removed all software in Chinese
•Modified boot.img
•Init.d support via busybox
•USB debugging enabled on first boot
•Added the ability to display the traffic in the status bar settings by color and off as needed. Keep in mind that color settings of texts in the status bar is only possible in portrait mode.
•Added a setting density screen for those wishing to increase the size of the entire display at the touch of a button.
•By default, the check box is turned on Unknown sources in Settings \ Security for the convenience of a quick recovery applications via Titanium.
•Black and Customizable gestures now in the bright subject.
•Round avatars in contacts and SMS.
•Implemented 3Minit Battery Mod (found under Display settings)
•Lowered minmum manual brightness of the display to 4% and auto brightness level
•Modified file platform.xml for full access to memory card
•Improved user interface firmware forbetter readability
•Returned to stock status bar settings
•Implemented system application in font chooser settings to change font
•Implemented development niorix flash drives to mount NTFS file system
•Implemented animation notifications in status bar. Thanks to Slimhouse and grisha84 for recipes, and cherva70 for the help
•USB connection now has button instead of doing Tap on the picture. Thank grisha84 for the recipe
•When you start the dialer in white topic immediately opens the numeric keypad to dial. Thanks lekha1980
•Changed power_profile in the hope of correct statistics for battery discharge.
•Turned off the default Power Saver Mode. To enable it you need to uncheck the check box. After rebooting daw back. That is exactly the opposite against stock options. The idea of user CatB. His test was successful.
•Removed mourning triangles on the avatars of contacts
•Removed annoying BEEP when you press the volume rocker
•Settings \ For developers introduced Engineering menu and test menu
•Changed the white theme. Made design a la Lolipop.
•Implemented management applet folder init.d, ie system tweaks based on scripts. Thank grisha84 for the recipe
•Introduced function to remove all recently opened applications. Thanks Alexey arsenev
•Stock radio replaced the radio from Lenovo. Thank Joker2010 finder and aid in the treatment of this application bugs
•Changed icons and many system applications
•Preinstalled Android L Keyboard
•Implemented library against stuttering sound when online viewing. Thanks to everyone who participated in this patch
•Ability to disable system applications in the Settings \ Applications. Thanks for the recipe RekGRpth.
•Change style icons Android L
•Screenshot and screen record in Power Menu. Thanks for the recipe Alexey arsenev and cherva70 for troubleshooting
•Blocking in the Preferences, the application AdAway. Thank you for the idea Graevka
•Light theme settings in Google aссoun
•Sound unlock additional tab in the Preferences. Thank FatuRe for the recipe
•Mode multiuser for 5 people.
•Returned undeservedly forgotten flashlight.
•Traffic in the status bar. Thank the_vanya1 for manual
•Animation notification with customizable animation. Thanks grisha84 for the recipe
•Changed default language to US English on first boot (Dai323)
•Added stock boot animation (Dai323)
•Added Nova Launcher as default (Dai323)
•Added Numix Material icons (activate them in Nova Settings under “look and feel-icon theme” (Dai323)
•Added Material Wallpaper (Dai323)
•Preloaded Xposed Installer (Dai323)
•Preloaded LSpeed Revolution mods from Paget96 (preloaded by Dai323)
•Added modded gps.conf (Dai323)
•Fixed broken Bluetooth caused by incompatibility issues with Cube Talk 9x (Dai323)
•Fixed broken camera caused by incompatibility issues with Cube Talk 9x (Dai323)
L Speed Revolution (Paget96) can all be found on the original thread here. You can activate and pick the scripts you want to use by opening Terminal emulator, typing “su”, and then “LS”. From there, pick the scripts you want to activate.
Download and installation instructions:
1.Download the ROM from Mega here, and put it on sd card (internal or external ok, but I recommend external).
2.MAKE A NANDROID BACKUP.
3.Full wipe from custom recovery.
4.Flash ROM.
5.Optional – Install PA Full Gapps or smaller (don’t install stock, as it breaks camera) from here directly after flashing ROM in recovery. If you do this, you will need to go into Language and Input and manually choose Android L keyboard to have a working keyboard. Otherwise, Voice Input is on by default. If you don’t flash Gapps, Google Keyboard is preloaded.
6.Reboot and enjoy.
While there are many Lollipop themed elements in the ROM, some things aren’t themed, which made me find ways to tweak the theme.
Here’s a short video of the stock theme:
https://www.youtube.com/watch?v=C5FiJeyimDs
And here’s a clip of the same ROM after I added Monster UI Xposed module:
https://www.youtube.com/watch?v=hZnQI0U_FuA
There are quite a few dark on dark issues should you choose to use the module, but for the most part it looks very smooth. This is a matter of personal taste, which is why I didn’t preinstall the module in the ROM.
If you want your theme to look like mine, do the following:
1. Activate Numix icons
2. Turn on “Card Background” in Nova settings under “App and Widget Drawer”.
3. Install Xposed Module “Monster UI” and reboot (it will now apply the theme and look as mine did in the video).
4. Clock widget is free on Play Store (Minimal Clock is the name of the app).
5. Battery widget requires XWidgets (free) and to download “Pure Battery Info “widget” within the app (also free).
6. Quote widget is Bhanu Quote widget.
Enjoy Lepipop
how to enable multiwindows?
Help please
​
Dai323 said:
Before I go any further, I just want to make it clear that I only PORTED this ROM to the Onda V919 3G Air (NOT for the dual boot version, but Android version only). The original creator Lepi did a wonderful job creating this ROM for the Cube Talk 9x and gave me his blessing to share it. I simply ported it over for our device, ironed out a few compatibility issues, and added a few things here and there.
That being said, I nor Lepi or anyone else will not be held responsible for your device being damaged in any way. Lets get the Onda v919 a bit more ROM love
Special thanks go to:
•Lepi for creating the ROM (original thread here)
•RekGRpth for mods, recipes, and testing
•Alexey for mods, recipes, and testing
•arsenev for mods, recipes, and testing
•cherva70 for mods, recipes, and testing
•Graevka for mods, recipes, and testing
•FatuRe for mods, recipes, and testing
•the_vanya1 for mods, recipes, and testing
•Slimhouse for mods, recipes, and testing
•grisha84 for mods, recipes, and testing
•Paget96 for his great LSpeed Revolution mod (thread here)
Known Bugs:
You tell me
Changelog (based on KitKat 4.4.2 and unofficial 2.0 ROM Cube Talk 9x release from December 2014):
•Fully deodexed
•ROOT by default Superuser app from Clockworkmod
•Removed all software in Chinese
•Modified boot.img
•Init.d support via busybox
•USB debugging enabled on first boot
•Added the ability to display the traffic in the status bar settings by color and off as needed. Keep in mind that color settings of texts in the status bar is only possible in portrait mode.
•Added a setting density screen for those wishing to increase the size of the entire display at the touch of a button.
•By default, the check box is turned on Unknown sources in Settings \ Security for the convenience of a quick recovery applications via Titanium.
•Black and Customizable gestures now in the bright subject.
•Round avatars in contacts and SMS.
•Implemented 3Minit Battery Mod (found under Display settings)
•Lowered minmum manual brightness of the display to 4% and auto brightness level
•Modified file platform.xml for full access to memory card
•Improved user interface firmware forbetter readability
•Returned to stock status bar settings
•Implemented system application in font chooser settings to change font
•Implemented development niorix flash drives to mount NTFS file system
•Implemented animation notifications in status bar. Thanks to Slimhouse and grisha84 for recipes, and cherva70 for the help
•USB connection now has button instead of doing Tap on the picture. Thank grisha84 for the recipe
•When you start the dialer in white topic immediately opens the numeric keypad to dial. Thanks lekha1980
•Changed power_profile in the hope of correct statistics for battery discharge.
•Turned off the default Power Saver Mode. To enable it you need to uncheck the check box. After rebooting daw back. That is exactly the opposite against stock options. The idea of user CatB. His test was successful.
•Removed mourning triangles on the avatars of contacts
•Removed annoying BEEP when you press the volume rocker
•Settings \ For developers introduced Engineering menu and test menu
•Changed the white theme. Made design a la Lolipop.
•Implemented management applet folder init.d, ie system tweaks based on scripts. Thank grisha84 for the recipe
•Introduced function to remove all recently opened applications. Thanks Alexey arsenev
•Stock radio replaced the radio from Lenovo. Thank Joker2010 finder and aid in the treatment of this application bugs
•Changed icons and many system applications
•Preinstalled Android L Keyboard
•Implemented library against stuttering sound when online viewing. Thanks to everyone who participated in this patch
•Ability to disable system applications in the Settings \ Applications. Thanks for the recipe RekGRpth.
•Change style icons Android L
•Screenshot and screen record in Power Menu. Thanks for the recipe Alexey arsenev and cherva70 for troubleshooting
•Blocking in the Preferences, the application AdAway. Thank you for the idea Graevka
•Light theme settings in Google aссoun
•Sound unlock additional tab in the Preferences. Thank FatuRe for the recipe
•Mode multiuser for 5 people.
•Returned undeservedly forgotten flashlight.
•Traffic in the status bar. Thank the_vanya1 for manual
•Animation notification with customizable animation. Thanks grisha84 for the recipe
•Changed default language to US English on first boot (Dai323)
•Added stock boot animation (Dai323)
•Added Nova Launcher as default (Dai323)
•Added Numix Material icons (activate them in Nova Settings under “look and feel-icon theme” (Dai323)
•Added Material Wallpaper (Dai323)
•Preloaded Xposed Installer (Dai323)
•Preloaded LSpeed Revolution mods from Paget96 (preloaded by Dai323)
•Added modded gps.conf (Dai323)
•Fixed broken Bluetooth caused by incompatibility issues with Cube Talk 9x (Dai323)
•Fixed broken camera caused by incompatibility issues with Cube Talk 9x (Dai323)
L Speed Revolution (Paget96) can all be found on the original thread here. You can activate and pick the scripts you want to use by opening Terminal emulator, typing “su”, and then “LS”. From there, pick the scripts you want to activate.
Download and installation instructions:
1.Download the ROM from Mega here, and put it on sd card (internal or external ok, but I recommend external).
2.MAKE A NANDROID BACKUP.
3.Full wipe from custom recovery.
4.Flash ROM.
5.Optional – Install PA Full Gapps or smaller (don’t install stock, as it breaks camera) from here directly after flashing ROM in recovery. If you do this, you will need to go into Language and Input and manually choose Android L keyboard to have a working keyboard. Otherwise, Voice Input is on by default. If you don’t flash Gapps, Google Keyboard is preloaded.
6.Reboot and enjoy.
While there are many Lollipop themed elements in the ROM, some things aren’t themed, which made me find ways to tweak the theme.
Here’s a short video of the stock theme:
https://www.youtube.com/watch?v=C5FiJeyimDs
And here’s a clip of the same ROM after I added Monster UI Xposed module:
https://www.youtube.com/watch?v=hZnQI0U_FuA
There are quite a few dark on dark issues should you choose to use the module, but for the most part it looks very smooth. This is a matter of personal taste, which is why I didn’t preinstall the module in the ROM.
If you want your theme to look like mine, do the following:
1. Activate Numix icons
2. Turn on “Card Background” in Nova settings under “App and Widget Drawer”.
3. Install Xposed Module “Monster UI” and reboot (it will now apply the theme and look as mine did in the video).
4. Clock widget is free on Play Store (Minimal Clock is the name of the app).
5. Battery widget requires XWidgets (free) and to download “Pure Battery Info “widget” within the app (also free).
6. Quote widget is Bhanu Quote widget.
Enjoy Lepipop
Click to expand...
Click to collapse
Hi,my same model onda is stuck in the boot mode green icon, would you have any firmware to get it back to life and maybe some info on how to use it. thanks
link
horse77 said:
​
Hi,my same model onda is stuck in the boot mode green icon, would you have any firmware to get it back to life and maybe some info on how to use it. thanks
Click to expand...
Click to collapse
ps link has been removed,could you help.
I still got the ROM somewhere around.
First flash this zip file with CWM for a 6GB app partition:
http://www.mediafire.com/file/zvq4ngg4x2yo5bt/partition_6gGIG.zip
Then flash the ROM:
https://drive.google.com/file/d/1_J5tcRBNcn6dayph-zRnwvxg1lOUMlKN
Mirror: http://www.mediafire.com/file/c5o0uo49tmmdybc/Lepipop Onda V919 V1.zip

[app] [privset] [change hidden system settings via overlays] [6.0+] [root]

{
"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"
}
Hi all
Play Store Download Link: https://play.google.com/store/apps/details?id=com.mordred.privset
Demo video of "Privset" https://www.youtube.com/watch?v=NbjZuhqPGtM
FIRST OF ALL BIG THANX TO NICHOLAS CHUM (lead developer of Substratum Project which i also participated as contributor) @nicholaschum , i wouldn't have done without his help
and of course other team mates on Substratum
What is "Privset"?
- Privset is an android app which allows users to change non-changeable device-specific system settings through overlaying android framework with help of android's RRO and OMS systems (please look at the above for detailed info)
It requires ROOT privilege to do that, so your device MUST be *rooted* in order to use the app
It reads the current status of your system settings and allows you to change it
How it works?
- Starting from Android 6.0 Google implemented RRO (runtime-resource-overlays) system into android, what is that? it simply allows changing resources of applications (colors,backgrounds,texts etc.) without touching app itself, if you heard of "Substratum", its an theme engine app which uses the same mechanism to overlay(change) application''s resources so you can change any color,background etc of any app via "Substratum" by installing substratum theme addon apps,
- RRO system basically swaps new resource values with default ones of application
- And starting from Android 8 Oreo, Google improved the RRO system and renamed it to OMS (overlay-management-system) OMS is just superior of RRO, both do the same, overlaying(changing) application's resources
- In the android, there is an system app called "framework-res.apk", framework-res (framework-resources) as the name implies, contains resources of frameworks, What are these resources? System colors(colors.xml), System texts(strings.xml), System settings (config.xml)
- With the help of RRO and OMS systems we can overlay(change) framework-res app, hence we can change system settings too (config.xml)
- But how can we use RRO and OMS, you basically need to compile overlay app(so you need PC and android studio) carefully and deploy it into phone,
Here the Privset automates all the process for you in a phone itself
it reads the current values of the system resources/settings with using android's public APIs (Resources.getSystem())
and Allows you to edit these resources/settings
For more info about RRO and OMS you can google it ("android runtime resource overlay" and "android overlay-manager-system")
******************************
WARNING: Read carefully of each setting and change the value according to it carefully,
- You can also reset your custom settings within app (it simply deletes installed overlay packages(e.g changed system settings)
- Plus i also added flashable packages into app so you can flash it through Recovery mode of your phone if you encounter any problem
******************************
----------------------------------------------------
DISCLAIMER: I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Use it at your own risk, I'm not forcing you to install my app so I can't be held responsible for something you willingly do to your device
----------------------------------------------------
As i explained above, Privset uses OMS and RRO overlaying systems which overlay(change) app's resources without touching the app itself, so dont afraid so much
* ROOT is required
* Only 6.0 Marshmallow and above are supported
* Rootless mode of Privset for Android 8.0 Oreo will come in next updates hopefully (W.I.P)
I also added instructions into app for about reporting bugs or requesting features but you can also fill issue and send it through https://github.com/sirmordred/PrivsetIssueTracker
Plus you can contact me via [email protected]
EDIT:
Special Notes on "Change Layer Priority" setting:
-Since Privset uses overlaying mechanism (RRO and OMS) to change system settings, and overlays framework, There might be situation that Privset can conflict with already installed Substratum themes, Some subtratum themes overlay framework too, so after using Privset and changing settings, it may simply not work due to "multiply overlay packages(Substratum/Privset) that target same app (framework)" To fix this situation, you can change priority so Privset's overlay package can take priority against Substratum themes, and so *Only use that setting on this kind of situations* *Do not use it otherwise*
Enjoy
Changelog
- 11
Switched to common compiler for overlay creation
Code cleanup, removed all unnecessary dead codes
- 10
Added fix for compilation issue ("LOG: Overlay apk file is not found, failed") (Hopefully it'll address the issue)
Improved overlay system detection logic
Added dynamic switch for overlay systems(OMS and RRO)
- 9.0
Fixed some issues on "Save logs" feature
Corrected possible misbehaviours on OMS
Corrected more typos on text fields
- From 5.0 to 8.0
Implemented Nougat-OMS support (Privset had a support for stock android's OMS system (oreo-oms) since initial release but it didn't have a support for nougat based oms system which is currently used on most popular ROMs like ResurrectionRemix,HydrogenOS etc. but it is supporting Nougat-OMS systems from now on)
Implemented dynamic priority switch for OMS systems (for usage look at first post)
Fixed possible issues on OMS check function (app is much more solid and robust now)
Added more checks against error conditions on app's core functionality (again it's much more solid and robust)
Corrected typos on some text fields
- 5.0
Implemented "Search" feature (you can now search specific settings easier)
Implemented "List modified settings" feature
- From 1.0 to 4.0
All settings are in alphabetical order now (easier to find setting and manage)
Corrected some misbehaviours on Android 8.0 Oreo
Fixed some more possible issues
Removed settings which can cause possible system instability
- 1.0
Initial release
Reserved for later use
New home, hope it continues the fantastic job done so far, first post is very well organized
chester.anjan said:
New home, hope it continues the fantastic job done so far, first post is very well organized
Click to expand...
Click to collapse
Thanx
I'm planning to include some sweet features into it in next updates :good:
Woo! Other possibilities of OMS like apis
This will work on miui?
Simply amazing
Is the op5t supported? I tried changing the 4 way auto rotate of screen but it didn't save after rebooting.
Can I add home button animation like in Pixel device onto aospa?
As this is based on substratum, why can't we just create the substratum theme and use it without root? I have Andromeda and substratum works without root.
Edit: Read that Oreo rootless mode is in the works.
Sent from my Pixel XL using Tapatalk
I'm trying to use in my stock nougat (s7) but it doesn't work... I change a value, touch in run, app ask for root, root garanted, nothing happened... I close the app and open again, changed value is with default value. I tried to restart my phone and try again, nothing :/
--
edit: log says "Overlay apk file is not found, failed"
Will you be adding the ability to modify values in arrays.xml?
@sir mordred think I found a typo, pls see screenshot.
-Status Bar Notification Info Maximum -
can this add dt2w to RR rom ??
it says true but dt2w not working
Can this be used to change LTE/4G status bar icons on Moto Z Play stock ROM?
TioCareca said:
This will work on miui?
Click to expand...
Click to collapse
it needs to be tested i thought, keep in mind its not %100 guaranteed to work because of OEM's modifications differ from device to device and rom to rom, but i suppose it can work yeah :good:
cubandanger05 said:
Is the op5t supported? I tried changing the 4 way auto rotate of screen but it didn't save after rebooting.
Click to expand...
Click to collapse
Some frameworks/settings depend on other non-changeable(static) frameworks code, although i will look into it :good:
viking_kong16 said:
Can I add home button animation like in Pixel device onto aospa?
Click to expand...
Click to collapse
i dont know the animation you mentioned but if its controlled through framework, why not
JoaoMarcos said:
I'm trying to use in my stock nougat (s7) but it doesn't work... I change a value, touch in run, app ask for root, root garanted, nothing happened... I close the app and open again, changed value is with default value. I tried to restart my phone and try again, nothing :/
--
edit: log says "Overlay apk file is not found, failed"
Click to expand...
Click to collapse
will look into it ASAP :good:
creeve4 said:
Will you be adding the ability to modify values in arrays.xml?
Click to expand...
Click to collapse
yeah, i'm also planning to add support for modifying resources of SystemUI :good:
mikey1975 said:
@sir mordred think I found a typo, pls see screenshot.
-Status Bar Notification Info Maximum -
Click to expand...
Click to collapse
thanx so much, hopefully it will be fixed on next update :good:
Kireto00 said:
can this add dt2w to RR rom ??
it says true but dt2w not working
Click to expand...
Click to collapse
As i also stated on first post, some frameworks/settings depend on hardware support so even if we change the setting on software, it may not work, thanx :good:
ViperX85 said:
Can this be used to change LTE/4G status bar icons on Moto Z Play stock ROM?
Click to expand...
Click to collapse
it needs to be tested, but i suppose these icons are controlled through /drawables which is not supported on Privset yet, thanx :good:
It is not working for my device for some reason. Any idea? Here is log from the app:
LOG: onCreate, launching app... LOG: Preparing UI LOG: Device supports Overlay-Manager-Service LOG: There is no overlay installed, refreshing preferences LOG: Getting default values from device LOG: Creating User Interface according to default values LOG: Starting overlay process LOG: isCreatable is true LOG: Saving user input values to res file LOG: Everything is ready, lets compile it LOG: OK, compiling... LOG: Overlay apk file is not found, failed
Can this be used to tweak Ambient Display? If so, is Theater Mode the same thing as Ambient Display? I wanna enable waking ambient display from motion again.
Lovely app, btw.
I'm not able to change "use round icons" from "false" to "true" in AOSP 8.0

Xposed now available for Pie?!!

I have not read the thread yet, but how did this happen without me knowing.
https://forum.xda-developers.com/xposed/list-xposed-modules-android-pie-ed-t3892768
Addicted-Adnan said:
It's better to have knowledge of an xposed modules compatibility on Android version rather than stuck on bootloop with problematic module enabled,users can mention about their working xposed modules in this thread so that they are added to this list which makes it lot easier for all the xposed users. We are grateful to the people who contributed to the Xposed Framework and its Modules since its journey started especially the legend rovo89, Ed Xposed Developer givien2u,riru core developer Rikka, Module Devs and other contributers, let's hope incompatible modules make again way to the newer Android versions in near future...
[emoji724]️NOTE For Active Ed Exposed Users[emoji3593]
ED Xposed Framework is in intial development or we can say in beta state so it may support some more modules in future which are currently not hooking or might break modules , so keep an eye on your favorite modules with each ed xposed update and don't forget to report it here[emoji41]️
Below are Github download links of riru core and Edxposed
https://github.com/solohsu/EdXposed/releases
https://github.com/RikkaApps/Riru/releases
*CONFIRMED WORKING MODULES *
Exi for SwiftKey
Smart Clock
Greenify
MIUI Tweaks
Xprivacy Lua
God Mode
Custom Text
App Local 2
Event Lock
App Context
XOverride Headphone Jack
FakeGapps
Oreo Album Art Remover
Black Navigation Bar
Snap Freedom
Keyboard Tweak Animation
Xposed Blacklist
Lockmod (working partially)
Gboard tweaker
Copytoast
100fastview
Download Redirection
Uniformed transitions
Xinsta
Max lock
Ampilify
Instant face unlock (intial pie support)
*CONFIRMED INCOMBATIBLE MODULES*
Flat style coloured bar
Xposed edge
Skyolin helper
Kmod FWA
Flat style keyboard
Gravity Box Oreo (might work partially)
Blur System Ui
X Halo Floating Windows
KT2
XQS Backgrounds
Resflux
Eternal Process Lock
No Keyboard Auto Popup
Perfect Colorbar
Prevent Running
Xui Mod
Ifont
App settings
App Opps xposed
Miniminguard
Quote Lock
Xstana
Camera notify
Lockscreen clock mods
Buttered toast
Xvoice changer
Net strength
*Unconfirmed Modules*
(Users can check and report in order to move them into respective Working or Non Working Category )
ART Deoptimiser
Eternal Process Lock
X Messenger Privacy
Neo Power Menu
PBMC
Status Bar Download Progress
Swipe Back2
Icebox Turner
Android Phone Vibrator
Complete Action Plus
Flat Style Module
FM Radio Without Headphones
Google Offline Voice
L Tweaks
Lin15(version 16 coming soon)
Niwatori
No More Google Play Services
Shake To Undo
WA Tweaker
XGram
Xposed Groot
Xstana
Always Correct
SMS Code Extractor
Xposed macro expand
Xposed groot
WhatsApp Extensions (seems works in previous versions)
Force touch detector
[emoji3544]Alert for Greenify users
*Don't enable xposed features at this time it breaks systemui*
??????? ???? ?? ????? ?? ???? ?????? ?????????.....
?? ??? ????? ???? ???? ?????? ?????? ?????? ??? ?????? ??????
Ofcourse this post saves a lot of time to deal with modules and bootloops which i faced personally
Click to expand...
Click to collapse
Good news.
If Gravitybox comes out for Pie then I will try EDxposed.
I wouldn't trust EdXposed on my phone since it's closed source, so who knows what kind of logging, backdoors, etc are hidden in there. Plus I don't consider it to truly be Xposed unless it was released by the man (Rovo89) himself.
I still run Xposed on my tablet that is on Nougat (and runs too good for me to upgrade to a ported O/P version) and uses nothing that requires SafetyNet. I really have no interest even trying it on O or P since most everything I need has a Magisk module available and I don't need to turn it off and reboot to get SafetyNet to pass. I tip my hat to Rovo since Xposed paved the way for a lot of what we do now (and got a lot of functionality ending up already on the OS), but it just isn't worth the hassle that it has become for me anymore.

Rooted and Stock - What to add/tweak?

I've rooted my Stock OS Pixel 3 XL - What to add/tweak?
Suggested discussion format:
- What specifically have you used root for to add or tweak your Stock OS?
- What did each addition/tweak accomplish?
- What have you tried but then removed, and why?
- What are you considering but haven't tried yet, and/or want to accomplish but haven't found a way to yet?
Running Pie PQ2A.190405.003 by the way...
- What specifically have you used root for to add or tweak your Stock OS?
So far, I have added Majisk with the following Majisk modules: Active Edge Mod, FDE.AI, Systemless Hosts. I have also added AdAway using F-Droid app.
- What did each addition/tweak accomplish?
Active Edge Mod - Allows custom response when squeezing the sides. I bought the Pro version, and have it set to pull up the camera when squeezing while the phone is locked. If the phone is unlocked, a squeeze turns on the flashlight.
FDE.AI - Much like L Speed or HEBF Optimizer apps, but I'm seeing if I can truly buy into the 'set it and forget it' simplicity of FDE.AI.
Systemless Hosts - Found this in Magisk settings options. I'm not 100% certain, but I believe this allows Magisk to hide adblocking attempts (AdAway in my case) from the OS and any apps which may try to counter adblocking efforts.
AdAway - The #1 reason I rooted - system-wide adblocking!
- What have you tried but then removed, and why?
I tried to install the Majisk module OnePlus Slate Font Systemless, but I immediately noticed that it turned the : on my lockscreen clock into a rectangle in error, so I removed it.
- What are you considering but haven't tried yet, and/or want to accomplish but haven't found a way to yet?
I am considering ViPER4Android. I'm vaguely familiar with this app, but don't want to tinker too much - just want to improve the Pixel 3 XL's audio quality overall if I can just install it and make a few adjustments (or none) and end up with a difference. Maybe this weekend...
Also, I had a OnePlus 6 - I'd love to find an easy way to black theme all of the OS screens like you could with the flip of a switch on the OnePlus (or a Samsung) - but without having to install a custom ROM. Update: Ah yep, I remember now: Substratum.
- What specifically have you used root for to add or tweak your Stock OS?
Magisk installed via TWRP.
- What did each addition/tweak accomplish?
Viper4Android (Use mostly convolvers, xhifi and bass effects + My HTC USB C to 3.5 is delicious), All kind of magisk modules, such as Google Sans MOD (The font is systemwide), Energized (like adaway but more aggresive), FDE.AI (resulted in little bit more of juice), Rboard Themes (for gboard theming), and other mods that requires magisk like Riru Core and Riru Xposed (and with this MinMinGuard (no ads systemwide in apps), GravityBox (LOTS of tweaks with this love the EQ Visualizer on lockscreen) and Whatsapp Tweaker (some mods for beta whatsapp)), YouTube Vanced (for no ads and background playing), substratum (theming), Sa2ration (for sturate a litle bit the oled screen), ActiveEdgeMod.
- What have you tried but then removed, and why?
One r two substratum themes because some layers break apps when updated, Custom Kernels (in general they help performance but my SOT decrease), tried to uninstall some system apps but results were not good.
- What are you considering but haven't tried yet, and/or want to accomplish but haven't found a way to yet?
Screenshots in secured apps (Think there's a tool for this but haven't tried)
Some mods in whatsapp tweaks (don't want to get banned)
Android Q but still need apps for banking, work which not support it.

Categories

Resources