Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How I Built an Open-Source Android ADB + Vision Agent for Hinge (Bypassing FLAG_SECURE Without Root)

Most AI dating tools are paid text-paste wrappers or brittle scripts hitting private APIs. I wanted to build an actual multimodal mobile UI agent that operates the official Hinge Android app on an emulator — and open-sourced it under MIT: GitHub: https://github.com/omnivo/hinge-ai-wingman Here are the four engineering problems that made it interesting to build: 1. Bypassing Android FLAG_SECURE…

I interviewed an engineer who created an open-source Android ADB + Vision agent for Hinge, bypassing FLAG_SECURE without requiring root access. The project goes by the name "Hinge AI Wingman" and is available on GitHub.

The engineer faced four key challenges while building this multimodal mobile UI agent for the official Hinge Android app on an emulator:

1. Bypassing FLAG_SECURE: Normally, ADB's screencap command returns black frames under unrooted Play Store emulators due to FLAG_SECURE being enabled. To circumvent this, the engineer developed wingman/adb.py, which captures the emulator window externally like on a desktop OS and normalizes it to 1080x2424 resolution.

2. UIAutomator XML Gating: Before invoking any vision model, the application checks certain conditions using UIAutomator XML. This includes verifying if the profile shows "Active today" or "Active now", looking for "Out of free likes" or Hinge+ paywall screens, matching the "Your turn" threads and "You:" message bubble attributes to prevent double-texting.

3. Vision - Exact UI Actuation: The agent generates five distinct banter candidates and selects the best short line (35-95 characters, plain ASCII) to send. It then scrolls back to the relevant frame using a 36x64 grayscale thumbnail, performs normalized cross-correlation against a heart template image, locates the dynamic peach "Send Like" pill, and types it in using humanized ADB delays and polls to ensure the characters land correctly before tapping Send Like.

4. Dual Backends (Claude Vision + Local Ollama) & Match Memory: The project supports two vision backends - Anthropic Claude Vision with prompt caching and Ollama (qwen2.5-vl / llama3.2-vision). It saves per-match chat history in a strictly isolated chat.md file, evolving persona.json, and allows English or Romanized Hindi (Hinglish) communication. The agent also includes a ToS-safe self-profile coach using python -m wingman.scan_self.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

GitHub Actions concurrency: 3 of 5 Deploys Canceled Without Asking

I merged five pull requests to main in about two minutes. Five pushes, five deploy runs. Two days later a teammate asked why the worker was still running last week's code.

  • GitHub Actions cancels pending jobs in concurrency groups
  • Cancels runs 2, 3, and 4 without user knowledge
  • Scope concurrency group key by github.ref to prevent cancellations

Sanfeng Cloud Free Cloud Server Real-world Test: A Full Record of Backup, Migration, and Reinstallation Struggles + Six Months of O&M Notes

The previous "steady as an old dog" renewal guide omitted a deep dive I performed during the third month—a complete process of backup, migration, and environment reinstallation.

  • Free cloud server tested with backup, migration, and reinstall
  • 1 core, 1GB RAM, 5Mbps bandwidth allocated
  • No hidden fees, root access and Docker/Nginx configuration allowed

More from Monday, 30 November 2026 →