Commit Graph

21 Commits

Author SHA1 Message Date
NkBe 3c8964bc83
Enable resource shrinking; bump CMake min version 2026-02-23 18:02:04 +08:00
NkBe 59dc353e0e
修正本地模式模式並解決 x86_64 的 bypass_svc 構建問題
manager / patch-loader:
- 將 ConfigProvider 添加至管理器以調用已啟用模組列表,繞過安卓沙盒限制。
- 將 NeoLocalApplicationService 改寫為查詢 ConfigProvider,而非 SharedPreferences。
- 動態解析 APK 路徑透過 PackageManager 並改善錯誤記錄。

bypass_svc:
- 修復 x86_64 編譯錯誤。
- 為 x86_64 提供 stub 實現。
- 將 g_is_hook_active 移至全域範圍以避免未定義符號。
- 保護 ARM64 特定的 syscall/seccomp 邏輯。
2026-02-10 16:39:53 +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 5aa809dc5a
Refactor:Replace all instances of `lspatch` with `npatch`
嘗試规避關鍵詞檢測
2025-12-02 23:42:23 +08:00
NkBe(HSSkyBoy) d1993bb739
feat: Introduced <unistd.h> and optimized logs and error messages 2025-10-06 23:27:30 +08:00
NkBe 5bbef84a43
feat: Add null checks for JNI method arguments
Adds a null pointer check for the origApkPath and cacheApkPath arguments in the enableOpenatHook native method.

Previously, passing nullptr to this method would lead to a potential crash. The added checks ensure the function handles invalid input gracefully by logging an error and returning early, thus preventing a potential crash.
2025-09-30 23:24:02 +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
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 95ed02d4bb Update JingMatrix/LSPosed
Users of Android 16 beta 3 has reported LSPlant failure, for which we should thus update LSPosed.
See issue https://github.com/JingMatrix/LSPlant/issues/2.

Files are reformatted.
2025-03-15 09:22:18 +01:00
JingMatrix 332d99784e Fix log formatting of __openat hook 2024-09-16 19:22:30 +02:00
JingMatrix 557d56091d Update JingMatrix/LSPosed
To avoid a crash in the fisrt launch (#7), we cannot use PLT
.inline_hooker to DisableBackgroundVerification.

Remove ccache to avoid difference between CI builds and local builds.
2024-09-16 19:22:26 +02:00
JingMatrix 3dacebc6bf Remove symbol cache
See commit 42190f1fb8
2023-12-28 14:00:22 +01:00
Nullptr f8888b81e8
Support bootstrapping loader dynamically for local mode (#118) 2022-10-21 15:24:16 +08:00
Nullptr 95f006682c
Update core and dependencies 2022-09-02 10:30:34 +08:00
Nullptr 8498da904c
Update core & Listen app change broadcast & Crash when cannot connect to manager 2022-07-10 23:25:23 +08:00
Nullptr 641ed369fa
Fix module not loading on first run 2022-05-27 23:01:06 +08:00
Nullptr 4e41e141dd
Update core version & dependencies 2022-05-27 19:57:42 +08:00
Bob Pan 857d228103
release ElfImg(libart.so) after InitHooks (#66)
LSPosed/LSPosed#1956
ElfImg(libart.so) is hold by kArtImg in symbol_cache.cpp,
it maps an extra segment of libart.so in /proc/self/maps,
which cause some app fail to detect the base address of libart.so,
force relese it.
2022-05-27 19:57:42 +08:00
Nullptr a9b27b1427 Update core to 1.8.3 2022-05-11 01:00:00 +08:00
Nullptr c88e63e1ee Update core version 2022-04-05 17:34:50 +08:00
Nullptr b89b425a53 Switch into mainline core branch 2022-03-17 19:52:05 +08:00