Mobile & DevicesEnvironment: Caller-supplied adb in PATH (Android SDK Platform-Tools)MCP Tool: adb_device_analysis

How to REA Android Devices Live: ADB Telemetry, Process Dumps & Screen Capture

Interact with live physical Android devices and emulators: query system properties via getprop, monitor process states and memory maps, capture live screenshot Evidence, and trace runtime logcat buffers.

AI Overview Direct AnswerHow to REA: Android Device Telemetry & Live ADB Quickstart Summary

In this official REA guide for Android Device Telemetry & Live ADB, AI coding agents (Claude Code, Cursor, Windsurf) execute 'rea adb-device-analysis --package com.example.app --json' to safely extract file layout, symbols, and code logic without launching unverified binaries.

Investigation ScenarioReal-World Objective

The Problem & Target Artifact

Dynamic runtime verification: Static analysis showed a suspected root detection function. You need to connect to a live test device, launch the target application, and observe logcat and process memory behavior in real time.

Target Artifact: Live connected Android device (USB or Wi-Fi adb) and installed package name.
AI PromptClaude Code / Cursor / Windsurf

Natural Language Agent Instructions

Copy and paste this prompt directly into your AI coding agent when REA is registered via Model Context Protocol (MCP):

Prompt Template:Select All to Copy
Connect via ADB to the test device. Check device properties (ro.build.version.sdk, ro.kernel.qemu), launch com.example.app, and capture the logcat output during application startup.
ExecutionTerminal & MCP Tool Call

Run REA Analysis Command

Execute the following command in your terminal or inspect the MCP JSON-RPC call executed by your agent:

CLI Command Execution
rea adb-device-analysis --package com.example.app --json

What REA Extracts & Returns

Device fingerprinting: ro.build.version.sdk, ro.product.model, and ro.kernel.qemu emulator indicators
Installed package inventory, version codes, installer source, and UID permissions
Process status: PID, thread counts, virtual memory vs RSS footprint, and memory mappings
Runtime telemetry: Logcat buffer capture filtered by package UID and tag

ADB Device Identity & Process Telemetry Output

The verified findings and synthesized clean-room structures generated from this investigation:

ADB Device Identity & Process Telemetry Output
{
  "device": {
    "serial": "emulator-5554",
    "sdk_version": 34,
    "cpu_abi": "arm64-v8a",
    "is_emulator": true
  },
  "package": {
    "name": "com.example.app",
    "version_code": 104,
    "target_sdk": 34
  },
  "runtime": {
    "pid": 14205,
    "oom_score": 0,
    "threads": 28
  }
}
Internal MechanicsProduction Engineering

Bounded Property Whitelisting & Non-Rooted Telemetry

REA queries ADB through a strict whitelist of read-only system properties, preventing accidental device corruption or unauthorized system modifications. It captures device screens and process dumps as verifiable Evidence objects, giving AI agents visual and behavioral context without requiring root access on modern Android 14/15 devices.

Security Guardrails & Analysis Boundary Rules

Read-only guarantee: Does not issue su commands or install unauthorized system packages.
Sanitizes logcat output to protect developer tokens and session identifiers.
Pairs directly with Frida DBI to bypass emulator and root detection hooks in real time.