ShizuStore

XGesture

qpst4

1.80.0 · GitHub

Download APK
Customization Android 12+ 2 days ago AGPL-3.0
1.4k ShizuStore
21.6k GitHub
385 Stars
55 MB Size

More about this app

All-in-one gesture and one-hand navigation suite with edge panels, floating cursor, offline OCR ball, app freezer and freeform windows via Shizuku.

XGesture

๐Ÿ“ฑ XGesture โ€” The Ultimate Android Gesture & One-Handed Productivity Suite

All-in-One Open-Source Alternative to Samsung One Hand Operation+ (OHO+), Quick Cursor & FooView
Edge Panels ยท Reachability Floating Cursor ยท Floating Ball OCR & Reverse Image Search ยท Shake & Back-Tap Gestures ยท Notification & OTP Manager ยท App Freezer ยท Freeform Window ยท Shizuku & LSPosed

English | ็ฎ€ไฝ“ไธญๆ–‡ | ๆ—ฅๆœฌ่ชž

Release License Platform Kotlin AGP Gradle Compose BOM minSdk targetSdk


XGesture Full Showcase

XGesture is a universal system-level gesture and single-handed productivity suite designed for all Android 12+ devices across all OEMs. Built on Accessibility Services with flexible multi-privilege modes (Shizuku, Root / KernelSU / Magisk, and optional LSPosed integration), it brings desktop-grade control and effortless reachability to modern large-screen phones.

Easily trigger 50+ system actions via customizable multi-angle screen-edge swipes, reachability floating pointers, multi-functional floating ball, device shaking, desk-flipping, or back-tap gestures. Deeply integrates 100% offline on-device OCR, word segmentation, and reverse image search aggregationโ€”delivering high-efficiency overlay launchers, app freezing, OTP verification code extraction, notification management, and OEM freeform windows on top of any app, completely free from ads and cloud trackers.

  • Package Name: com.slideindex.app
  • Current Version: 1.80.0 (versionCode 90)
  • Requirements: Android 12+ (API 31+)
  • License: AGPL-3.0 License

๐Ÿ“ฅ Download & Installation

Download Full APK Download Lite APK Get on Obtainium



Get it on Orion Store
Variant Scenario Description
Full Package (xgesture-*-full.apk) Recommended for new users Out-of-the-box experience with built-in offline OCR and offline translation native engines
Lite Package (xgesture-*-lite.apk) Compact size / on-demand updates Retains core gestures and fundamental features with smaller package size; download extension engines on demand

Tip

Both packages share the same applicationId (com.slideindex.app), allowing direct overwriting installation without losing configurations.

Note

  • Orion Store: Install and update seamlessly via Orion Store, an open-source Material 3 Android app store.
  • Auto-Update via Obtainium: If you have Obtainium installed on your phone, click the Get on Obtainium button above to subscribe and receive automatic update notifications directly from GitHub Releases.

๐ŸŒŸ Core Features

The app features four main navigation tabs: ๐Ÿ  Home ยท ๐Ÿ“ณ Motion ยท ๐Ÿ”” Notification ยท ๐Ÿงฉ Extensions.

๐Ÿ  Home โ€” Edge Gestures, Floating Ball & Customization

1. Edge Gestures

  • Triggers & Aesthetics: Highly responsive left/right/top/bottom edge triggers, supporting bubble, capsule, wave animations, and haptic feedback.
  • Custom Layout & Landscape Triggers: Freely adjust trigger position, height, thickness, angle, and segments; supports dedicated landscape trigger handles for gaming and media viewing.
  • Smart Anti-Mistouch: Auto-hide in landscape/lock screen/home screen, with per-app exclusion lists and foreground switching blacklists.
  • Corner Radial Menu: Swipe from bottom-left or bottom-right corners to summon a radial menu with real-time Gaussian blur and action grouping.
  • OEM Freeform Integration: Deeply adapts to native Android Freeform, Xiaomi MIUI/HyperOS Small Window, and Meizu Flyme Small Window.

2. 50+ Configurable Gesture Actions

Category Actions Supported
System Navigation Back, Home, Recents, Previous App, Lock Screen, Power Menu, Split Screen
Screenshot & Visual Fullscreen Screenshot, Region Screenshot, Screenshot OCR, Region OCR, Screen Recorder, Flashlight
OCR & Image Search Floating Ball OCR, Reverse Image Search, Live Screen Translation, Universal Screen Copy, Pin Screenshot, QR Code Scanner
Panels & Launchers Quick Launcher, App Index, Ring Launcher (FV Style), Honeycomb Launcher, Holographic Launcher, Task Switcher (OHO Style), App Freezer, Expand Panel (Volume/Brightness), Widget Overlay
Media & Controls Previous/Next Track, Play/Pause, Volume Adjust, Brightness Adjust, Switch IME
Tools & History Floating Pointer, Clipboard History Panel, Quick Tools Panel (OHO Style), Pause Overlay, Pause Gestures
Advanced & Extensions Run Shell Commands (Shizuku / Root), Launch Activity / Shortcut, Direct App Launch, Alarm Reminder in N min, Re-freeze Apps

3. ๐Ÿ”ฎ Floating Ball (OCR, Image Search & Gestures)

