Checked on Pixel 5a with AdAway-6.0.2-20220616.
Lineage 19.1 - OpenGApps - Magisk v25101 [Snapshot June 20th].
The three defualt hosts sources show they are installed and 108522 blocked.
It seems the hosts file is limited to a size of 4096 directly writing to system.
Code:
barbet:/ $ la -laZ /system/etc/hosts
-rw-r--r-- 1 root root u:object_r:system_file:s0 4096 2022-06-24 19:19 /system/etc/hosts
With the systemless hosts module active, the file size is not limited.
Code:
barbet:/ $ la -laZ /system/etc/hosts
-rw-r--r-- 1 root root u:object_r:system_file:s0 3483938 2022-06-24 19:24 /system/etc/hosts
Using the defualt hosts sources.
Without the systemless hosts module, the hosts file ends at truncated line # 106.
127.0.0.1 01-allseason.net.
vs
127.0.0.1 01-allseason.net.daraz.com
With the systemless hosts module, the hosts file ends at line # 108531.
127.0.0.1 zzzyyzzzyyyzyyzyyyzzyyzyzzzzzzzzyyzzyyyyyzyzyyzzyzpol7196.cmkaarten.nl
Actually it ends at 108532 with an empty line.