Skip to content

[Feature]: Device panel can't choose the Android API level or image (google_apis_playstore) for Simlock devices #30336

Closed

Description

@che1404

Summary

The Device panel can't choose the Android API level or the system image (for example google_apis_playstore) of a Simlock device. Every Android device it opens gets the worker's default image, google_apis, which has no Play Store. A human therefore has no way to sign in to Google Play on a Simlock emulator from T3 Code, so Google Play Billing tests (license-tester purchases) cannot run on the fleet, even when the fleet has a Play image installed.

What happens today

apps/server/src/device/SimlockDeviceHost.ts on main (15707a84) opens a catalog device with:

["open", "--platform", target.platform, "--device", target.model]

The catalog entry shows version: platformVersion(platform, runtimes.at(-1)) (the newest runtime), but that version is never sent, and the image tag is not modelled at all. Simlock answers a request that names no image tag with google_apis and never with a tagged image.

Real example (Simlock 0.4.0 gateway, Android worker with android-36 google_apis and android-36 google_apis_playstore x86_64 installed):

  • Device panel → Pixel 8 opens "Android 37.0" with google_apis, and launching com.android.vending fails ("Failed to launch com.android.vending").
  • The gateway's /v1/catalog lists the images per runtime (images: [{runtime, tag, abi}]).
  • A lease requested over the gateway HTTP API with {"platform":"android","device":"Pixel 8","os":"36","imageTag":"google_apis_playstore"} gets the Play image (Play Store 45.3). It can't be shown in the Device panel, though, and the gateway console has video only, no input. Nobody can sign in on it.

Request

For Simlock hosts, let the Device panel choose the Android API level and image tag (at least google_apis_playstore when the catalog offers it) and pass them on open. agent-device 0.21.36 already supports this through the proxy:

agent-device open --platform android --device "Pixel 8" --os 36 --image-tag google_apis_playstore

The Simlock front for agent-device forwards osVersion and imageTag on lease_allocate (callstackincubator/simlock#814).

This mirrors #28567 (choosing the iOS model and version). Related: callstackincubator/simlock#1220 asks for a configurable default image on the gateway side. The two fixes are independent: with this one, the default can stay google_apis for automation while a person picks Play when a test needs a Google sign-in.

Activity

  1. locked and limited conversation to collaborators on Nov 3, 2026
  2. converted this issue into a discussion #30338 on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions