# LSPosed/LSPlant

A hook framework for Android Runtime (ART)

Repository: https://github.com/LSPosed/LSPlant
Canonical: https://ross.abutalabs.com/products/lsplant
Homepage: https://lsposed.org/LSPlant/
Language: C++
License: LGPL-3.0
License Family: copyleft
Topics: hook, android
Last push: 2026-08-25T14:43:56+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 1905, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1359, forks 336 (observed 2026-08-28T04:04:29.712748+00:00)

## What it is
LSPlant is a C++ library for hooking Java methods in the Android Runtime (ART), supporting hook/unhook and inline deoptimization. It is part of the LSPosed framework and supports Android 5.0 through 17 across multiple CPU architectures.

## Use cases
- hook java methods in android apps
- build an xposed-like module framework
- intercept method calls at runtime on android
- modify app behavior without modifying the apk
- instrument android apps for research or debugging
- hook libart internals with a custom inline hooker

## When to choose
- you need native-level ART method hooking in your own Android framework or module
- you want broad Android version and architecture coverage including riscv64
- you are building on top of LSPosed or a similar hooking ecosystem

## When to avoid
- you only need simple Java-level instrumentation without native code
- your project targets non-Android platforms
- you need a pure-Java hooking solution without JNI integration

## Facets
- artifact type: library
- maturity: active
- function: security, developer-tools
- domain: android-tools, developer-tools, reverse-engineering
- platform: cpp
- tags: android-hooking, art-runtime, java-method-hook, xposed, jni, inline-hook, android

## Member repositories
- LSPosed/LSPlant (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:29.712748+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-30T04:41:41.338701+00:00, confidence not recorded.
  - readme: https://github.com/LSPosed/LSPlant (fetched 2026-08-28T04:04:29.712748+00:00, sha 263711972d98)
  - homepage: https://lsposed.org/LSPlant/ (fetched 2026-08-29T11:59:31.029049+00:00, sha 18192c462b58)
- Data as of 2026-08-30T08:39:29.467469+00:00.