Operates independently from the Floating Pointer, combining joystick navigation with screen OCR pointers.

  • Accessibility & Offline Multi-Engine OCR: Extracts text via accessibility nodes first, seamlessly falling back to local offline OCR (ML Kit / Tesseract / PaddleOCR ONNX).
  • Text Selection Panel: One-click search, translate, segmentation, select all, remove spaces, and copy; supports region clipping and shared image OCR history.
  • Search Aggregation: Customizable search engines, grid sorting, search history, prefix aliases, and deep links; supports importing from GestureEVO / SearchEVO.
  • Reverse Image Search: Summon multi-engine reverse search (Google, Yandex, TinEye, SauceNAO, IQDB, 3D-IQDB, ASCII2D, trace.moe, AnimeTrace, Copyseeker) with built-in WebView preview.
  • Pin to Screen: Pin screenshots or text cards as top-level floating windows with pinch-to-zoom and drag support.
  • Appearance & Tuning: Custom themes, images, GIFs, and slideshows; adjustable pointer sensitivity and OCR tolerance.

4. Theme & Appearance

  • Miuix Design System: Comprehensive adoption of Miuix UI (HyperOS style) with collapsible TopAppBar, virtualized grouped cards, overscroll damping, and haptic feedback.
  • Material You Dynamic Coloring: Automatically extracts wallpaper colors via MaterialKolor on Android 12+, generating 9 palette styles injected into MiuixTheme.
  • Blur & Performance: Bottom navigation and floating overlays support Gaussian blur and progressive blur; can be disabled to completely eliminate scroll sampling overhead.

๐Ÿ“ณ Motion & Device Gestures โ€” Shake, Flip & Back-Tap

  • 6-Direction Shake Recognition: Distinguishes left/right flip, forward/backward flip, and quick side shakes; supports per-app custom actions and sensitivities.
  • Desk-Flip Mute: Place face-down on a flat surface while screen is on to trigger lock screen and silent mode.
  • Back-Tap Gestures (BackTap): Accelerometer-based back-cover double-tap recognition supporting 50+ actions, screen on/off/always trigger policies, sensitivity tuning, and charging guard.
  • Scenario Rules: Screen on/locked activation policies, app blacklists/whitelists, independent sensitivity thresholds, and vibration feedback.

๐Ÿ”” Notification โ€” Reminders, History & OTP

  • Multi-Style Reminders: Intercepts notifications with Dynamic Island cards, heads-up popups, side bubbles, or screen danmaku; supports "Open Latest Message on Unlock" (with whitelist and confirm policies).
  • Notification History & Filtering: Categorizes active, history, and hidden notifications with multi-dimensional regex and keyword archiving.
  • OTP Verification Center: Automatically detects verification codes in SMS and app notifications with regex extraction, clipboard auto-copy, and auto-fill; optional LSPosed module for system-level SMS injection.

๐Ÿงฉ Extensions โ€” Utility Tools & Backup

Module Navigation Entry Core Capabilities
App Index Extensions โ†’ App Index Alphabetical Pinyin rail app drawer with adjustable columns and transparency
Quick Launcher Extensions โ†’ Quick Launcher Grid launcher supporting multi-panel switching, pagination, folder grouping, and shortcut library
Ring Launcher Gesture Action "Ring Launcher" FV-style concentric ring layout with customizable tiers, spacing, shapes, and slots
Honeycomb Launcher Extensions โ†’ Honeycomb Launcher Hexagonal honeycomb grid layout with swipe-out direct launching
Holographic Launcher Extensions โ†’ Holographic Launcher Fullscreen 3D holographic sphere launcher; drag to rotate and click to open
Task Switcher Gesture Action "Task Switcher" OHO-style vertical running tasks panel with swipe-to-switch, kill, clear all, and freeform launch
Quick Tools Panel Gesture Action "Quick Tools Panel" OHO-style quick settings panel aggregating system toggles, actions, and shortcuts
App Freezer Extensions โ†’ App Freezer Batch freeze and unfreeze background apps via Shizuku / Root with quick re-freeze gesture
Search Panel Extensions โ†’ Search Panel Unified search for apps, contacts, files, system settings, web queries, and reverse image search
Activity Shortcuts Extensions โ†’ Activity Shortcuts Hidden system settings, non-exported activity launcher, App Shortcuts, and URI deep links
External Invocation Extensions โ†’ External Invocation xgesture:// deeplinks and intent actions for Tasker, MacroDroid, and other automations
Shell Commands Extensions โ†’ Shell Commands Command panels, template variable substitution, and custom icons via Shizuku / Root
Widget Panel Extensions โ†’ Widget Panel Floating desktop widget host with adjustable blur background and multi-selection
Floating Pointer Extensions โ†’ Floating Pointer Virtual joystick-controlled ring pointer with hover selection, radial actions, and gesture macro replay
Clipboard History Gesture Action "Clipboard Panel" Rich clipboard history with search, edge floating window, and Shizuku background listener
Settings Backup Extensions โ†’ Settings Backup Export and import all configurations and assets as encrypted ZIP files

๐Ÿ“ธ Key Interfaces & Interaction Preview

Corner Radial Menu Ring Launcher (FV Style) Quick Launcher (Grid)
Corner Radial Menu Ring Launcher Quick Launcher
Floating Pointer (Joystick) Shell Command Panel (Shizuku) Clipboard History / Stash
Floating Pointer Shell Command Panel Clipboard History
App Index (Pinyin Rail) Widget Floating Panel Pin Screenshot Window
App Index Widget Floating Panel Pin Screenshot

๐Ÿ”— External Invocation

Open XGesture panels from other apps, Tasker, MacroDroid, or adb. In-app reference: Extensions โ†’ Shortcuts & actions โ†’ External Invocation (tap to copy).

Prerequisites: Search panel, stash, and clipboard require the sidebar and accessibility service. Notification hub requires notification listener access.

Deeplinks (recommended)

