We have launched a new theme system originating from COUI, featuring numerous details and optimizations. Please try it out.
Open in TelegramPosts of ONPatch
perf(loader): 減少內建模式冷啟動時的重複檔案 I/O - metaloader 以 APK 指紋為檔名重用已解出的 libnpatch.so,避免每次啟動都重新寫檔並執行 fsync。 - AppComponentFactory 探測結果依 APK 指紋進行快取,避免每次啟動皆掃描全部 dex 以查找類別。 - OriginApkHelper 在同一進程內快取 origin.apk 條目的 CRC 與大小,避免重複開啟修補後的 APK。 - IntegrApplicationService 內建模組清單共用同一個 ZipFile 實例,不再逐模組個別開啟。 - 當 provider dex 內容未發生變更時,不再執行重寫操作。 - metaloader 與 AppComponentFactory 的探測快取已遷移至既有的 cache/code_cache 目錄,不再使用獨立的 cache/npatch 路徑;CacheCleaner 將同步清理舊路徑下的殘留檔案。 refactor(build): 重整根目錄建置腳本並適配 AGP 新 DSL perf(manager): 以壓縮方式封裝 dex 以縮減 APK 體積
Open in Telegramfeat(manager): 頂欄支援進階漸進式模糊 (Progressive Blur) 與 2025 動態色彩規範(含 7 種 Monet 調色盤風格) fix(manager): 重構全頁面頂欄模糊、二級頁面過渡與搜尋欄,修復子頁面空白、啟動崩潰及側滑返回攔截並優化設定頁效能 fix(manager): 強化權限與安全隔離,包含驗證呼叫者身分、限定模組自動核准範圍、停用匯出 InstallResultReceiver 並排除敏感設定備份 fix(manager): 修正安裝逾時無效問題 fix(cli): 參數驗證或修補失敗時回傳非零結束碼並清除殘留輸出 fix(loader): 修正崩潰提示 Toast 未顯示的問題 fix(shizuku): 安裝完成後自動還原套件驗證設定 chore(i18n): 補齊全語系翻譯並更新色彩規範與漸進式模糊文案 chore(i18n):優化香港粵語與貓娘語
Open in Telegramfeat(manager): Add UI support for injecting custom permissions during patching (#149) perf(assets): Remove redundant copies and enable AGP native compression for embedded resources
Open in Telegramfix(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)
Open in Telegram針對 .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 將作為獨立開源專案進行維護。
Open in Telegramrefactor(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.
Open in Telegramfix(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.
Open in Telegramhttps://bbs.binmt.cc/thread-175114-1-1.html 大家可以測試一下去簽名校驗的實際效果。目前各個去簽方案的側重點各有不同,未來或許能找到更全面的繞過方式。不過就目前而言,即便是 LSPosed 在默認配置下,依然存在四個已知的檢測風險點
Open in TelegramForwarded from NPatch
我们将签名绕过后端的 PLT/GOT Hook 方案由 爱奇艺的 xHook 全面迁移至 字节跳动的 bhook,同时剥离了 ShadowHook 依赖,使 bhook 得以独立轻量运作😈 这次重构旨在显著提升原生层签名绕过的效能与整体稳定性,我相信你们也能看到光是 apk 产物,即使是在压缩后发布的版本,它也小了约 0.5MB🦀 有趣的是,这两个开源库的作者都是 caikelun 🐾 由于涉及核心 Native 机制的调整,影响范围较广,特在此频道发布测试版,希望能收集大家的第一手反馈!遇到任何问题请随时回报 ❤️
Open in Telegram