• 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][KK][XPOSED] GravityBox v3.6.2 - tweak box for Android 4.4 [23/04/2017]

Search This thread

jacknicholson

Senior Member
Jun 23, 2013
555
442
  • Like
Reactions: Dan1234567890

Adam3Sixty

Senior Member
Apr 23, 2011
1,885
762
Exeter
linktr.ee
OnePlus 7T
@C3C076
I have a little question/request that may or may not take ur fancy.

On the power menu, I was wondering if there would be a way, instead of pressing "REBOOT" and then selecting "reboot" "recovery" or which ever other options there are, there would be a way to add a "RECOVERY" option to the main power menu, like the image below from the Xperia device:
4083d1362417422-xperia-x500-rom-power-menu.jpeg


Personally, I only ever use normal reboot, or recovery, none of the other options, and I think this may be a nice feature to add to GravityBox.
Again, if it does not take ur fancy, please feel free to say so, and I shall say no more about it :)

Just updated my ROM to the newest nightly, and once again, only thing not working is Quick Settings, so I am still a happy bunny!!
 

MordyT

Senior Member
Dec 15, 2008
446
93
Milwaukee WI
mordyt.com
Anyone else noticing this?

First picture is how it should look.

Next 2 are how it does look.

Typed on the Nexus
 

Attachments

  • uploadfromtaptalk1392143115207.jpg
    uploadfromtaptalk1392143115207.jpg
    22.8 KB · Views: 336
  • uploadfromtaptalk1392143122578.jpg
    uploadfromtaptalk1392143122578.jpg
    67 KB · Views: 327
  • uploadfromtaptalk1392143137084.jpg
    uploadfromtaptalk1392143137084.jpg
    25.7 KB · Views: 326

StephenMilone

Senior Member
Nov 10, 2009
357
280
New York
i didnt see it posted, did a quick search, sorry if it's already on your radar...but if long press features on the nav bar ring can be added that would amazing. i know aokp's nav bar ring does this. keep up the great work!
 

endiz

Senior Member
Dec 13, 2005
273
11
Toronto
Expanded desktop immersive is broken for me as well. Seems like it can't hide the staus bar. Moto x 4.4.2 stock.

Sent from my XT1058 using Tapatalk
 
Last edited:

Faruko

Senior Member
Dec 24, 2013
418
104
Santiago
I Wonder if you guys could add a way to customize the height of the pie control triggers, it gets in the way of the keyboard

Enviado desde mi XT1032 mediante Tapatalk
 

Moscha

Senior Member
Dec 2, 2008
83
30
41
Hamburg
Samsung Galaxy S8
Xiaomi Mi A2
Odd. It's working fine for me with a PIN code on the JB version; figured it'd be the same with Pattern and/or KK. Sorry about that.

Correct, I'm using Stock 4.4.2 on my Nexus 5 and 7 2012. And there is Double Tap 2 sleep at the status bar not working with enabled pattern security at the lockscreen.

Double Tap 2 Sleep anywhere on the unused space at the Lockscreen would be the cherry on the cake ;)

Gesendet von meinem Androiden mit Tapatalk
 
Last edited:

MJPollard

