GravityBox is one of the most popular modules available for use through the Xposed Framework for Android, and it's no surprise it's often called the All-in-One Xposed Module. In fact, hardly does a day pass without something being heard about GravityBox in the world of Android tweaking and customization, and this time the news is that GravityBox can now be installed on Google's latest Android smartphones. If you've been looking for a way to install GravityBox on Pixel 2 and Pixel 2 XL, this guide is for you.
GravityBox is a software application that allows you to perform many tweaks on your Android smartphone, most especially the user interface and layout. I'll expatiate more on its features shortly, but for now just know that as its name suggests, GravityBox is a container for a lot of features that you can implement on your Android smartphone. If you have Xposed Framework and Installer on your smartphone, you most likely have heard of the app or even have it installed on your device already.
The latest Google Android smartphones, the Google Pixel 2 and Pixel 2 XL come running on the latest version of the Android operating system, Android 8.1 Oreo out of the box, so it's pertinent that whatever software you install on it has been updated to support Android Oreo. The Xposed Framework was recently updated to support Oreo though it's still in beta, and shortly after, GravityBox was updated to support the latest version of Android. We've already outlined how to install GravityBox on any Oreo-running device, but this guide is specifically for the Google Pixel 2 and Pixel 2 XL users who wish to install GravityBox on their smartphones.
But first, what tweaks and customization options does this software bring to the table, and what exactly is GravityBox?
About GravityBox, the All-In-One Xposed Module
GravityBox is a module that can be installed on an Android smartphone or tablet (Android devices in general, but reasonably those with a Graphical User Interface), and relies on the Xposed Framework to carry out its functions effectively. It's actually an application that you can install regularly on your Android device like any other app, but to take advantage of its numerous customization tweaks and features, you need to have the Xposed Framework installed on your phone and GravityBox activated within the framework.
As to how the app does what it does, here's what the official documentation says:
The app utilizes amazing Xposed framework coded by recognized developer rovo89 which, briefly, provides interface for injecting code into any app, including systemservices, allowing modifications of applications and systemservices at run-time
Now GravityBox isn't something you install on a custom ROM or modified UI; it was actually made so that Android users who don't want to flash a custom ROM on their device can apply the various UI tweaks found in these custom ROMs directly on their Android smartphones with little or no tweaking. GravityBox is not bound to a particular device or custom ROM; it runs on most, if not all Android devices that run stock Android with a ROM close enough to the Android Open Source Project (AOSP).
Before we go into the devices and ROMs supported by GravityBox, let's take a look at its features:
- 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
Note that this list is not in any way a comprehensive one and does not include all the features of GravityBox; the ones listed above are just highlights and the full list of GravityBox features is much larger than this. Perhaps I'll make a separate post on that.
Device/ROM Compatibility with GravityBox
As said earlier, GravityBox is not bound to a specific device or ROM; it's explicitly made for stock Android ROMs, and over the years, it has been confirmed to run on most ROMS that are close to AOSP. Just make sure you're running a stock ROM and you'll be fine. Also, custom UI skins like Samsung's Touchwiz, HTC Sense, MIUI, Lewa, Xperia, Lenovo and others are not supported and it's risky to try to use the GravityBox module on devices running these.
Install GravityBox on Pixel 2 and Pixel 2 XL
Before installing, note that GravityBox for Android 8.0 and 8.1 Oreo is currently in beta and you might encounter a few bugs while using the software. If you'd rather avoid the bugs and can conveniently wait out the beta testing phase, skip this tutorial and wait for a stable GravityBox for Android 8 Oreo to be released, by which time we will make a guide on how to install it on your Oreo-powered smartphone.
- Launch the Xposed Installer application on your smartphone.
- Click "Settings".
- Click on the "Versions to be shown" option.
- Select "Beta (some bugs to be expected)".
- Return to the main menu.
- Click on "Download".
- Click the search icon at the top of the screen and search for gravity.
- Scroll through the search results until you see "GravityBox[O]". Tap on it.
- Swipe left to the "Versions" tab.
- Download the version of GravityBox for Android Oreo you wish to install. It's more advisable to download the latest version as more bugs present in the previous version will have been fixed in the latest one.
- When the application is done downloading, install it.
- Return to the Xposed Framework main menu.
- Click on "Modules".
- Check the box next to GravityBox to activate the module.
- Reboot your smartphone and enjoy GravityBox on your Google Pixel device.
That's how easy it is to install GravityBox on Pixel 2 and Pixel 2 XL.
Possible Issues with Installing GravityBox on Pixel 2/2 XL
Here are some possible bugs you might encounter during the process of installing GravityBox on your Pixel 2 and Pixel 2 XL, or after installing the software on your device.
- BOOTLOOP: After completing the last step in the process of installing GravityBox on the Pixel 2/XL outlined above, i.e. rebooting the smartphone, the device might take so long to boot that it seems it's stuck in a bootloop.
Fix: If this happens to you, simply hold down the power button to force shutdown the phone, and then reboot it. The device will now boot normally.
- FORCE CLOSE: You might also notice some apps, particularly system apps force closing when you reboot after installing GravityBox on your device.
Fix: There's no particular fix for these; just ignore them, they'll go away after a while. You're getting these issue because, as mentioned earlier, GravityBox for Android Oreo is still in its beta testing stage and bugs are to be expected.