DocsDevices, emulators and targets
On this page

DocsPlatforms

Devices, emulators and targets

Find what TapSift can capture from, start a stopped emulator, and wake a sleeping phone.

Before you start

  • Android: adb from Platform Tools (--adb PATH if it is not on PATH). TapSift also looks in ANDROID_HOME, ANDROID_SDK_ROOT and the usual macOS or Linux SDK location.
  • Booting an emulator: Android SDK Emulator and an AVD (--emulator PATH to override). Android Studio does not need to run.
  • iOS Simulator: macOS with Xcode selected (--xcrun PATH to override). See iOS Simulator.

Target IDs

TargetIDFound withActions
Android connectionandroid:<serial>adb devices -lWake an authorized, booted device
Android Virtual Deviceavd:<name>emulator -list-avdsBoot, then resolve its current serial
iOS Simulatorios:<UDID>xcrun simctlBoot

Use the exact ID that targets returns.

Steps

1. List targets:

tapsift targets

The result is JSON with a targets list and an issues list. Each target has an id, kind (android-device, android-avd or ios-simulator), name, state, and can_boot and can_wake flags. Android devices also carry serial and transport_id. Errors are reported per source, so a missing Xcode does not hide your Android devices.

2. Boot a stopped emulator or simulator:

tapsift boot --target 'avd:Pixel_8_API_35'
tapsift boot --target 'ios:YOUR-SIMULATOR-UDID'

Use your own AVD name or UDID. Boot waits up to three minutes (--timeout shortens it) for the device to be ready, not just for ADB to connect.

3. Wake a device:

tapsift wake --target 'android:emulator-5554'

Wake sends the Android wake key. It does not unlock the device.

4. In the TUI, press d. Enter on a connected device selects it, and on a stopped virtual device it boots it first, then opens its apps. Esc stops waiting, but a launched device may keep booting. w sends the wake key.

What you should see

targets prints one JSON object. Each Android device you have connected appears with "state":"device". A configured but stopped AVD appears with "state":"stopped" and "can_boot":true. Simulators appear with their runtime and state such as shutdown or booted. Offline and unauthorized devices stay in the list.

Transport versus boot readiness

ADB reports a state of device as soon as the transport connects, before Android has finished booting. TapSift waits for the selected transport and sys.boot_completed=1, then rechecks the emulator's identity. Updated Platform Tools provide a transport ID, which TapSift uses for package lookup, capture and wake, so another emulator that reuses a serial cannot take over.

Active in the device picker means an Android transport is connected or a Simulator is booted. It does not mean Android is ready.

Limits

  • Emulator selection needs a usable transport ID. If it is missing, refresh discovery or update Platform Tools.
  • Transport IDs belong to the current ADB server. After an ADB restart, refresh and reconnect.
  • TapSift does not restart ADB, erase AVDs or unlock devices.
  • Live Android emulator startup, iOS Simulator startup, a real ADB server restart and long USB or Wi-Fi drops are not verified. Tests use fake executables.
  • Physical iPhone is not available.