FORUMS
Remove All Ads from XDA

[APP][Q][XPOSED] GravityBox v10.0.0-beta-5 for Android 10 [27/10/2019]

7,653 posts
Thanks Meter: 24,097
 
By C3C076, Recognized Contributor on 28th September 2019, 03:35 PM
Post Reply Email Thread
GravityBox - all-in-one tweak box - Xposed module for devices running Android 10
Version 10.0.0-beta-5 [Q]

Version for JellyBean is available in this thread: https://forum.xda-developers.com/sho....php?t=2316070
Version for KitKat is available in this thread: https://forum.xda-developers.com/sho....php?t=2554049
Version for Lollipop is available in this thread: https://forum.xda-developers.com/sho....php?t=3037566
Version for Marshmallow is available in this thread: https://forum.xda-developers.com/sho....php?t=3251148
Version for Nougat is available in this thread: https://forum.xda-developers.com/sho....php?t=3653953
Version for Oreo is available in this thread: https://forum.xda-developers.com/sho....php?t=3739929
Version for Pie is available in this thread: http://forum.xda-developers.com/show....php?t=3908768

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 v19 or later
- Riru v19.5 or later (Magisk module)
- Official EdXposed release (Magisk module)
OR EdXposed v0.4.5.5 with Bootloop fix for Q (Magisk module) (YAHFA seems more stable)
OR EdXposed v0.4.6.0 canary with Bootloop fix (Magisk module) compiled by @HpNoTiQ
(CHOOSE WHATEVER WORKS BEST ON YOUR SETUP - EXPERIENCE SHOWS THAT DIFFERENT OPTIONS WORK DIFFERENTLY ON DIFFERENT DEVICES/SYSTEMS)
- EdXposed Manager (Application)
- Avoid using Resource hooking support if possible (Can be disabled in EdXposed Manager settings)

Installation
This procedure assumes you have working Magisk installation.
1) Install Riru and EdXposed modules using Magisk Manager
2) Install EdXposed Manager app
3) Reboot and open EdXposed Manager app to check if EdXposed works and is active
4) Install GravityBox and enable it in EdXposed Manager
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)
Note that using Blacklist/Whitelist mode in EdXposed Manager may have side effects such as Zygote not
being able to access module preferences due to SELinux restrictions which results in relevant features not being enabled even if
they are enabled in module settings. This is EdXposed limitation/glitch


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 10 (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 [Q] has been designed for and tested on
- OnePlus 7 Pro running OxygenOS 10
- Nexus 5X running Pixel Experience 10

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/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/q
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/q/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

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
- RikkaW for creating and maintainng Riru Magisk module
- solohsu & MlgmXyysd for creating and maintaining EdExposed Magisk module
- @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
- ArthurHub for Image cropping library
- 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/Gravit.../CHANGELOG.txt

XDA:DevDB Information
GravityBox [Q] Xposed Framework Module, Xposed for all devices (see above for details)

Contributors
C3C076
Source Code: https://github.com/GravityBox/GravityBox/tree/q

Xposed Package Name: com.ceco.q.gravitybox

Version Information
Status: Beta
Current Beta Version: 10.0.0-beta-5
Beta Release Date: 2019-10-27

Created 2019-09-28
Last Updated 2019-10-27
The Following 44 Users Say Thank You to C3C076 For This Useful Post: [ View ] Gift C3C076 Ad-Free
28th September 2019, 03:35 PM |#2  
C3C076's Avatar
OP Recognized Contributor
Flag Bratislava
Thanks Meter: 24,097
 
Donate to Me
More
Changelog 10.0.0-beta-5 - 27/10/2019
- QuickSettings: added option to show Memory usage bar in QS panel
- TrafficMeter: added "Right edge" position as an alternative to existing Right position
- Settings: removed forced Go Home action from FingerPrint launcher quick-tap on OxygenOS
- Trusted WiFi: warn about Location permission requirement
- Massive update to Italian translations (thanks to Fs00)
- Updated Turkish translations (thanks to Fatih Firinci)
- Updated Russian translations (thanks to gaich)

Developed and tested on:
- OnePlus 7 Pro running OxygenOS
- Nexus 5X running Pixel Experience

Current issues
- Power: Proximity wake up not working on OP7Pro (and maybe other devices) due to proximity sensor not reporting proper value until device is fully awaken
- Key actions: Home double-tap not working
- Key actions: Haptic-feedback on OxygenOS may feel a little delayed on keys that have actions defined; as it is performed on key release to avoid double vibrations
- Lockscreen: Changed custom carrier text won't appear immediately
- ... + potentially others mainly device/system variation specific

Design changes
- Navigation bar dimension changes require reboot

Download
https://github.com/GravityBox/Gravit...0.0.0-beta-5_q
Module will be available in Xposed Repository as soon as it is considered stable enough.

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)
Note that using Blacklist/Whitelist mode in EdXposed Manager may have side effects such as Zygote not
being able to access module preferences due to SELinux restrictions which results in relevant features not being enabled even if
they are enabled in module settings. This is EdXposed limitation/glitch


