2

Where is the "systemless hosts" file? I normally just replace the hosts file in /etc/ since I have a customized list. With the systemless hosts, I don't know which file to replace.

P.S., for the newer magisk, it is under /system_root/etc.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
Aero Windwalker
  • 1,024
  • 8
  • 15
  • 27

2 Answers2

2

The file is in /magisk/.core.

Matthew Read
  • 50,567
  • 30
  • 145
  • 273
2

As far as I know, the point of that Magisk feature is to hide the hosts file from both apps and Android itself. That means you should be able to edit the hosts file with a file editor app, or use a hosts editor app, without it being aware of Magisk. You just have to turn the feature on and grant root to the app.

My /etc/hosts is identical to my /magisk/.core/hosts, and I only use a hosts editor app to edit it.

leewz
  • 153
  • 6