wxxsfxyzm GitHub avatar

MiuiBackGestureHook

wxxsfxyzm

An LSPosed module that hooks MIUI SystemUI back gestures using modern Xposed API 102 for research and customization.

Stars

86

7-day growth

No data

Forks

10

Open issues

1

License

Apache-2.0

Last updated

2026-07-28

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It targets a specific, under-documented area of MIUI customization (back gestures) with a modern Xposed API, includes hot reload support, and provides AOSP reference snippets for educational purposes.

Who it is for

  • Android developers researching MIUI gesture behavior
  • Xposed/LSPosed module developers
  • MIUI power users who want to customize back gestures
  • SystemUI modders

Use cases

  • Customizing or disabling MIUI back gesture behavior
  • Studying the interaction between SystemUI and MiuiHome for gestures
  • Testing gesture modifications with hot reload for rapid iteration

Strengths

  • Uses modern Xposed API 102 with hot reload support
  • Includes checked-in AOSP reference snippets for learning
  • Open source under Apache License 2.0

Considerations

  • Compatible only with specific MiuiHome version (7.50.xx)
  • Requires LSPosed framework and root access
  • Limited documentation beyond build and scope details

README quick start

MIUI SystemUI Back Gesture Hook

LSPosed module using modern Xposed API 102 for SystemUI-side MIUI back gesture research.

Build

.\gradlew.bat assembleDebug

The debug APK is generated at:

app/build/outputs/apk/debug/app-debug.apk

AOSP References

Checked-in AOSP reference snippets live under:

refs/aosp_back/

The directory is split by component:

refs/aosp_back/shell/
refs/aosp_back/systemui/

Scope

The static scope is declared in:

app/src/main/resources/META-INF/xposed/scope.list

Current scopes:

com.android.systemui
com.miui.home
system

Compatibility

The MiuiHome integration is best matched with Xiaomi System Launcher version 7.50.xx.

Hot Reload

API 102 hot reload is enabled through:

autoHotReload=true

The module implements onHotReloading(...) and onHotReloaded(...).

Entry

The module entry is:

dev.codex.miuibackgesturehook.MiuiBackGestureHook

Registered through:

app/src/main/resources/META-INF/xposed/java_init.list

License

Apache License 2.0. See LICENSE.

Description

LSPosed module using modern Xposed API 102 for SystemUI-side MIUI back gesture research.

Related repositories

Similar projects matched by category, topics, and programming language.

oversecured
oversecured GitHub avatar

Samsung_Vulnerabilities

Oversecured discloses a report of 176 vulnerabilities discovered in Samsung preinstalled apps between 2022 and 2025, with 140 detailed, all fixed in collaboration with Samsung.

Java
310
SangLuoCN
SangLuoCN GitHub avatar

OneStep4

OneStep4.0 is a multi-window desktop container for Android that requires root or system-level privileges, enabling a main window with several side windows for efficient app multitasking.

Java
84
zgcwkjOpenProject
zgcwkjOpenProject GitHub avatar

XPoser_MiBackup

An Xposed module that redirects Xiaomi Backup's DFS storage flow to self-hosted SMB, WebDAV, or custom HTTP servers, enabling local/private cloud backups.

Java
75