Avoid direct references to dalvik.system.DexFile and android.content.res.XResources by using reflection and guarded calls. LSPApplication now constructs and injects the provider dex via reflective DexFile/DexPathList$Element creation inside a try/catch to handle deprecation/compat issues on newer Android versions and log failures. LSPLoader replaces the direct XResources.setPackageNameForResDir call with a reflective invocation (with warning logs) to prevent class resolution failures under strict boot classloader namespace delegation. Also added logging and minor import/constant adjustments to improve robustness and diagnostics. Co-Authored-By: MrZhongzq <108169409+mrzhongzq@users.noreply.github.com> Co-Authored-By: Claude <81847+claude@users.noreply.github.com> |
||
|---|---|---|
| .github | ||
| apkzlib | ||
| core@62ea99fa35 | ||
| 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).