Open rhjdvsgsgks opened 3 years ago
Module compiled for old Xposed API level I presume. Unless you're using permissive SELinux the module should not be able to read user preferences.
Which module is it? The developer should update the module to use new XSP in /data/misc
mode.
I'm using a lot old module which stop updating few years ago, will edxposed be able to only use new xsp for new module (declared api version in manifest.xml) to keep some "compatibility" ? it's not make sense to force all module using new xsp
Actually I also think the new XSP behavior should be used as default, or at least an option in the EdXposed Installer to force enable it for all modules. A lot of old modules stopped working only due to preference reading issues caused by SELinux, having this option could solve many of those.
that's good if new xsp can fix old module reading preference issue, but could it stop trying to create watcher on old preference path, or directly copy old preference to new path? AccessDeniedException in log is too noisy
@rhjdvsgsgks imo it's too tricky to hook stuffs to stop modules from writing files
@kotori2 how about just "stop trying to create watcher on old preference path"
Well, we can assume using new paths is the usual. But some people may want to not use them for whatever reason. Like on older Androids that don't need it, or permissive SELinux. Outright disabling the feature is not optimal. Also just removing the error log is also not a good idea, as it does what it should: reports an erroneous state. If you're worried about performance due to excessive logging, you can disable logs completely in Android developer settings.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
什么情况/What happened?
module works, but some error in log
Xposed模块列表/Xposed Module List
any module which used XSharedPreferences
Magisk模块列表/Magisk Module List
Riru Riru - EdXposed
版本信息/Versions
Android: 9
Magisk: 21.2
Riru: 23.1
EdXposed: 4665 sandhook
相关日志/Related Logs