git404hub

what is miuibackgesturehook fr?

wxxsfxyzm/miuibackgesturehook — explained in plain English

Analysis updated 2026-05-18

69JavaAudience · developerComplexity · 4/5LicenseSetup · hard

tl;dr

An LSPosed/Xposed module that restores stock Android back gesture behavior on Xiaomi's MIUI Android 16 devices.

vibe map

mindmap
  root((MiuiBackGestureHook))
    What it does
      Restores AOSP back gesture
      Hooks SystemUI
      Xposed research module
    Tech stack
      Java
      Gradle
      Xposed API
      LSPosed
    Use cases
      Restore predictive back
      Compare MIUI vs AOSP
      Build and test debug APK
    Audience
      Android modders
      Xposed developers
    Requirements
      Rooted device
      LSPosed installed

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Restore the standard Android predictive back gesture on a rooted Xiaomi phone running MIUI Android 16.

VIBE 2

Study how MIUI's SystemUI implements back gestures compared to stock AOSP code.

VIBE 3

Build and load a debug APK into LSPosed for testing gesture behavior changes.

what's the stack?

JavaGradleXposed APILSPosed

how it stacks up fr

wxxsfxyzm/miuibackgesturehookcoderleixiaoshuai/easy-rpcredis/docs
Stars696969
LanguageJavaJavaJava
Last pushed2022-10-26
MaintenanceDormant
Setup difficultyhardmoderatemoderate
Complexity4/53/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1h+

Requires a rooted Xiaomi device with LSPosed installed, not usable on stock unrooted phones.

Use, modify, and distribute freely, including commercially, as long as you keep attribution and note any changes (Apache 2.0).

in plain english

MiuiBackGestureHook is a module for Xiaomi phones running MIUI, the customized version of Android that Xiaomi ships on its devices. Its goal, according to the project description, is to bring back the standard Android back gesture and predictive back behavior on Xiaomi's Android 16 devices, since MIUI's own version of these gestures apparently differs from stock Android in ways some users want to undo. The project works through a system called Xposed, specifically the LSPosed variant, which lets a module hook into and modify how parts of Android's system software behave without changing the phone's original system files directly. This particular module targets SystemUI, the part of Android responsible for things like the status bar, navigation, and gesture handling, along with a component simply listed as system. The README describes this as research into how MIUI's back gesture works at the SystemUI level, rather than a finished, polished product. The module is written in Java and built with Gradle. Building it produces a debug APK file that a user would then need to install through LSPosed on a rooted or Xposed-enabled device. The project also includes a folder of reference code copied from AOSP, the open-source base of Android, split into pieces for the shell and SystemUI components, presumably used to compare how gestures work in stock Android versus MIUI. The module also supports a feature called hot reload, using a newer version of the Xposed API, which lets code changes take effect without fully restarting the hooked system process, useful for someone actively developing or testing the module. Beyond these technical details, the README does not include usage instructions, screenshots, or an explanation of what specifically differs between MIUI's gesture behavior and stock Android's, so this project appears aimed at developers already familiar with Xposed modules and Android's back gesture system rather than general users. The project is released under the Apache License 2.0, a permissive open-source license.

prompts (copy fr)

prompt 1
Help me build this LSPosed module using Gradle and install the resulting debug APK.
prompt 2
Explain how Xposed's hot reload feature works for this SystemUI hook module.
prompt 3
Compare this project's AOSP reference code to MIUI's back gesture implementation.
prompt 4
Walk me through how to set the Xposed scope for this module to target SystemUI.

Frequently asked questions

what is miuibackgesturehook fr?

An LSPosed/Xposed module that restores stock Android back gesture behavior on Xiaomi's MIUI Android 16 devices.

What language is miuibackgesturehook written in?

Mainly Java. The stack also includes Java, Gradle, Xposed API.

What license does miuibackgesturehook use?

Use, modify, and distribute freely, including commercially, as long as you keep attribution and note any changes (Apache 2.0).

How hard is miuibackgesturehook to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is miuibackgesturehook for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.