spawn_and_attach
Force stop an Android app, launch it fresh, and attach Frida for security testing. Solves connection timeout issues when injecting into newly spawned processes.
Instructions
Force stop app, launch fresh, and attach Frida. The reliable alternative to connect(spawn=True) which often times out.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | App package name (e.g., 'com.bestbuy.android') | |
| device_id | No | Device ID (optional) | |
| wait_ms | No | Time to wait for app to start in ms (default: 3000) |