各位升级过4.0.0的到设置页面的Data Manager页面删除这个配置文件,然后强制停止模块,再更新4.0.1重新配置
com.close.hook.ads_preferences.json
或者打开这个目录手动删除。
/data/adb/lspd/modules/0/com.close.hook.ads/files/
com.close.hook.ads_preferences.json
或者打开这个目录手动删除。
/data/adb/lspd/modules/0/com.close.hook.ads/files/
❤19👍5
AdClose_4.0.1-1.apk
3.5 MB
记得需要将损坏的com.close.hook.ads_preferences.json文件删除,这是模块的主配置文件,之前使用的写入操作,导致了文件内容错误进而无法读取Hook配置🟠 优化功能弹窗样式🟠 优化响应体传递🟠 优化组件使用🟠 优化配置加载🟠 修复配置保存问题(写入时损坏)
com.close.hook.ads_preferences.json作为共享存储区,被多个Fragment同时访问,每个请求都是一个完整的“读-改-写”循环过程,访问模式不单一,短时间内进行的多次独立写入容易引起并发写入冲突。
实际这不完全是我的问题🙈,因为openRemoteFile只关心读和写,忽略了 "t"、"a" 等其他标志,导致后续的写入操作就变成了追加(Append),而不是覆写(Overwrite)。于是我只能手动完成MODE_TRUNCATE 标志操作解决。最开始我用openRemoteFile(fileName, "wt")只有w是活的...访问模式单一还能撑撑,当然这也给了我错觉。
所以我就感觉新API用起来有点怪怪的🙈,虽然问题不大,但排查起来真的麻烦
@Override
public ParcelFileDenoscriptor openRemoteFile(String path) throws RemoteException {
var userId = ensureModule();
ConfigFileManager.ensureModuleFilePath(path);
try {
var dir = ConfigFileManager.resolveModuleDir(loadedModule.packageName, FILES_DIR, userId, Binder.getCallingUid());
return ParcelFileDenoscriptor.open(dir.resolve(path).toFile(), ParcelFileDenoscriptor.MODE_CREATE | ParcelFileDenoscriptor.MODE_READ_WRITE);
} catch (IOException e) {
throw new RemoteException(e.getMessage());
}
}
Please open Telegram to view this post
VIEW IN TELEGRAM
❤41🐳5
AdClose_4.0.2.apk
3.5 MB
🟠 优化代码🟠 进一步去除anythink广告(功能一)
Please open Telegram to view this post
VIEW IN TELEGRAM
❤53👍7
AdClose_4.0.3.apk
3.5 MB
🟠 升级target api 35🟠 部分页面细节调整🟠 优化RequestHook
Please open Telegram to view this post
VIEW IN TELEGRAM
👍36❤10🤯2🥰1
AdClose_4.0.4.apk
3.5 MB
🟠 增加查看RequestBody
Please open Telegram to view this post
VIEW IN TELEGRAM
❤23
AdClose_4.0.5.apk
3.6 MB
🟠 完善string翻译🟠 解决搜索功能状态竞争问题🟠 移除功能一,改为默认Hook🟠 数据管理页面增加导出功能🟠 优化传递请求/响应体🟠 支持解压Brotli类型响应体🟠 功能二增加SSLHook
(获取HTTP/1.1类型请求)
设置页面:
🟠 增加Dex Dump功能🟠 增加设置响应体过期时长
Please open Telegram to view this post
VIEW IN TELEGRAM
👍32❤12
AdClose_4.0.6.apk
3.6 MB
🟠 修复黑名单导入重复问题🟠 拦截列表页增加批量移除黑名单🟠 RequestInfo页面增加搜索功能
Please open Telegram to view this post
VIEW IN TELEGRAM
❤34
Forwarded from LSPosed-Irena
LSPosed-v1.9.2-7291-Irena-debug.zip
10 MB
完善New Xposed API的class initializer hook
优化SELinux规则
卸载模块后移除被屏蔽的作用域请求设置
修复频繁UnHook导致的内存泄漏
修复RemoteFile在重启后可能无法读取的问题
修复一个Zygisk的检测点
修复Dex2oat flag检测
Improve class initializer hook for new Xposed API
Optimize SELinux rules
Remove blocked scope request if module is uninstalled
Fix memory leaks caused by frequent UnHook implementation
Fix RemoteFile read failure after reboot
Fix a Zygisk detection point
Fix Dex2oat flag detection
Github Commits
优化SELinux规则
卸载模块后移除被屏蔽的作用域请求设置
修复频繁UnHook导致的内存泄漏
修复RemoteFile在重启后可能无法读取的问题
修复一个Zygisk的检测点
修复Dex2oat flag检测
Improve class initializer hook for new Xposed API
Optimize SELinux rules
Remove blocked scope request if module is uninstalled
Fix memory leaks caused by frequent UnHook implementation
Fix RemoteFile read failure after reboot
Fix a Zygisk detection point
Fix Dex2oat flag detection
Github Commits
🔥32❤10👎1💩1
Please open Telegram to view this post
VIEW IN TELEGRAM
💩36👍18🤓7❤2
AdClose_4.0.7.apk
3.6 MB
🟠 优化RequestInfo Search🟠 findAndHookMethod增加参数替换
Please open Telegram to view this post
VIEW IN TELEGRAM
👍29❤3👏3
AdClose_4.0.8.apk
3.6 MB
🟠 更新依赖🟠 修复页面潜在问题🟠 Apps页支持全局导入/导出
Please open Telegram to view this post
VIEW IN TELEGRAM
❤32
Please open Telegram to view this post
VIEW IN TELEGRAM
🫡123❤25😁3✍2👍2😨1
AdClose_4.0.9.apk
3.6 MB
小更新,证明自己还活着
🟠 解决两个Request数据问题
Please open Telegram to view this post
VIEW IN TELEGRAM
🥰54❤13👏7🫡6
AdClose Official
这块会想办法搞的,也有可能会上 VPNService,得熬过这段时间
测试过几天,通过Hook实现的方案稳定性不高,实现起来也很复杂,所以考虑放弃。
我对计算机网络/协议的了解不是很通彻,也没有时间再花费在这方面了,我已力所能及的完成了我的所有计划,也许不是很完美,也不能够满足大家的所有需求,但这已是我的极限。
谢谢各位长久以来的陪伴与支持,人总是得归于生活,对吧?
再次由衷感谢支持/打赏我的各位群友们,谢谢!
我对计算机网络/协议的了解不是很通彻,也没有时间再花费在这方面了,我已力所能及的完成了我的所有计划,也许不是很完美,也不能够满足大家的所有需求,但这已是我的极限。
谢谢各位长久以来的陪伴与支持,人总是得归于生活,对吧?
再次由衷感谢支持/打赏我的各位群友们,谢谢!
👌73🫡54❤9👍7💯5