KeyFlux is an LSPosed/Xposed module for customizing Google Keyboard (Gboard).
It focuses on exposing selected hidden or experimental Gboard options, improving clipboard behavior, and integrating additional settings into Gboard's native settings interface when supported by the installed Gboard version.
-
Hidden Gboard Flags
- Exposes selected internal Gboard flags through configurable settings.
- Availability may depend on the installed Gboard version.
-
Experimental Features
- Optional toggles for selected experimental Gboard capabilities.
- Some features may depend on Google server-side configuration, Gboard version, device ROM, or Android version.
-
Clipboard Enhancements
- Adds configurable clipboard history retention options.
- Supports longer retention behavior where compatible.
- Designed not to log clipboard contents or copied sensitive text.
-
Gboard Settings Integration
- Injects KeyFlux options into supported Gboard settings screens.
- Attempts to match Gboard's native layout style where possible.
-
Compatibility Fallbacks
- Uses a safer initialization path with fallback hook handling.
- Prevents duplicate initialization within the same process.
Compatibility may vary depending on Android version, ROM, Gboard version, and hook framework.
-
Target app: Google Gboard
-
Hook frameworks:
- Vector recommended
- LSPosed-compatible frameworks may work, but behavior can vary
-
Architecture:
arm64-v8ax86_64
- Some hidden or experimental Gboard flags may not exist in every Gboard version.
- Some features may be controlled remotely by Google and may not activate even if the local flag is enabled.
- Samsung One UI and heavily modified ROMs may require additional fallback handling.
- Install an LSPosed-compatible hook framework on a rooted device.
- Download the latest KeyFlux APK from the Releases page.
- Install the APK.
- Enable the KeyFlux module in your hook framework manager.
- Select Gboard as the module scope.
- Force stop Gboard.
- Open Gboard settings and configure KeyFlux options.
To build the project locally:
./gradlew assembleDebugFor release builds:
./gradlew assembleReleaseKeyFlux is designed not to log clipboard contents or copied sensitive text.
If you find logs that expose sensitive data, please open an issue with the log context after removing private information.
If KeyFlux does not load correctly:
-
Make sure Gboard is selected in the module scope.
-
Force stop Gboard after enabling the module.
-
Reboot the device if needed.
-
Check LSPosed/Vector logs.
-
Open an issue and include:
- Android version
- ROM / device model
- Gboard version
- KeyFlux version
- Relevant LSPosed/Vector logs
This project is licensed under the MIT License.