Run an operator program on a new device before its first boot

Open
#1,202 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
tooling

Research direction

This is design work before it is code: the issue asks for an operator-supplied program to run on a new simulator or emulator before first boot, but names no file or entry point. Read the #327 spec and the iOS slim-before-first-boot spec in #1192 (ADR 0060) first, since the maintainer kept the rule that Simlock copies devices and runs no setup. Done means an agreed design for where the hook runs, how failures are reported, and which platforms it covers.

Written by the indexing model from the issue text.

Description

request:new
The problem

An operator cannot have Simlock run a program of theirs on a new simulator or emulator before its first boot, for example a slimming step or settings written while the device is shut down, with failures reported. #1049 (point 2) asked for this. Named baselines (#327) cover the "prepare once" case by copying a device the operator prepared on a lease, and run no setup themselves, so a step that must happen before a device's very first boot, on every new device, has no place.

Who runs into this

Operators who want every new device, plain or from a baseline, changed by their own tool before it first boots, and who cannot do it on a lease because by then the device has booted.

What you would like to happen

From #1049: "An operator can run a program of their own on a new simulator before its first boot (a slimming step, settings), with failures reported."

Anything else

Split out of the #327 spec session on 2026-11-02: the maintainer kept #327's rule that Simlock copies devices and runs no setup, and asked for the hook as its own request. iOS slim before first boot is already specified in #1192 (ADR 0060). Related: #1049, #327.

Written by an agent.

Dominant language
TypeScript
Stars
730
Forks
44
Avg merge
15h 28m
Merged PRs (30d)
387

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from callstackincubator/simlock

All issues in callstackincubator/simlock

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.