1 641
Subscribers
+2024 hours
+827 days
+22130 days
Posts Archive
1 641
当遇到 QQ 或 TIM 启动时出现长时间白屏的现象,建议在 LSPosed 框架中对相应应用执行“重新优化”操作。此操作实质上是对 DEX 字节码进行 dex2oat 编译优化,旨在提升运行时加载效率。
若模块运行于 Zygisk 工作模式,可通过终端命令手动触发编译:
cmd package compile -m speed-profile <package_name> -f
该命令的执行需具备 root 权限;若设备未获取 root 权限,可借助 Shizuku 实现权限代理,其效果与直接执行相似。
建议在操作前确认目标应用的包名(例如 com.tencent.mobileqq),并结合实际使用场景选择适宜的编译模式。
需补充说明的是,若执行优化后启动速度未见显著改善,或白屏持续时间依旧较长,则极有可能是当前启用的某个 LSPosed 模块对 QQ 或 TIM 的启动初始化过程造成了显著干扰。建议逐一排查已激活的模块,尝试暂时禁用或调整相关钩子作用范围,以定位并排除冲突源。优化措施并非万能,模块兼容性问题亦需予以关注。1 641
Repost from LSPosed
v2.2.0
重要 - New XSharedPreferences 计划于 2.3.0 正式移除,模块页面已为有兼容风险的模块加入废弃警告。判断逻辑为 legacy 模块声明支持 nsp 并存在 others 可读 xml。升级到 libxposed 或将 xposedminversion 设置为 82 并删除 xposedsharedprefs 以移除警告。 新增 - 支持注入 HyperOS Runtime 应用(需要兼容 Zygisk Next API 的 Zygisk 实现) - 在 A17 及以上以注入方式处理 dex2oat 包装器,避免挂载泄漏(需要兼容 Zygisk Next API 的 Zygisk 实现) 改进 - 提升多进程应用中模块服务连接的稳定性 - 优化管理器中的兼容性状态展示与异常提示 修复 - 修复资源 Hook XML 重写长期失效的问题 - 修复模块热重载失败后可能产生状态异常的问题 - 修复 Hook 链调用及参数类型转换问题 - 修复系统框架在模块作用域中的排序 - 修复安全模式计数未在正常启动后重置的问题 - 修复 Dex 混淆及模块服务相关的内存泄漏
Important - New XSharedPreferences is scheduled for official removal in version 2.3.0. Deprecation warnings have been added to the module page for modules at risk of compatibility issues. The probe logic identifies legacy modules that declare support for nsp and contain an XML file with others readable permission. To eliminate the warning, upgrade to libxposed or set xposedminversion to 82 and remove xposedsharedprefs. Added - Support for injecting into HyperOS Runtime apps (requires Zygisk implementation which is compatible with Zygisk Next API) - Handles the dex2oat wrapper via injection on A17 and above to prevent mount leaks (requires Zygisk implementation which is compatible with Zygisk Next API) Improved - Improved stability of module service connections in multi-process apps - Optimized the display of compatibility status and error prompts in the Manager Fixed - Fixed an issue where resource hook XML rewriting had been failing for an extended period - Fixed an issue where a status exception might occur after a module hot reload failed - Fixed issues with hook chain calls and parameter type conversions - Fixed the sorting of the system framework within the module scope - Fixed an issue where the safe mode count was not reset after a normal startup - Fixed memory leaks related to DEX obfuscation and module services
1 641
New push to GitHub!
fix: 修复 Zygisk 模式下针对宿主的 XP 模块不生效 because the zygisk module’s hook overrides the `createappfactory` hook in Lsposed, and the `backup` method in the zygisk module calls the original method—bypassing lsposed’s hook chain—the latter’s callback is never triggered. this prevents the xp module from initializing properly.by
owo233
See commit detail here