Happ VPN

Setting Up Happ on Android

Author
Dmitry Sokolov, Lead technical writer
Reviewed by:
Artem Volkov
Fact-checked:
Published:
Guide version:
1.0

In short

To set up Happ on Android, copy a key or subscription link, tap “+” at the top right and paste it from the clipboard or scan a QR code. Then pick a server, tap connect and allow Android to create a VPN connection.

On Android, Happ works through the system VPN interface: on the first connection the system shows a request to create a VPN, and without your consent traffic will not go through the tunnel. Keys and subscriptions are added with the “+” button from the clipboard, with a QR code, a deep link or manually. For stable background operation on some firmwares you need to turn off battery optimization for Happ. Android also keeps only one VPN app active at a time.

Before You Start

Setting up Happ on Android takes a couple of minutes: add a key or subscription, pick a server and allow the system to create a VPN connection.

Happ's main mode on Android is the system VPN interface. App traffic goes through it according to the subscription's routing rules.

The guide fits phones and tablets on Android 5.0 and newer. The names of system menus differ slightly between Samsung, Xiaomi, Huawei and stock Android.

Step-by-Step Setup

  1. Open Happ and allow notifications

    Launch Happ after installation. On Android 13 and newer the system asks for notification permission: allow it so you can see the connection status in the notification shade.

    Result: The main screen with no servers, and notifications for Happ are allowed.

  2. Add a key or subscription

    Copy a key or subscription address, tap “+” at the top right and choose paste from clipboard. Instead, you can scan a QR code or open a deep link from your provider. For your own server there is manual entry.

    Result: The servers appear in the server list, and a subscription shows its name.

  3. Pick a server

    Tap a server in the list. If there are many servers, first run a ping for the whole subscription with the speedometer icon in its header and choose the server with the lower delay.

    Result: The chosen server is marked in the list.

  4. Connect and confirm the Android request

    Tap the connect button. On the first connection Android shows a system request to create a VPN connection; tap OK.

    Result: A key icon appears in the status bar, and a Happ notification in the shade.

  5. Check the connection

    Swipe a server to the right and tap the speedometer icon, or run the current connection check. The Via Proxy HEAD method shows the delay through the proxy most accurately.

    Result: Instead of a timeout, a time in ms or a green status icon is shown.

  6. Remove battery restrictions

    Open Settings → Apps → Happ → Battery and turn off optimization. On Xiaomi allow autostart, and on Huawei turn on manual launch management.

    Result: The tunnel holds while the screen is off.

  7. Configure routing and the LAN if needed

    Import a routing profile with a happ://routing/onadd/ link. To share access with a laptop or set-top box over Wi-Fi, turn on Allow LAN connections in Advanced settings.

    Result: A profile is active, and with LAN enabled the phone's IP and the SOCKS5 and HTTP ports are visible.

Connection Modes

  • Android VPN interface — Happ creates a system VPN interface through the VpnService mechanism and sends app traffic into it. In beta 4.4.0 it switched to hev-socks5-tunnel for this and optimized memory use.
  • LAN sharing — With Allow LAN connections turned on, the phone accepts SOCKS5 and HTTP connections from devices on the same Wi-Fi network. This does not work on a mobile network or on guest networks with client isolation.

What Happ Supports on Android

FeatureSupport
TUN mode (all device traffic)Yes
System proxyNo data
Proxy for individual appsNo data
Sharing the connection over the local networkYes
RoutingRouting profiles

Tips

If the key icon is there but websites do not open, check the time on the phone. Some protocols and TLS are sensitive to clock drift, so turn on automatic date and time.

When you move from Wi-Fi to a mobile network, the connection to the server is set up again. If it does not recover, reconnect manually. In roaming and on mobile networks with an unstable signal, choose the server with the lowest delay.

Private DNS in Android settings may send queries by its own rules. If domains open only every other time, try turning Private DNS off for a while and compare.

If Happ is empty after a firmware change or a phone reset, import the subscription again: the data is stored only on the device.

Related Guides

Key takeaways

  • Happ on Android uses the system VPN interface, and on the first connection Android asks for your consent.
  • You can add a key or subscription with “+” from the clipboard, with a QR code, through a deep link or manually.
  • Only one VPN app can be active on Android at a time.
  • Aggressive battery saving on Xiaomi, Huawei and Samsung can unload Happ from the background.
  • Servers can be shared with a swipe right: Copy to clipboard, QR code and JSON are available if the subscription is not encrypted.

Frequently asked questions

How do I connect Happ on Android with a QR code?

Tap “+” at the top right and choose scanning a QR code. The first time, Android asks for camera access; allow it. Point the camera at the QR code with the key or subscription, and Happ adds the configuration right away. This is handy for moving a key from a computer screen or from another phone that shows the server's QR code.

What is the connection request that appears when I first turn Happ on?

It is the Android system dialog for any VPN app. It warns that the app will be able to intercept network traffic and asks you to confirm. Tap OK. After that a key icon appears in the status bar, and an active Happ connection appears in notifications. If you tap Cancel, no tunnel is created until you try to connect again.

Why does Happ on Android disconnect when the screen is off?

The usual cause is the firmware's battery optimization. Open Settings, then Apps, then Happ, then Battery, and choose the unrestricted mode. On Xiaomi also allow autostart, and on Huawei choose manual launch management. After that the system stops unloading Happ from memory, and the tunnel holds in the background. Menu names differ between firmwares, but the idea is the same everywhere.

Can Happ start automatically whenever the phone connects to a network?

Android has a feature called Always-on VPN. Open Settings, then Network & internet, then VPN, tap the gear next to Happ and turn it on. The option to block connections without VPN stops all traffic until the tunnel is up. The menu path depends on the firmware: on Samsung it is under Connections, then More connection settings.

Why did another VPN stop working after Happ connected?

Android allows only one VPN app to be active. When Happ creates its tunnel, the system disconnects the previous VPN connection, and the other way around. If Always-on VPN is turned on for another app, Happ connects only after you remove that setting from the other app. You can check which app currently holds the VPN in the VPN section of settings.

How do I see traffic and the subscription expiry in Happ on Android?

The provider sends this data in the subscription-userinfo header: uploaded and downloaded traffic, the total limit and the expiry date. Happ shows it on the subscription. If the provider turns on sub-expire, the app warns you 3 days before the subscription ends. If there is no data, the subscription server simply does not send it.

How do I add a routing profile to Happ on Android?

Open a link like happ://routing/onadd/ with the profile data in base64: Happ adds the profile and activates it right away. The happ://routing/add/ link only adds the profile, and happ://routing/off turns routing off. You can build a profile in the routing.happ.su generator. The rules apply on the next connection.

Topics mentioned

Related sections

Sources

  1. Happ system requirements — accessed September 27, 2026
  2. Happ documentation: downloads table — accessed September 27, 2026
  3. Happ - Proxy Utility on Google Play — accessed September 27, 2026
  4. happ-android releases on GitHub — accessed September 27, 2026
  5. Adding a configuration and subscription — accessed September 27, 2026
  6. Happ errors — accessed September 27, 2026
  7. Ping in Happ — accessed September 27, 2026
  8. Local network connections — accessed September 27, 2026
  9. Routing in Happ — accessed September 27, 2026