Modules / zygisk_lsposed

LSPosed

Another enhanced implementation of Xposed Framework. Supports Android 8.1 ~ 17. Requires Zygisk enabled.

README

LSPosed Framework

Channel Chat Download Total

Introduction

A 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 ~ 17

Install

  1. Install root solution and Zygisk
  2. Download and install LSPosed
  3. Reboot
  4. Open LSPosed manager from notification
  5. Have fun 😃

Download

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

Translation Contributing

You can contribute translation here.

Credits

  • Magisk: makes all these possible
  • XposedBridge: the OG Xposed framework APIs
  • Dobby: used for inline hooking
  • LSPlant: the core ART hooking framework
  • EdXposed: fork source
  • ~Riru: provides a way to inject code into zygote process~
  • ~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~

Release History

2.2.0

Published on August 30, 2026
Download

重要

  • New XSharedPreferences 计划于 2.3.0 正式移除,模块页面已为有兼容风险的模块加入废弃警告。判断逻辑为 legacy 模块声明支持 nsp 并存在 others 可读 xml。升级到 libxposed 或将 xposedminversion 设置为 82 并删除 xposedsharedprefs 以移除警告。

新增

  • 支持注入 HyperOS Runtime 应用(需要支持 Zygisk Next API 的 Zygisk 实现)
  • 在 A17 及以上以注入方式处理 dex2oat 包装器,避免挂载泄漏(需要支持 Zygisk Next API 的 Zygisk 实现)

改进

  • 提升多进程应用中模块服务连接的稳定性
  • 优化管理器中的兼容性状态展示与异常提示

修复

  • 修复资源 Hook XML 重写长期失效的问题
  • 修复模块热重载失败后可能产生状态异常的问题
  • 修复 Hook 链调用及参数类型转换问题
  • 修复系统框架在模块作用域中的排序
  • 修复安全模式计数未在正常启动后重置的问题
  • 修复 Dex 混淆及模块服务相关的内存泄漏

Important

  • New XSharedPreferences is scheduled for official removal in version 2.3.0. Deprecation warnings have been added to the module page for modules at risk of compatibility issues. The probe logic identifies legacy modules that declare support for nsp and contain an XML file with others readable permission. To eliminate the warning, upgrade to libxposed or set xposedminversion to 82 and remove xposedsharedprefs.

Added

  • Support for injecting into HyperOS Runtime apps (requires ZN)
  • Handles the dex2oat wrapper via injection on A17 and above to prevent mount leaks (requires ZN)

Improved

  • Improved stability of module service connections in multi-process apps
  • Optimized the display of compatibility status and error prompts in the Manager

Fixed

  • Fixed an issue where resource hook XML rewriting had been failing for an extended period
  • Fixed an issue where a status exception might occur after a module hot reload failed
  • Fixed issues with hook chain calls and parameter type conversions
  • Fixed the sorting of the system framework within the module scope
  • Fixed an issue where the safe mode count was not reset after a normal startup
  • Fixed memory leaks related to DEX obfuscation and module services

2.0.3

Published on May 20, 2026
Download

重大行为变更

  • Legacy 模块不再允许调用 libxposed API;targetApiVersion ≥ 102 的模块不再允许调用 Legacy API,101 模块不受影响

新增

  • 引入 Material 3 Expressive 风格管理器
  • 完善主题相关设置,支持动态配色和深色模式,改进卡片、菜单、底部导航和对话框的显示效果

改进

  • 改进日志显示和错误记录,现在解析视图能够正确显示超长错误栈而不被分片
  • 尝试改进 hook 性能

修复

  • 修复部分旧模块作用域推荐显示错误的问题
  • 修复一些 libxposed API 实现问题

移除

  • 移除旧的 MD3 管理器
  • 移除 32 位 x86 架构支持

Major Behavioral Changes

  • Legacy modules are no longer allowed to call libxposed API; modules with targetApiVersion ≥ 102 will not be allowed to call legacy API; 101 modules are unaffected

New Features

  • Introduced Material 3 Expressive style manager
  • Enhanced theme-related settings to support dynamic color schemes and dark mode, and improved the display of cards, menus, bottom navigation, and dialogs

Improvements

  • Improved log display and error logging; parsed view now correctly displays excessively long error stacks without fragmentation
  • Attempted to improve hook performance

Fixes

  • Fixed an issue where scope recommendations were displayed incorrectly in some legacy modules
  • Fixed several issues with libxposed API implementations

Removals

  • Removed the old MD3 manager
  • Removed support for the 32-bit x86 architecture

2.0.2

Published on May 5, 2026
Download

v2.0.2

新增

  • 新管理器根据设备状态(如省电模式、性能等级)动态决定是否启用模糊效果
  • 新管理器支持折叠过长的模块描述
  • 新增点按劫持(tapjacking)缓解开关及提示
  • 当模块已安装时,新管理器隐藏“安装到其他用户”的选项

改进

  • 减少每个方法的最大回调数量,降低异常模块导致的系统崩溃扩散风险
  • 确保模块更新后重新分发 Xposed 服务
  • 系统启动阶段更早向 daemon 发送 binder,减少初始化竞态窗口
  • 切换管理器无需再强行停止进程
  • 更新 LSPlant,修复多类注入与 hook 相关问题
  • 更新 MIUIX,修复已知兼容性问题
  • 优化管理器启动及模块仓库加载时的内存占用

修复

  • 修复新管理器“安装到用户”选项异常
  • 修复卸载模块时未清理配置的问题
  • 修复模块更新后在极少数情况下 hook 未生效的问题(如更新后立即强制停止目标应用)
  • 修复新 API 的 native API 加载时机问题
  • 修复管理器启动及加载模块仓库时的内存占用异常
  • 修复搜索结果被底栏遮挡的问题(窗口 inset 处理)
  • 修复新管理器边到边布局问题

Added

  • Enabled dynamic blur based on device state (e.g. power saving mode, performance class)
  • Added collapsing for long module descriptions
  • Added tapjacking mitigation toggle and hint
  • Hid the "install to other user" option when the module is already installed

Improved

  • Reduced per-method callback count to limit crash propagation caused by faulty modules
  • Ensured Xposed service is re-delivered after module updates
  • Sent binder to daemon earlier during system boot to reduce initialization race conditions
  • Removed the need to force stop when switching manager
  • Updated LSPlant to fix various injection issues
  • Updated MIUIX to address known issues
  • Optimized memory usage during manager startup and repository loading for low-RAM devices

Fixed

  • Fixed incorrect "install to user" behavior in the new manager
  • Fixed module configuration not being removed on uninstall
  • Fixed rare cases where hooks were not updated after module upgrade
  • Fixed native API loading timing for the new API
  • Fixed excessive memory usage during manager startup and repository loading
  • Fixed search results being obscured by the bottom bar
  • Fixed edge-to-edge layout issues in the new manager

Module Details

Module ID
zygisk_lsposed
77
Stars
3
Releases

Latest Version

2.2.0
Released 8/30/2026
Download Now