WeiguangTWK
798d98c089
Shizuku: Dex2Oat usually needs root to run
2026-04-02 20:52:56 +08:00
WeiguangTWK
98cd89f9d0
treewide: Upgrade API level to 101 and change name to GKMSPatch
2026-04-02 20:14:53 +08:00
NkBe
e640da4f57
feat: 引入輕量級 MicroG 支援與 GMS 請求重導向機制
...
為 NPatch 引入了原生的 MicroG 整合支援,允許修補後的 Google 應用程式(例如 YouTube)在依賴 Google Play 服務的環境下,透過社群版 MicroG(如 ReVanced GmsCore)正常運作。
詳細改動範圍包含:
* ** UI Manager **
- 於 `NewPatchScreen` 的修補選項清單中,新增「啟用 MicroG 支援」核取方塊與相容性說明。
- 更新 `NewPatchViewModel`,透過 `Patcher.kt` 將使用者的 `useMicroG` 選擇狀態以 `--useMicroG` 指令列參數的形式,傳遞給底層修補引擎。
* ** Patcher **
- 於 `NPatch.java` 中新增對 `--useMicroG` 參數的解析邏輯。
- 擴充 `modifyManifestFile` 邏輯:當啟用 MicroG 支援時,自動讀取目標應用的原始簽名並轉碼為 Hex 格式。
- 於 `AndroidManifest.xml` 中動態注入 `fake-signature` 的 `<meta-data>` 節點與 `android.permission.FAKE_PACKAGE_SIGNATURE` 權限,以滿足 MicroG 進行簽名欺騙(Signature Spoofing)時的驗證需求。
* ** Patch Loader **
- 實作 `GmsRedirector.java` 類別,負責在應用程式執行期間動態攔截並重導向 IPC 通訊:
1. 掛鉤 `Intent.setPackage`、`Intent.setComponent` 與建構子,將所有指向 `com.google.android.gms` 與 GSF 的意圖,強制導向至設備上已安裝的社群版 MicroG 套件(優先支援 `app.revanced.android.gms` 與 `org.microg.gms`)。
2. 掛鉤 `ContentResolver`,替換帶有 GMS Authority 的 URI。針對真實 GMS 拋出的 `SecurityException`(憑證拒絕存取)實作了智慧攔截與重試機制。
3. 掛鉤 `PackageManager.getPackageInfo` 實現動態簽名偽裝,使修補後的應用程式將 MicroG 視為官方正版 GMS。
- 於 `LSPApplication.java` 的 `onLoad` 階段,依據 `PatchConfig` 設定檔動態喚醒並初始化 `GmsRedirector`。
* ** Share **
- 更新 `PatchConfig.java` 以儲存與傳遞 `useMicroG` 布林值狀態。
- 於 `Constants.java` 中定義 `REAL_GMS_PACKAGE_NAME` 常數,供各模組統一呼叫。
Co-Authored-By: MrZhongzq <108169409+MrZhongzq@users.noreply.github.com>
2026-03-08 21:53:41 +08:00
NkBe
01d344ed01
Clarify sigbypass lv3 string to 64-bit only
2026-03-08 21:53:41 +08:00
NkBe
271eb7bd82
feat(sigbypass): SVC Bypass (ARM64) and OpenAt I/O Redirection
...
導入 ARM64 專用的 SVC/Seccomp 內核級簽名繞過 (Level 3),並全面強化檔案 I/O 重定向機制。
移除非 ARM64 架構的支持
2025-12-22 21:57:33 +08:00
NkBe
f14f65d078
refactor(ui): 統一介面風格並優化佈局
...
- Home:重新整理資訊卡,將 StringBuilder 替換為 Composables;修正填充和 HtmlText 參數錯誤。
- Manager:為 TabRow 添加動畫指示器並統一頁面間距。
- Settings:為 KeyStore 對話框添加垂直滾動功能,以防止在小螢幕上出現裁剪。
- Repo:改善「即將推出」的 UI,增添圖標。
2025-12-11 22:42:26 +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
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
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
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
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
b4d1726708
Fix: Enable install activit
2025-08-18 13:24:12 +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
9563fcc4d9
feat: check manager
2025-08-17 22:59:34 +08:00
NkBe
10b291bd61
NPatch
2025-08-17 22:09:10 +08: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
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
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
8462043963
feat: select module(s) from storage ( #225 )
2023-10-12 14:10:53 +08:00
XposedBot
d2b1de7ba5
[translation] Update translation from Crowdin ( #204 )
2023-06-06 10:12:54 +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
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
XposedBot
1574405276
[translation] Update translation from Crowdin ( #121 )
...
* New translations strings.xml
2022-10-23 23:59:35 +08:00
Nullptr
f8888b81e8
Support bootstrapping loader dynamically for local mode ( #118 )
2022-10-21 15:24:16 +08:00
XposedBot
47ba5167fe
[translation] Update translation from Crowdin ( #112 )
...
* New translations strings.xml (Romanian)
* New translations strings.xml (Chinese Traditional)
* 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 (Urdu (Pakistan))
* New translations strings.xml (Norwegian)
* New translations strings.xml (Vietnamese)
* New translations strings.xml (Portuguese, Brazilian)
* New translations strings.xml (Indonesian)
* New translations strings.xml (Persian)
* New translations strings.xml (Bengali)
* New translations strings.xml (Thai)
* New translations strings.xml (Hindi)
* New translations strings.xml (Polish)
* New translations strings.xml (Dutch)
* New translations strings.xml (French)
* New translations strings.xml (German)
* New translations strings.xml (Spanish)
* New translations strings.xml (Afrikaans)
* New translations strings.xml (Arabic)
* New translations strings.xml (Bulgarian)
* New translations strings.xml (Catalan)
* New translations strings.xml (Czech)
* New translations strings.xml (Danish)
* New translations strings.xml (Greek)
* New translations strings.xml (Lithuanian)
* New translations strings.xml (Finnish)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hungarian)
* New translations strings.xml (Italian)
* New translations strings.xml (Japanese)
* New translations strings.xml (Korean)
* New translations strings.xml (Kurdish)
* New translations strings.xml (Chinese Traditional, Hong Kong)
2022-09-26 10:07:02 +08:00
Nullptr
415f434d08
Add starting modules from manager
2022-09-23 00:04:25 +08:00
Nullptr
2e2c818de6
Drop v1 signature & UI improvement
2022-09-06 21:20:06 +08:00
Nullptr
cb1ba36514
Type safe preferences & Change topbar style
2022-07-07 01:40:35 +08:00
XposedBot
220b6db35c
[translation] Update translation from Crowdin ( #91 )
...
* New translations strings.xml (Romanian)
* 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 (Urdu (Pakistan))
* New translations strings.xml (Norwegian)
* New translations strings.xml (Vietnamese)
* New translations strings.xml (Portuguese, Brazilian)
* New translations strings.xml (Indonesian)
* New translations strings.xml (Persian)
* New translations strings.xml (Bengali)
* New translations strings.xml (Thai)
* New translations strings.xml (Hindi)
* New translations strings.xml (Polish)
* New translations strings.xml (Dutch)
* New translations strings.xml (French)
* New translations strings.xml (German)
* New translations strings.xml (Spanish)
* New translations strings.xml (Afrikaans)
* New translations strings.xml (Arabic)
* New translations strings.xml (Bulgarian)
* New translations strings.xml (Catalan)
* New translations strings.xml (Czech)
* New translations strings.xml (Danish)
* New translations strings.xml (Greek)
* New translations strings.xml (Lithuanian)
* New translations strings.xml (Finnish)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hungarian)
* New translations strings.xml (Italian)
* New translations strings.xml (Japanese)
* New translations strings.xml (Korean)
* New translations strings.xml (Kurdish)
* New translations strings.xml (Chinese Traditional, Hong Kong)
2022-07-06 23:20:31 +08:00
Nullptr
b76ea503dd
Type safe navigation
2022-07-06 16:35:17 +08:00
Nullptr
21c43250f1
Module page
2022-07-06 10:56:18 +08:00
Nullptr
279e95b57b
Support upgrade loader version
2022-07-05 21:54:13 +08:00
XposedBot
3e6f863e15
[translation] Update translation from Crowdin ( #78 )
2022-06-06 11:20:34 +08:00
david082321
f7aba85a05
Create ic_launcher_background.xml ( #72 )
2022-06-02 12:23:33 +08:00