[DEVS][MOD] Adding SMS Tasks to native MMS.apk - Android Q&A, Help & Troubleshooting

hello fellow XDA-Developers alike, i have been neglecting the development of my app SMS Tasks, found in this thread:
http://forum.xda-developers.com/showthread.php?t=2354884
and i have not made a build for it in september so i decided to make it open-sourced for all to use in the native MMS.apk (CM 11.0/Android 4.4)
I POSTED IN ROM DEVELOPMENTS AS ITS FOR A ROMS NATIVE MMS.apk FROM ROM SOURCE i dont want any to think "wrong section" ok
i have made an easy commit to my friends rom Dirty Unicorns gerrit, and is free to use for cherry-picking to your native MMS.apk or as rom developers know it as android_packages_apps_MMS it works exactly the same as my app in the thread stated above, only a few un-needed features were removed, and a few things added/changed:
the changes were:
-made it all in one menu;
-checkbox to enable is in settings of MMS/Messaging
-a few String wording Changes
additions are:
- a how-to-use menu that syncs with everyones apps (DO NOT REMOVE/CHANGE PLEASE AS ITS NEEDED FOROTHERS TO KNOW HOW TO USE) its the only thing i dont want changed or removed, other then that feel free to change things but the SMS Tasks app/activity name
- few fixes for 4.4.* support (like data toggle being incompatible to all 4.4.* due to exploit being blocked)
- Few command changes/fixes
removals are:
-some commands
-ads menu;
-extra menu codes (obviously)
-unworking code+relaced with fresher working code
**NOTE**
this has only been tested on Dirty Unicorns 4.4.2 Rom, and is implemented/merged so it all works fine with it, but some changes might need to be made to work with earlier android versions
**/NOTE**
heres the gerrit listing, feel free to cherry-pick as i got permission earlier from @Mazda to use this gerrit post from Dirty Unicorns, even if i was the one to contribute it ( Joshua Kittle ) lol
http://gerrit.dirtyunicorns.com/#/c/2110/
Have fun, and stay dirty my friends =)

Related

[ROM][AOSP][Nightly/Release] CarbonRom KitKat [i9100]