Format: xgesture://open/<path>?q=<optional query>

Feature URI Notes
Notification hub xgesture://open/notification-history Open notification hub
Notification hub (prefill) xgesture://open/notification-history?q=keyword Open with search prefill
Stash xgesture://open/stash Open stash panel
Stash (prefill) xgesture://open/stash?q=keyword Open with search prefill
Clipboard xgesture://open/clipboard Open clipboard panel
Clipboard (prefill) xgesture://open/clipboard?q=keyword Open with search prefill
Search panel xgesture://open/search-panel Open search panel
Search panel (prefill) xgesture://open/search-panel?q=keyword Open with query prefill

Examples:

# Open search panel
adb shell am start -a android.intent.action.VIEW -d "xgesture://open/search-panel"

# Open search panel with prefill
adb shell am start -a android.intent.action.VIEW -d "xgesture://open/search-panel?q=weather"

Intent actions (advanced)

Use when there is no matching URI, or when you need an explicit component. Package name: com.slideindex.app.

Feature Action Component Optional extra
Notification hub com.slideindex.app.action.OPEN_NOTIFICATION_HISTORY .MainActivity โ€” (use deeplink for search prefill)
Stash com.slideindex.app.action.OPEN_STASH_PANEL .service.StashClipboardTrampolineActivity q
Clipboard com.slideindex.app.action.OPEN_CLIPBOARD_PANEL .service.StashClipboardTrampolineActivity q
Search panel com.slideindex.app.action.OPEN_SEARCH_PANEL .service.SearchPanelTrampolineActivity q
Toggle gestures com.slideindex.app.action.TOGGLE_GESTURE .service.ToggleGestureTrampolineActivity โ€”
Shell panel com.slideindex.app.action.OPEN_SHELL_PANEL .service.ShellCommandPanelTrampolineActivity โ€” (not exported; app shortcuts only)

Examples:

# Open search panel with prefill
adb shell am start -a com.slideindex.app.action.OPEN_SEARCH_PANEL \
  -n com.slideindex.app/.service.SearchPanelTrampolineActivity \
  --es q "weather"

# Toggle edge gesture master switch
adb shell am start -a com.slideindex.app.action.TOGGLE_GESTURE \
  -n com.slideindex.app/.service.ToggleGestureTrampolineActivity

๐Ÿ’ก Design Philosophy & Comparisons

Standing on the Shoulders of Giants

Android has seen legendary tools that shaped mobile navigation and productivity:

  • Samsung One Hand Operation+ (OHO+) perfected multi-angle edge triggers and smooth system gestures.
  • Quick Cursor introduced thumb-friendly screen reachability via intuitive floating cursors.
  • FooView (FV) pioneered floating-ball universal OCR, search aggregation, and floating window shortcuts.

Why XGesture?

While we deeply admire these pioneering tools, modern Android users frequently face fragmentation:

  • Vendor Lock-in: OHO+ is one of the most beloved gesture tools ever created, but it remains exclusive to Samsung One UI. Non-Samsung users on Pixel, Xiaomi, Motorola, Sony, etc., have long sought a genuine alternative.
  • Open Source & Privacy-First: Proprietary utilities often carry cloud-dependent OCR and closed ecosystems. XGesture is 100% AGPL-3.0 open-source, bundling offline on-device OCR (PaddleOCR ONNX / ML Kit) that respects user privacy.
  • Unified Navigation: Rather than running multiple separate tools for edge gestures, single-handed pointers, and floating OCR, XGesture brings them together into a unified, coherent experience with fluid Miuix animations.
Dimension XGesture (This App) Samsung OHO+ Quick Cursor FooView
Open Source & License โœ… AGPL-3.0 (100% FOSS) โŒ Proprietary (Closed) โŒ Proprietary (Closed) โŒ Proprietary (Closed)
Device Compatibility โœ… Universal (Any Android 12+) โš ๏ธ Samsung Galaxy only โœ… Universal โœ… Universal
Pricing & Monetization โœ… 100% Free & No Ads forever โœ… Free (with One UI) โš ๏ธ Free basic + PRO in-app purchases โœ… Free (Ad/sponsor supported)
Edge Navigation Gestures โœ… Full OHO+ style (Multi-angle & Hold) โœ… Native OHO+ gestures โš ๏ธ Edge swipe for cursor only โš ๏ธ Floating / Edge gestures
Single-Hand Reachability โœ… Built-in reachability joystick pointer โš ๏ธ Virtual Touchpad (floating box mode) โœ… Native reachability cursor โš ๏ธ Floating ball crosshair
Screen OCR & Reverse Search โœ… Local offline models (ONNX / ML Kit) โŒ No such feature โŒ No such feature โš ๏ธ Cloud & web-assisted OCR
Deep System Privileges โœ… Shizuku + Root + LSPosed + A11y โœ… Samsung system-signature privileges โš ๏ธ Accessibility Service โš ๏ธ Root + Accessibility Service
Visual Aesthetics & Haptics โœ… Miuix & Real-time Gaussian Blur โœ… One UI native design โš ๏ธ Standard Material โš ๏ธ Classic utility UI

๐Ÿ› ๏ธ Tech Stack