Commit history
Commit history for transition from 10.0.0-beta-4 to 10.0.0-beta-5
The Following 32 Users Say Thank You to C3C076 For This Useful Post: [ View ] Gift C3C076 Ad-Free
28th September 2019, 03:40 PM |#3  
edison0354's Avatar
Member
Flag Shanghai
Thanks Meter: 6
 
More
Just saw play store unlock key got updated, then see your post. Thanks for your great work!
28th September 2019, 04:37 PM |#4  
Senior Member
Thanks Meter: 161
 
More
Thanks..cant wait to try this once my phone gets android 10 support.
28th September 2019, 08:56 PM |#5  
hallo dare's Avatar
Senior Member
Thanks Meter: 154
 
More
Quote:
Originally Posted by edison0354

Just saw play store unlock key got updated, then see your post. Thanks for your great work!

Pardon my ignorance, but what's play store unlock key? Thanks
28th September 2019, 10:10 PM |#6  
DarkSJ1998's Avatar
Senior Member
Flag Kalka, Haryana
Thanks Meter: 398
 
More
Quote:
Originally Posted by hallo dare

Pardon my ignorance, but what's play store unlock key? Thanks

He's talking about "GravityBox Unlocker".

Sent from my #FlagshipKiller6T using Tapatalk
The Following User Says Thank You to DarkSJ1998 For This Useful Post: [ View ] Gift DarkSJ1998 Ad-Free
28th September 2019, 10:33 PM |#7  
Working pretty well right off the bat. Thanks! Gotta have my status bar brightness tweak!
OP7pro

Some tweaks are superfluous on OOS 10, but of course this mod isn't exclusive to OOS.
Haven't yet tested if enabling both stock and GB tweaks simultaneously causes hiccups

Humble request eventually. I've been trying out OOS gestures; it would be cool to add tweaks to those such as slide and hold back gesture for custom actions.

Great work!
29th September 2019, 09:03 PM |#8  
Senior Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by C3C076

Changelog 10.0.0-beta-1 - 28/09/2019
- Initial beta version for Android 10

Developed and tested on:
- OnePlus 7 Pro running OxygenOS

Current issues
- Power: Proximity wake up not working on OP7Pro (and maybe other devices) due to proximity sensor not reporting proper value until device is fully awaken
- Key actions: Home double-tap not working
- Key actions: Haptic-feedback on OxygenOS may feel a little delayed on keys that have actions defined; as it is performed on key release to avoid double vibrations
- Key actions: action to kill foreground app not working
- Lockscreen: Changed custom carrier text won't appear immediately
- Media: Expanded volume panel is not linked to stock expand button functionality of OxygenOS
- ... + potentially others mainly device/system variation specific

Design changes
- Navigation bar dimension changes require reboot

EdXposed related recommendations
- For OxygenOS, make sure to use version with a Bootloop fix from here: https://github.com/ElderDrivers/EdXposed/pull/354 (YAHFA version seems to be more stable)
- Keep Resource hooking support disabled in EdXposed Installer settings if possible, as EdXposed doesn't seem to be stable enough in that part

