# WindySha/Xpatch

This is a tool to repackage apk file, then the apk can load any xposed modules installed in the device. It is another way to hook an app without root device.

Repository: https://github.com/WindySha/Xpatch
Canonical: https://ross.abutalabs.com/products/xpatch
Language: Java
License: Apache-2.0
License Family: permissive
Topics: xpatch, xposed, hook, whale, unroot
Last push: 2026-01-04T21:04:50+00:00

## Health v2 (maintenance only)
Score: 50/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 60, release rhythm 8, longevity 100
- inputs: {"age_days": 2740, "days_push": 241, "days_rel": 667, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3057, forks 428 (observed 2026-08-28T04:07:41.046814+00:00)

## What it is
Xpatch is a Java CLI tool that repackages and re-signs Android APK files so the resulting APK can load installed Xposed modules. It enables hooking an app's Java code without rooting the device.

## Use cases
- hook an android app without root
- repackage an apk to load xposed modules
- patch an apk for xposed module support
- modify app behavior via xposed on unrooted devices
- enable xposed plugins for a specific app
- analyze app behavior by injecting hooks

## When to choose
- you want to use xposed modules on a non-rooted device
- you need to hook a single app's java code for testing or research
- you prefer a one-command jar tool for apk repackaging

## When to avoid
- you need to hook native code only
- you cannot uninstall the originally installed app due to signature mismatch
- you need a maintained root-based xposed framework instead

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, reverse-engineering, developer-tools
- domain: android-tools, security, reverse-engineering
- platform: cli, jvm
- tags: xposed, apk-repackaging, hooking, rootless, java, android

## Member repositories
- WindySha/Xpatch (main) score 50

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.046814+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:28:48.714870+00:00, confidence not recorded.
  - readme: https://github.com/WindySha/Xpatch (fetched 2026-08-28T04:07:41.046814+00:00, sha 37371178d210)
- Data as of 2026-08-30T08:39:29.467469+00:00.