Senior Member
Sep 14, 2011
1,229
942
Wixom, Michigan
Very nice module, thank you! I installed it on my CM11 setup because I wanted to regain two features on the status bar that have not yet made it over from CM10: the AM/PM indicator and the battery percentage alongside the battery icon. Both work great, and now that the latest CM11 builds allow theming the battery color, my setup is almost back to the way it was under CM10. :) One request I would like to make, if possible: allowing the battery percentage to be displayed to the left of the battery icon when the icon type is set to "stock battery indicator." Right now, it's displayed on the right, and while that's fine, I'd really like to be able to make it look exactly as it did before, with it displayed on the left. Otherwise, no complaints here!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1067
    GravityBox - all-in-one tweak box - Xposed module for devices running AOSP 4.4
    Version 3.6.2 [KitKat]

    Version for JellyBean is available in this thread: http://forum.xda-developers.com/showthread.php?t=2316070

    READ THIS POST CAREFULLY BEFORE PROCEEDING ANY FURTHER

    Hey!
    After countless hours of coding and searching for proper entry points to inject code to incorporate fixes and mods, here it is:
    GravityBox - a complex Xposed module targeted for devices running Android 4.4, which turns vanilla ROM into
    feature-packed "non-flashing" custom ROM.

    Originally, this module was designed for MTK6589 devices which lack custom ROMs built from source due to MediaTek closed-source policy.
    Later on, it was adjusted to support other (non-MTK) devices running vanilla or close-to-vanilla AOSP ROMs.

    Introduction
    The app utilizes amazing Xposed framework coded by recognized
    developer rovo89 which, briefly, provides interface for injecting code into any app, including system services allowing modifications of applications and system services at run-time. One of the biggest advantages of GravityBox is that it is not bound to any specific device. Actually, it should run on any device having vanilla Android 4.4 (ROM close enough to AOSP).
    This project wouldn't be possible without rovo's Xposed framework, so huge kudos to him.

    Feature highlight
    --- CyanogenMod Pie controls
    --- Expanded Desktop
    --- Statusbar QuickSettings tile management with tile reordering
    --- Lockscreen targets
    --- Statusbar icon coloring
    --- Statusbar Brightness Control
    --- Additional QuickSettings tiles:
    ------- Sync on/off, WiFi AP on/off, GravityBox shortcut, Torch, Network mode (2G/3G/2G+3G switch), Sleep, QuickRecord,
    QuickApp, GPS on/off, Ringer mode, Volume tile, Camera tile, ...
    --- Quick pulldown - switches to QuickSettings when status bar is pulled down near edges
    --- Auto-switch to QuickSettings when there are no notifications
    --- Center clock in statusbar
    --- Battery indicator style
    --- Navigation bar tweaks including cursor control keys
    --- Navigation bar ring targets
    --- Low battery warning policy
    --- Disable LED flashing when battery low
    --- Disable LED while charging
    --- Advanced power-off menu (reboot, recovery)
    --- Volume key cursor control
    --- Skip tracks by volume key long-press while screen off (thanks to rovo89)
    --- More volume levels for music stream
    --- Option to control safe headset media volume
    --- Button for clearing all recent tasks at once
    --- CRT screen off animation
    --- Minimal brightness setting
    --- Autobrihtness levels adjustment
    --- Lockscreen tweaks - show widgets maximized, lockscreen background style (color fill, custom image)
    --- Lockscreen rotation
    --- Hardware key actions - menu long-press/double-tap, back long-press, home long-press
    --- Dithered Holo background
    --- Option to use solid black Holo background
    --- Expandable volume panel
    --- Option to unlink ringtone and notifications volumes
    --- Notification drawer style (background color, image for portait/landscape, transparency)
    --- Button backlight modes (default, disabled, always on while screen is on)
    --- Dialer (Phone) tweaks
    --- Launcher tweaks
    --- Screen recording
    --- 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 4.4 (AOSP)
    - supports "Google devices" like Nexus, HTC One Google play edition, and others running vanilla Android 4.4
    - supports Motorola Moto G Dual SIM running stock KitKat
    - supports ThL 5000 running stock KitKat and potentially other MediaTek devices running pure MediaTek ROMs
    - 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, 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

    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.

    Prerequisites
    To use this module, the following conditions must be met
    - You have a device running Android 4.4 that's based on AOSP (vanilla or close-to-vanilla Android)
    - ROM must be rooted (XposedInstaller requires root to be able to install framework into system)
    - You have working custom recovery allowing you to make a backup before installing Xposed framework

    GravityBox KitKat version has been developed and tested on Nexus 5

    Installation
    1) Backup your current ROM in custom recovery. I am serious. Don't skip this step.

    2) Get the Xposed installer from Download section from Xposed official thread (the latest version is typically available at this link: http://dl.xposed.info/latest.apk)

    3) Install and run Xposed installer and follow the instructions to activate Xposed framework

    4) Reboot. If device doesn't boot that means that the Xposed framework is not compatible with ROM you are currently
    running. You don't need to continue with the next steps. You will have to restore your ROM from backup.

    5) Download, GravityBox APK from the second post, rename it to GravityBox.apk and install it.
    Alternatively, you can download the latest GravityBox directly from Xposed Installer (search for GravityBox [KK] module).

    6) Make sure GravityBox app is installed into internal memory. If it was installed into phone storage or external storage,
    move it into the internal memory first (applies only to devices having additional or external storage)

    7) Run Xposed installer, go to Modules menu and activate GravityBox by checking the checkbox

    8) Reboot

    9) Launch GravityBox from app drawer or from Xposed installer and set options as desired

    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/kitkat/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/kitkat
    If you're a dev and have some ideas for additional features, feel free to fork it, work on it
    and send the pull requests.

    Copyright notice
    https://github.com/GravityBox/GravityBox/blob/kitkat/NOTICE

    Support development
    Coding, maintaining and supporting this project costs me a lot of my precious time. If you find this project useful, you are welcome to support its development via donation. This form of support is meant to compensate for my time dedicated to the community + eventually, help me to afford newer device to keep up with AOSP evolution thus providing continuous support as Android evolves. Thanks!

    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
    - 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/kitkat/CHANGELOG.txt

    XDA:DevDB Information
    GravityBox [KK] Xposed Framework Module, Xposed for the Android General

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

    Xposed Package Name: com.ceco.kitkat.gravitybox

    Version Information
    Status: Stable
    Current Stable Version: 3.6.2
    Stable Release Date: 2017-04-23

    Created 2013-12-03
    Last Updated 2017-04-23
    98
    Many of you are already aware of the fact that making GB for lollipop will require a lot of time. To avoid further speculations, my plans are as follows:
    1) to bring very first version as fast as possible although missing some of the complex features that require major rework (such as quick settings, lock screen tweaks, etc.) . The first version should bring all the features that are not that hard or time consuming to adjust for lollipop.
    2) to work step by step on complex features that require complete rework.
    More versions will be released during the process; every time remarkable progress is made
    74
    Changelogs

    Changelog 3.6.2 - 23/04/2017
    - Download Progress Bar: implemented extensions from SBDP module
    --- added support for multiple concurrent progress bar notifications
    --- keeps track of all available progress bar notifications and switches between them
    --- added support for clearable notifications containing progress bar
    --- added logic for auto-hiding progress of idle notifications
    --- added option for sound notification
    --- added option for playing sound only when screen is off
    - QuietHours: implemented Wear mode
    --- available only when Android Wear app is installed
    --- mutes notification sounds and device-wide vibrations while preserving vibrations on a paired watch
    --- can be toggled from QuietHours tile or via dedicated GravityBox Action
    - Made screenshot faster by introducing dynamic context-aware delay
    - Adjusted for compatibility with the latest GravityBox Unlocker v1.4.3
    --- improved reliability of license validation
    --- !!! won't work with older versions of the Unlocker !!!
    - Updated Chinese (Simplified) translations (thanks to liveasx)
    - Updated Hungarian translations (thanks to benjoe1)

    Full Changelog: https://github.com/GravityBox/GravityBox/blob/kitkat/CHANGELOG.txt

    Alternative downloads: directly via Xposed Installer or at: http://repo.xposed.info/module/com.ceco.kitkat.gravitybox
    73
    Version 2.9.4 now available

    Changelog 2.9.4 - 25/01/2014
    - Expanded desktop revised:
    --- Immersive mode now fully working without the need of reentering app
    --- Immersive navbars now re-hides itself correctly in apps where it previously didn't
    --- Added new mode: Immersive status bar - keeps navbar in normal mode and statusbar in immersive mode
    - Smart Radio reworked from scratch - based on connectivity manager events
    --- Option to force power saving mode when screen turns off
    --- Option to ignore switching to normal mode after screen turns on until device is unlocked
    --- Option to set delay of network mode change to filter out temporary connection state changes
    - Lockscreen tweaks:
    --- Added option for custom carrier text (default/custom/empty: when space entered as value)
    --- Fixed crop size when cropping image for custom lockscreen background
    --- Last screen:
    ------- preserves original orientation regardless of lockscreen orientation (won't rotate with lockscreen)
    ------- fixed orientation for devices having flipped screen (thanks to superdragonpt for hints)
    --- Added option for specifying blur effect intensity
    - QuickSettings tiles:
    --- Sync tile: added long-press action to open sync settings
    --- Network mode tile: added long-press action to open mobile network settings
    - Pie Controls: Implemented support for handling long-press on pie keys
    - Phone tweaks
    --- Added answer/dismiss call actions to non-intrusive incoming call notification
    --- Unblocked SIP calls over mobile network
    - Power tweaks: Added option for battery charged sound
    - Key actions and GB Actions:
    --- Added action for taking screenshot
    --- Added action for showing volume panel
    - Display tweaks:
    --- Added option for controlling pulse notification light delay (frequency)
    --- Added option for enabling/disabling translucent decors (thanks to scaryuncledevin)
    - Misc tweaks:
    --- Added setting to change tap vs long-press modes of clearing recent tasks (thanks to scaryuncledevin)
    --- Extended option for controlling overflow menu button
    - Notification drawer style: Added option for custom carrier text
    - Added option to disable power menu on lockscreen
    - Added delay to screenshot action
    - Hide 'Torch auto off' option if device has no flash (thanks to bgcngm)
    - Fixed data traffic monitor not showing values on some devices (thanks to PeterCxy)
    - Updated Portuguese (PT) translation (thanks to bgcngm)
    - Updated Spanish translations (thanks to jvbferrer)
    - Updated Polish translations (thanks to xtrem007)
    - Updated Chinese (Simplified) translations (thanks to liveasx)
    - Updated Italian translations (thanks to pesa1234, valerioscifoni)
    - Updated Japanese translations (thanks to WedyDQ10)
    - Updated Russian translations (thanks to gaich)
    - Updated French translation (thanks to ch-vox)
    - Updated Chinese (Traditional) translations (thanks to Eric850130)
    - Updated Slovak and Czech translations
    68
    Just had a 12 hour coding marathon. Things go slow. Too many surprises awaiting in L. This is going to take some time. Please, don't ask for progress. I'll write when I have some news. For those who try to report bugs please make sure you do that the proper way. I won't be tracking this thread fully as I'd like to dedicate all time to development. Thanks for understanding.