中文
修复: 启用模块后小米浏览器启动崩溃的问题。
感谢 @ChenXiaoming233 在 #11 提供崩溃日志协助定位问题。
Bug 修复
- 修复 浏览器启动崩溃 - 模块的 PackageManager hook 在浏览器进程内拦截了自身对 getPackageInfo 的调用,返回的假 PackageInfo 缺少 signatures 字段,浏览器启动时 AppSignatureUtil.getSignature() 读取到 null 数组导致 NPE 崩溃。修复: hookPackageManager 中增加自查询放行判断,当调用进程包名等于查询目标包名时跳过拦截,放行真实数据。
调试版 APK
- 新增
Fxxk-MiBrowser-v1.2.9-debug-log.apk,用于排查个别设备上的链接跳转异常。 - 普通用户不需要下载这个调试版;只有在需要抓日志、排查问题时才需要使用。
- 该调试版带有一个单独的调试界面,支持开启本地运行日志记录,以及通过
Share log导出日志。 - 该调试版与正式版使用相同包名和相同签名,可直接互相覆盖安装。
- 调试版下载:https://github.com/DuhMatt/Fxxk-MiBrowser/releases/download/v1.2.9/Fxxk-MiBrowser-v1.2.9-debug-log.apk
English
Fix: Browser crash on startup when the module is enabled.
Thanks to @ChenXiaoming233 for providing crash logs in #11 that helped identify the root cause.
Bug Fixes
- Fix browser startup crash - the PackageManager hook intercepted the browser's own getPackageInfo call and returned a fake PackageInfo without signatures, causing AppSignatureUtil.getSignature() NPE. Fix: Added a self-query guard in hookPackageManager - when the calling package matches the queried target, skip interception and let real data through.
Debug APK
- Added
Fxxk-MiBrowser-v1.2.9-debug-log.apkto investigate link redirect issues on affected devices. - Ordinary users do not need to download this debug build; it is only intended for log capture and issue diagnosis when troubleshooting is needed.
- This debug build includes a dedicated debug panel for enabling local runtime logging and exporting logs via
Share log. - The debug build uses the same package name and the same signing certificate as the public release, so the two builds can overwrite each other directly.
- Debug download: https://github.com/DuhMatt/Fxxk-MiBrowser/releases/download/v1.2.9/Fxxk-MiBrowser-v1.2.9-debug-log.apk