Commit Graph

130 Commits

Author SHA1 Message Date
NkBe c2fdd4941d
refactor: improve hook and dex loading logic
重構了 patch_loader.cpp 並修改了bypass_sig.cpp,優化了 openat hook 的實現方式,簡化了 HookOpenat 和 enableOpenatHook 的流程。PatchLoader 的 LoadDex、InitArtHooker、InitHooks、SetupEntryClass、Load 方法也進行了結構優化,提升了代碼可讀性和健壯性,減少了重複代碼,並加強了錯誤處理。
參考自 802d3fbe28 爲什麽這樣改我也有點忘了,commit用Copilot寫的
2025-09-07 22:17:31 +08:00
NkBe 4e63d61cd3
fix: can't connect to manager
順便優化了一下排版
2025-09-07 22:16:41 +08:00
NkBe 326afc95ab
feat: add FileProvider and refactor install logic
新增 FileProvider 到 AndroidManifest,使其能检测到修补后的 apk;简化 NewPatchScreen 的安装按钮逻辑;修正 AppManagePage 的闭包结构。
2025-09-07 14:38:14 +08:00
NkBe ed93e43f8c
feat: deleat old InstallActivity 2025-09-07 14:38:02 +08:00
NkBe 0d55e2e602
Enhance installation and cleanup processes
Co-Authored-By: xihan123 <srxqzxs@vip.qq.com>
2025-09-07 14:38:02 +08:00
NkBe c0aecf9e33
change name and url
Co-Authored-By: Kaelyn Wisoky <206877283+lshwjgpt25@users.noreply.github.com>
2025-09-05 23:48:04 +08:00
NkBe 515f527cb2
微调 2025-08-18 15:44:20 +08:00
NkBe e05f175be1
Update string-zh-rHK
Co-Authored-By: Hoshino_17 <124479472+bf2967252373@users.noreply.github.com>
2025-08-18 15:07:38 +08:00
NkBe 25685bd4c6
Fix: Unresolved reference 'settings_storage_directory' 2025-08-18 13:47:31 +08:00
NkBe 155a76a43e
fix: lspatch metadata decode crash
Co-Authored-By: o0kam1 <duzhaokun2@outlook.com>
2025-08-18 13:36:07 +08:00
NkBe b4d1726708
Fix: Enable install activit 2025-08-18 13:24:12 +08:00
NkBe 88561bd2bd
feat: add StorageDirectory Switch
076e0e4f3b
2025-08-18 00:20:43 +08:00
NkBe 6be5f6ed7c
feat: switch install package
Co-Authored-By: o0kam1 <duzhaokun2@outlook.com>
2025-08-18 00:10:30 +08:00
NkBe 7881387bb2
Opti the translation, corrected typos in the README.
Added new permissions and activity-aliases to AndroidManifest.xml, updated provider permissions, and adjusted service export settings. Improved the Chinese translation for storage selection. Fixed typos in the README project name.
2025-08-17 23:37:31 +08:00
NkBe 147d93c5dc
Update built-in hyperlinks 2025-08-17 23:15:29 +08:00
NkBe 9563fcc4d9
feat: check manager 2025-08-17 22:59:34 +08:00
NkBe 10b291bd61
NPatch 2025-08-17 22:09:10 +08:00
JingMatrix 5180d7315d Update dependencies
Update compose-destinations is non-trivial.
To use version 2.0+ in the future, we need to follow its migration guide:
https://composedestinations.rafaelcosta.xyz/migrating-to-v2/
2025-08-03 09:42:16 +02:00
JingMatrix b98eaf8050
New translations strings.xml (French) (#32) 2025-03-15 14:40:20 +01:00
JingMatrix 30f86dac8d Remove unnecessary translations in zh-HK 2024-12-01 09:48:35 +01:00
JingMatrix bab8bd2d4c Update JingMatrix/LSPosed 2024-12-01 09:48:30 +01:00
JingMatrix 671fe40074
[translation] Update translation from Crowdin (#21)
* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Afrikaans)

* New translations strings.xml (Arabic)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Finnish)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Korean)

* New translations strings.xml (Dutch)

