A fork of NPatch allowing to patch API 101 plugins (gkms-localify only)
Go to file
327135569 955b0c155d change upstream lsp repo 2021-04-17 21:24:32 +08:00
.github/workflows add ci 2021-04-08 23:35:30 +08:00
apksigner@e1bd6e19a0 add apksigner as submodule 2021-04-07 23:30:59 +08:00
app fix parcel use 2021-04-17 19:43:01 +08:00
axmlprinter fix build again 2021-04-08 23:46:35 +08:00
gradle/wrapper update AGP 2021-04-08 14:15:52 +08:00
mmp@72252ecea4 welcome lsp 2021-04-07 12:15:41 +08:00
patch force save signature info 2021-04-17 19:39:44 +08:00
.gitignore done with project structure refine 2021-04-07 12:06:30 +08:00
.gitmodules change upstream lsp repo 2021-04-17 21:24:32 +08:00
LICENSE Create LICENSE 2021-04-09 11:48:53 +08:00
README.md Update README.md 2021-04-09 11:49:59 +08:00
build.gradle refine code 2021-04-11 20:59:41 +08:00
gradle.properties done with project structure refine 2021-04-07 12:06:30 +08:00
gradlew done with project structure refine 2021-04-07 12:06:30 +08:00
gradlew.bat done with project structure refine 2021-04-07 12:06:30 +08:00
settings.gradle refine code 2021-04-11 20:59:41 +08:00

README.md

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

  1. use LSPosed as Hook framework
  2. Clean up the code
  3. merge Xpatch's Loader and Patch into a single project

Usage

  1. download the artifact
  2. 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