Download
https://github.com/GravityBox/Gravit...0.0.0-beta-1_q
Module will be available in Xposed Repository as soon as it is considered stable enough.

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 migration from Pie to Q


i just installed this and made a few mods on my status bar etc. do you happen to know if this cause battery drain?
The Following User Says Thank You to buzzaldrine For This Useful Post: [ View ] Gift buzzaldrine Ad-Free
30th September 2019, 06:21 AM |#9  
Senior Member
Thanks Meter: 647
 
More
If I set both navbar heights to 0 and reboot everything seems fine, until I go into landscape then back to portrait, the navbar comes back in portrait (it still remains hidden in landscape)
LOS 17
Moto G3
Edxposed 4.5.5 sandhook
Gravity Box V10 beta-1

While ik custom rom support isn't guaranteed, LOS17 codebase at the moment is very close to AOSP and they've yet to add any navbar customization

Also the reason for me to set navbar heights to 0 instead of disabling the navbar outright is that the back gesture of Q relies on the navbar being enabled while the bottom swipe gestures don't need a navbar to work
30th September 2019, 07:35 AM |#10  
Skittles9823's Avatar
Senior Member
Flag Sydney
Thanks Meter: 1,448
 
Donate to Me
More
Any possibility of a 4G/LTE toggle on Q. As well as a toggle for LTE+ as some carriers disable said icons in certain regions.

Sent from my Google Pixel 3a XL using XDA Labs

---------- Post added at 06:35 AM ---------- Previous post was at 06:06 AM ----------

Quote:
Originally Posted by DanGLES3

If I set both navbar heights to 0 and reboot everything seems fine, until I go into landscape then back to portrait, the navbar comes back in portrait (it still remains hidden in landscape)

Also, can confirm this happens on stock for me to.

Sent from my Google Pixel 3a XL using XDA Labs
The Following User Says Thank You to Skittles9823 For This Useful Post: [ View ] Gift Skittles9823 Ad-Free
30th September 2019, 10:09 AM |#11  
C3C076's Avatar
OP Recognized Contributor
Flag Bratislava
Thanks Meter: 24,097
 
Donate to Me
More
Quote:
Originally Posted by buzzaldrine

i just installed this and made a few mods on my status bar etc. do you happen to know if this cause battery drain?

GravityBox is designed with care regarding battery consumption, so no, there shouldn't be any unexpected battery drain nor long-term wake locks.

Quote:
Originally Posted by DanGLES3

If I set both navbar heights to 0 and reboot everything seems fine, until I go into landscape then back to portrait, the navbar comes back in portrait (it still remains hidden in landscape)
LOS 17
Moto G3
Edxposed 4.5.5 sandhook
Gravity Box V10 beta-1

While ik custom rom support isn't guaranteed, LOS17 codebase at the moment is very close to AOSP and they've yet to add any navbar customization

Also the reason for me to set navbar heights to 0 instead of disabling the navbar outright is that the back gesture of Q relies on the navbar being enabled while the bottom swipe gestures don't need a navbar to work

Quote:
Originally Posted by Skittles9823

Any possibility of a 4G/LTE toggle on Q. As well as a toggle for LTE+ as some carriers disable said icons in certain regions.
Also, can confirm this happens on stock for me to.
Sent from my Google Pixel 3a XL using XDA Labs

There was config_show4GForLTE in GravityBox / Advanced Tuning / SystemUI available in Pie but it's no longer there on Q so it seems like it was removed in Q.

Regarding navbar 0 dimensions. Hard to tell as I can't reproduce on OP7Pro.
This feature overrides framework config values so it is quite mystery to me that different values could be read from config after orientation change.
Resource config value replacement happens no matter what orientation, and always when config values are referenced.

Also, when your device has vertical navbar in ladnscape, you must set "Navigation bar width" to 0 instead of landscape height.

Edit: also try what kind of results you get when activating Expanded desktop using "Hide navigation bar" mode.
(Expanded desktop mode can be set in Display tweaks. Expanded desktop mode can be activated either from the power menu or using QS tile
Current Expanded desktop state is persisted across reboots).
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes