- cross-posted to:
- privacy@programming.dev
- cross-posted to:
- privacy@programming.dev
I have been using the hosts file based ad blocker AdAway for at least two years. It runs on my smartphones and tablet, all rooted, thus I can run a VPN simultaneously. Since it has always worked flawlessly, I never really took the time to compare it to other similar apps.
But as of today, there hasn’t been an update since 2024.
I am asking for alternatives and the reason you think they’re better.


You also can put the hosts file made for a Linux system into the mounted
/system/etc/hosts, the system partition/systemcan be mounted on/mntor/mnt/systemtoo.As you have root, or with just a custom recovery, you can change it, just going to the recovery, using adb in there and mounting the system partition as rw, then moving the hosts file to the mounted expected location.
Interesting! And thank you! I already see a hosts file under /system/etc/, for now only containing localhost. Could I not just edit this file and be done? I know too little about how Android works…
If I do need to mount /system, can I not do it from the stock recovery? I think I saw a “mount system partition” in there the other day.
Yeah, this is a more advanced thing, I think the other methods described on the post are better, if you don’t have a custom recovery AND custom rom. If the device is locked or have the stock rom, it might not boot, because of the signature checking on the image.