Commit Graph

112 Commits

Author SHA1 Message Date
NkBe 5aa809dc5a
Refactor:Replace all instances of `lspatch` with `npatch`
嘗試规避關鍵詞檢測
2025-12-02 23:42:23 +08:00
NkBe f03ad9a386
fix: improve asset handling and error checks 2025-11-21 19:33:34 +08:00
NkBe 9588a87814
refactor: improve APK signature block parsing 2025-11-19 21:03:41 +08:00
NkBe 307660038e
refactor: rename lspatch meta key to npatch 2025-10-29 21:38:58 +08:00
NkBe a2b9e529ca
feat: support inject MT Manager DocumentsProvider
Co-Authored-By: Hicores <me@hicore.cc>
2025-10-29 21:38:57 +08:00
NkBe(HSSkyBoy) d644c22ade
feat: support patching with new package name
feat: log APK patch paths in submitPatch

fix: improve temp APK file handling

feat: add newPackageName option

refactor: optimize patch install dialogs

feat: support rename packagename
Co-Authored-By: javaeryang <27242250+javaeryang@users.noreply.github.com>
2025-10-08 15:47:16 +08:00
NkBe(HSSkyBoy) 07b100ea2f
refactor: rename lspatched to npatched 2025-10-08 15:47:15 +08:00
NkBe(HSSkyBoy) 7613e7de10
feat: add output log to media
底層實現了日誌檔案寫入。為管理器新增了 outputLog 選項,可以將日誌輸出到 Android/media 目錄。
2025-10-06 23:27:30 +08:00
NkBe fed6e4afcf
Lower minSdkVersion 2025-09-05 23:48:04 +08:00
xihan123 b83152323a
Allow uers to chose if inject loader dex (#19)
If we always inject loader dex, then modules with third party libraries might fail to find library classes since the default class loader is alway used before the the loader of the module package.

Therefore, it is better to treat packages with isolated services as special cases.
2024-11-20 19:38:48 +01:00
JingMatrix 4a7cc257a7 Use axml (ManifestEditor) lib from LSPosed
By doing so, we no longer need org.slf4j.* classes

ManifestEditor will now check atrribute types, so we choose correctly
the type of minSdkVersion.
2024-05-19 01:08:22 +02:00
JingMatrix 69438162cd Skip split apks when possible
When the split apks are loaded by appComponentFactory, we skip patching
them to reduce the file size.
2023-12-28 13:29:27 +01:00
JingMatrix 89b71ebe0a Put original dex files in patched APK
Count the number of dex files and rename classes.dex correctly.
Skip loading lspatch.so when currentActivityThread is null.
2023-12-28 13:29:27 +01:00
5ec1cff 531acdb924
use version catalog (#256) 2023-11-08 02:07:20 +08:00
Howard Wu 941726d559
Core upgrade (#213)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-06-29 02:17:00 +08:00
Js0n 3acc9086b1
fix: only add QUERY_ALL_PACKAGES permission when useManager is true (#195) 2023-05-10 22:50:51 +08:00
Harshit Shah 4d8bafd74f
Remove mandatory original signature check (#185)
We are unnecessary fetching original signature even when signature
bypass level is not greater than 0. Due to which some apps which were
not signed were failing to be patched with error "get original signature
failed".
2023-04-21 21:21:25 +08:00
Harshit Shah 5d8645d201
Fixing Manifest Parsing - Shifting from axmlprinter to axmlparser (#180)
**Description:**
Some apps were failing with reason `Failed to parse Manifest file`
Turns out that `AxmlResourceParser` from `android4Me` is very outdated
and does not work well in all cases.
Hence have removed `axmlprinter` and migrated code to use `AxmlParser`
from `ManifestEditor` by `WindySha`.
2023-04-09 22:58:48 +08:00
Js0n e62da55614
feat: set minimum sdk to Android 9 if original value is lower (#167) 2023-01-28 11:53:55 +08:00
Nullptr 2ace2660b4
Fix modules missing after update loader for integrated mode 2022-11-13 22:43:39 +08:00
Nullptr 5876d4a0a0
Update dependencies & Fix UI previewing 2022-11-05 12:00:25 +08:00
Nullptr 5db7ecf7bd
No need to add loader dex and so for local mode 2022-10-21 19:26:08 +08:00
Nullptr f8888b81e8
Support bootstrapping loader dynamically for local mode (#118) 2022-10-21 15:24:16 +08:00
Nullptr 2e2c818de6
Drop v1 signature & UI improvement 2022-09-06 21:20:06 +08:00
NonNonStop b1691a95e2
Add ManifestEditor assets (#107) 2022-09-04 19:29:02 +08:00
LoveSy c956fbea51
Compare AXML attribute name by resource ID
Close #105

Co-Authored-by: nonnonstop <42905588+nonnonstop@users.noreply.github.com>
2022-09-04 16:21:08 +08:00
Nullptr 95f006682c
Update core and dependencies 2022-09-02 10:30:34 +08:00
Nullptr 279e95b57b
Support upgrade loader version 2022-07-05 21:54:13 +08:00
Nullptr 0ef34fa633
Add .apk suffix 2022-07-05 19:10:29 +08:00
Nullptr 6924c6a3b5
CI (#57)
* CI

* Add patch info to metadata

* Allow select local apks to patch

* Fix wrong indent
2022-05-10 11:39:04 +08:00
Nullptr 5d3f0ec9f7 Implement install patched app & Refactor UI 2022-05-05 21:07:45 +08:00
Nullptr 774afca739 Update proguard 2022-04-06 11:17:19 +08:00
Nullptr 02d6752895 Support custom keystore 2022-03-27 16:59:42 +08:00
Nullptr 7905b343dc ServiceClient 2022-03-23 22:36:19 +08:00
Nullptr b89b425a53 Switch into mainline core branch 2022-03-17 19:52:05 +08:00
Nullptr 397faf7ab4 Change output file name 2022-03-06 17:36:43 +08:00
Nullptr 4dd6369e1a Use git commit count as verCode 2022-03-04 13:29:46 +08:00
Nullptr 5a16a34cd8 Fix null classloader 2022-03-04 13:28:48 +08:00
Ketal 1096ba6658
Support get apk sign v2 info (#40) 2022-02-23 22:13:27 +08:00
Nullptr 0bd40ca4dd Fix saving content (1/2) 2022-02-20 14:30:53 +08:00
Nullptr 78420d8758 Package module 2022-02-13 19:30:58 +08:00
Nullptr bb7bfaad26 Fix keystore not matching 2022-02-13 13:46:57 +08:00
Nullptr 14f1d046ab Fix manager import patch build 2022-02-13 12:05:13 +08:00
Nullptr 9ae8dbb7ed Migrate all groovy to kts 2022-02-10 21:15:41 +08:00
LoveSy cda0096007 Fix build 2021-12-08 21:06:56 +08:00
LoveSy 5e37951907 Update core 2021-12-08 21:00:17 +08:00
Nullptr dc0c63e857 Support Android 12 2021-11-01 23:17:11 +08:00
Nullptr 99c7f72665 Compress module; Move all lspatch files to one directory; Use a single config json instead of a lot of inis 2021-10-21 12:48:17 +08:00
Nullptr 28b9bdf7ed Add allowing downgrade installation option 2021-09-18 14:14:21 +08:00
Nullptr 0f0e726f2f Move a string to shared constants 2021-09-18 12:52:52 +08:00