GinArena-patch icon indicating copy to clipboard operation
GinArena-patch copied to clipboard

feat: add `Adguard VPN` support

Open cyberboh opened this issue 2 weeks ago • 7 comments

Feature description

First of all, thank you for adding support for the latest AdGuard 4.15.2!

I would like to request expanding this support to AdGuard VPN as well. Right now, it is the only VPN that can run simultaneously alongside the AdGuard Ad Blocker without any local VPN conflicts on Android.

Motivation

Adding support for it would be really helpful for a few reasons:

• Run both at the same time: We can keep full system-wide ad blocking active while encrypting our traffic, without having to switch between apps or use clunky workarounds. • Always-on security: It keeps our connection safe 24/7, especially when we are out and using public Wi-Fi. • Bypass geo-blocks: It makes it much easier to access region-locked websites and content.

Thanks for all your hard work on this project, and I hope you'll consider adding this!

Acknowledgements

  • [x] I have checked all open and closed feature requests and this is not a duplicate
  • [x] I have chosen an appropriate title.
  • [x] All requested information has been provided properly.

cyberboh avatar Nov 15 '26 14:11 cyberboh

Official site: https://adguard-vpn.com/en/android/overview.html Raw APK (always latest): https://agrd.io/android_vpn_apk

cyberboh avatar Nov 15 '26 14:11 cyberboh

i will look into it if it's possible or not.

ginDoki19 avatar Nov 15 '26 14:11 ginDoki19

Feature description

First of all, thank you for adding support for the latest AdGuard 4.15.2!

I would like to request expanding this support to AdGuard VPN as well. Right now, it is the only VPN that can run simultaneously alongside the AdGuard Ad Blocker without any local VPN conflicts on Android.

Motivation

Adding support for it would be really helpful for a few reasons:

• Run both at the same time: We can keep full system-wide ad blocking active while encrypting our traffic, without having to switch between apps or use clunky workarounds. • Always-on security: It keeps our connection safe 24/7, especially when we are out and using public Wi-Fi. • Bypass geo-blocks: It makes it much easier to access region-locked websites and content.

Thanks for all your hard work on this project, and I hope you'll consider adding this!

Acknowledgements

  • [x] I have checked all open and closed feature requests and this is not a duplicate[x] I have chosen an appropriate title.[x] All requested information has been provided properly.

Hi, and thanks for the suggestion — and for the kind words about the 4.15.2 update.

I looked into this properly. I downloaded AdGuard VPN 2.17.1, opened it up, and read how it decides who is premium. I want to be straight with you about what I found, because the answer is different from the ad blocker.

The short version

For the ad blocker, the premium check happens on your phone. For the VPN, it happens on AdGuard's servers. That one difference is the whole story, and it is why one can be patched and the other cannot.

Easy way to picture it:

  • The ad blocker's paywall is a door in your own house. The blocking happens on your device, so "am I premium?" is answered locally. Take the door off and the room is genuinely yours.
  • The VPN's paywall is a toll booth on AdGuard's road. You can change what your car's dashboard says, but the barrier still comes down — because the barrier isn't in your car.

What actually happens when the VPN connects

  1. The app asks AdGuard's server for permission to use the tunnel.
  2. The server replies with a username and password for that session — and, in the same reply, says what your account is allowed to do.
  3. Your phone connects using exactly those details. It doesn't make them up, and it can't.

Your monthly 3 GB is counted by AdGuard, on their side. When you reach it, their end refuses the connection and the app just reports "traffic limit reached". Same for the 2-device limit.

So if I patched the app to display "Premium", here's what you'd get: a Premium badge, and you'd still be cut off at 3 GB. Nothing would actually change. I'd rather not ship something that's only a costume.

Why the ad blocker is different

The ad blocker's actual job — blocking ads — runs entirely on your phone. The app keeps a small note saying "this copy is paid", and the feature itself is done by that same phone. Change the note and the feature really works, because nothing outside your phone ever checks it.

That's why the 4.15.2 patch works, and why it keeps working after you install it.

What I can still do for the VPN

If you want the app in the bundle for other reasons, I can add a cleanup patch: remove the Sentry telemetry (the crash/analytics reporting), and hide the upgrade and promo pop-ups. That's real, safe, and I'd label it honestly — cleanup, not premium. Say the word and I'll add it.

And the part you actually asked for

Good news: running AdGuard VPN and AdGuard Ad Blocker together is already a normal feature, on the free plan, with no patch at all. The VPN app ships the integration for exactly that — it's the reason these two can share one phone when most VPN apps can't. Install both from official sources, then turn on the integration from the ad blocker's settings.

So you can have what you wanted today; there's nothing for me to fix there.

Thanks again for the idea — and sorry I can't give you the one thing that isn't mine to give.

ginDoki19 avatar Nov 15 '26 14:11 ginDoki19

Thank you for quick reply. If unlock premium is not possible the it is not a problem. Remove analytics & turn off promo pop up is enough. :)

cyberboh avatar Nov 15 '26 14:11 cyberboh

Removing analytics and the promo pop-up is doable. It will not make the app more private.

AdGuard VPN can't work without telling AdGuard who you are: every request is signed with your account token, and the tunnel itself ends on their servers — so your real IP, your connection times and your traffic volume are visible to them by design, no matter what code we strip. Crash reports and usage events were only ever a small extra stream on top of a connection that is already identified.

So, a patch for this won't solve anything. This app is full serverside. It's just front desk renovation. That's all.

ginDoki19 avatar Nov 15 '26 15:11 ginDoki19

Ah, I get the point. So, the app is not patchable at all. Thank you for explanation. I'll close this topic as it is not possible to modify the requested app. Thank you, keep up the great job. :)

cyberboh avatar Nov 15 '26 16:11 cyberboh

It's just that the only viable patch option is disabling the promo. It will just not bother you using the app that's all.

ginDoki19 avatar Nov 15 '26 23:11 ginDoki19