AdguardForAndroid icon indicating copy to clipboard operation
AdguardForAndroid copied to clipboard

Implement differential filter list updates

Open ameshkov opened this issue 1 year ago • 12 comments

Issue Details

With the current approach to updates, we have a problem: it takes a very long time for an update to reach the application.

There’s also a second issue: downloading filters consumes a huge amount of traffic and can end up costing a ton of money.

Proposed solution

The solution to this is differential filter updates, which will enable the filters to be updated as quickly as possible. From a product perspective, the setting "update filters every X hours" becomes obsolete—filters will now update automatically as fast as possible.

All this functionality is implemented in the FilterListManager library, which needs to be integrated.

Alternative solution

No response

ameshkov avatar Dec 02 '24 13:12 ameshkov

Would this be available only for built-in subscriptions, or external 1s also?

TPS avatar Apr 07 '25 11:04 TPS

If external filter list supports diff update it will be available

ameshkov avatar Apr 07 '25 11:04 ameshkov

@ameshkov Shouldn't this feature have the maximum priority? It will should fix an "after-boot" issue (AdGuard VPN restart itself twice, after the system boot is complete and screen it's unlocked).

0xrxL avatar May 13 '25 14:05 0xrxL

Why, I don't see how it's connected to AG VPN in general

ameshkov avatar May 13 '25 14:05 ameshkov

Why, I don't see how it's connected to AG VPN in general

Sorry...I meant "VPN Tunnel"

0xrxL avatar May 13 '25 18:05 0xrxL

@ameshkov It's annoying to see 10/25 filters to update (and I set auto updates every 3 hours...at this point it doesn't work I believe), every time that I remember to manually check for updates.

Can you increase the priority of this feature furthermore, or directly implementing it? Thanks in advance.

0xrxL avatar Jul 02 '25 15:07 0xrxL

@0xrxL

The original is in Russian:

Поддерживаю. Тоже жду кардинальных переделок с обновлением фильтров и прочего в Adguard. Поскольку то как это реализовано сейчас начало ломатся и так или иначе не работать полностью корректно лично у меня ещё на версии 4.7 (4.7.163) а сейчас с выходом в релиз версии 4.10 (4.10.65) похоже в очередной раз ещё крепче сломалось и не желает работать.

Если что прошу меня извинить, я не знаю английский язык и для написания и чтения таких сообщений я использую online-переводчик.

Translation into English using an online translator:

I support it. I'm also waiting for major changes with updates to filters and other things in Adguard. Since the current implementation has started to break and not work properly for me personally on version 4.7 (4.7.163), and now with the release of version 4.10 (4.10.65), it seems to have broken even more and refuses to work.

If I have done something wrong, please forgive me. I do not know English, and I use an online translator to write and read these messages.

NUser2018 avatar Jul 02 '25 20:07 NUser2018

@ameshkov Я пришел в эту задачу поскольку сюда есть отсылка от Вас в другой задаче где я давно уже описываю свои проблемы с работой автоматического обновления фильтров и т.д в Adguard.

Те проблемы (как старые так и новые или вернувшиеся снова) которые я наблюдаю у себя на новой версии Adguard 4.10 (4.10.65) я описываю в нескольких новых сообщениях за сегодня в той своей задаче начиная вот с этого моего сообщения там и далее до конца.

Также как и пользователя @0xrxL меня очень интересует есть ли уже какие-то реальные заметные подвижки во внедрении этих переделок на версии 4.11 или же всё опять в очередной раз будет отложено и перенесено на неопределенный срок и неизвестную будущую версию Adguard?

Мои разнообразные проблемы в работе автоматического обновления тянутся ещё начиная с версии 4.7 (4.7.163) и честно говоря уже довольно сильно надоели и мешают комфортно и спокойно пользоватся Adguard на смартфоне и портят всё впечатление. Учитывая как долго это всё тянется то уже честно говоря есть ощущение (надеюсь обманчивое) что это уже никогда не будет исправлено полностью и корректно т.к. каждая новая версия не приносит кардинальных улучшений в этом плане а периодически (как актуальная версия 4.10 (4.10.65) например) приносит даже снова ухудшения. Поэтому если честно кажется что помочь хотя бы как-то решить проблемы возможно может либо откат логики и механизмов работы обновления фильтров и т.д. в Adguard на уровень того как это было реализовано на версии 4.6.5 (4.6.207) либо кардинальные новые переделки в этом плане наподобие тех что заявлены Вами здесь в этой задаче на GitHub.

Как минимум на версии 4.10 (4.10.65) в этом плане всё снова стало хуже даже по сравнению с тем как это хотя бы как-то работало на версии 4.9 (4.9.50).

С уважением NUser2018.

NUser2018 avatar Jul 02 '25 20:07 NUser2018

@ameshkov It's annoying to see 10/25 filters to update (and I set auto updates every 3 hours...at this point it doesn't work I believe), every time that I remember to manually check for updates.

This experience is identical to mine, & the Tasker integration seems to be the only way to update other than manually.

TPS avatar Jul 04 '25 17:07 TPS

@ameshkov This should be good to finally have it on AdGuard Android. But does it mean that every time a filter is differentially updated, the VPN connection has to be restarted, like what happens now every time filters are updated?

SeriousHoax avatar Jul 24 '25 10:07 SeriousHoax

@SeriousHoax most likely we'll still have to restart it:(

The only thing that we can probably try to do is try to restart it when the user is not actively using the phone.

ameshkov avatar Jul 24 '25 11:07 ameshkov

The only thing that we can probably try to do is try to restart it when the user is not actively using the phone.

This seems reasonable for a background update (not that those are consistent anymore 🤐), but maybe configurable behavior when user-requested?

TPS avatar Jul 24 '25 19:07 TPS