Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] 新快捷操作无法进入 微信 TSBattery界面 #24

Closed
sky96111 opened this issue Sep 29, 2022 · 15 comments
Closed

[Draft] 新快捷操作无法进入 微信 TSBattery界面 #24

sky96111 opened this issue Sep 29, 2022 · 15 comments
Labels
wontfix This will not be worked on

Comments

@sky96111
Copy link

LineageOS 19-20220922-NIGHTLY-kebab
LSPosed 1.8.4
TSBattery 4.0
微信 8.0.27非play版
作用域已选择QQ和微信。

点击TSBattery 快捷操作中的 微信 选项,只会进入微信主界面,而不会进入TSBattery设置界面。且微信设置中右上角未出现TSBattery图标,无法对其进行设置。

LSPosed日志:https://1drv.ms/u/s!AszSQqG8gUTQg9t85F-aH5lljSNrrg?e=BVRb6l

@fankes
Copy link
Owner

fankes commented Sep 29, 2022

没看到微信的模块激活,请重新激活模块并重启微信,如果还不行请在作用域中长按微信选择重新优化,重启手机

@fankes
Copy link
Owner

fankes commented Sep 29, 2022

没有找到任何有效日志,也没有任何可用的描述录屏和截图,无法定位问题,请补充

@fankes fankes added the question Further information is requested label Sep 29, 2022
@fankes fankes changed the title 新快捷操作无法进入 微信 TSBattery界面 [待补充] 新快捷操作无法进入 微信 TSBattery界面 Sep 29, 2022
@fankes
Copy link
Owner

fankes commented Sep 29, 2022

我目前使用以下设备能够正常工作

微信版本:8.0.27(2220)、8.0.28(2240)

框架:LSPosed 1.8.4

模块版本:4.0(25)

  • 小米 10 至尊纪念版 MIUI 13 22.9.20 开发内测版 Android 12
  • 一加 9 Pro ColorOS 12.1 Android 12

@sky96111
Copy link
Author

sky96111 commented Sep 29, 2022

已尝试:关闭所有其他模块后重启、作用域取消微信后重启再启用、作用域中重新优化微信并重启,无效。

这是问题出现的录屏:https://1drv.ms/v/s!AszSQqG8gUTQg9t-FnJ3zI01oUZozg?e=HXl5Bd (优化过程在00:23结束)
QQ可以正常打开TSB设置界面,微信不行。
scopes.txt中可以看到com.tencent.mm在作用域里,同以微信为作用域的模块 指纹支付 却正常生效了,所以怀疑不是LSPosed的问题

刚刚的消息忘记隐去隐私信息了,稍微剪辑一下重发了

@sky96111
Copy link
Author

第一份log是关闭其他模块、清空日志后重启抓的。这里还有一份开启其他模块、运行了几个小时的日志:
https://1drv.ms/u/s!AszSQqG8gUTQg9t_8MBIbqg9V3E6eQ?e=Por58p

@fankes
Copy link
Owner

fankes commented Sep 29, 2022

我调了一下我这也能复现了,别急,今晚修

@fankes fankes added bug Something isn't working and removed question Further information is requested labels Sep 29, 2022
@fankes fankes changed the title [待补充] 新快捷操作无法进入 微信 TSBattery界面 [WIP] 新快捷操作无法进入 微信 TSBattery界面 Sep 29, 2022
@fankes
Copy link
Owner

fankes commented Sep 29, 2022

找不到原因,我刚才调试的过程就坏了,然后重新下回了4.0版本再试了一下还是坏的,是不是云控禁用Hook功能了

@fankes
Copy link
Owner

fankes commented Sep 29, 2022

微信自己的所有 Hook 点都挂不上,只能挂系统的,太奇怪了这个问题

@sky96111
Copy link
Author

有可能。我用的模块有4个是作用于微信的,测试了:拒绝强制亮度、TSBattery、自动记账、指纹支付。
强制亮度和指纹支付能成功hook,自动记账和TSB有问题。
有没有可能是LSPosed上游的问题?

@fankes
Copy link
Owner

fankes commented Sep 29, 2022

解决方案,下载微X模块,激活一下,然后再打开,然后我这里微X模块也装载失败,不知道是不是微信热更新了什么东西,但是模块能用了

@fankes
Copy link
Owner

fankes commented Sep 29, 2022

不排除可能是 LSPosed 的问题,但是我测试不出来,也找不到有效日志,但是 hook 点就是不生效,也挂不上,重新开关两个模块后,又能挂上了

@fankes
Copy link
Owner

fankes commented Sep 29, 2022

image

问题就在,Hook 点挂不上,但是打印日志能看到

@fankes
Copy link
Owner

fankes commented Sep 29, 2022

问题无法定位,经过测试任何 Hook 都可能对微信失效,解决方案为,勾选与微信作用域有关的模块 (例如 WX 模块) 并重启,TSBattery 就能生效了,无法定位问题,这应该不是模块所能涉及到的问题,而是上游框架可能有问题或微信有反 Hook 功能

@fankes fankes closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2022
@fankes fankes added the wontfix This will not be worked on label Sep 29, 2022
@fankes fankes changed the title [WIP] 新快捷操作无法进入 微信 TSBattery界面 [Draft] 新快捷操作无法进入 微信 TSBattery界面 Sep 29, 2022
@fankes fankes removed the bug Something isn't working label Sep 29, 2022
@sky96111
Copy link
Author

很有可能是LSPosed的问题,可以帮忙向LSPosed提一下issue吗?我不是模块开发者,能提供的帮助有限

@fankes
Copy link
Owner

fankes commented Sep 30, 2022

很有可能是LSPosed的问题,可以帮忙向LSPosed提一下issue吗?我不是模块开发者,能提供的帮助有限

抱歉,我也不能提供有效的反馈,目前可能的问题就是微信的 hook 点可能比较特殊,我也没研究过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants