Add a shared Gson instance and harden config/module/asset loading to avoid NPEs and crashes. Guard legacy module iteration, use apply() for SharedPreferences, throw when config asset is missing, reuse GSON for parsing, and null-check resource streams before copying. Also set provider dex file writable only if created and remove some unused imports. These changes improve resilience when manager/asset data is unavailable and clean up file handling. |
||
|---|---|---|
| .github | ||
| apkzlib | ||
| core@e99813b540 | ||
| gradle | ||
| jar | ||
| manager | ||
| meta-loader | ||
| patch | ||
| patch-loader | ||
| share | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| LICENSE | ||
| README.md | ||
| build.gradle.kts | ||
| crowdin.yml | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| settings.gradle.kts | ||
README.md
Neo LSPatch Framework
Introduction
Rootless implementation of LSPosed framework, integrating Xposed API by inserting dex and so into the target APK.
We sincerely invite you to join our Telegram group to get more information and updates about NPatch.
Supported Versions
- Min: Android 8.1
- Max: In theory, same with JingMatrix/LSPosed
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
Usage
- Through jar
- Download
npatch.jar - Run
java -jar npatch.jar
- Through manager
- Download and install
manager.apkon an Android device - Follow the instructions of the manager app
Star Number
Translation Contributing
You can contribute translation here.
Credits
License
NPatch is licensed under the GNU General Public License v3 (GPL-3) (http://www.gnu.org/copyleft/gpl.html).