Layer Core Technologies / Components
Languages Kotlin 2.4.0
UI Framework Miuix UI (KMP 0.9.4 / HyperOS style) + Jetpack Compose (BOM 2026.07.01)
Color & Visuals MaterialKolor 5.0.0 (Dynamic Wallpaper Colors) + Haze 1.7.2 (Gaussian Blur)
Architecture & DI MVVM + UDF (Unidirectional Data Flow) + Dagger Hilt 2.60.1
Async & State Kotlin Coroutines 1.11.0 + StateFlow / SharedFlow + DataStore Preferences 1.2.1
OCR & AI ML Kit Text Recognition 16.0.1 + Tesseract4Android 4.9.0 + PaddleOCR (ONNX Runtime 1.28.0 + OpenCV 4.12.0)
NLP & Tokenization ML Kit Translate / Language ID
Privileged Access Shizuku API 13.1.5 + LibSuperuser 1.1.1 + HiddenApiBypass 6.1 + LibXposed API 102.0.0
Network & Parsing OkHttp 5.4.0 + ZXing Core 3.5.4 + kotlinx.serialization 1.11.0 + Markdown Renderer M3

๐Ÿ“ Architecture

The app adopts a Multi-Module layered architecture following MVVM + UDF patterns:

                              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                              โ”‚          :app (Root)        โ”‚
                              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                             โ”‚
                      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                      โ–ผ                      โ–ผ                      โ–ผ
           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
           โ”‚   :feature:settings  โ”‚โ”‚     :feature:otp     โ”‚โ”‚   :feature:shake     โ”‚
           โ”‚   :feature:apps      โ”‚โ”‚ :feature:notificationโ”‚โ”‚   :feature:message   โ”‚
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                      โ”‚                       โ”‚                       โ”‚
                      โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                             โ–ผ
           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
           โ”‚ :core:gesture       :core:ocr          :core:translate  :core:autofillโ”‚
           โ”‚ :core:overlay-layout:core:native-engine:core:monitoring :core:common โ”‚
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                             โ–ผ
                                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                                  โ”‚   :vendor:ppocr-sdk   โ”‚
                                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  1. Service Coordination & Overlay Rendering: SlideIndexAccessibilityService intercepts global gestures and dispatches system events, while overlays are managed by OverlayLayout and independent WindowManagers.
  2. Dynamic Engine Loading: OCR and translation engines support both Full and Lite packaging modes; native .so libraries and models can be extracted at runtime.
  3. Privileged Pipelines: Shizuku IPC (rootless privilege), Root fallback executor (LibSu), and LSPosed module collaborate to provide seamless background clipboard monitoring and process lifecycle control.

๐Ÿ“‚ Project Structure

.
โ”œโ”€โ”€ app/                                 # Host Application: DI assembly and main UI
โ”‚   โ””โ”€โ”€ src/main/
โ”‚       โ””โ”€โ”€ java/com/slideindex/app/
โ”‚           โ”œโ”€โ”€ activity/                # Top-level Activities & transparent interaction layers
โ”‚           โ”œโ”€โ”€ backtap/                 # Back-tap gestures
โ”‚           โ”œโ”€โ”€ clipboard/               # Clipboard history & Shizuku background monitor
โ”‚           โ”œโ”€โ”€ gesture/                 # Core gesture service & overlay trigger bars
โ”‚           โ”œโ”€โ”€ overlay/                 # System overlay window managers
โ”‚           โ”œโ”€โ”€ search/                  # Text & reverse image search aggregator
โ”‚           โ”œโ”€โ”€ shell/                   # Shell command executor
โ”‚           โ”œโ”€โ”€ ui/                      # Compose UI, Miuix themes, and dynamic colors
โ”‚           โ””โ”€โ”€ xposed/                  # LSPosed module entry & hooks
โ”œโ”€โ”€ core/                                # Core modules & engines
โ”‚   โ”œโ”€โ”€ autofill/                        # OTP autofill framework
โ”‚   โ”œโ”€โ”€ common/                          # Extensions, shared models, and utilities
โ”‚   โ”œโ”€โ”€ gesture/                         # Gesture recognition algorithms & event bus
โ”‚   โ”œโ”€โ”€ monitoring/                      # Performance tracing & memory monitoring
โ”‚   โ”œโ”€โ”€ native-engine/                   # Offline native engine distribution & asset extraction
โ”‚   โ”œโ”€โ”€ notification/                    # Notification interception & processing
โ”‚   โ”œโ”€โ”€ ocr/                             # Multi-engine OCR dispatcher (ML Kit / Tesseract / ONNX)
โ”‚   โ”œโ”€โ”€ overlay-layout/                  # Overlay layout rendering core
โ”‚   โ””โ”€โ”€ translate/                       # Multi-language translation & language detection
โ”œโ”€โ”€ feature/                             # Business feature modules
โ”‚   โ”œโ”€โ”€ apps/                            # App scanner, icon caching, and launchers
โ”‚   โ”œโ”€โ”€ message/                         # Heads-up notification & danmaku rendering
โ”‚   โ”œโ”€โ”€ notification/                    # Notification history & archiving
โ”‚   โ”œโ”€โ”€ otp/                             # Verification code extraction & statistics
โ”‚   โ”œโ”€โ”€ settings/                        # Settings, preferences backup, and DataStore
โ”‚   โ””โ”€โ”€ shake/                           # Sensor shake & desk-flip algorithms
โ”œโ”€โ”€ vendor/
โ”‚   โ””โ”€โ”€ ppocr-sdk/                       # PaddleOCR SDK binding & ONNX Runtime
โ”œโ”€โ”€ gradle/libs.versions.toml             # Dependency catalog
โ””โ”€โ”€ RELEASE_NOTES.md                     # Release changelog

๐Ÿš€ Building & Compilation

Requirements

  • JDK 25
  • Android Studio (Ladybug or newer recommended)
  • Android SDK (API 37 compileSdk)

Build Commands

