707 B
707 B
Introduction
LSPatch fork from Xpatch.
LSPatch provides a way to insert dex and so into the target APK by repackaging. The following changes have been made since Xpatch
- use LSPosed as Hook framework
- Clean up the code
- merge Xpatch's Loader and Patch into a single project
Usage
- download the artifact
- run
java -jar mmpatch.jar
Build
gradle build[Debug|Release]
Principle
LSPatch modifies the app property of AndroidManifest.xml in the target APK, changing it to the Application class in the inserted dex. Then it initializes LSPosed, and loads the Xposed module installed in the system.
Known issues
Can't solve the signature verification issue perfectly