ONPatch
5.24K subscribers
47 photos
105 files
39 links
@NPatch 的测试发布频道
Download Telegram
ONPatch
NPatch-v1.0.9-843-release.apk
同時支援了如 base.apk.1 的格式
👍7❤2
Forwarded from NPatch
NPatch-v1.0.9-847-release.apk
6 MB
我们将签名绕过后端的 PLT/GOT Hook 方案由 爱奇艺的 xHook 全面迁移至 字节跳动的 bhook,同时剥离了 ShadowHook 依赖,使 bhook 得以独立轻量运作😈

这次重构旨在显著提升原生层签名绕过的效能与整体稳定性,我相信你们也能看到光是 apk 产物,即使是在压缩后发布的版本,它也小了约 0.5MB🦀

有趣的是,这两个开源库的作者都是 caikelun 🐾

由于涉及核心 Native 机制的调整,影响范围较广,特在此频道发布测试版,希望能收集大家的第一手反馈!遇到任何问题请随时回报 ❤️
Please open Telegram to view this post
VIEW IN TELEGRAM
👍17❤5
AntiHook.apk
2.1 MB
https://bbs.binmt.cc/thread-175114-1-1.html
大家可以測試一下去簽名校驗的實際效果。目前各個去簽方案的側重點各有不同,未來或許能找到更全面的繞過方式。不過就目前而言,即便是 LSPosed 在默認配置下,依然存在四個已知的檢測風險點
👍20❤3
ONPatch
AntiHook.apk
讓我們來大展拳腳吧😈
Please open Telegram to view this post
VIEW IN TELEGRAM
❤17👍3
NPatch-v1.0.9-849-release.apk
6 MB
規避匿名可執行段掃描,修復了對於非標準XML的解析
👍15❤4
jar-v1.0.9-850-release.jar
9.3 MB
fix(loader): give framework classloader an XResources super parent
The framework InMemoryDexClassLoader was built with stub_classloader as its parent, which does not define XResources' synthetic super (xposed.dummy.XResourcesSuperClass extending android.content.res.Resources). When a module uses XResources, ART resolves android.content.res.XResources with its super unreachable and records the class as erroneous for the whole process, so resource hooking hard-fails (seen on Android 16). Build the dummy super class loader (already provided by core's BuildDummySuperClassLoader) and install it as the framework loader's parent at construction, falling back to stub_classloader if it cannot be built. Mirrors JingMatrix/LSPatch.
👍16❤4
manager-v1.0.9-851-release.apk
6 MB
refactor(provider): Switch to injecting the provider via continuous classesN.dex files and remove broken reflection
- When NPatch patching, it directly places mtprovider.dex into the main DEX sequence (classesN.dex), allowing the system's native MultiDex to load it.
- Removed the runtime copying of provider.dex and the reflection injection logic for DexPathList$Element(DexFile), which does not exist on Android 8+.
- In signature bypass mode, the installer's DEX is appended via the standard addDexPath method.
❤13👍6🔥3
jar-v1.0.9-855-release.jar
9.3 MB
針對 .apks 封裝機制導致簽名校驗失敗之問題進行修復:先前採用 DEFLATED 模式打包 .apks 檔案時,儘管資料內容未壓縮,但壓縮標識仍被設定為 8,致使系統安裝器在使用 mmap 驗證 V2/V3 Signature Block 時產生位置計算偏移,進而判定檔案未簽名。現已全面改用 STORED 模式進行直接封裝,徹底解決 split/base APK 安裝過程中簽名失效之問題。


免 Root 本地模式下的 Xposed 模組設定 App 專用 SDK 已正式發布 v1.0.1 版本,並全面上線 JitPack 平台,使用者無需再手動下載並複製 AAR 檔案。

新增 NPatchRemoteClient.probe(context) 方法,透過單次調用即可明確區分 READY、MANAGER_NOT_FOUND、MODULE_NOT_CONFIGURED 及 DENIED 等狀態,便於向使用者提供引導提示。

即時清理機制:調用端傳入 clientToken,當模組進程退出時,Manager 端將自動透過 DeathRecipient 釋放服務快取,以杜絕記憶體滯留問題。

通知功能修復:修正自定義 applicationId 情境下 Provider 通知 URI 不匹配之隱蔽問題,確保偏好即時同步機制更加穩健。

NPatch 主專案已正式解除與內部子模組之綁定關係,Remote API 將作為獨立開源專案進行維護。
👍16❤9
manager-v1.1.0-862-release.apk
6.5 MB
fix(sigbypass): 解決 TLS 緩衝區與 linker 鎖倒置導致的多執行緒 ANR 死鎖 (#164)
fix(provider): 解決簽名繞過模式下 MTDataFilesProvider 找不到類的問題 (#165)
fix(sigbypass): 重構 360 加固專題特徵庫檢測避免誤判(#168)
feat(arch): 恢復 x86_64 ABI 支援
fix(cli): 為 --outputLog 添加 arity=1 以支援顯式傳入 false 關閉日誌 (#148)
🔥12❤8👍2
manager-v1.1.0-865-release.apk
6 MB
feat(manager): Add UI support for injecting custom permissions during patching (#149)

perf(assets): Remove redundant copies and enable AGP native compression for embedded resources
👍10❤4🔥2