# Clone the repository
git clone https://github.com/qpst4/XGesture.git
cd XGesture

# Build Full Debug APK (with built-in offline engines)
./gradlew assembleFullDebug

# Build Lite Release APK (compact version)
./gradlew assembleLiteRelease

๐ŸŒ Help Translate

Translation status

Contribute in-app UI translations on Weblate โ€” no Git required. See CONTRIBUTING.md.


๐Ÿ’ฌ Community & Feedback

Welcome to join the community discussions and provide feedback or feature requests:

GitHub Discussions GitHub Issues
Telegram Chat QQ Group

Telegram: chat group (XGesture ยท Xๆ‰‹ๅŠฟ) ยท QQ Group: 1042783385


๐Ÿ’– Sponsor & Support

If you find XGesture helpful in your daily workflow, consider buying the developer a cup of coffee โ˜•! Your generous support is the greatest motivation for ongoing development and OEM adaptations.

WeChat Reward Code

๐Ÿ“œ License

This project is licensed under the GNU Affero General Public License v3.0 (AGPLv3).


๐Ÿค Acknowledgements

Special thanks to the following open-source projects for their architecture, inspiration, and code references (see THIRD_PARTY_NOTICES.md for details):

  • SideGesture โ€” Edge gesture and overlay architecture reference
  • EdgeGesture โ€” Expand panel, alarm reminder, screen translation, universal copy, and back-tap gesture reference
  • EdgeX & FanFreeform โ€” Honeycomb launcher and App Freezer architecture reference
  • Hail โ€” Freezer privileged paths (PM API and shell fallback, suspend reflection cascade)
  • ClipboardListener & ClipShare โ€” Android 10+ background clipboard listening architecture
  • Root Activity Launcher โ€” Non-exported activity launching scheme
  • Circle To Search โ€” Multi-engine reverse image search strategy
  • Nova Text โ€” Floating ball OCR and word selection interaction
  • XposedSmsCode โ€” OTP SMS Hook and verification code extraction rules
  • Miuix โ€” Elegant Material & Miuix style Compose UI component library
  • Quick Search โ€” Aggregated search: file/contact/calculator indexes and web suggestions
  • QuickDash โ€” Behaviour-spec reference for the Quick Menu tools

๐Ÿ“ Changelog

For complete release history, see RELEASE_NOTES.md and CHANGELOG.md.

Close

How Shizuku is used

Can freeze and pause apps, manage tasks and floating windows, launch activities and shortcuts, toggle hotspot, detect gestures, read logs and run shell commands via `Shizuku`.

This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.

How this app uses Shizuku

Shizuku is used to run app management, task and window control, launching, hotspot, gesture detection, clipboard history, diagnostics and shell features with elevated rights.

  • Freeze and unfreeze apps: Users can disable and re enable selected apps, including clones in other users, through the system package service and pm disable and pm enable shell commands via Shizuku.
  • Pause and resume apps: Users can suspend apps so icons stay installed but greyed out, and unsuspend them later, through package suspension and pm suspend and pm unsuspend via Shizuku.
  • Force stop apps: Users can immediately stop running apps from freezer and task tools with am force-stop through Shizuku.
  • Manage recent tasks: Users can see recent tasks, jump back to a task, dismiss tasks and stop packages from the task switcher and gestures through Shizuku.
  • Open floating windows: Users can move the current or a selected app into a resizable floating window with chosen size and position through Shizuku.
  • Launch hidden activities: Users can open hard to reach system and app screens from the activity launcher through the system activity service via Shizuku.
  • Launch app shortcuts: Users can list published app shortcuts and start a chosen shortcut, with icons, through cmd shortcut start-shortcut and dumpsys shortcut via Shizuku.
  • Open voice assistant: Users can open the default voice assistant from gestures or quick tools through cmd voiceinteraction show and system assist launch via Shizuku.
  • Toggle hotspot: Users can turn the WiFi hotspot on and off and read its state through the system tethering service via Shizuku.
  • Detect touch gestures: Users can trigger actions from multi finger taps, swipes and drawn paths detected by reading touch input devices in a Shizuku hosted helper service.
  • Detect key gestures: Users can trigger actions from physical key presses detected by reading input devices in a Shizuku hosted helper service.
  • Track clipboard history: Users get continuous clipboard history even in the background by reading system logs through a Shizuku hosted helper service.
  • View diagnostic logs: Users can stream filtered system logs for troubleshooting in the diagnostics screen through Shizuku.
  • Enable log permission: The app grants itself log access for clipboard history and diagnostics with a package manager grant through Shizuku.
  • Switch input method: Users can cycle to the next enabled keyboard, applied with cmd input_method set-input-method through Shizuku when direct settings write is unavailable.
  • Control microphone privacy: Users can mute and unmute the microphone including the system sensor privacy switch with cmd sensor_privacy set-sensor-state through Shizuku.
  • Run shell commands: Commands users type or save in the shell panel, gestures and quick tools are executed with shell identity through Shizuku.

Android APIs or commands used

  • IPackageManager.setApplicationEnabledSetting
  • IPackageManager.getApplicationEnabledSetting
  • IPackageManager.setPackagesSuspendedAsUser
  • IPackageManager.grantRuntimePermission
  • IActivityManager.startActivityWithFeature
  • IActivityManager.startActivityFromRecents
  • IActivityManager.moveTaskToFront
  • IActivityManager.removeTask
  • SearchManager.launchAssist
  • IInputManager.injectInputEvent
  • ITetheringConnector.startTethering
  • ITetheringConnector.stopTethering
  • ITetheringConnector.registerTetheringEventCallback
  • ITetheringConnector.unregisterTetheringEventCallback
  • pm disable
  • pm enable
  • pm suspend
  • pm unsuspend
  • pm grant
  • am force-stop
  • am start
  • cmd shortcut start-shortcut
  • cmd voiceinteraction show
  • cmd activity task remove
  • cmd input_method set-input-method
  • cmd sensor_privacy set-sensor-state
  • dumpsys shortcut
  • logcat

