NkBe
544eccfeef
Move org.lsposed.npatch.util to nkbe.util
2025-12-04 23:06:27 +08:00
NkBe
611d77f263
rename provider2mtprovider
2025-12-03 22:32:53 +08:00
NkBe
af548bb25d
feat: 增加已修補列表自動刷新 & 優化安裝完成後的跳轉邏輯
...
1. AppManageViewModel:
- 實現已修補應用列表的自動刷新機制(每 90 秒輪詢一次)。
- 引入 `silent` 參數區分自動刷新與手動刷新,避免自動刷新時 UI 出現加載轉圈,提升體驗。
2. NewPatchPage:
- 重構安裝成功的判定邏輯:不再僅依賴 PackageInstaller 的回調。
- 新增 `BroadcastReceiver` 監聽系統 `PACKAGE_ADDED` 和 `PACKAGE_REPLACED` 廣播。
- 確保系統真正註冊完新包後再執行導航返回 (navigateUp),解決安裝後立即返回導致列表尚未更新或狀態不同步的問題。
2025-12-03 00:33:21 +08:00
NkBe
5aa809dc5a
Refactor:Replace all instances of `lspatch` with `npatch`
...
嘗試规避關鍵詞檢測
2025-12-02 23:42:23 +08:00
NkBe
c136335aaf
feat: support Shizuku API to fetch app list
...
ShizukuApi 增添 getInstalledApplications 方法,包名管理器增添 fetchAppList 方法,優先使用 Shizuku API 獲取應用列表,失敗則回退至標準 PackageManager。
2025-11-19 22:59:02 +08:00
NkBe
5642d2e62f
Improve compatibility with boot.oat in recent A15
...
See JingMatrix/LSPosed#414 for details
Also update few dependencies.
Co-Authored-By: JingMatrix <jingmatrix@gmail.com>
2025-11-19 21:03:41 +08:00
NkBe
0fa8ef2b89
enjoy: 專門為MiUI桌面卸載添加了提示,提升使用者體驗
2025-10-29 23:54:55 +08:00
NkBe
307660038e
refactor: rename lspatch meta key to npatch
2025-10-29 21:38:58 +08:00
NkBe
d843faa515
fix: Forgot to add the inject DP option and Remove redundant intent-filter
...
.
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)
ac95b91712
Modify part of lspatch to npatch
2025-10-06 23:27:30 +08:00
NkBe(HSSkyBoy)
7613e7de10
feat: add output log to media
...
底層實現了日誌檔案寫入。為管理器新增了 outputLog 選項,可以將日誌輸出到 Android/media 目錄。
2025-10-06 23:27:30 +08:00
NkBe
9804125d1f
feat: Streamline application mode descriptions
2025-09-30 23:24:03 +08:00
NkBe
5bfa072960
manager: Fix English icon colors
2025-09-30 23:24:03 +08:00
NkBe
4b8da5c255
chore: update core
...
然後將jar的默認簽名同步為manger的,並將構建出的文件名頭改爲NPatch
2025-09-11 22:49:55 +08:00
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