Skip to content

zzgpku/LSPosed

 
 

Repository files navigation

LSPosed Framework

Core Manager

Introduction

A Riru module trying to provide an ART hooking framework (initially for Android Pie) which delivers consistent APIs with the OG Xposed, leveraging YAHFA hooking framework, supports Android 8.1 ~ 12 DP3.

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 to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations.

Supported Versions

Android 8.1 ~ 12 DP3

Install

  1. Install Magisk v21+
  2. Install Riru v25+ from Magisk repo.
  3. Download and install LSPosed in Magisk Manager
  4. Install LSPosed Manager
  5. Reboot.
  6. Have fun! :)

Download

For stable release, please go to Github Release page For canary build, please check Github Actions Note: debug build is only available on Github Actions.

Useful Links

Get Help

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

For Developers

Developers are welcomed to write Xposed modules with hooks based on LSPosed Framework. Module written based on LSPosed framework is fully compatible with the original Xposed Framework, so contrary a Xposed Framework-based module will work well with the 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 group don't accept any bug report, please use Get help to report.

Credits

  • YAHFA: the core ART hooking framework
  • Magisk: makes all these possible
  • Riru: provides a way to inject codes into zygote process
  • XposedBridge: the OG xposed framework APIs
  • DexBuilder: to dynamically generate YAHFA hooker classes
  • Dobby: used for inline hooking
  • EdXposed: fork source
  • SandHook: ART hooking framework for SandHook variant
  • dexmaker and dalvikdx: 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).

About

LSPosed Xposed Framework.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 75.4%
  • C++ 19.6%
  • Kotlin 2.8%
  • Shell 1.8%
  • Other 0.4%