About Carbon
CarbonRom is an aftermarket firmware based on the Android Open Source Project. We are dedicated to fast, stable, and feature-filled roms, honesty and communication with our users, and openness with our code. We like frequent builds, with the very latest and greatest hardware support and fixes. We strive to not only provide you with the best rom we can build, but also to give back to the Android community and our fellow developers. For us, this is about creating something we can be proud of and hope you will enjoy.
Please feel free to look at, build, and use our code on CarbonDev GitHub. and on our Gerrit CarbonDev Gerrit.
We would like to thank CyanogenMod for their device trees, framework/settings mods and their code that was incorporated into this project. We also extend our gratitude to the devs whose code that we have incorporated. Proper authorship has been maintained and can be viewed on our repository.
Special thanks also go to Slim Rom for some of their features, PA, AOKP, and anyone else we may have borrowed commits from that hasn't been mentioned here. If you feel you have been unfairly left out, please - let us know.
While we make every effort to test these builds as much as possible, we are not responsible for anything that may happen to your device, family, pets, or perception of reality. We ask that you do your part to know your device and know how to recover from problems before you flash! If you have questions, ask your fellow users or ask us in #teamcarbon on freenode IRC.
Features
All of our features can be found on our site here:
Carbon Features
Here are some screenshots:
Carbon Screenshots
Carbon Updates
Join us on these Social Media Channels to keep yourself up-to-date on all the latest Carbon news, updates, contests, and more! Join our completely open Google+ community for insider conversation with devs and other users.
Download Carbon
All Carbon downloads and further information such as features, changelog, and FAQ can be found on our website.
Carbon Downloads
Changelog
For a detailed changelog, check out the changes made each night here:
Carbon Changelog
Support
We spend an astonishing amount of time developing this software. We can't spend much time on XDA as a result, so if you need support, please try the following:
1) Search. Search, search, search. Yes, you. I don't care how unique or important your question is, it's very likely someone has adressed it already. Especially if you're even close to new at this.
2) Read our FAQ, which can be found on our website. Carbon FAQ
3) Ask a question in your device forum. Someone will no doubt try to help you. Warning: this help may come in the form of telling you it's a dumb question that has been asked before. See step 1 - such are the perils of asking questions when you haven't done the research yourself. Android is about helping yourself.
4) Ask a question on our IRC channel. Connect to #teamcarbon on irc.freenode.net or click here. You'll find several other Carbon fans and usually one or more devs as well. Please be polite.
Who is Team Carbon?
Find out here:
Carbon Team
Remember, every penny you send to us goes right back into the rom. It's used for hardware, server costs, etc - all the things that help us make Carbon better with every release. Your support means the world to us! If you've enjoyed Carbon, please consider a donation toward this goal. Thank you, and we hope you continue to enjoy Carbon!
​
XDA:DevDB Information
[ROM][AOSP][Nightly/Release] CarbonRom KitKat [i9100], ROM for the Samsung Galaxy S II
Contributors
CarbonDev, Myself5
ROM OS Version: 4.4.x KitKat
Based On: AOSP
Version Information
Status: Beta
Created 2014-02-14
Last Updated 2014-06-07
Reserved
Reserved
Hello Guys.
I'm your i9100 device maintainer.
I meanwhile tweaked the Rom specially for the i9100 so its difference to our other devices is:
Compiled using SaberMod arm-eabi 4.7 (Kernel code) and SaberMod arm-linux-androideabi 4.8 (ROM code) toolchain compilers
Cross-compiled using those custom toolchains results in a more smoother, faster, and battery friendly ROM
F.A.Q.:
What is Toolchain?
In software, a toolchain is the set of programming tools that are used to create a product (typically another computer program or system of programs). The tools may be used in a chain, so that the output of each tool becomes the input for the next, but the term is used widely to refer to any set of linked development tools.
A simple software development toolchain consists of a compiler and linker to transform the source code into an executable program, libraries to provide interfaces to the operating system, and a debugger. A complex product such as a video game needs tools for preparing sound effects, music, textures, 3-dimensional models, and animations, and further tools for combining these resources into the finished product.
Click to expand...
Click to collapse
Source: http://en.wikipedia.org/wiki/Toolchain
What is SaberMod?
The term "SaberMod" is coming from:
SaberMod is a AOSP based ROM with some extra features added in and mostly from CyanogenMod. SaberMod started out pure AOSP when android 4.2.1 launched. Originally it was pure AOSP with a few extra features I ported over from CyanogeMod and linaro optimizations. Then I rebased everything off of rasbeanjelly because I liked many features found in rasbean. Since then I've modified a lot of the code so not much of it is rasbeanjelly based anymore. But you will still find some commonly used features found in rasbeanjelly. SaberMod is not a rasbeanjelly or CM clone, or KANG. Custom kernels are included for certain devices when available. These are personal builds we make for ourselves and originally became very popular in the nexus 7 forums. Features are very rarely added, and are built to SaberMod's team members liking. Currently there are two members of SaberMod working on this project. Myself and @jarjar124. Please understand our time is limited and we are only two people who have lives, and do not have 25-50 members like CyanogenMod to add things. And our goal is not to add a bunch of features that bloat the system of the ROM.
Click to expand...
Click to collapse
Source: http://forum.xda-developers.com/show....php?t=2158698
About GCC main compiler cflags
-O1
Optimize. Optimizing compilation takes somewhat more time, and a lot more memory for a large function. With -O, the compiler tries to reduce code size and execution time, without performing any optimizations that take a great deal of compilation time.
-O2
Optimize even more. GCC performs nearly all supported optimizations that do not involve a space-speed tradeoff. As compared to -O, this option increases both compilation time and the performance of the generated code. -O2 turns on all optimization flags specified by -O.
-O3
Optimize yet more. -O3 turns on all optimizations specified by -O2 and also turns on the -finline-functions, -funswitch-loops, -fpredictive-commoning, -fgcse-after-reload, -ftree-loop-vectorize, -ftree-slp-vectorize, -fvect-cost-model, -ftree-partial-pre and -fipa-cp-clone options.
-Os
Optimize for size. -Os enables all -O2 optimizations that do not typically increase code size. It also performs further optimizations designed to reduce code size.
Click to expand...
Click to collapse
Greetings
Myself5
Nice Work Dude !
Mine
Sent from my SAMSUNG-SGH-T769 using Tapatalk
Whats Up Whith "Mine" ?
great ...thanks ....will try it surly
Great!! carbon finally arrived gonna try
Sent from my GT-I9100 using Tapatalk
im not able to see the download link in carbon page, i select our device but the links to download the ROM doesnt appear, can someone share the download link?
attack11 said:
im not able to see the download link in carbon page, i select our device but the links to download the ROM doesnt appear, can someone share the download link?
Click to expand...
Click to collapse
I have found that this link:
http://carbon-rom.com/downloads/?device=i9100&type=nightly&country=US
Showing some dates but still no luck with working link...
Послато са GT-I9100 уз помоћ Тапатока
Will this rom contain the tweaks/things that Myself5 added to his unofficial build?
It seems like we're currently having some issues with our download page getting accessed by mobile browsers. Please use your computer to download until we fixed it.
@GreekBlood: All in all the most tweaks I made were coommits from gerrit, so sooner or later they will be included
http://carbon-rom.com/downloads/?device=i9100&type=nightly&country=BE
Here i can see the downloads perfectly and they also work.
And here is the latest nightly for our SII :> http://eu1.dl.carbon-rom.com/files/i9100/nightly/CARBON-KK-NIGHTLY-20140215-0148-i9100.zip
congrats myself5 on getting to be the maintainer for this great rom on our s2.
i think i will just dl from the official carbon page,and then just use the updater to get all the improvements and fixes moving forward!!
well first hour whit this rom.and everything seems good after all! just one question,how i can enable wheater widget in the lockscreen? i cant find an option..
also some translations are missing (in spanish) i can help if you want.
also another question Halo will be added on the future?
i flashed newest rom all good.kernel included is not compatible with stweaks.
I plan on flashing gustavo 2\09 kernel.
will nightly updates flash a another kernel each update??
thnx
A little problem
I have a little problem,when i try to install gapps it says that i have insufficient space. How would i fix that? I`m using PA-GOOGLE APPS (FULL MODULAR PACKAGE) .
And another question. Previous versions that were unofficial had TWRP, how could I get that back too?
@attack11 the Weather Widget is called cLock. HALO will be added it just has some small bugs ATM we need to fix. Thanks for your help, I will later PM you all files you need to translate.
@saskrider: It will flash a new Kernel every Update. However when you later (as soon as it's working) use CarbonDelta to update there will be a option to add Custom Zip's to flash after the Rom (like GApps and Custom Kernels)
@Pecka40: the S2's Sytem Partition is to small for these GApps, use some smaller ones
Greetings
Myself5
Sent from my GT-I9100 using Tapatalk
Myself5 said:
@attack11 the Weather Widget is called cLock. HALO will be added it just has some small bugs ATM we need to fix. Thanks for your help, I will later PM you all files you need to translate.
@saskrider: It will flash a new Kernel every Update. However when you later (as soon as it's working) use CarbonDelta to update there will be a option to add Custom Zip's to flash after the Rom (like GApps and Custom Kernels)
@Pecka40: the S2's Sytem Partition is to small for these GApps, use some smaller ones
Greetings
Myself5
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply! And there is no way of making it bigger?
And could you please answer the other question. About how can I get TWRP on it.

[APP][LP][XPOSED] GravityBox v5.6.0 - tweak box for Android 5 [23/09/2018]

GravityBox - all-in-one tweak box - Xposed module for devices running AOSP Lollipop
Version 5.6.0 [Lollipop]
Version for JellyBean is available in this thread: http://forum.xda-developers.com/xposed/modules/app-gravitybox-v3-1-4-tweak-box-android-t2316070
Version for KitKat is available in this thread: http://forum.xda-developers.com/xposed/modules/app-gravitybox-v3-1-5-tweak-box-android-t2554049
Version for Marshmallow is available in this thread: http://forum.xda-developers.com/showthread.php?t=3251148
READ THIS POST CAREFULLY BEFORE PROCEEDING ANY FURTHER
Version for Lollipop has been tested on Nexus 5 and thus should be compatible with all the Nexus devices running stock Google system. Starting with v5.0.3alpha, compatibility with Motorola Moto G Dual SIM (and potentially other Motorola devices) has been improved.
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 5 (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 additional tiles and reordering /* work in progress */
--- Statusbar icon coloring
--- Statusbar Brightness Control
--- 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
--- Minimal brightness setting
--- Autobrihtness levels adjustment
--- Lockscreen tweaks
--- Hardware/navigation key actions
--- Notification drawer style (background color, image for portait/landscape, transparency)
--- Button backlight modes (default, disabled, always on while screen is on)
--- Dialer (Phone) tweaks
--- Google Launcher tweaks
--- Screen recording
--- GravityBox Actions - interface for 3rd party apps
--- Smart Radio
--- Notification control (per-app notification LED/sounds/vibrations)
--- Ascending ring tone
... 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 5 (AOSP)
- supports "Google devices" like Nexus, HTC One Google play edition, and others running vanilla Android 5
- supports Motorola Moto G Dual SIM running stock Lollipop
- supports Zopo Speed 7 running Lollipop 5.1 and potentially other MediaTek devices running Lollipop 5.1
- Samsung Touchwiz, HTC Sense, MIUI, LeWa, Xperia, Lenovo, 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,CATACLYSM,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
trjlive said:
As is detailed in the OP, GravityBox is designed to be used with stock, vanilla AOSP ROMs, not OEM and custom ROMs. In other words, Google Play Edition and Nexus devices. All OEM ROMs (TouchWiz, Sense, Xperia, Moto, etc.), and custom ROMs (CyanogenMod, ParanoidAndroid, etc.) differ significantly in their code base from pure AOSP. And as most of these ROMs are closed source, and the developer does not have access to all the devices, it means that GravityBox is not designed for, or tested on, these devices and ROMs.
Even though the Moto devices look like stock Android, they are as much custom under-the-hood as TouchWiz or Sense. It's just that Motorola decided to implement a skin that resembles stock Android, rather than a custom skin like Samsung has done. But the changes to the core code mean that many of GravityBox's features will not work, and actually do cause some well-known bugs. The same goes for ParanoidAndroid, there are just too many changes to the core code for GB to be reliable.
If you choose to use GravityBox on a ROM it was never intended to be used with, then you do so at your own risk, and without any support. You should always have a good nandroid backup and be familiar with ADB and Fastboot. At any time, a ROM update or GravityBox update may cause any/all GravityBox features to break, and worst case, send your device into a bootloop. This is just an unfortunate reality of using a mod on a device it wasn't intended to be used on. Any user who wishes to improve or fix bugs on their unsupported ROM is more than welcome to download the source code for GravityBox (links to Git in the OP) and work on debugging and fixing the bugs on their own.
Click to expand...
Click to collapse
Prerequisites
To use this module, the following conditions must be met
- You have a device running Android 5 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 Lollipop version has been developed and tested on Nexus 5
Installation
1) Follow instructions for installation of Xposed Framework alpha version for Lollipop
In case of Lollipop 5.1, make sure to use unofficial Xposed Framework Alpha.
2) 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 [LP] module).
3) 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
Videos
- Xposed framework install plus gravity box module overview (thanks to Rootjunky.com & Marshall Williams)
- Gravity Box - What is it and How to install it (thanks to @D3VI0US)
Documentation
Thanks to @cadarn07, there's a comprehensive and searchable User Guide listing
all of the GravityBox features. It's an EverNote document located at https://www.evernote.com/pub/cadarn07/gravitybox
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.
Click here tor ead additional, more detailed info on Reporting bugs provided by @trjlive
Multilanguage support
Volunteers are welcome to translate GravityBox to other languages.
Simply download this file: https://github.com/GravityBox/GravityBox/raw/lollipop/res/values/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/lollipop
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/lollipop/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!
Info about premium features and PayPal transaction ID verification system
1) Those who supported development via PayPal donation can use their PayPal transaction ID to unlock premium features.
As of v2.9.5, there's one premium feature: Backup/restore of GB settings.
2) If you contributed to the project by providing translations, code fragments, or by any other way
you can apply for a free transaction ID by contacting me via PM.
3) Be aware that there's a system that can identify potential transaction ID
abuse. E.g. when one ID is being used by more users. Such IDs will get blocked automatically.
This can also happen when you previously exposed your ID in public forum and other users took
advantage of it. If this is the case, contact me via PM so I can issue new, special ID.
In case you own more devices, you can use one transaction ID on up to 10 of them.
4) If you are using your own custom builds of GB for personal use, you will get hash mismatch
upon verifying your ID as verification system accepts requests only from official releases of GB.
If you want to be able to verify IDs with your custom build, contact me via PM so I can setup
a special hash for your build.
If you are using a custom build that you provide for broader group of users (e.g. in a custom ROM),
it is necessary to ask for new hash everytime your new custom version is released for public use.
These rules are based on mutual trust so please, do not violate them.
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
- @Tungstwenty for Fake ID vulnerability patch
- @simmac for app icon
- @romracer for Motorola specific code contributions
- 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/GravityBox/blob/lollipop/CHANGELOG.txt
XDA:DevDB Information
GravityBox [LP] Xposed Framework Module, Xposed for all devices (see above for details)
Contributors
C3C076
Source Code: https://github.com/GravityBox/GravityBox/tree/lollipop
Xposed Package Name: com.ceco.lollipop.gravitybox
Version Information
Status: Stable
Current Stable Version: 5.6.0
Stable Release Date: 2018-09-23
Created 2015-02-22
Last Updated 2018-09-23
Changelog 5.6.0 - 23/09/2018
- QuietHours: additional enhancements and redesign
--- rules for ligts/vibrations/sounds/ringer whitelist can now be set for each time range independently
--- manual mode has its own set of rules that are independent of automatic time ranges
--- initial ringer whitelist for newly created time range is inherited from manual mode settings
--- added option for controlling current mode directly from the QuietHours settings
--- reorganized settings
--- !!! data structure changes render existing time ranges incompatible - need to be reconfigured !!!
- Updated Ukrainian translations (thanks to burunduk)
- Updated Turkish translations (thanks to Fatih Firinci)
- Updated Russian translations (thanks to gaich)
Complete commit history for 5.5.2->5.6.0
What's missing in version for Lollipop 5.1 compared to 5.0
- unlinked ringer/notification control volumes cannot be controlled within Sound&notification settings, only within expanded volume panel.
What's missing in version for Lollipop compared to KitKat
- No ring targets in lock screen - obsolete in Lollipop as there is no ring security screen available
- No ring targets in navbar - Google replaced search panel with completely different one
having simple circle with one target. It's not using GlowPadView anymore. In order to implement ring targets
as we know them from Kitkat would probably be to completely replace stock search panel with the one from Kitkat
- Brightness control currently doesn't work in lock screen as status bar is covered with keyguard panel
- and maybe some other smaller features I forgot to mention, mainly since they were obsolete in Lollipop
Full commit history can be found in project's github.
Other remarks
- Although LP comes with native "quiet hours", I decided to keep UNC Quiet hours.
There's a freedom of choice to either use stock Interruptions system or GB's quiet hours
- Battery style and percent revised to support new status bar which has 3 modes: normal, keyguard, header
- Brightness control now works with Auto adjustment turned on the similar way as brightness slider in quick settings
- Low battery warning changed as there is no Low battery warning dialog anymore
- Ascending ringtone has been reworked completely (thanks to CM12)
- million of other small adjustments - you'll find out for yourself
Awesome. Will try it. Thanks much...
... where's the download link? (sry, i can't see it ç.ç)
i'm not found gravitybox LP only found KK
W3ND31 said:
... where's the download link? (sry, i can't see it ç.ç)
Click to expand...
Click to collapse
Batum69 said:
i'm not found gravitybox LP only found KK
Click to expand...
Click to collapse
Patience....
Got ninja'ed - it's already in the second post
nimrodsv said:
Patience....
Click to expand...
Click to collapse
okay ç.ç
What took longer, coding GB to work on LP, or writing the OP? ?
I hope everyone takes the time to read through all that info. You've covered a lot of scenarios there! I predict many posts that will say "Did you read the OP?"
Thanks for your work
For LP ! This sounds awesome ! Thankss
@C3C076: Entering PayPal ID results in a message saying the app is maybe modified (which is not)
It's happening.
Working fine on stock GPE 5.0.1 M7, great job :good:
defim said:
@C3C076: Entering PayPal ID results in a message saying the app is maybe modified (which is not)
Click to expand...
Click to collapse
Yeah. I forgot to register hash for this release. Already fixed in the database.
Thanks for pointing out.
If anyone nedd any confirmation, everything running fine on my pure aosp build @ hammerhead!
Thank you very much. Its like christmas again!
Great Job, all OK on Galaxy S5 G900F with Blisspop Nightly 02.20
Thank you!!!
ID 4-----------------S
Purchased and donated
Waiting for Xposed on stock Lollipop was totally worth it, instead of shifting to custom ROM.
Great job, first release, and already works so well.
@C3C076
Hi, thank you soooo much...
I found one small bug, I set Data traffic monitor to right, but on lock screen is in middle...
And few error logs...
@C3C076: Might want to link to the Xposed for Lollipop thread in the OP instead of the legacy thread.
Also, grats on making the front page news again and featured on Android Police.
Good job making it in such short timespan. Can't wait for the volume panel transparency and quicksettings config. :good:

FWB / Settings / Build 6.0 reference

Hi.
Most roms today (Chroma, PureNexus, Benzo, Omni, CM etc.) uses a rom dedicated settings app and/or rely on vendor repos for many features and AOSP fixes.
For those who wants to build their own AOSP rom but don't want to use a dedicated vendor repo or a rom specific settings app I will now share a reference you can use. I've adapted most features from other devs to work on AOSP and w/o vendor or dedicated settings app.
https://github.com/PerLycke/frameworks_base
https://github.com/PerLycke/packages_apps_Settings
https://github.com/PerLycke/build (This will name the rom zip Spring, you can change this in core/Makefile to what you prefer)
https://github.com/PerLycke/external_sepolicy (thanks @BeansTown106)
https://github.com/PerLycke/device_moto_shamu
In those repos (branch aosp6.0) you will find the following features / fixes:
- Google app permissions (Play Services FC, Setup wizard FC).
- Removed all stock OTA, recovery and so on. Also fixed gms battery drain.
- Custom navbar.
- Fixed navbar layout.
- Arrow keys when typing.
- Quick pulldown (QS).
- Advanced reboot.
- Prepared for root, just flash SuperSU after flashing ROM/Gapps.
- Swift Themed interface.
- Stock bootanimation and one of the factory M wallpapers as default.
- Sane animation scale entries, and enabled by default.
- Control media volume by default. Safe headset volume and sane notification sounds.
You'd probably find more things you might like.
I credit all those authors of the commits. The main reason to post this is to enable rom builders to try features without the need to use the dedicated settings apps / vendor repos.
First time builder? First get a build environment going. Nice guide here: http://forum.xda-developers.com/chef-central/android/guide-how-to-configure-ubuntu-15-04-t3091938
For building check the sony guide, which is awesome:
http://developer.sonymobile.com/kno...aosp-marshmallow-for-unlocked-xperia-devices/
This might serve some too:
https://source.android.com/source/initializing.html
Have fun!
pemell

[APP][XPOSED][UNOFFICIAL][6.0+] XPrivacyLua Mod - Android privacy manager

XPrivacyLua Unofficial Build
This is an unofficial build of XprivacyLua with the scope to prevent privacy violations and tracking. Contrary to the official XprivacyLua release, this build provides the ability to block device specific IDs (Sensordata, IMEI, SIM-Serial number, SubscriberID, phonenumber, etc.) for limiting the possibility of tracking by too curious apps. As this, as well as the original version, is still in an early stage of development, not all personal or device specific data are covered at present. It will probably take some time until userdefined lua scripts get into the official version. In the meantime, this application will close the gap that resulted from the decision of the main developer not to prevent tracking based on the reading device IDs.
I would like to point out that I haven't written any code myself yet. Only the restrictions deactivated by M66B were reactivated in the source code (hooks.json).
I will try to keep this app synchronized to the latest official builds. In future I planning to extend the protection against tracking and more. However, it will take some time to add own code, because I have just started learning Java programming. Forgive me if my first coding attempts may not be as accurate and neatly written as M66B is.
ATTENTION: DO NOT DISCUSS THIS FORK IN THE OFFICIAL THREAD!
M66B said:
... Anyway you have my permission, but I reserve the right to revoke that permission if people are going to discuss here about your fork.
Click to expand...
Click to collapse
XDA thanks! I dont want any donations!
If you want to support the project, please send donations to the official contributor.
Standard Restrictions (official build)
Get applications
Get calendars
Get call log
Get contacts (including blocked numbers)
Get location
Get messages (MMS, SMS, SIM, voicemail)
Read account name (mostly e-mail address)
Read clipboard
Record audio
Record video
Use camera (take pictures)
Reenabled Restricions (unofficial build)
Sensor Data
Phone Data (IMEI, SubscriberID, SIM-Serial, ...)
XDAevDB Information
XPrivacyLua, Xposed for all devices (see above for details)
Contributors:
M66B (Developer of the official XPrivacyLua)
Participated:
EinsteinXXL
Installation:
Download, install and activate the Xposed framework (skip this step if already installed)
Download, install and activate the mod edit - link removed
Source Code: mod edit - link removed
App Download: mod edit - link removed
Xposed Package Name: eu.faircode.xlua
Version Information
Status: Beta
More information about XPrivacyLua, please visit the official thread!
Current Version: 0.20
Last Update: 2018-01-14
EinsteinXXL said:
...
Contributors:
M66B (Main Developer of the official build)
EinsteinXXL
Click to expand...
Click to collapse
I wouldn't call this a contribution, since it is just enabling something that was already developed:
https://github.com/EinsteinXXL/XPrivacyLua/commit/c7a46e28831b60323d26f2c086fe8ec343f3b7fd
thread closed as per OP request

[APP][P][XPOSED] GravityBox v9.2.1 for Android 9 [07/03/2021]

GravityBox - all-in-one tweak box - Xposed module for devices running Android Pie
Version 9.2.1 [Pie]
Version for JellyBean is available in this thread: https://forum.xda-developers.com/showthread.php?t=2316070
Version for KitKat is available in this thread: https://forum.xda-developers.com/showthread.php?t=2554049
Version for Lollipop is available in this thread: https://forum.xda-developers.com/showthread.php?t=3037566
Version for Marshmallow is available in this thread: https://forum.xda-developers.com/showthread.php?t=3251148
Version for Nougat is available in this thread: https://forum.xda-developers.com/showthread.php?t=3653953
Version for Oreo is available in this thread: https://forum.xda-developers.com/showthread.php?t=3739929
READ THIS POST CAREFULLY BEFORE PROCEEDING ANY FURTHER
Introduction
The app utilizes Riru and EdXposed Magisk module which uses original Xposed Framework API created by rovo89.
!!!!!! WARNING !!!!!!
This module utilizes EdXposed Framework which is still in early development stage and may contain bugs or might not be fully compatible with system of your Android device. I take no responsibility for any issues arising from using GravityBox with EdXposed and strongly recommend creating a full backup of your device before activating the module.
Requirements
- Magisk v17 or later
- Riru v16 or later
- EdXposed v0.3.0.0-beta2 or later
- EdXposed Installer v2.2.1 or later
Installation
This procedure assumes you have working Magisk installation.
1) Install Riru and EdXposed modules using Magisk Manager
2) Install EdXposed Installer app
3) Reboot and open EdXposed Installer app to check if EdXposed works and is active
4) Install GravityBox and enable it in EdXposed Installer
5) Reboot
Required whitelisted packages
In case you use blacklist/whitelist functionality of EdXposed make sure all the following packages are whitelisted (not blacklisted respectively) for full GravityBox experience.
- Android System (android)
- System UI (com.android.systemui)
- Call Management (com.android.server.telecom)
- Download Manager (com.android.providers.downloads)
- Phone (com.android.dialer or com.google.android.dialer)
- Phone (com.android.incallui) (OxygenOS only)
Feature highlight
--- Lockscreen tweaks
--- QuickSettings tile management with additional tiles
--- Statusbar tweaks
--- Navigation bar tweaks
--- Pie controls
--- Power tweaks
--- Display tweaks
--- Phone tweaks
--- Media tweaks
--- Hardware/navigation key actions
--- GravityBox Actions - interface for 3rd party apps
--- Notification control (per-app notification LED/sounds/vibrations)
--- Fingerprint launcher
--- Advanced tuning of Framework and System UI parameters
... and many more
Compatibility
GB's main concept is to make most of the preference changes to be done on the fly without need to reboot a device to achieve custom-ROM like experience.
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 to a situation when you installed ROM built from source for Nexus to some Xperia device - it won't work.
GB is a complex module and is not suitable for 1 purpose scenario. This means, if you are running custom ROM built from source, 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.
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 9 (AOSP)
- officially supports devices/systems it was developed and tested on
- Samsung Touchwiz, HTC Sense, MIUI, LeWa, Xperia, Lenovo, 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 MODULE WAS NOT EXPLICITLY DESIGNED FOR
- 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
GravityBox [P] has been designed for and tested on
- Nexus 5X running Pixel Experience Android Pie 9.0
- OnePlus 3T running OxygenOS
- OnePlus 7 Pro running OxygenOS
- Pixel 3a running Google OS
Reporting bugs
If possible, please use Github issue reporting interface for reporting bugs.
If you experience problems with certain feature, provide the full-detailed info that can help me
to reproduce the bug and attach error.log file you'll find in:
/data/user_de/0/com.solohsu.android.edxp.manager/log
If you use different manager or there is no log file present, use ADB to capture log: adb logcat -s EdXposed-Bridge
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.
Click here to read additional, more detailed info on Reporting bugs provided by @trjlive
Multilanguage support
Volunteers are welcome to translate GravityBox to other languages.
Simply download this file: https://github.com/GravityBox/GravityBox/raw/pie/GravityBox/src/main/res/values/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/pie
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/pie/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 more than 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!
Info about premium features and PayPal transaction ID verification system
1) Those who supported development via PayPal donation can use their PayPal transaction ID to unlock premium features.
As of v2.9.5, there are two premium features:
- Backup/restore of GB settings.
- Ultimate notification control
- Advanced tuning
2) If you contributed to the project by providing translations, code fragments, or by any other way
you can apply for a free transaction ID by contacting me via PM.
3) Be aware that there's a system that can identify potential transaction ID
abuse. E.g. when one ID is being used by more users. Such IDs will get blocked automatically.
This can also happen when you previously exposed your ID in public forum and other users took
advantage of it. If this is the case, contact me via PM so I can issue new, special ID.
In case you own more devices, you can use one transaction ID on up to 10 of them.
4) If you are using your own custom builds of GB for personal use, you will get hash mismatch
upon verifying your ID as verification system accepts requests only from official releases of GB.
If you want to be able to verify IDs with your custom build, contact me via PM so I can setup
a special hash for your build.
If you are using a custom build that you provide for broader group of users (e.g. in a custom ROM),
it is necessary to ask for new hash everytime your new custom version is released for public use.
These rules are based on mutual trust so please, do not violate them.
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
- @simmac for app icon
- @romracer for Motorola specific code contributions
- @firefds for Samsung specific code contributions
- CyanogenMod project
- ParanoidAndroid project
- Slim, 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, Fatih Firinci, ...)
- and finally, all those who keep the project alive by supporting me via donations (you know who you are)
Changelog
https://github.com/GravityBox/GravityBox/blob/pie/CHANGELOG.txt
Changelog 9.2.1 - 07/03/2021
- Added support for LSPosed module scope feature (auto-whitelist)
- BatteryPercent: fixed percent text injection not working on some systems
- BatteryPercent: follow status bar clock appearance
- Clock: reverted to old hooking strategy for better compatibility
- Dialer: adjusted for compatibility with the latest Google Dialer
--- fixes muting Dialpad tones during UNC Quiet Hours
Developed and tested on:
- Nexus 5X running Pixel Experience ROM
- OnePlus 3T running OxygenOS
- OnePlus 7 Pro running OxygenOS
- Pixel 3a running Google OS
Download
https://github.com/GravityBox/GravityBox/releases/tag/v9.2.1_p
Also available in official Xposed Repository as well as LSPosed repository.
Required whitelisted packages
In case you use blacklist/whitelist functionality of EdXposed make sure all the following packages are whitelisted (not blacklisted respectively) for full GravityBox experience.
- Android System (android)
- System UI (com.android.systemui)
- Call Management (com.android.server.telecom)
- Download Manager (com.android.providers.downloads)
- Phone (com.android.dialer or com.google.android.dialer)
- Phone (com.android.incallui) (OxygenOS only)
Commit history
Full commit history for transition from 9.2.0 to 9.2.1
Full commit history for migration from Oreo to Pie
Don't know if it's still a thing.. but first! Great job btw! Many, many people were waiting for this. Keep up the good work and thank you for all the work you've done and continue to do for the XDA family!
Finally ?️
Thank you for great works and your effort! ??️
Fair play to you lad...hats off to you!
Thank you for your amazing hard work down through the years here on Xda
...you bring pleasure to our phones...
??
-Center clock mode does not working and when I turn it on, send me to the lock screen.
-Volume step increaser seems just added more steps cause it automatically start again same as 0 to 15th and 16th to 30.
-Lock screen tweaks also not working for me.
-Battery stats works fine
-Status bar brightness control works fine
Great works! Thank you??️
SM-G955F with one ui
At last, finally, thanks dev for your hard work ?
Thanks ?
Sent from my Galaxy S8 using XDA Labs
Wew great work hats off to you :good:
Thank you kind sir!
Working great on latest as of today Canary magisk.
Pixel 3xl stock rooted.
Congratulations for your hard work!
When I updated from Nougat to Oreo I backed up and restored GB settings successfully. Have you tested if it's possible to do the same for Oreo - > Pie?
Sent from my OnePlus 5 using XDA Labs
Kudos to dev for this. Some of the problems i am facing:
Selecting battery bar to show at bottom edge shows just below the status bar.
https://drive.google.com/file/d/1fNzk1RuMuz675FdteahCUNjXNJaKhqLe/view?usp=drivesdk
Data traffic monitor hiding status bar icons when selecting right as location.
https://drive.google.com/file/d/14ZQ8Tacy6HwesCBmZnd9WbS1ui6fPI4b/view?usp=drivesdk
On overriding navigation keys action for back and recents i lose vibration feedback.
Power key long press for torch on screen off doesn't work.
When i toggle system network speed indicator icon the system battery icon is flashed for a little bit and then cancelled.
https://drive.google.com/file/d/1_mG80UM1P-YlYo0WLxnHwxItASj0F_iE/view?usp=drivesdk
Some questions:
The location tile provides battery saver, devuce inly, high accuracy. But google has removed these types in android pie. Does the option work as their names suggest or they have all the same function??
Some requests:
Additonal quick settings row.
Separation of ring and notification volume.
Oneplus 5 Stock OOS
Thanks again for your awesome work. It speaks for itself that so many people have been waiting for exactly this module to be ready for Pie, right @sjamie? So GB and XE are ready, are you?
Anyway, I have literally gone through almost each and every possible setting and I have to state, that GB has never worked so flawlessly before. Not even under Oreo with latest xposed.
I am running stock OOS (9.0.4), Magisk 18.1, latest EdXposed and latest riru and Pi Kernel.
At last, I'd be nice if you could add a PayPal link to the OP, so I can send another donation. Coz through the app the amount is limited to 3 euros and that is simply not enough!
Wow… great efforts
One note
Advance reboot menue does not work. Nothing happen when activated
Thanks a lot
Thank you OP. This projects encourages lot of users to stick with android.
No bugs thus far for what I'm using.
First of all, a big thank you for making this work on pie!
This is the one module that I had no hesitation getting the premium unlock. This is a must have, at least to me!
Okay so I gave it a try as soon as I saw the post of the first beta for pie, and as expected (for note 9) it was working partially. I'm not encluding any logs for now because I'm not expecting you to fix stuff for samsung at the moment or even afterwards (let me know in case you are thinking of supporting One UI someday down the road). So this is more about informing you how good it is on note 9 (korean version N960N), as a tester.
-when I have music visualization enabled and whenever I lock or unlock the screen, the sound effect of V4A stops and return as the visualization appears (poweramp playing music as I'm doing this). The same happens when toggling visualization for navbar; as I'm toggling it on and off the sound effect turns off very very briefly and comes back on. It's like a refresh thingy.
-advanced power menu is not working at all (even after reboots).
-circular battery is working but the percentage inside it looks weird sometimes and sometimes the stock battery icon appears alongside the circular one.
-data traffic indicator works without issues.
-status bar brightness control works only when adaptive brightness is turned off (I guess that's normal?).
-download progress seems to work only for google play downloads (I guess it's normal as well?).
-trusted Wi-Fi works like a charm.
-pie control works but I haven't tinkered will all the options. So far so good.
-one last thing, the color of icons/indicators from gb on status bar always look grey-ish? No matter the status bar color change. So sometimes they are hard to see.
That's all I have tested for now.
You are awesome!
Sent from my SM-N960N using XDA Labs
Thanks, being beta bugs are to be expected. I started with what I use most frequently - will add as I check
Fingerprint actions not working on any of the 5 selected slots (be it apps/shortcuts) - "No app/ action assigned" toast message pops up. Toggle enabled and rebooted. Also disabled from Installer, enabled and rebooted. Didn't help
Stock MiA1 (Android one)
Dropbox ? for EdXposed logs https://www.dropbox.com/s/8lg28md759crgw4/xposed_error_20190308_232340.log?dl=0. I can't see any logs in com. Solohosu....
If you need logs using laptop, it will take a few days
Edit : Same result with GB as only module
Installer log https://www.dropbox.com/s/07bqhhg15xxkv2u/xposed_error_20190309_005557.log?dl=0
Edit 2: Surprisingly, quick tap action works for both shortcuts and apps so it's not a fingerprint issue
Edit 3: Toggling config-fingerprint-support-gestures from false to true and reboot didn't help
Don't know if i'm doing something wrong but i can't get past the framework check at the beggining. Using EdXposed and Magisk 18.1
Moto G6Play
Thank You!! GB is even working fine with v0.2.9.8-beta1
The only thing I miss is
"Swap Volume Buttons in Landscape"
Great Effort, you are a Genius

Categories

Resources