HWID is a stable per-device string. On Android it is the first 16 bytes of a SHA-256 hash of the system identifier, in hex. It contains no name, phone number or other personal data.
What the app sends
On every subscription download: x-hwid, x-device-os, x-ver-os, x-device-model.
User-Agent
Format: nya/version/OS/number, for example nya/2.8.5/Android/722837263881. Panel rules matching ^nya/ keep working.
Reacting to the limit
- Return
x-hwid-max-devices-reached: true. The app shows “Device limit reached”. - Or return a placeholder: a server with address
0.0.0.0and a clear name, for example “Subscription expired, renew in @bot”. The app shows it as a row in the server list. Tapping it openssupport-url.
HWID is always sent
Since 1.9.1 users cannot turn off or change the HWID, User-Agent and TLS fingerprint: wrong values broke connections and device counting. subscription-always-hwid-enable is kept for compatibility.
The device number in app statistics is a different hash. It does not match the HWID and is not shared with providers.