Notable details

App installs use the normal system installer with an unknown sources settings link, not Shizuku. Offline text recognition runs in a local engine process and is not a Shizuku capability. Keyboard switching falls back to the system input method picker when privileged access is unavailable.

Close

Changelog

What's new for version 1.80.0

[1.80.0] - 2026-11-23

Added

  • Added link dispatch and Link Radar with short-link redispatch, direct app links, extraction rules, browser selection, simulation tests, and dispatch history
  • Added import support for Gevo, LinkGo, and Yimo dispatch and extraction rules, plus Yimo search engine configs, with a preview before choosing what to import
  • Moved search engine data management to the search panel, with JSON backup and restore for text engines, image engines, search groups, and members
  • Added search groups that combine multiple search engines and support custom group icons
  • Added dynamic shortcuts that pin activity shortcuts as system shortcuts
  • Added global long-press drag and drop for images and text
  • Added text-to-image and image-to-text actions
  • Added a dedicated link extraction rules page with live testing, copy, and open result actions
  • Added physical-dp free windows with compensation for Xiaomi system scaling so window sizes stay consistent across devices
  • Added an "Installed apps" access entry to the Background & Permissions page
  • Unified Miuix cards, glass containers, and elastic overscroll effects

Changed

  • Rule editor now uses a glass top bar and shows the rule icon beside its name
  • Action search now matches action names and keywords only, not descriptions
  • Sound mode is split into separate toggle, ring, vibrate, and silent actions
  • Multi-touch trigger areas are now configured per gesture
  • Ring launcher synchronizes recent apps on the first frame to reduce list jumps
  • Alternative browser picker supports long-press to reverse the free window
  • Action and slot pickers now use Miuix large cards with adaptive columns
  • Reduced APK size by compressing DEX and native libraries and trimming unused resources
  • Ring launcher auto-fill now uses system usage records to improve suggestions without elevated privileges
  • Notification card menus and quick launcher icon selection now use glass popups
  • Link dispatch rules are grouped into redispatch and jump sections, with long-press multi-select and drag reordering
  • Extraction rule cards now use the standard card style

Fixed

  • Fixed activity image and file shortcuts failing with an operation error when launched from the quick launcher
  • Fixed extraction tests still finding ordinary URLs when all extraction rules were disabled
  • Fixed link redispatch simulation not showing the resolved link
  • Fixed landscape trigger duplication, reappearing buttons, and delayed refreshes (thanks @Nihility)
  • Fixed clipboard monitoring and module state detection after Xposed module hot reloads (thanks @Nihility)
  • Fixed the search overlay back gesture not closing the panel or hiding the keyboard first (thanks @Nihility)
  • Fixed search group imports creating duplicate members
  • Fixed deleted or duplicated dispatch rules being restored by an old list snapshot
  • Fixed ring launcher slots failing to unbind or losing the None action
  • Fixed double indentation in activity shortcut sheets and misaligned margins on image and file editors
  • Fixed top-level panels still using a light background in dark mode
  • Fixed inconsistent card, tab bar, and background colors in the AMOLED black theme

[1.80.0] - 2026-11-23

