• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[APP][O][XPOSED] GravityBox v8.6.0 - tweak box for Android 8 [14/02/2021]

Search This thread

B4oE

Senior Member
Aug 12, 2016
98
54
I'm currently running Open Beta 21/Android 8.0 on my OnePlus 3T. The only bug I've found is on the Lockscreen Tweaks. The Hide Bottom Actions does not work. I've even rebooted after enabling the option but nothing happens. Please fix when you can.
 

Johnny_B

Senior Member
Oct 21, 2007
234
120
37
Assen
www.vincentkoevoets.nl
Don't know if you're ready for some troubleshooting yet, but I'll give you my (rather small) issues:
- Lockscreen battery text is aligned left of all icons, while unlocked the text is in the right corner where it belongs
- Tap on clock action in QS pull down not responding
- Lockscreen bottom shortcuts cannot be hidden

All this on a Oneplus 5 with latest stock OOS.
Hope this helps!
 
  • Like
Reactions: Brooklnd

infamousvincci

Senior Member
Apr 10, 2013
1,433
327
Carson
OnePlus 9
OnePlus 9 Pro
I just tried this on my Google Pixel on Android 8.1 and I know you were asking this in the OP but all of the navigation bar tweaks I tried work perfectly! Every single tweak I tried works. If you would like me to test anything out for you on my Pixel, let me know.

Thank you so, so much for this. You have no idea how extruciating it was waiting for Xposed to get ported to Oreo and then GravityBox. It is my most-used mod and hoenstly the only thing keeping me using Android. You have no idea how much better of a phone experience I have with GravityBox.

You are amazing. Thank you again.


Hey, im using pixel 2 8.1. can you send a link to the xposed zip and how you installed it chronologically with magisk and custom kernel? Thank you in advance!
 

Brooklnd

Member
Nov 19, 2012
17
2
Mumbai
Many thanks for the module. It's a fabulous job, considering how tough it was, porting to Oreo. Off the bat, the battery icon placement, and signal clusters spacing, in general, is looking a bit weird. The icon padding / spacing could be better, and more consistent. Attaching images from Nougat (Left) and Oreo (Right) for reference. There's a lot of empty space to the right of the cluster.
 

Attachments

  • Screenshot_20180104-131900.jpg
    Screenshot_20180104-131900.jpg
    144.8 KB · Views: 1,080
  • Screenshot_20180125-015724.jpg
    Screenshot_20180125-015724.jpg
    172 KB · Views: 1,087
Last edited:

Scarface1991

Senior Member
Jul 30, 2011
2,602
1,642
So according to some comments here it already runs pretty good on OxygenOS. Definitely gonna upgrade my OP3 to Oreo this weekend and test this great piece of software out.
 

Rashad83

Senior Member
May 13, 2011
1,157
741
ASUS ROG Phone II
ASUS ROG Phone 5
On Oreo I can't get the default battery with percentage text, it only shows default icon also if I use any options of battery icons it doesn't apply on the quick settings shade(you know when swiping down the status bar). I hope this is resolved with the next update. Thx for your hard work much appreciated.
 
Last edited:

kimikim0

Senior Member
Oct 11, 2011
831
218
Everything good so far, just minor bug battery percentage not properly place and i can disable GB percentage and use Oneplus default percentage, anyway thank you dev, loved it !

Sent from my ONEPLUS A5000 using Tapatalk
 

SourPower

Senior Member
Nov 21, 2014
539
111
East
Using this for about 6 hours now and everything seems to be perfect.
Running on OP3T 5.0.1 OOS

