topjohnwu / Magisk

The Magic Mask for Android
GNU General Public License v3.0
47.66k stars 12.1k forks source link

Systemless hosts stopped working and can't install #6707

Closed wpigoury closed 1 year ago

wpigoury commented 1 year ago

Device: OnePlus 8T Android version: 13 Magisk version name: Canary Magisk version code: 25210

The issue The systemless hosts module stopped working and I can't reinstall it. I can't confirm that this was introduced in this very version but it's definitely coming from one of the latest canary version pushed in the last 7 days.

The context I use AdAway leveraging systemless hosts and I noticed ads being displayed shortly after a Magisk update. In AdAway I was unable to reenable the service and saw that the systemless hosts module was disabled and couldn't be enabled again.

Remediation tentative I removed the module, rebooted and tried to reinstall it after reboot. During installation I get the confirmation toast "Added systemless hosts module" and absolutely no other kind of feedback from the app, but there's no trace of it in the modules list afterwards.

Debug I switched to Debug update channel and tried to pull logs via adb logcat | findstr com.topjohnwu.magisk after unhiding Magisk app but I get nothing. I would need some help finding the right process to pull the logs.

Sorry for the duplicate, I messed up with the version code provided the commit id instead.

HuskyDG commented 1 year ago

It has been fixed in https://github.com/topjohnwu/Magisk/commit/4709a326419a51233a2e7113a3f4f8acd7ecdb8f, but not release yet

wpigoury commented 1 year ago

Great, thanks. I'll wait then :)

lssong99 commented 1 year ago

Not only systemless host doesn't work, it seems all my modules stopped working.. although all are enabled.

Following errors in the log

` ---Magisk Logs--- 981ccabb (25210)

03-08 15:29:10.537 866 868 E : mount /data/adb/modules -> /dev/1tB/.magisk/modules failed with 2: No such file or directory 03-08 15:29:10.537 866 868 E : mount (null) -> /dev/1tB/.magisk/modules failed with 2: No such file or directory 03-08 15:29:10.537 866 868 E : mount (null) -> /dev/1tB/.magisk/modules failed with 2: No such file or directory`

canyie commented 1 year ago

Duplicate of #6688