github 7723mod/NPatch v1.1.0
v1.1.0 The Exploration Update

3 hours ago

English

🛡️ Core & Native Injection Overhaul

  • Core Base Upgrade: Bumped to the latest Vector core base (core-837), resolving axml headerSize manifest parsing failures on modern APKs.
  • Stealth Injection Backing: Dobby code cave now utilizes memfd backing (/memfd:jit-cache) to evade security scanners targeting anonymous executable memory mappings (rwx/rx).
  • Hook Stack Streamlined: Cleaned up native hook dependencies to allow lightweight, decoupled operation.
  • ROM Compatibility Fixes: Resolved crash issues on MagicOS and related custom ROMs triggered by scanning execute-only (.text) memory pages.
  • DEX Injection Architecture: Re-architected MT Provider injection to use contiguous classesN.dex entries for native system MultiDex loading, eliminating obsolete reflection into internal ClassLoader classes.

📦 Patching & Packaging Engine

  • Signature Integrity: APKS and split APK repacking now strictly adopts STORED (uncompressed) mode with precomputed CRC32 and sizing, preventing V2/V3 signature block offset corruption.
  • Expanded File Input: Added native support for .apkm bundles and duplicate-download .apk.N files while preserving split APK structures intact.

⚡ Architecture Decoupling & Modern Compatibility

  • Remote API Decoupled: Extracted NPatch-Remote-API into a standalone open-source repository (v1.0.1) with real-time clientToken death monitoring and dynamic authority notification fixes.
  • Android 17 Ready: Fully compatible with Android 17 (SDK 37), resolving modern Shizuku package query restrictions and caching reflection looks.
  • Manager Polish: Repositioned home count cards side-by-side, enriched About page build details, and fixed Android 10 storage permission bugs.

中文

🛡️ 核心與 Native 注入強化

  • 核心基座升級:升級至最新 Vector 核心基座(core-837),修復 axml headerSize 於新版 aapt2 建置下的清單解析異常。
  • 記憶體隱蔽性:Dobby code cave 改用 memfd backing,規避對匿名可執行記憶體段(rwx/rx)的安全掃描。
  • Hook 棧精簡輕量化:解耦 native hook 依賴,精簡調用鏈並降低運行衝突。
  • ROM 崩潰修復:修復 MagicOS 等客製化系統上掃描 execute-only (.text) 記憶體段導致的閃退問題。
  • DEX 注入架構重構:改以連續 classesN.dex 追加注入檔案提供器,交由系統 MultiDex 原生加載,拔除已失效的 Dalvik/ART 反射邏輯。

📦 修補與打包引擎

  • 簽名保護修復:APKS / 分包封裝全面改用 STORED 儲存方式並預算 CRC32,避免破壞 V2/V3 簽名 block 造成系統安裝器校驗失敗。
  • 輸入支援擴展:支援直接選取導入 .apkm 安裝包及重名下載的 .apk.N 檔案,自動保持 split APK 完整性。

⚡ 架構獨立與系統相容

  • Remote API 獨立開源:抽離為獨立公開倉庫維護(升級至 v1.0.1),修復自訂 Authority 通知失效並加入客戶端 Binder 死亡清理機制。
  • Android 17 全面適配:適配 Android 17 (SDK 37),修復高版本下 Shizuku 套件查詢失敗問題並加入反射快取。
  • 管理器體驗細節:首頁計數卡片並排重構、關於頁補齊詳細構建資訊與官網連結、修復部分 Android 10 機型可能無法獲取存儲權限的問題。

Don't miss a new NPatch release

NewReleases is sending notifications on new releases.