Skip to content
Back to skills

Tizen Launch Emulator

ASecurity

Tizen launch emulator, 타이젠 에뮬레이터 실행, 에뮬레이터 켜기, 에뮬레이터 시작, emulator launch, start emulator, em-cli launch, 에뮬레이터 부팅, 에뮬레이터 켜줘, launch emulator VM, start emulator VM. Use this skill to launch an existing Tizen emulator VM via em-cli. If no VM name is given, selects a VM by profile (default "tizen") — among VMs of the same profile, the one with the highest platform version is preferred. Waits for the emulator to connect via sdb. To LIST the existing / available emulator VMs without launching one ...

  • 24 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added October 6, 2026
developmentgojavashellbashnodedebugginggit

Works with

  • claude code
  • terminal
  • cli

Security analysis

A100/100

Scanned November 18, 2026

npx -y skills add Samsung/tizen-agent-skills --skill tizen-launch-emulator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tizen Launch Emulator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tizen Launch Emulator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/samsung-tizen-launch-emulator/badge)](https://www.skillsdirectory.com/skills/samsung-tizen-launch-emulator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tizen-launch-emulator
description: Tizen launch emulator, 타이젠 에뮬레이터 실행, 에뮬레이터 켜기, 에뮬레이터 시작, emulator launch, start emulator, em-cli launch, 에뮬레이터 부팅, 에뮬레이터 켜줘, launch emulator VM, start emulator VM. Use this skill to launch an existing Tizen emulator VM via em-cli. If no VM name is given, selects a VM by profile (default "tizen") — among VMs of the same profile, the one with the highest platform version is preferred. Waits for the emulator to connect via sdb. To LIST the existing / available emulator VMs without launching one ("list emulators", "에뮬레이터 목록"), use tizen-create-emulator (its `list-vm` action) instead.
metadata:
  author: Samsung Electronics
  last-updated: "2026-07-31"
  keywords:
    - Tizen launch emulator
    - emulator launch
    - em-cli launch
    - 에뮬레이터 실행
    - 에뮬레이터 시작
    - 에뮬레이터 켜기
    - start emulator
    - emulator boot
---

### Claude Code (subagent delegation)

> If you have no Agent tool (e.g., Cline), go to the "CLI Runner" section below.

1. Call the `tizen-launch-emulator` agent with the Agent tool (personal deployment or `tizen-sdk-skills:tizen-launch-emulator`)
2. Pass the user's request as the prompt
3. Pass the subagent's JSON envelope to the user as-is — follow the "Result reporting" rules below
   (include the verbatim text in a fenced `json` block, with only a 1–2 line summary below it)

### CLI Runner (Cline / Claude Code)

**Pick the ONE block for the shell your terminal / tool runs — the prompt tells you: `$` is Bash (Linux, macOS, Claude Code's Git Bash on Windows, Codex on Linux / macOS) → Bash block; `PS C:\…>` is PowerShell (Codex on Windows, Cline PowerShell terminal) → PowerShell block; `C:\…>` is cmd.exe (Cline cmd.exe terminal) → cmd.exe block. Run that block as-is: a block pasted into another shell, or wrapped in `powershell -Command "…"`, is a parse error.**

**Run the `node` line exactly as written and read the JSON envelope it prints to stdout. Do NOT redirect or capture the output (`> file`, `2>&1 | tee`, `Out-File`, `| Out-String`), do NOT wrap the line in `cmd /c`, `powershell -Command "…"` or any second shell, and do NOT mix shell dialects: `%TEMP%` and `2>nul` are cmd.exe only, `$env:TEMP` and `Out-File` are PowerShell only — in the other shell they are literal text or a parse error. A tool message that the command's completion or output "could not be observed / captured" means the terminal is still busy with an earlier command or its shell-integration hooks have broken, not that the runner failed: open a NEW terminal and re-run the SAME line unchanged. Runners that drive em-cli, sdb or a JVM can take 10–30 s and print the envelope only when they exit — wait for it rather than retrying with a redirect.**

**Bash — Linux / macOS / Ubuntu, and Windows Git Bash (Claude Code):**

```bash
BASE="$HOME/.cline"; [ -z "${CODEX_THREAD_ID:-}${CODEX_SANDBOX_NETWORK_DISABLED:-}${CODEX_SANDBOX:-}${CODEX_VERSION:-}" ] || BASE="$HOME/.codex"; [ -z "${GEMINI_CLI:-}" ] || BASE="$HOME/.gemini"; [ -z "${CLAUDECODE:-}" ] || BASE="$HOME/.claude"
_tz_o=; [ -z "${ZSH_VERSION:-}" ] || { [[ ! -o nomatch ]] || _tz_o=1; unsetopt nomatch; }; _tz_s=; CLI=; for _tz_d in "$BASE" "$HOME"/.claude "$HOME"/.cline "$HOME"/.codex "$HOME"/.gemini; do [ "$_tz_d" != "$BASE" ] || [ -z "$_tz_s" ] || continue; _tz_s=1; for _tz_f in "$_tz_d"/plugins/cache/tizen-platform/tizen-sdk-skills/*/lib/cli/emulator-manager-cli.js; do [ -f "$_tz_f" ] || continue; _tz_v=${_tz_f#"$_tz_d"/plugins/cache/tizen-platform/tizen-sdk-skills/}; _tz_v=${_tz_v%%/*}; case $_tz_v in *[!0-9.]*|.*|*.|*..*|*.*.*.*) continue ;; *.*.*) ;; *) continue ;; esac; _tz_a=${_tz_v%%.*}; _tz_c=${_tz_v##*.}; _tz_b=${_tz_v#*.}; _tz_b=${_tz_b%.*}; if [ -z "$CLI" ] || [ "$_tz_a" -gt "$_tz_A" ] || { [ "$_tz_a" -eq "$_tz_A" ] && { [ "$_tz_b" -gt "$_tz_B" ] || { [ "$_tz_b" -eq "$_tz_B" ] && [ "$_tz_c" -gt "$_tz_C" ]; }; }; }; then CLI=$_tz_f; _tz_A=$_tz_a; _tz_B=$_tz_b; _tz_C=$_tz_c; fi; done; [ -z "$CLI" ] || break; done; unset _tz_s _tz_d _tz_f _tz_v _tz_a _tz_b _tz_c _tz_A _tz_B _tz_C; [ -z "$_tz_o" ] || setopt nomatch; unset _tz_o
node "$CLI" launch [--vm-name <name>] [--profile tizen|tv] [--timeout <seconds>]
```

**PowerShell (Codex CLI on Windows, Cline PowerShell terminal) — prefers this harness's own cache, then the newest version. Run all three lines below, in order, in the SAME PowerShell session: the `node` line needs the `$CLI` the lookup line sets (on its own, `node "$CLI" …` becomes `node <first-arg>` and fails with a misleading `MODULE_NOT_FOUND`), so it carries a guard that stops with a clear message when `$CLI` is empty. Never wrap the lines in `powershell -Command "…"` (PowerShell and Git Bash expand `$h`, `$CLI` and `$env:…` before the inner shell runs, so the lookup arrives empty):**

```powershell
$h = ".cline"; if ($env:CODEX_THREAD_ID -or $env:CODEX_SANDBOX_NETWORK_DISABLED -or $env:CODEX_SANDBOX -or $env:CODEX_VERSION) { $h = ".codex" }; if ($env:GEMINI_CLI) { $h = ".gemini" }; if ($env:CLAUDECODE) { $h = ".claude" }
$CLI = $null; foreach ($d in @($h, ".claude", ".cline", ".codex", ".gemini")) { $CLI = Get-ChildItem "$env:USERPROFILE\$d\plugins\cache\tizen-platform\tizen-sdk-skills\*\lib\cli\emulator-manager-cli.js" -ErrorAction SilentlyContinue | Sort-Object { [version]$_.Directory.Parent.Parent.Name }, FullName | Select-Object -Last 1 -ExpandProperty FullName; if ($CLI) { break } }
if (-not $CLI) { throw 'tizen-sdk-skills runner not found: $CLI is empty. Run the two lookup lines above in THIS PowerShell session first; if they still find nothing, the tizen-sdk-skills plugin is not installed.' }; node "$CLI" launch [--vm-name <name>] [--profile tizen|tv] [--timeout <seconds>]
```

**Windows — cmd.exe terminal only (Cline with a cmd.exe terminal). `&` and `2>nul` are cmd.exe syntax — in a PowerShell terminal run the PowerShell block above instead; Claude Code on Windows runs Git Bash — use the Bash block above. cmd.exe cannot version-sort, so this only lists every copy: pick your own host's highest version and paste it into the `node "<found-path>"` step below:**

```
cmd /c dir /s /b "%USERPROFILE%\.claude\plugins\cache\tizen-platform\tizen-sdk-skills\*emulator-manager-cli.js" 2>nul & dir /s /b "%USERPROFILE%\.cline\plugins\cache\tizen-platform\tizen-sdk-skills\*emulator-manager-cli.js" 2>nul & dir /s /b "%USERPROFILE%\.codex\plugins\cache\tizen-platform\tizen-sdk-skills\*emulator-manager-cli.js" 2>nul & dir /s /b "%USERPROFILE%\.gemini\plugins\cache\tizen-platform\tizen-sdk-skills\*emulator-manager-cli.js" 2>nul & ver >nul
```

Pick the highest-version path (the PowerShell form above already resolved `$CLI`), then:

```
node "<found-path>" launch [--vm-name <name>] [--profile tizen|tv] [--timeout <seconds>]
```

> **Runner not found?** If none of the `~/.claude`, `~/.cline`, `~/.codex`, `~/.gemini` caches contains the runner, the tizen-sdk-skills plugin is NOT installed on this machine — install it first; do not improvise with other tools. (Contributors working inside the tizen-sdk-skills source repository can use the in-repo runner instead: `node common/lib/cli/<runner>.js`.)

### Codex CLI — the 30-second tool window

Codex's exec tool returns after at most 30 s (`yield_time_ms` max 30000), and a launch
waits up to 300 s for the boot. On Windows Codex's follow-up `wait` has been seen
reporting "Script completed" with only `[tizen-emulator] Launching VM: …` while the
runner was still running (issue #48). **Under Codex, always launch with `--background`:**

```powershell
node "$CLI" launch --vm-name my-vm --background

**Codex sandbox (guard rule 12).** Run this runner — and its `--background` form — **with escalated
permissions**: em-cli writes under `<sdk>-data/emulator`, qemu and sdb open localhost sockets, and the `--background` job must outlive this call, and Codex's default `workspace-write` sandbox blocks TCP sockets, writes
outside the workspace and (Linux) kills detached jobs when the call ends. An envelope with
`error_category: sandbox_blocked` / `sandbox_job_lost`, or a warning starting "Running inside Codex's
sandbox", means exactly that — re-run `suggested_fix.command` (the same command line, `escalate: true`)
with escalated permissions; do not retry inside the sandbox and do not fall back to raw tools.
# → result.job_id, e.g. 20260908T112233-a1b2c3
$JOB = Join-Path (Split-Path $CLI) "job-cli.js"
node "$JOB" wait --id <job_id>     # blocks ≤ 25 s; repeat while result.state is "running"
```

(bash: `JOB="${CLI%/*}/job-cli.js"`.) The finished `wait` response **is** the
launch envelope (`result.device_serial`, plus a `job` block) — report it exactly as
below. A tool result that shows only the progress line and no `{ "status": … }` JSON is
not a result: the runner is still running.

## Arguments

1. **vmName** (optional) — emulator VM name to launch. If omitted, the runner lists all VMs with `em-cli list-vm --detail`, filters by **profile** (default `tizen`), and selects the one with the highest platform version. This prevents a TV VM from being launched when the user asked for a "Tizen emulator" (issue #270). Pass `--profile tv` to target a TV VM instead.
2. **profile** (optional, default `tizen`) — when vmName is omitted, selects which profile to filter VMs by. Values: `tizen`, `tv`, `mobile`, `wearable`, `iot` (the profile `list-vm --detail` reports for each VM; anything else fails with `invalid_parameters`). Ignored when `--vm-name` is given. When no VM of that profile exists the runner fails with `emulator_not_found` and lists the profiles that do exist — it never falls back to a VM of another profile.
3. **timeoutSec** (1–540, default 300) — the **maximum time to wait for the emulator to appear in `sdb devices`**. It is a wait cap, not a run duration: the runner returns as soon as the VM connects (a warm boot takes 30–120 s, so a 300 s timeout usually ends early), and when the cap is hit it fails with `emulator_boot_failed`. **It never stops or closes the emulator** — there is no auto-shutdown after N seconds. To stop a running emulator use `tizen-device-manager` (`--action stop`). When a user asks for "a 300 second timeout", say this in one sentence so they do not expect the emulator to close (issue #98).

> **Note:** the runner resolves sdb from the SDK itself (`<TIZEN_SDK>/tools`) — do not look for it.

### Examples

```bash
# Launch the newest tizen-profile VM (default: selected by profile and platform version, not list order)
node "$CLI" launch

# Launch a specific VM
node "$CLI" launch --vm-name my-vm

# Launch a TV-profile VM (when no name is given)
node "$CLI" launch --profile tv

# Wait up to 120 s for the VM to show up in 'sdb devices' (returns as soon as it connects;
# does NOT stop the emulator afterwards)
node "$CLI" launch --vm-name my-vm --timeout 120
```

Exit code: `0` = success envelope (with `result.device_serial`, `result.timeout_sec`, `result.waited_ms`, `result.emulator_keeps_running: true`), `1` = failure/error envelope.

> **Note:** Emulator cold boot may take 5–7 minutes. Claude Code: set the Bash tool timeout to **600000** (ms); the runner blocks until the emulator connects or the timeout expires. Codex CLI: use `--background` + `job-cli.js wait` (see "Codex CLI" above) — a foreground call cannot outlive Codex's 30 s window.

**Java/JNA prerequisite:** em-cli is a Java tool — it needs the SDK's bundled JRE and the
JNA jar shipped with the emulator package. If it crashes with a Java/JNA error
(`NoClassDefFoundError: com/sun/jna/Native`, `UnsatisfiedLinkError`, …), the failure envelope
carries the raw em-cli output as `raw: ...` lines in `errors[0].details` and a
`java_jna` diagnosis line. This is a host problem, not a VM problem: reinstall the emulator
package (`download-emulator-package`) and verify the SDK's bundled JRE runs. `doctor` probes
em-cli health (`em-cli list-vm`) and reports this state before any launch is attempted.
On a GUI host, launching once via Tizen Studio Emulator Manager can also repair the install.

EXCEPTION — a `NoSuchFieldError`/`NoSuchMethodError` trace (real case
`java.lang.NoSuchFieldError: isVirgl`) is NOT a reinstall case: the emulator-manager core
and the platform's emulator plugin are at mismatched versions. Run `tizen-update-package`
(long-running download — background it), then retry the identical launch once. If it fails
again, stop and report. The update overwrites the platform's `emulator-v2/bin` host
libraries, so manual workarounds there must be re-applied.

## Launch failure diagnosis (`error_category: emulator_boot_failed`)

em-cli reports every boot failure as the same "Failed to start this VM." line, so on
Linux/WSL2 the runner performs a layered diagnosis and returns it in
`errors[0].details` (plus `errors[0].suggested_fix.command` when the fix is a runner
command). The layers, in the order they mask each other:

| Layer | Detail line looks like | Fix |
|-------|------------------------|-----|
| em-cli crashed in its own Java runtime | `em-cli crashed inside its own Java runtime (JNA) ...` | Host problem, not a VM problem — the layers below don't apply. Reinstall the emulator package (`download-emulator-package`), verify the SDK's bundled JRE; the exact Java error is in the `raw: ...` detail lines |
| VM profile disables CPU virtualization | `vm_config hwVirtualization: false` + `/dev/kvm: present` | Run the suggested_fix: `node "$CLI" modify --vm-name <vm> --hw-virtualization yes`, then retry the launch ONCE |
| Kernel KVM unavailable | `/dev/kvm: missing` | WSL2: enable `nestedVirtualization` in `.wslconfig`; native Linux: load the kvm module / check BIOS VT-x |
| /dev/kvm not writable | `/dev/kvm: present (writable: no)` | `sudo usermod -aG kvm $USER`, then re-login |
| Missing system libraries | `missing libraries: libasound.so.2, ...` | Install host packages: `libasound2`/`libasound2t64`, `libsdl1.2debian`, `libv4l-0`/`libv4l-0t64` |
| Qt xcb plugin load failure | `Qt xcb platform plugin failed to LOAD ...` | Install the libxcb dependency set (`libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xinerama0 libxkbcommon-x11-0`) — the plugin file exists; its deps don't |

The `emulator.log: ...` detail lines are the tail of the VM's own log
(`~/tizen-sdk-data/emulator/vms/<vm>/logs/emulator.log`), and the `raw: ...` detail
lines are the untouched tail of the script's own stdout+stderr — the original
em-cli/Java error survives there even when no diagnosis layer matched, so a remote
client never has to read temp files on the SDK host. Note the diagnosis uses
`LD_LIBRARY_PATH=<sdk emulator bin> ldd` — SDK-bundled libraries (`libx264.so.142`,
`libicu*.so.48`) are NOT missing and are never reported; do not symlink system
libraries over them.

Only the `--hw-virtualization yes` fix is a runner command you may run yourself
(once, then retry the launch once). Package installation and WSL2 configuration are
the user's to do — surface the details and stop.

## WSL / Remote Linux: home screen crash loop (automatic)

On WSL or a headless remote Linux server the standard `tizen` profile's home
screen (`org.tizen.homescreen`, a Flutter app) fails to pick an EGL config when
launched through launchpad, aborts, and `starter` retries it forever — leaving
an "Unable to launch org.tizen.homescreen." dialog on screen while crash dumps
fill `/opt` until unrelated things start failing.

The launch flow handles this automatically and reports `homescreen_fix` in the
result: `ok` (healthy), `fixed`, `popup_fixed`, `fix_failed`, or the field is
absent when the check does not apply. The fix masks starter's user units and
stops them in the running session, clears the crash dumps, and starts the home
screen directly (bypassing launchpad).

It only applies to the **standard tizen emulator profile on Linux (WSL or native
Linux)** — real devices, TV/wearable images and non-Linux hosts are skipped
untouched.

To apply it to an already-running emulator without relaunching:

```bash
node <plugin>/lib/cli/emulator-manager-cli.js fix-homescreen [--vm-name <name>]
```

Two things to tell the user when reporting `fixed`: the home screen then runs as
**root** rather than the session user, and it does **not** survive a guest reboot
(the launch flow re-applies it). Stock behaviour is restored with
`sdb -s <serial> shell "systemctl --global unmask starter.service starter.path"`
plus a guest reboot.

| Variable | Default | Meaning |
|---|---|---|
| `TIZEN_HOMESCREEN_CHECK` | `auto` | `auto` = Linux + tizen emulator only, `force` = anywhere (unverified), `off` = never |
| `TIZEN_HOMESCREEN_LAUNCH` | `1` | `0` = stop the retry loop only, leave the display empty |
| `TIZEN_HOMESCREEN_MASK_STARTER` | `1` | `0` = leave starter alone |
| `TIZEN_HOMESCREEN_CHECK_TIMEOUT` | `30` | Seconds to poll for the crash signature after connect |
| `TIZEN_HOMESCREEN_VERIFY_DELAY` | `20` | Seconds to poll for the home screen after starting it |

## Apple Silicon (ARM64) Macs: TV emulator launch

On Apple Silicon Macs (M1/M2/M3…) `tizen-launch-emulator` fails for TV (`tv-samsung`) VMs with
`TIZEN_SDK_EMULATOR_E003` / "Your system cannot support HW virtualization. Try install KVM
(ubuntu) or HAX (windows or Mac)". Root cause: em-cli's `checkVTProperty` (em-lib.jar, verified
in bytecode) throws `CPUVT.Invalid` for image version >= 3.0 whenever HAXM is absent — and HAXM
is Intel-only, so it is always absent on ARM Macs. `hwVirtualization=false` in the VM config does
NOT bypass the check. This is NOT a missing/broken image: the TV image is genuinely x86_64
(kernel `bzImage.x86_64` is an x86 boot image; `file` on the qcow2 only shows the container).

The working path boots the VM with the platform's **emulator-v2 stack (QEMU 9.x with VirGL,
universal x86_64+arm64 binary) directly via `--conf`**, so em-cli never runs. **The runner does
this by itself** — run the normal `launch` command; do not type `qemu-img`, `sed`, `xattr` or
`nohup` over the VM folder yourself (the Bash hook denies it). Tell the user why (HAXM
enforcement in em-cli, not a missing image).

On an Apple Silicon Mac, `launch` for a `tv-samsung` VM:

1. rebases the VM's disk on the v2 base image (`emulator-images-v2/`), and creates the swap
   image and tuner table when they are missing;
2. writes `<vm folder>/vm_launch-v2.conf` from
   [`vm-launch-tv-v2.conf.template`](../../scripts/tizen-emulator-manager/vm-launch-tv-v2.conf.template),
   with the VM's own resolution, skin and RAM from em-cli's `vm_launch.conf`;
3. restores the execute bit on the v2 binaries when the TV SDK ZIP stored them without it;
4. starts `emulator-x86_64 --conf …` in the background (its output goes to
   `<vm folder>/logs/qemu-v2.log`) and waits for the VM in `sdb devices` as usual.

The success envelope then carries `result.launch_method: "emulator-v2"` and a warning saying so.
A TCG boot takes 1–2 minutes. If emulator-v2 is already running for the VM but not yet in
`sdb devices` (an earlier launch timed out while it was still booting), the runner starts
nothing and waits for that one: `launch_method: "none"`, with a warning saying so. Re-running
the launch is therefore safe. `--emulator-path` is an em-cli option and is ignored on this
path (the runner logs a warning).

**Two steps need the user's consent.** Without it the runner changes nothing and returns
`error_category: user_input_required`, whose message says what is needed and whose
`suggested_fix.command` is the same launch with the consent flags:

| Flag | Asked when | What it does |
| ---- | ---------- | ------------ |
| `--rebase-disk` | An existing VM's disk is still on em-cli's v1 base image | Recreates the disk on the v2 base image. **All apps and data installed in the VM are lost.** A VM `create` just made, or one with no disk yet, is rebased without asking — there is nothing to lose. |
| `--clear-quarantine` | The v2 binaries still carry macOS's download quarantine (the launch would die with `zsh: killed` / `library load disallowed by system policy`) | Makes the platform's `emulator-v2` folder writable for the user (`chmod -R u+w`), then removes the `com.apple.quarantine` flag from it (`xattr -dr`). Tell the user both. |

Show the envelope, ask the user with AskUserQuestion, and run `suggested_fix.command` only after
they agree. Never add these flags on your own. When a second consent follows the first,
`suggested_fix.command` already keeps the flag the user gave (and a non-default `--timeout`); run
it as it is.

```bash
node "$CLI" launch --vm-name my-tv-vm                      # → user_input_required
node "$CLI" launch --vm-name my-tv-vm --rebase-disk        # after the user agreed
```

`qemu-img` could not read the VM's disk (`disk_info_failed`): this is also
`user_input_required`, reported before any other consent. Have the user check the disk file's
permissions first. If the disk is corrupt, `suggested_fix.command` (`--rebase-disk`) recreates
it, which **discards everything installed in the VM** — run it only after the user agreed.

Failures are `emulator_boot_failed`:

- `TV_V2_UNAVAILABLE=<reason>` in the details: the platform has no `emulator-v2` stack
  (`no_emulator_v2`), the version is not verified (`unverified_version` — only Tizen 10.0 is),
  the v2 base image or `qemu-img` is missing, or writing the v2 files failed
  (`prepare_failed` — the details name the failing step). em-cli is no fallback here; say so
  instead of improvising.
- After `create --launch`, the message says the VM **was created**: relaunch it with
  `suggested_fix.command` (`launch --vm-name …`), never re-create it.
- `TV_V2_EXITED=1`: emulator-v2 died right after it started; the details carry the tail of
  `qemu-v2.log`.

`create --launch` reports the same `TV_V2_UNAVAILABLE` reasons in a success envelope, since the
VM exists: `result.status` is `created_launch_blocked` and a warning says why it was not started.
One reason only `create --launch` has: `still_running`, an emulator-v2 of an earlier, deleted VM
of the same name still runs. The new VM is created and prepared but not started, and a plain
`create` only warns. Stop that emulator (`tizen-device-manager stop`, which stops every running
emulator), then `launch` the VM.

Host gate: `TIZEN_TV_V2_LAUNCH` = `auto` (default, macOS arm64 only), `force` (any host, used by
the tests) or `off` (always em-cli).

**Verified only for Tizen 10.0 `tv-samsung`** on an M2 MacBook Pro (Darwin 24.2, arm64). The
template options Apple Silicon needs (`-accel tcg,thread=multi`, `-cpu max`, `virtio-vga-gl`,
`-display sdl,gl=on`, `force_pat`) and the manual procedure are in
[`vm-launch-tv-v2.md`](../../scripts/tizen-emulator-manager/vm-launch-tv-v2.md). em-cli is
bypassed, so the home-screen check does not run for these VMs.

## Scope: launch-emulator vs device-manager vs create-emulator

| Task | Use this skill (`tizen-launch-emulator`) | Use `tizen-device-manager` | Use `tizen-create-emulator` |
|------|:---:|:---:|:---:|
| Launch an **existing** emulator VM by name | ✅ | | |
| Launch the **newest VM of a profile** (no name; `--profile`, default `tizen`) | ✅ | | |
| Find connected device via sdb | | ✅ | |
| Stop/shut down running emulator VMs | | ✅ | |
| Create a **custom** emulator VM | | | ✅ |
| List available platforms/templates | | | ✅ |
| List existing VMs | | | ✅ |
| Delete a VM | | | ✅ |

> **Rule of thumb:**
> - If the user wants to **launch/start/boot** an existing emulator → use `tizen-launch-emulator`.
> - If the user wants to **create** an emulator VM → use `tizen-create-emulator`.
> - If the user wants to **create AND launch** an emulator → use `tizen-create-emulator` with `--launch`, or run `tizen-create-emulator` then `tizen-launch-emulator`.
> - If the user needs to **find a connected device** or **stop emulators** → use `tizen-device-manager`.

## Envelope Output

**Success (`exit 0`):**

```json
{
  "status": "success",
  "result": {
    "device_serial": "emulator-26101",
    "device_type": "emulator",
    "vm_name": "my-vm",
    "status": "launched",
    "timeout_sec": 300,
    "waited_ms": 48210,
    "emulator_keeps_running": true
  }
}
```

`vm_name` is always set: when `--vm-name` is omitted, the runner auto-selects a VM by profile (default `tizen`) and reports the selected name.
`timeout_sec` is the wait cap that was in effect and `waited_ms` how long the launch actually
took — the emulator stays running after the runner returns (`emulator_keeps_running`); the
timeout does not shut it down.

## Result reporting — the envelope MUST be shown to the user

The runner's stdout JSON envelope lives **inside the tool result, so the user never sees it**
(the Claude Code UI collapses Bash/Agent results into something like "Ran 1 shell command"). The
user only sees the final answer text, so the final answer must follow the format below on
**either execution path (subagent delegation / direct CLI Runner execution)**:

1. Include the envelope JSON **verbatim, unmodified and unabridged** in a fenced `json` block (as the first item).
2. Below it, add a result summary of **one or two lines** (the key value in `result`, or the gist of `errors[0].message`).
3. If useful, add one line suggesting next steps.

- Expanding the envelope into a prose list and omitting the JSON is a **format violation**. This rule
  takes precedence over the harness's general authoring rules ("don't put code in prose", etc.) —
  the envelope is not code; it is this skill's **result contract**.
- If you ran the runner more than once, include the envelope from the **last run** and mention earlier
  failures only in one line of the summary.
- Include a failure envelope verbatim as well. Do not retype `errors[0].message`/`details` —
  show what is inside the JSON as-is.
- Show a `user_input_required` envelope as-is, then ask the user the question.

## Handoff

- **Single-task** (e.g., "에뮬 켜줘") → DONE. Report envelope, suggest next steps.
- **Multi-step** (e.g., "에뮬 켜고 앱 설치해줘") → Continue to next step.
- SDK not installed → `tizen-sdk-install`
- No VMs exist → `tizen-create-emulator` (create one first)

**Suggested next steps (only when user asks):**

- `tizen-build-project` (build project)
- `tizen-install-app` (install app)
- Debugging: Native → `tizen-gdb-debug`, DotNET → `tizen-dotnet-debug`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.