A fork of JingMatrix's LSPosed/Vector, aiming to make GKMSPatch work
Go to file
dependabot[bot] acbba06a70
Bump appCenter from 4.4.2 to 4.4.3 (#1769)
2022-03-17 21:37:22 +00:00
.github Separate core into bridge and loader (#1766) 2022-03-17 19:12:01 +08:00
app Bump appCenter from 4.4.2 to 4.4.3 (#1769) 2022-03-17 21:37:22 +00:00
core Separate core into bridge and loader (#1766) 2022-03-17 19:12:01 +08:00
daemon Move all serivces into a single dir (#1768) 2022-03-16 20:55:45 +00:00
external Workaround for multiple calls to the same unhook (#1760) 2022-03-15 12:28:54 +00:00
gradle/wrapper Refactor some gradle (#1752) 2022-03-13 07:23:04 +08:00
hiddenapi Refine gradle script (#1765) 2022-03-16 17:20:43 +08:00
magisk-loader Separate core into bridge and loader (#1766) 2022-03-17 19:12:01 +08:00
services Move all serivces into a single dir (#1768) 2022-03-16 20:55:45 +00:00
.gitattributes Ndk build (#753) 2021-06-20 11:46:38 +08:00
.gitignore Clean code (#863) 2021-08-07 10:10:34 +08:00
.gitmodules Move all serivces into a single dir (#1768) 2022-03-16 20:55:45 +00:00
LICENSE [README] Fix license 2021-02-13 17:28:01 +08:00
README.md [skip ci] Update README.md 2022-03-15 13:18:02 +00:00
build.gradle.kts Separate core into bridge and loader (#1766) 2022-03-17 19:12:01 +08:00
crowdin.yml [daemon] Only package needed resources (#1508) 2021-12-30 17:31:34 +00:00
gradle.properties Refactor some gradle (#1752) 2022-03-13 07:23:04 +08:00
gradlew Remove unneeded configs (#1299) 2021-10-17 08:32:41 +00:00
gradlew.bat Upgrade to AGP 7, ready to use Java 11 (#261) 2021-03-03 16:35:50 +00:00
settings.gradle.kts Separate core into bridge and loader (#1766) 2022-03-17 19:12:01 +08:00

README.md

LSPosed Framework

Build Crowdin Channel Chat Download Total

Introduction

A Riru / Zygisk module trying to provide an ART hooking framework which delivers consistent APIs with the OG Xposed, leveraging LSPlant hooking framework.

Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: multiple modules can do changes to the same part of the system or app. With modified APKs, you have to choose one. No way to combine them, unless the author builds multiple APKs with different combinations.

Supported Versions

Android 8.1 ~ 13 DP1

Install

  1. Install Magisk v23+ (Riru) / v24+ (Zygisk)
  2. (For Riru flavor) Install Riru v25+ from Magisk repo
  3. Download and install LSPosed in Magisk app
  4. Reboot
  5. Follow the prompt to add LSPosed shortcut to launcher
    • Some launchers won't show a prompt but silently add the shortcut
    • If the shortcut cannot be added, you can install the manager located at /data/adb/lspd/manager.apk manually
    • If you accidentally deleted the shortcut, reboot your device or install the manager manually to add the shortcut again
    • If you don't need a shortcut, install the manager manually and you can disable future shortcut being added in the settings
    • In any case, you can dial *#*#5776733#*#* (aka LSPosed) to launch the manager if you have a dialer
  6. Have fun :)

Download

For stable releases, please go to Github Releases page For canary build, please check Github Actions Note: debug builds are only available in Github Actions.

Get Help

  • GitHub issues: Issues
  • (For Chinese speakers) 本项目只接受英语标题的issue。如果您不懂英语请使用翻译工具

For Developers

Developers are welcome to write Xposed modules with hooks based on LSPosed Framework. A module based on LSPosed framework is fully compatible with the original Xposed Framework, and vice versa, a Xposed Framework-based module will work well with LSPosed framework too.

We use our own module repository. We welcome developers to submit modules to our repository, and then modules can be downloaded in LSPosed.

Community Discussion

Notice: These community groups don't accept any bug report, please use Get help to report.

Translation Contributing

You can contribute translation here.

Credits

  • Magisk: makes all these possible
  • Riru: provides a way to inject code into zygote process
  • XposedBridge: the OG Xposed framework APIs
  • Dobby: used for inline hooking
  • LSPlant: the core ART hooking framework
  • EdXposed: fork source
  • ~SandHook: ART hooking framework for SandHook variant~
  • ~YAHFA: previous ART hooking framework~
  • ~dexmaker and dalvikdx: to dynamically generate YAHFA hooker classes~
  • ~DexBuilder: to dynamically generate YAHFA hooker classes~

License

LSPosed is licensed under the GNU General Public License v3 (GPL-3) (http://www.gnu.org/copyleft/gpl.html).