connect
Establish connection to Android applications for security testing by specifying bundle ID, process name, or PID. Enables subsequent Frida-based analysis tools after successful attachment.
Instructions
Connect to an app by bundle ID, name, or PID. Must call this before using other tools. When spawn=True, uses reliable adb-based launch instead of Frida spawn.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | App bundle ID, process name, or PID | |
| device_id | No | Device ID (optional) | |
| spawn | No | Spawn the app fresh (force stop + launch) before attaching (default: false) | |
| timeout_ms | No | Timeout for waiting for app/Java to be ready in ms (default: 15000) |