Skip to content

Install firmware and the App Loader on a Watch 3 Pro - #121

Merged
freethinkel merged 1 commit into
mainfrom
wp3-firmware-install
Nov 29, 2026
Merged

freethinkel merged 1 commit into
mainfrom
wp3-firmware-install

Conversation

@freethinkel

Copy link
Copy Markdown
Collaborator

The App Loader port to the Watch 3 Pro is in cmf-watch-sdk (fmctools/cmf-watch-sdk#28, #30), so the site can now flash its firmware and install its App Loader. Until now both were download only.

Firmware

  • flashable() takes every device with a known board in BOARDS (Watch Pro 2 and Watch 3 Pro), not only watch_pro_2. The stock OTA sequence is the same on both. cmf-watch-sdk flashed a Watch 3 Pro with it (0xa041 01, normal restart).
  • checkOtaTarget drops its "Watch Pro 2 only" step. The board gate stays: the image's board must match both the record and the watch on the line.
  • A local image in /dev goes to the device its own board names (it used to be hard-wired to watch_pro_2).
  • The red "only for" plate is left for watches with no known board (the original Watch Pro). Its text now says so in all five languages.

App Loader on a Watch 3 Pro

These changes follow cmf-watch-sdk install.py:

  • The stub's StubVersion reply has a 7th byte, the model (1 Watch Pro 2, 2 Watch 3 Pro). Before this change parseStubReply rejected the 7-byte reply, so the site took the stub for an error.
  • DATA goes on 0x90A9 to a Watch 3 Pro stub. Stock 1.0.1.77 handles 0x90A2 itself (Do Not Disturb sync).
  • planInstall refuses a loader whose header byte 0x38 names the other model before anything is sent. The message is translated. The stub refuses such a loader at END anyway.

Testing

  • vitest: 688 passed. New cases cover the 7-byte reply, loader/model refusals both ways, DATA on 0x90A9 for a Watch 3 Pro, Watch 3 Pro image on a Watch 3 Pro under both advertised names, and a Watch 3 Pro record being fetched for flashing.
  • svelte-check: 0 errors. oxfmt --check is clean on the changed files.
  • Not run against a real Watch 3 Pro from the browser yet. That needs the Watch 3 Pro FMC records, then a draft from fmc-release.yml with model: wp3.

🤖 Generated with Claude Code

Every watch with a known board (BOARDS) is flashable now, not only the
Watch Pro 2: the stock OTA sequence is the same, and the board gate still
holds an image to its record and to the watch on the line. A local image
from /dev goes to the watch its board names.

The App Loader stub on a Watch 3 Pro answers StubVersion with a 7th byte,
its model, and takes DATA on 0x90A9 (stock 1.0.1.77 handles 0x90A2 as Do
Not Disturb). readWp2 reads the model, installPackage picks the opcode, and
planInstall refuses a loader built for the other model (header byte 0x38)
before anything is sent, as cmf-watch-sdk install.py does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@freethinkel
freethinkel merged commit a3aef7f into main Nov 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant