Skip to content

hxreborn/three-finger-swipe

Repository files navigation

Three Finger Swipe

Standalone implementation of three-finger swipe screenshots using the modern LSPosed API

Android 9-16 LSPosed API 101 Kotlin Jetpack Compose Gradle AGP

Build Release Downloads Xposed Repo Downloads License

Features

  • Three-finger swipe down to take a screenshot (or trigger other actions)
  • Single-purpose module with one hook on System Framework
  • Compatible with CaptureSposed and DisableFlagSecure
  • Settings UI built with Jetpack Compose and Material 3 Expressive
  • Built on LSPosed API 101
  • Free and open source (GPLv3)

Requirements

  • Android 9 through 16 (API 28-36)
  • An LSPosed Manager version with API 101 support (required for now)

Installation

  1. Download the latest APK:

    Get it on GitHub Get it on Obtainium

  2. Enable the module in LSPosed and scope it to system

  3. Reboot your device

  4. Open the app to configure gesture settings

FAQ

Why does this not conflict with CaptureSposed or DisableFlagSecure?

This module only hooks PhoneWindowManager in system_server. CaptureSposed and DisableFlagSecure work through different code paths, so you keep their secure-window bypass behavior while using this module's three-finger gesture to trigger the screenshot.

Build

You need JDK 21 and the Android SDK.

git clone https://github.com/hxreborn/three-finger-swipe.git
cd three-finger-swipe
./gradlew :app:assembleDebug
Release signing

Add to local.properties:

RELEASE_STORE_FILE=<path/to/keystore.p12>
RELEASE_STORE_PASSWORD=<store_password>
RELEASE_KEY_ALIAS=<key_alias>
RELEASE_KEY_PASSWORD=<key_password>

Then build with ./gradlew :app:assembleRelease.

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines. For bugs or feature requests, open an issue.

License

GPLv3

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.