We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2019-11-01 16:11:00 +0200

adblock via /etc/hosts on XA2/AlienDalvik v8

To block unwanted ads I've always modified /etc/hosts with the list given by winhelp2000.com. To also block the ads in Android apps we also need to modify the hosts file on the android side. For Andorid 4.4 (Jolla 1/C, Xperia X) you could copy this to /system/etc/hosts and /opt/alien/system/etc/hosts.

On the newer Version of AlienDalvik that runs on XA2 the file is only accessible within the lxc container and unfortunately the filesystem is readonly there. Is there a way to modify that file without unpack-modify-repack the filesystem (I don't dare to do so.)? Is there another location we could keep the list?

Do you have any other idea?

adblock via /etc/hosts on XA2/AlienDalvik v8

To block unwanted ads I've always modified /etc/hosts with the list given by winhelp2000.com. To also block the ads in Android apps we also need to modify the hosts file on the android side. For Andorid 4.4 (Jolla 1/C, Xperia X) you could copy this to /system/etc/hosts and /opt/alien/system/etc/hosts.

On the newer Version of AlienDalvik that runs on XA2 the file is only accessible within the lxc container and unfortunately the filesystem is readonly there. Is there a way to modify that file without unpack-modify-repack the filesystem (I don't dare to do so.)? Is there another location we could keep the list?

Do you have any other idea?

adblock via /etc/hosts on XA2/AlienDalvik v8

To block unwanted ads I've always modified /etc/hosts with the list given by winhelp2000.com. To also block the ads in Android apps we also need to modify the hosts file on the android side. For Andorid 4.4 (Jolla 1/C, Xperia X) you could copy this to /system/etc/hosts and /opt/alien/system/etc/hosts.

On the newer Version of AlienDalvik that runs on XA2 the file is only accessible within the lxc container and unfortunately the filesystem is readonly there. Is there a way to modify that file without unpack-modify-repack the filesystem (I don't dare to do so.)? Is there another location we could keep the list?

Do you have any other idea?