Broken Hosts File Access in Magisk 28.1 and Above
in Post with 0 comment

Users are reporting widespread issues with accessing the hosts file in Magisk 28.1 and newer versions. The hosts file, typically located at /data/adb/modules/hosts/system/etc/hosts, is inexplicably locked for both reading and writing.

This issue affects both the built-in systemless host module and third-party modules like gloeyisk's hosts file manager. Users who downgraded to Magisk 27.0 confirm that the hosts file access functionality works correctly in that version.

The issue persists regardless of whether users are using the Magisk Release or Canary versions. AdAway, a popular hosts-based ad blocker, is also affected and explicitly directs users to check their Magisk module settings.

While the exact cause remains unclear, the file permissions do not appear to be the culprit. The hosts file has a permission of 644 (-rw-r--r--) and its parent directory has a permission of 755 (drwxr-xr-x).

This issue highlights a significant regression in Magisk's functionality and underscores the need for Magisk developers to address it promptly.

The article has been posted for too long and comments have been automatically closed.