Added

  • ๆ–ฐๅขž้“พๆŽฅๅˆ†ๅ‘ไธŽ้“พๆŽฅ้›ท่พพ๏ผŒๆ”ฏๆŒ็Ÿญ้“พ้‡ๅˆ†ๅ‘ใ€ๅบ”็”จ็›ด่พพใ€ๆๅ–่ง„ๅˆ™ใ€ๆต่งˆๅ™จ้€‰ๆ‹ฉใ€ไปฟ็œŸๆต‹่ฏ•ไธŽๅˆ†ๅ‘ๅކๅฒ
  • ๆ”ฏๆŒๅฏผๅ…ฅ Gevoใ€LinkGoใ€ไธ€ๅขจ็š„ๅˆ†ๅ‘่ง„ๅˆ™ไธŽๆๅ–่ง„ๅˆ™๏ผ›ๆ”ฏๆŒๅฏผๅ…ฅไธ€ๅขจ็š„ๆœ็ดขๅผ•ๆ“Ž้…็ฝฎ๏ผŒๅฏผๅ…ฅๅ‰ๅฏ้ข„่งˆๅนถๅ‹พ้€‰
  • ๆœ็ดขๅผ•ๆ“Žๆ•ฐๆฎ็ฎก็†้›†ไธญๅˆฐๆœ็ดข้ขๆฟ๏ผŒๆ”ฏๆŒๆ–‡ๅญ—ๅผ•ๆ“Žใ€ๅ›พ็‰‡ๅผ•ๆ“Žใ€ๆœ็ดข็ป„ไธŽๆˆๅ‘˜็š„ JSON ๅค‡ไปฝๅ’Œๆขๅค
  • ๆ–ฐๅขžๆœ็ดข็ป„๏ผŒๅฏ็ป„ๅˆๅคšไธชๆœ็ดขๅผ•ๆ“Žๅนถ่ฎพ็ฝฎ็ป„ๅ›พๆ ‡
  • ๆ–ฐๅขžๅŠจๆ€ๅฟซๆทๆ–นๅผ๏ผŒๅฏๆŠŠๅบ”็”จๅ†…็›ด่พพๅ›บๅŒ–ไธบ็ณป็ปŸๅฟซๆทๆ–นๅผ
  • ๆ–ฐๅขžๅ…จๅฑ€้•ฟๆŒ‰ๆ‹–ๆ”พ๏ผŒๅฏๅฐ†ๅ›พ็‰‡ๆˆ–ๆ–‡ๅญ—ๆ‹–ๅ…ฅๅ…ถไป–ๅบ”็”จ
  • ๆ–ฐๅขžๅ›พๆ–‡ไบ’่ฝฌๅŠจไฝœ๏ผŒๆ”ฏๆŒๆ–‡ๅญ—่ฝฌๅ›พ็‰‡ไธŽๅ›พ็‰‡่ฝฌๆ–‡ๅญ—
  • ้“พๆŽฅๆๅ–่ง„ๅˆ™็‹ฌ็ซ‹ๆˆ้กต๏ผŒๆ”ฏๆŒๅฎžๆ—ถๆต‹่ฏ•ใ€ๅคๅˆถไธŽๆ‰“ๅผ€ๆๅ–็ป“ๆžœ
  • ๆ–ฐๅขž็‰ฉ็† dp ๅฐ็ช—๏ผŒๅนถๆŒ‰ๅฐ็ฑณๆœบๅž‹่กฅๅฟ็ณป็ปŸ็ผฉๆ”พๅทฎๅผ‚๏ผŒไฝฟไธๅŒๆœบๅž‹็š„ๅฐ็ช—ๆ˜พ็คบๅคงๅฐไธ€่‡ด
  • ๅŽๅฐไธŽๆƒ้™้กตๆ–ฐๅขžใ€Œ่ฏปๅ–ๅบ”็”จๅˆ—่กจใ€ๅ…ฅๅฃ
  • ็ปŸไธ€ Miuix ๅก็‰‡ใ€็Žป็’ƒๅฎนๅ™จไธŽๅผนๆ€ง่ถŠ็•ŒๅŠจๆ•ˆ

Changed

  • ็ผ–่พ‘่ง„ๅˆ™้กตๆ”น็”จ็Žป็’ƒ้กถๆ ๏ผŒ่ง„ๅˆ™ๅ›พๆ ‡ไธŽๅ็งฐๅนถๆŽ’ๆ˜พ็คบ
  • ๅŠจไฝœๆœ็ดขๅชๅŒน้…ๅŠจไฝœๅ็งฐไธŽๅ…ณ้”ฎ่ฏ๏ผŒไธๅ†ๅŒน้…็ฎ€ไป‹
  • ๅฃฐ้Ÿณๆจกๅผๆ”นไธบๅˆ‡ๆขใ€ๅ“้“ƒใ€ๆŒฏๅŠจใ€้™้Ÿณๅ››ไธช็‹ฌ็ซ‹ๅŠจไฝœ
  • ๅคš่งฆ็‚น่งฆๅ‘ๅŒบๅŸŸๆ”นไธบๆฏไธชๆ‰‹ๅŠฟ็‹ฌ็ซ‹่ฎพ็ฝฎ
  • ๅœ†็ŽฏๅฏๅŠจๅ™จ้ฆ–ๅธงๅŒๆญฅๆœ€่ฟ‘ๅบ”็”จ๏ผŒๅ‡ๅฐ‘ๆ‰“ๅผ€่ฟ‡็จ‹ไธญๅˆ—่กจ่ทณๅ˜
  • ๅค‡้€‰ๆต่งˆๅ™จ้€‰ๆ‹ฉๅ™จๆ”ฏๆŒ้•ฟๆŒ‰ๅ่ฝฌๅฐ็ช—
  • ๅŠจไฝœ้€‰ๆ‹ฉไธŽๆงฝไฝๆŒ‘้€‰็ฝ‘ๆ ผๆ”น็”จ Miuix ๅคงๅก็‰‡ๅฎนๅ™จๅ’Œ่‡ช้€‚ๅบ”ๅˆ—ๆ•ฐ
  • ไผ˜ๅŒ–ๅฎ‰่ฃ…ๅŒ…ไฝ“็งฏ๏ผŒๅŽ‹็ผฉ DEX ไธŽๅŽŸ็”Ÿๅบ“ๅนถ็ฒพ็ฎ€ๅ†—ไฝ™่ต„ๆบ
  • ๅœ†็ŽฏๅฏๅŠจๅ™จ่‡ชๅŠจๅกซๅ……ๆŽฅๅ…ฅ็ณป็ปŸไฝฟ็”จ่ฎฐๅฝ•๏ผŒไผ˜ๅŒ–ๆ— ็‰นๆƒๆ—ถ็š„ๅธธ็”จๅบ”็”จ
  • ้€š็Ÿฅๅก็‰‡่œๅ•ไธŽๅฟซๆทๅฏๅŠจๅ™จๅ›พๆ ‡้€‰ๆ‹ฉๆ”น็”จ็Žป็’ƒๅผนๅฑ‚
  • ้“พๆŽฅๅˆ†ๅ‘่ง„ๅˆ™ๆŒ‰้‡ๅˆ†ๅ‘ไธŽ่ทณ่ฝฌๅˆ†็ป„๏ผŒ้•ฟๆŒ‰่ฟ›ๅ…ฅๅคš้€‰ๅนถๆ”ฏๆŒๆ‹–ๆ‹ฝๆŽ’ๅบ
  • ๆๅ–่ง„ๅˆ™ๅก็‰‡ๆ”น็”จ็ปŸไธ€็š„ๆ ‡ๅ‡†ๅก็‰‡ๆ ทๅผ

