<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kirill Zaitcev</title>
    <description>The latest articles on DEV Community by Kirill Zaitcev (@v0val0x).</description>
    <link>https://dev.to/v0val0x</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4258821%2F601f4fca-663a-4d2d-a5ca-3ebc456f8662.jpg</url>
      <title>DEV Community: Kirill Zaitcev</title>
      <link>https://dev.to/v0val0x</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/v0val0x"/>
    <language>en</language>
    <item>
      <title>Bypassing ADB: How I Built a 60Hz Android UI Daemon in Kotlin and a Zero-Token A* MCP Router in Rust</title>
      <dc:creator>Kirill Zaitcev</dc:creator>
      <pubDate>Sun, 22 Nov 2026 13:51:47 +0000</pubDate>
      <link>https://dev.to/v0val0x/bypassing-adb-how-i-built-a-60hz-android-ui-daemon-in-kotlin-and-a-zero-token-a-mcp-router-in-rust-8h6</link>
      <guid>https://dev.to/v0val0x/bypassing-adb-how-i-built-a-60hz-android-ui-daemon-in-kotlin-and-a-zero-token-a-mcp-router-in-rust-8h6</guid>
      <description>&lt;p&gt;How DroidPath streams Android AccessibilityNodeInfo over raw TCP at 60Hz and caches UI flows in a local A* graph so AI agents navigate real devices in under a second.&lt;/p&gt;

&lt;p&gt;If you have ever wired an LLM agent (Cursor, Claude Code, Gemini CLI, or a local model) to a physical Android device, you run into the same three bottlenecks almost immediately:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;ADB latency.&lt;/strong&gt; Standard tools like &lt;code&gt;adb shell uiautomator dump&lt;/code&gt;, Appium, or Maestro spawn processes and serialize XML on every step. Waiting 2–4 seconds per tap turns a 5-screen flow into a 20-second crawl.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vision-agent token burn.&lt;/strong&gt; Sending screenshots to a multimodal model on every single tap costs $0.05–$0.10 per run and adds seconds of inference lag. In CI regression suites, that bill scales fast.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Espresso maintenance cost.&lt;/strong&gt; Espresso runs fast and costs $0 in compute, but the moment a layout changes or a &lt;code&gt;viewId&lt;/code&gt; gets refactored, an engineer burns hours fixing flaky locators.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I built &lt;strong&gt;&lt;a href="https://github.com/V0val0x/DroidPath" rel="noopener noreferrer"&gt;DroidPath&lt;/a&gt;&lt;/strong&gt; — an open-source headless Kotlin daemon and cross-platform Rust MCP server — to give AI agents sub-second access to physical Android devices without root, while driving token costs on known routes down to &lt;strong&gt;zero&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl38k1jhtajtuugp2bn8w.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl38k1jhtajtuugp2bn8w.gif" alt=" " width="720" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture: Skipping ADB Overhead Without Root
&lt;/h2&gt;

&lt;p&gt;Android lets you execute compiled DEX code directly in the system environment under the &lt;code&gt;shell&lt;/code&gt; user via &lt;code&gt;app_process&lt;/code&gt; — no root, no unlocked bootloader, no custom ROM.&lt;/p&gt;

&lt;p&gt;DroidPath splits the workload into two layers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ AI Agent (Cursor / Claude / Gemini CLI / Local LLM) ]
                         │
                         │  MCP (stdio / local HTTP+SSE)
                         ▼
[ DroidPath Desktop &amp;amp; MCP Server (Rust + Tauri v2) ]
  ├── ScreenLayoutHasher        (FNV-1a hashing + PII redaction)
  ├── SpatialGraphEngine        (Local DAG + A* pathfinding)
  ├── MacroExecutionEngine      (Execution + self-healing)
  └── HazardousActionClassifier (Human-in-the-Loop gate)
                         │
                         │  Raw TCP 60Hz (127.0.0.1 via adb forward)
                         ▼
[ Android Headless Daemon (Kotlin, app_process) ]
  └── AccessibilityNodeInfo -&amp;gt; Shadow DOM -&amp;gt; TCP :27189
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>androiddev</category>
      <category>mcp</category>
      <category>automation</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