Thank you very much for updating this to work with the latest Android versions!!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 182
    GravityBox - all-in-one tweak box - Xposed module for devices running AOSP Oreo
    Version 8.6.0 [Oreo]

    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

    READ THIS POST CAREFULLY BEFORE PROCEEDING ANY FURTHER

    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 8 (ROM close enough to AOSP).
    This project wouldn't be possible without rovo's Xposed framework, so huge kudos to him.

    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 8 (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 [O] has been designed for and tested on
    - Nexus 5X running stock 8.0
    - Nexus 5X running stock 8.1
    - OnePlus 3T running official OOS 5.0.1

    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/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 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/oreo/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/oreo-as-edxposed
    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/oreo/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
    - @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/oreo-as-edxposed/CHANGELOG.txt
    127
    Changelog 8.6.0 - 14/02/2021
    - Added compatibility with EdXposed v0.5+ and LSPosed
    - Added support for LSPosed module scope feature (auto-whitelist)
    - Maintains backwards compatibility with EdXposed v0.4 and OG Xposed Framework
    --- moving from old OG Xposed Framework to EdXposed/LSPosed is now strongly recommended, though!
    - Does not require Xposed Resource Hooking support to be enabled anymore!
    - Resource replacement:
    --- redesigned for better compatibility and performance
    --- implemented support for aliased resources pointing to Framework resources
    --- Added support for resource overlays:
    ------ improves Advanced Tuning compatibility with systems using Theme overlays
    ------ fixes "Remove corner padding" option on Nokia (and other) devices
    ------ fixes hiding navigation bar by disabling "Enable navigation bar" option in Navbar tweaks
    - StatusbarClock: respect time zone changes when showing seconds
    - StatusbarClock: keep master switch for Clock tweaks off by default (thanks to aviraxp)
    - Media: improved compatibility of More music volume steps feature
    - Keys: improved reliability of Torch on power long-press
    - ImagePicker: use dedicated library for cropping images instead of unreliable camera CROP intent
    - About: added references to EdXposed and Riru
    - Fixed XSharedPreferences Unexpected EOF errors showing in Xposed log
    - Fixed layout/scaling of all GravityBox view elements affected by DPI change when screen resolution changes

    IMPORTANT: Module settings are reset when framework is upgraded from EdXposed v0.4/OG Xposed to EdXposed v0.5.1+/LSPosed
    due to changes in preferences storage location for modules in EdXposed v0.5/LSPosed
    It is recommended to create a backup of GravityBox settings before upgrading the framework.

    Developed and tested on:
    - Nexus 5X running stock 8.0
    - Nexus 5X running stock 8.1
    - OnePlus 3T running stock OOS 5.0.1 and Beta

    Download

    EdXposed / LSPosed
    Modules is compatible with EdXposed as well as LSPosed

    Required whitelisted packages
    - 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)
    64
    Important info about GravityBox and Oreo

    Preferences and SeLinux
    Although there is a limitation in current beta of Xposed Framework which prevents modules from reloading preferences within Android process,
    GravityBox has been redesigned to overcome that limitation. This means enforced SeLinux is fully supported and thus it is not necessary to run Permissive.

    Navigation bar tweaks on Pixel devices running proprietary Google SystemUI plugin
    As I currently don't own any Pixel device I didn't have a chance to test nor adjust related features for such scenario.
    I cannot tell how their plugin affects the way module works but let's wait for some feedback.
    It is also possible that Navigation bar tweaks is not the only place where incompatibilities may show up.

    Expanded Desktop in Oreo 8.1
    Expanded Desktop is currently not fully supported in Oreo 8.1 (seems to be working fine in 8.0, though).
    Despite there are almost no differences in related Android system parts between 8.0 and 8.1, I didn't manage to fix it, and I am currently not sure what's causing a differnt behavior.
    There are only 2 modes available in 8.1 - Hide navigation bar and Semi-immersive (which is also temperamental)

    Data activity indicator for Cellular icon
    Due to changes in stock signal cluster layout type it is no longer possible to put activity indicators on top of a signal icon.
    Therefore this feature has been redesigned to place narrov view containinig indicators right beside the signal icon.
    WiFi is OK - there were no changes in layout type.

    Notification drawer style in Oreo 8.1
    Custom wallpaper/color for notification drawer is currently not supported in 8.1.

    QuickSettings management
    QS management has been massively redesigned for compatibility with stock SystemUI tuner back in Nougat and the same approach is taken for Oreo.
    GB doesn't provide tile reordering functionality anymore. It only provides interface for enabling/disabling GB specific tiles and setting their protected mode (and other settings).
    There are 2 checkboxes for each tile in the list - the first checkbox is for enabling/disabling tile, the second one is for protected mode.
    There are also several stock tiles in the list with only the second checkbox - for setting protected mode (prevents using tile when device locked).
    SystemUI tuner shows only those GB tiles that are enabled in GB QS management.
    Use stock tile management to drag and drop GB tiles to desired slots.

    Settings from Nougat
    It should be possible to restore backup of the settings made in N version of GravityBox.

    Full history of changes for transition from N to O
    https://github.com/GravityBox/GravityBox/compare/v7.0.6_n...v8.0.0-beta-1_o
    48
    Version 8.0.0 available

    As there were no critical errors reported I finally decided to label this release as stable.

    Changelog 8.0.0 - 11/02/2018
    - Statusbar: added option for hiding Data Saver icon (thanks to Rijul-A)
    - Lockscreen:
    --- fixed shortcuts initialization on file-based encrypted devices (thanks to Phil Freeman AKA GT500x)
    --- fixed custom bottom shortcuts showing on ambient screen
    - QuickSettings:
    --- fixed QuickApp tile initialization on file-based encrypted devices (thanks to Phil Freeman AKA GT500x)
    - fixed GB not receiving Unlocker response early after boot resulting in frozen screen
    - Updated Russian translations (thanks to gaich)
    - Updated Chinese (Simplified) translations (thanks to liveasx)
    - Updated Turkish translations (thanks to Fatih Firinci)

    Complete commit history of transition from 8.0.0-beta-2 to 8.0.0
    47
    Version 8.0.0-beta-2 available

    This is a rather quick beta release as I will be away skiing for couple of days and didn't want to make you wait for too long.
    I won't be able to fully follow the discussions until next week. Thanks for understanding.

    Changelog 8.0.0-beta-2 - 31/01/2018
    - General:
    --- fixed battery percentage disappearing in status bar header
    --- slightly decreased size of CircleBattery to match other status bar elements
    --- don't show expanded desktop status line in 8.1 power menu
    --- QS: simplified and improved dimming of protected tiles
    --- fixed collision of notification icons with center clock
    --- bold font for percent text (except for OOS)
    --- Navbar: improved key icon scaling on 8.1
    - OxygenOS specific (OOS 5.0.1/OP3T):
    --- fixed Lockscreen tweaks
    --- fixed positioning of custom battery icon
    --- fixed option for hiding vibrate icon
    --- fixed muting dash charge sound during Quiet Hours
    --- QS: added OOS theming support to tile detail dialogs
    --- QS: enabled detail dialog for WiFi tile
    --- fixed statusbar header clock actions
    - Samsung specific (thanks to firefds):
    --- fixed Samsung device identification
    --- fixed LTR enforce
    --- fixed Advanced power menu
    --- fixed Lockscreen bottom shortcuts
    --- fixed volume dialog tweaks

    Developed and tested on:
    - Nexus 5X running stock 8.0
    - Nexus 5X running stock 8.1
    - OnePlus 3T running stock OOS 5.0.1

    Complete commit history of transition from 8.0.0-beta-1 to 8.0.0-beta-2