Releases: 7723mod/NPatch
v0.7.3
中文
重命名部分組件
更新部分依賴
將所有 'lspatch' 轉為 'npatch' 以规避部分關鍵詞檢測
manager 新增簽名驗證防篡改(僅 java 讀取 hashCode )
支援手動重載列表
- 當卸載後重新整理程式清單
- 可手動下拉刷新應用列表與模組列表
優化應用列表取得
- 安裝及卸載應用後將重新獲取應用列表,應用本身會定期重新獲取應用列表(實驗性)
更嚴格的權限檢查
- Android 11 以上:檢查 Environment.isExternalStorageManager(),如果沒有權限,則跳轉到「所有檔案存取權」設定頁面。
- Android 10 及以下:檢查並請求 WRITE_EXTERNAL_STORAGE 和 READ_EXTERNAL_STORAGE 權限。
修復: 正確設定共享偏好設定鍵並提升加載穩定性
- 修正了 SharedPreferences 鍵配置錯誤,確保模組緩存能正確加載。
- 優化檔案注入器:減少 ZipFile 重複 I/O,提升啟動效率。
- 優化 profile 禁用:採用冪等性檢查和 Truncate 替代 Delete/Create 流程,增強對系統監控的穩定性,避免用戶配置意外清除。
- 代碼精簡:改進了變數命名和程式碼結構。
修復安裝完成提示(部分情況)
修正了某些裝置上注入載入器的 Crash 問題
English
Rename some components
Update some dependencies
Replace all 'lspatch' with 'npatch' to bypass some keyword detection
Manager adds signature verification to prevent tampering (only Java reads hashCode)
Support manual reload of list
- Reload program list after unloading
- Manually pull down to refresh the app list and module list
Optimize Application List Retrieval
- After installing or uninstalling an application, the application list will be re-fetched. The application itself will periodically re-fetch the application list (experimental).
More Strict Permission Checks
- Android 11 and above: Check Environment.isExternalStorageManager(). If no permission is granted, navigate to the "All File Access Permissions" settings page.
- Android 10 and below: Check and request WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE permissions.
Fix: Correctly set shared preference keys and improve loading stability
- Corrected SharedPreferences key configuration error to ensure module caching can be loaded correctly.
- Optimized file injector: Reduce repeated I/O of ZipFile, improve startup efficiency.
- Optimize profile disabling: Adopted equivalence checks and Truncate as an alternative to Delete/Create processes, enhancing the stability of system monitoring and preventing accidental user configuration deletion.
- Code Simplification: Improved variable naming and code structure.
Fix installation completion prompt (partial cases)
Fixed crash issues related to injection loaders on some devices
v0.7.2
中文日志见 NPatch-Telegram
✨New Features
New method to obtain the app list via Shizuku.
Supports injection of MT Manager DocumentsProvider.
Supports using a custom new package name for app patching.
Optimized the core signature verification bypass mechanism.
Improved log output and error messages, and supports logging to the Android/media directory.
Automatically clean up profile files to prevent expired archives from interfering with operation.
Streamlined the application mode description text, enhancing readability.
🐛Fixes & Improvements
Enhanced compatibility with some A15 devices.
Improve assets handling and error checks.
Fix memory leak issue caused by JNI global references not being released.
Optimize the service binding timeout logic, fallback mechanism, and module loading stability.
Correct the getPrefsPath path acquisition logic.
Special prompts added for MIUI desktop uninstall scenarios, improving user experience.
⚙️Refactor & Core
All metadata and names related to LSPatch are fully migrated/renamed to NPatch.
Refactor the RemoteService and APK signature parsing logic.
Add null checks for some method parameters to prevent exceptions and crashes.
Synchronize updates to the Core component.
🛠️Build Workflows
Migrate the runtime environment to Ubuntu and simplify the build cache configuration.
Join our Telegram
v0.7.1
What's New:
API 100 support (core only)
Full support for Android 15
Full support for Android 16
Compatibility with special hardening
Modifiable output path
Allows installation using system APIs
Minimizes file size of packaged files
Explicit manager package name in the config file
Allows users to select whether to inject loader dex
Optimized signature bypass (Hook) and patching logic
Join our Telegram