* New translations strings.xml (Norwegian)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Ukrainian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Traditional, Hong Kong)
2024-12-01 09:24:55 +01: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 7c153f6491
[translation] Update translation from Crowdin (#18)
* New translations strings.xml (Arabic)

* New translations strings.xml (Russian)

* New translations strings.xml (Chinese Traditional, Hong Kong)
2024-10-31 20:50:48 +01:00
JingMatrix 19fe0f2b18
[translation] Update translation from Crowdin (#16)
* New translations strings.xml (Arabic)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Russian)
2024-10-31 15:12:17 +01:00
JingMatrix a85a0fa578 Fix proguard rules 2024-09-16 19:22:21 +02:00
JingMatrix 90880f9bbe Update repo info 2024-07-27 10:41:40 +02:00
JingMatrix cddf811b9c Update dependencies
1. Use JDK 21
2. Update ksp for compatibility (compulsory)
3. R8 claims that org.lsposed.lspatch.util.ModuleLoader is needed

We use rules in share/lspatch-rules.pro to ensure that LSPatch works
properly after R8 engine
2024-05-18 22:57:32 +02:00
Js0n 2243d010b8
fix: packageInstaller userId (#280)
Package installer now install patched app in current user instead of
main user
2023-12-12 00:35:20 +08:00
Js0n 4bf1371155
feat: launch and install from apk intent (#279)
close #90
2023-12-11 23:38:30 +08:00
南宫雪珊 5bf494400d
Revert "fix: get installed apps failed for some chinese ROM" (#278)
Reverts LSPosed/LSPatch#273
2023-12-10 18:02:37 +08:00
Js0n 2fdf66cd6e
fix: get installed apps failed for some chinese ROM (#273)
refer to
1.
[TAF](http://www.taf.org.cn/StdDetail.aspx?uid=3A7D6656-43B8-4C46-8871-E379A3EA1D48&stdType=TAF)
2. [vivo](https://dev.vivo.com.cn/documentCenter/doc/747)
2023-12-10 12:44:53 +08:00
XposedBot 0b77dde4d7
[translation] Update translation from Crowdin (#268) 2023-11-23 20:48:17 +08:00
Js0n 3674a967ef
Remove keep alive foreground service because bound service won't need it (#262)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-11-23 20:32:24 +08:00
XposedBot ebf9397e5d
[translation] Update translation from Crowdin (#267) 2023-11-23 20:12:20 +08:00
Js0n eb2c458dc1
fix(manager): keep alive service crashing in A14 (#259) 2023-11-11 21:05:34 +08:00
Js0n 8b5d06f073
Revert "fix(manager): update loader failed due to outdated origin apk filename" (#257)
Reverts LSPosed/LSPatch#253
2023-11-11 19:12:27 +08:00
5ec1cff 531acdb924
use version catalog (#256) 2023-11-08 02:07:20 +08:00
Js0n 768d335eea
fix(manager): update loader failed due to outdated origin apk filename (#253) 2023-11-02 22:07:10 +08:00
Js0n 8462043963
feat: select module(s) from storage (#225) 2023-10-12 14:10:53 +08:00
LoveSy 7d69dbcb66 Fix crash and sync 2023-06-29 10:08:50 +08:00
Howard Wu 941726d559
Core upgrade (#213)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-06-29 02:17:00 +08:00
XposedBot d2b1de7ba5
[translation] Update translation from Crowdin (#204) 2023-06-06 10:12:54 +08:00
Howard Wu 0964a8eece
Update core to 1.8.6 (#168)
With
- update AGP to 7.4.0
- update Android Build Tools to 33.0.1
2023-01-28 11:54:06 +08:00
Nullptr 2ace2660b4
Fix modules missing after update loader for integrated mode 2022-11-13 22:43:39 +08:00
XposedBot 010aa7a270
[translation] Update translation from Crowdin (#134) 2022-11-11 21:42:12 +08:00
XposedBot eda250c0fc
[translation] Update translation from Crowdin (#133)
* New translations strings.xml
2022-11-11 20:57:13 +08:00
Nullptr b2b542e7cc
Optimize build 2022-11-10 22:55:39 +08:00
Nullptr 319a21f103
Small UI fixes 2022-11-09 14:10:02 +08:00
Nullptr c191397dc0
Add foreground keep alive option 2022-11-09 13:09:50 +08:00