Skip to content

fcmfcm1999/EdgeX

Repository files navigation

EdgeX

A tribute to Xposed Edge. EdgeX is an LSPosed/Xposed edge gesture module for Android 15+ that hooks system input from system_server, bringing edge gestures, hardware keys, and common Android actions into one configurable module.

EdgeX Logo

Platform Android Language Kotlin License GPLv3

中文

Preview

EdgeX preview 1                              EdgeX preview 2

Overview

EdgeX is not a regular floating-window utility. The app process is the configuration surface; the module logic runs inside the system_server process injected by LSPosed/Xposed:

  • android (system_server): edge touch handling, hardware key interception, action dispatch, freezer drawer, clipboard history overlay, universal copy overlay, and other system-side surfaces.
  • com.fan.edgex: settings UI and cross-process configuration storage.

It is built for rooted LSPosed users who want Xposed Edge-style shortcuts on modern Android: Back, Home, Recents, screenshots, app launch, app shortcuts, shell commands, freezer drawer, clipboard history, universal copy, and more.

Non-root Version

Need edge gestures without Root or LSPosed? Try EdgeY, the non-root version of this project, on Google Play:

EdgeY on Google Play

Features

  • Edge gestures: segmented left, right, top, and bottom edge zones, plus full-edge low-priority zones.
  • Gesture events: single tap, double tap, long press, and direction-aware swipes.
  • Hardware keys: configure click, double-click, and long-press actions for Volume Up, Volume Down, and Power.
  • System actions: Back, Home, Recents, notifications, lock screen, screenshot, volume, brightness, and more.
  • Apps and shortcuts: launch selected apps or app shortcuts, with a Root fallback for restricted shortcut discovery.
  • Pie and custom panels: open radial Pie menus or custom panels from gestures and keys.
  • Action workflows: save multiple-action combinations and run conditional actions for more flexible automation.
  • App switching: switch directly to the previous or next recent app.
  • Freezer drawer: manage frozen apps from a side drawer, unfreeze and launch apps, then refreeze them.
  • Clipboard history: show the last 50 clipboard entries in a bottom-sheet overlay; tap any entry to inject it into the focused field, or delete individual entries.
  • Universal copy: collect accessible text from the current screen and copy selected text blocks from an overlay.
  • Shell commands: bind custom commands to gestures or keys, with optional su execution.
  • Media controls: play/pause, stop, previous track, and next track.
  • Debug and theming: gesture-zone debug overlay, SystemUI restart shortcut, haptic feedback, and configurable accent colors.

Requirements

  • Android 15 or later.
  • LSPosed / Xposed environment with Xposed API 82+.
  • Current build config: minSdk 35, targetSdk 36, compileSdk 36.
  • Required LSPosed scope:
    • android / System Framework (system_server)

Root Notes

  • Freezing and unfreezing apps usually require Root. EdgeX uses framework access where possible and falls back to su-backed flows where needed.
  • App shortcuts are loaded through Android APIs first. If access is restricted, EdgeX may use dumpsys shortcut, which usually requires Root.
  • Shell commands need Root only when the command itself requires it or when the action is configured to run through su.
  • ROM changes, SELinux policy, and LSPosed runtime behavior can affect individual actions.

Installation

  1. Install the EdgeX APK.
  2. Enable EdgeX in LSPosed.
  3. Select the android (System Framework) scope.
  4. Reboot the device. A full reboot is recommended after first activation or after changing scopes.
  5. Open EdgeX, enable gestures or keys, and assign actions.

Usage Tips

  • Turn on debug mode first to verify where edge zones are detected.
  • If gestures do not trigger, check the LSPosed scopes, module enablement, and whether the device was rebooted after enabling the module.
  • If freezer or shortcut fallback actions fail, check su authorization and your root manager logs.
  • Use the in-app SystemUI restart entry if system-side overlays or actions need a quick refresh.

Tested Environment

Device Android Xposed Environment Root Solution
Pixel 9 16 LSPosed 1.9.2-it(7455) KernelSU
Android Virtual Device 16 Vector 2.0(3021) Magisk

This is the currently verified development setup, not a strict compatibility limit. Other devices and ROMs may require additional adaptation.

Reporting Issues

Useful issue details:

  • Device model, Android version, and ROM.
  • LSPosed / Xposed version.
  • Enabled scopes.
  • Trigger path, for example Mid-Right Edge, Swipe Left.
  • Xposed logs and reproduction steps.

Support

If you find EdgeX useful, you can support development via Ko-fi.

Credits

EdgeX is inspired by the interaction model of Xposed Edge and reimplements the core ideas for Android 15+ and current LSPosed environments.

License

This project is licensed under the GNU General Public License v3.0.

About

Android 15+ LSPosed/Xposed edge gesture module for system-wide shortcuts, hardware key remapping, app launch, shell commands, clipboard history, and freezer drawer. Inspired by Xposed Edge.

Topics

Resources

License

Stars

158 stars

Watchers

4 watching

Forks

Sponsor this project

  •  

Contributors

Languages