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
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
ed93e43f8c
feat: deleat old InstallActivity
2025-09-07 14:38:02 +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
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
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
XposedBot
d2b1de7ba5
[translation] Update translation from Crowdin ( #204 )
2023-06-06 10:12:54 +08:00
XposedBot
eda250c0fc
[translation] Update translation from Crowdin ( #133 )
...
* New translations strings.xml
2022-11-11 20:57:13 +08:00
XposedBot
1574405276
[translation] Update translation from Crowdin ( #121 )
...
* New translations strings.xml
2022-10-23 23:59:35 +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
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
XposedBot
3e6f863e15
[translation] Update translation from Crowdin ( #78 )
2022-06-06 11:20:34 +08:00
XposedBot
4b0453e37f
[translation] Update translation from Crowdin ( #68 )
...
* New translations strings.xml (Romanian)
* New translations strings.xml (English)
* 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 (Polish)
* 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 (Portuguese)
* New translations strings.xml (Norwegian)
* New translations strings.xml (French)
* New translations strings.xml (Greek)
* 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 (Finnish)
* New translations strings.xml (Dutch)
* 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 (Lithuanian)
* New translations strings.xml (Chinese Traditional, Hong Kong)
2022-05-28 00:20:33 +08:00
Nullptr
9e5f805d62
New translations strings.xml
2022-05-06 16:34:01 +08:00
XposedBot
7d79f8a1f9
[translation] Update translation from Crowdin ( #50 )
2022-04-28 00:42:16 +08:00
XposedBot
792a6f887a
[translation] Update translation from Crowdin ( #47 )
2022-04-16 17:10:36 +08:00
Nullptr
7f19ad3471
Update Chinese translation
2022-03-17 20:35:10 +08:00
XposedBot
477440c0b2
[translation] Update translation from Crowdin ( #43 )
2022-03-08 11:47:40 +08:00