Fixed

  • ไฟฎๅคไปŽๅฟซ้€ŸๅฏๅŠจๅ™จๅฏๅŠจๅ›พ็‰‡ๆˆ–ๆ–‡ไปถ็›ด่พพๆ—ถๆ็คบๆ“ไฝœๅคฑ่ดฅ
  • ไฟฎๅคๆๅ–่ง„ๅˆ™ๅ…จ้ƒจๅ…ณ้—ญๆ—ถๆต‹่ฏ•ไป่ƒฝ่ฏ†ๅˆซๆ™ฎ้€š็ฝ‘ๅ€
  • ไฟฎๅค้“พๆŽฅ้‡ๅˆ†ๅ‘ๆŽจๆผ”ไธๆ˜พ็คบ่งฃๆžๅŽ็š„้“พๆŽฅ
  • ไฟฎๅคๆจชๅฑ่งฆ้’ฎๅคๅˆถๆฎ‹็•™ใ€ๅˆ ้™คๅŽ้‡็ŽฐไธŽๅˆทๆ–ฐๅปถ่ฟŸ๏ผˆๆ„Ÿ่ฐข @Nihility๏ผ‰
  • ไฟฎๅค Xposed ๆจกๅ—็ƒญๆ›ดๆ–ฐๅŽๅ‰ช่ดดๆฟ็›‘ๅฌๅคฑๆ•ˆไธŽๆจกๅ—็Šถๆ€่ฏฏๅˆค๏ผˆๆ„Ÿ่ฐข @Nihility๏ผ‰
  • ไฟฎๅคๆœ็ดขๆตฎ็ช—่ฟ”ๅ›žๆ‰‹ๅŠฟๆ— ๆณ•ๅ…ณ้—ญไธ”ๆœชไผ˜ๅ…ˆๆ”ถ่ตท้”ฎ็›˜๏ผˆๆ„Ÿ่ฐข @Nihility๏ผ‰
  • ไฟฎๅคๆœ็ดข็ป„ๅฏผๅ…ฅ้‡ๅคๅˆ›ๅปบๆˆๅ‘˜
  • ไฟฎๅคๅˆ†ๅ‘่ง„ๅˆ™ๅˆ ้™คๆˆ–ๅคๅˆปๅŽ่ขซๆ—งๅˆ—่กจ่ฆ†็›–
  • ไฟฎๅคๅœ†็Žฏๆงฝไฝๆ— ๆณ•่งฃ็ป‘ๆˆ–โ€œๆ— โ€ๅŠจไฝœไธขๅคฑ
  • ไฟฎๅค็›ด่พพๅผน็ช—ๅก็‰‡ๅŒ้‡็ผฉ่ฟ›ๅŠๅ›พ็‰‡ใ€ๆ–‡ไปถ็ผ–่พ‘้กต่พน่ท้”™ไฝ
  • ไฟฎๅคๆทฑ่‰ฒๆจกๅผไธ‹้กถๅฑ‚้ขๆฟไปไฝฟ็”จๆต…่‰ฒ่ƒŒๆ™ฏ
  • ไฟฎๅค AMOLED ้ป‘่‰ฒไธป้ข˜ไธ‹ๅก็‰‡ใ€ๆ ‡็ญพๆ ไธŽ่ƒŒๆ™ฏ้ขœ่‰ฒไธไธ€่‡ด
Close

Permissions

39 permissions requested

  • android.permission.INTERNET
  • android.permission.READ_CONTACTS
  • android.permission.READ_SYNC_SETTINGS
  • android.permission.WRITE_SYNC_SETTINGS
  • android.permission.ACCESS_NETWORK_STATE
  • android.permission.SYSTEM_ALERT_WINDOW
  • android.permission.FOREGROUND_SERVICE
  • android.permission.FOREGROUND_SERVICE_SPECIAL_USE
  • android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION
  • android.permission.FOREGROUND_SERVICE_DATA_SYNC
  • android.permission.RECORD_AUDIO
  • android.permission.FOREGROUND_SERVICE_MICROPHONE
  • android.permission.POST_NOTIFICATIONS
  • android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
  • android.permission.READ_LOGS
  • android.permission.READ_EXTERNAL_STORAGE
  • android.permission.MANAGE_EXTERNAL_STORAGE
  • android.permission.READ_MEDIA_IMAGES
  • android.permission.READ_MEDIA_VIDEO
  • android.permission.READ_MEDIA_AUDIO
  • android.permission.READ_MEDIA_VISUAL_USER_SELECTED
  • android.permission.USE_EXACT_ALARM
  • android.permission.SCHEDULE_EXACT_ALARM
  • android.permission.MODIFY_AUDIO_SETTINGS
  • android.permission.HIGH_SAMPLING_RATE_SENSORS
  • android.permission.WAKE_LOCK
  • android.permission.RECEIVE_BOOT_COMPLETED
  • android.permission.CAMERA
  • android.permission.NFC
  • android.permission.WRITE_SETTINGS
  • android.permission.WRITE_SECURE_SETTINGS
  • android.permission.ACCESS_NOTIFICATION_POLICY
  • android.permission.PACKAGE_USAGE_STATS
  • android.permission.QUERY_ALL_PACKAGES
  • android.permission.REQUEST_INSTALL_PACKAGES
  • android.permission.BIND_APPWIDGET
  • android.permission.VIBRATE
  • com.slideindex.app.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
  • moe.shizuku.manager.permission.API_V23
Close