Repository navigation
Install firmware and the App Loader on a Watch 3 Pro - #121
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 inBOARDS(Watch Pro 2 and Watch 3 Pro), not onlywatch_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).checkOtaTargetdrops 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.watch_pro_2).App Loader on a Watch 3 Pro
These changes follow cmf-watch-sdk
install.py:parseStubReplyrejected the 7-byte reply, so the site took the stub for an error.0x90A9to a Watch 3 Pro stub. Stock 1.0.1.77 handles0x90A2itself (Do Not Disturb sync).planInstallrefuses a loader whose header byte0x38names 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 on0x90A9for 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 --checkis clean on the changed files.fmc-release.ymlwithmodel: wp3.🤖 Generated with Claude Code