Commit 3f8fa3e
Fix SB2.1 detection offsets
The 'sgtl' magic sits at offset 52 in real SB2.1 files (with 'STMP' at
offset 20), not at offset 28. Real .sb2 release files were therefore not
recognized as SB2, and verify_firmware rejected them on locked devices
as if they were raw .bin images.
Verified against app-secure-2.2362.0.sb2 and the official
solo2-firmware-2.964.0.sb2 from GitHub releases; confirmed by a
successful flash on a real Secure device.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent bbff4ce commit 3f8fa3e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments