TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Bose-dfu, a reverse-engineered firmware updater for Bose devices

4 点作者 tchebb大约 3 年前

1 comment

tchebb大约 3 年前
...at least, for the one Bose device I own. Other Bose Bluetooth devices use the same image format and can be updated by the same official update tool (which doesn&#x27;t run on Linux or support downgrades, hence this one), so I&#x27;m hopeful they use the same protocol as well.<p>This was a fun reverse engineering project, and I also used it as an opportunity to learn Rust better. The protocol is quite close to USB DFU[1], but it&#x27;s been altered to run on top of HID reports instead of raw USB transactions, presumably because every major OS lets you talk to HID devices without having to publish and sign your own driver.<p>Interestingly, Bose seems to have also forked dfu-util[2], which is GPL-licensed, altered it to speak this protocol, and shipped the binary with an official update tool for a different product with no accompanying source to be found. More details on that at the end of the README.<p>[1] <a href="https:&#x2F;&#x2F;www.usb.org&#x2F;sites&#x2F;default&#x2F;files&#x2F;DFU_1.1.pdf" rel="nofollow">https:&#x2F;&#x2F;www.usb.org&#x2F;sites&#x2F;default&#x2F;files&#x2F;DFU_1.1.pdf</a> [2] <a href="http:&#x2F;&#x2F;dfu-util.sourceforge.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dfu-util.sourceforge.net&#x2F;</a>