firebreak
firebreak unlocks and roots an Echo Dot (2nd Generation), an Echo (2nd Generation) or an Echo Dot (3rd Generation) over USB, or returns it to stock. Run it again with another target to move the device. A stopped run picks up where it left off.
All of this is possible because of Rortiz2's work. firebreak runs the unlocks they publish on XDA, one thread for each Echo:
Unlocking a stock Echo Dot (2nd Generation) needs
amonet-biscuit-v2.0.1.zip, which Rortiz2 publishes only on its thread above.
A run downloads it unattended. If that fails, the run says so and opens your
browser for the thread instead, because the thread itself refuses an
unattended download. Either way the zip is checked against a pinned hash.
Moving an already-unlocked Echo Dot (2nd Generation) between targets
needs that zip too, because the run checks the bootloader against the copy in
it, and so do the runs that go through its bootrom: firebreak bootrom, a
resume after boot0 was erased, and stock 5.5.0.3.
| target | the device ends with | time |
|---|---|---|
unlock fireos6 (default) |
rooted Fire OS 6 8149 on amonet v2.0.1, TWRP 3.7.0; also needs boot-root.zip. On an Echo (2nd Generation), rooted Fire OS 6 8149 on amonet-radar v1.0.1. On an Echo Dot (3rd Generation), the Fire OS 6 already installed rooted with kamakiri-donut v1.0.0, or Fire OS 6 8349 with --factory-reset |
about 5 min from unlock fireos5; on an Echo Dot (3rd Generation), about 3.5 min from stock |
unlock fireos5 |
rooted Fire OS 5.5.5.4 on amonet v1.1.0, TWRP 3.7.0_9-bboe2 | about 9 min from stock |
stock [BUILD] |
stock Fire OS at that build, with the device erased: Fire OS 6 8149 when left out, or Fire OS 5 from 5.5.0.3 to 5.5.5.4. On an Echo (2nd Generation), Fire OS 6 8149 when left out, any Fire OS 6 from 4305 to 8349, or Fire OS 5.5.5.4. On an Echo Dot (3rd Generation), Fire OS 6 8349, with its bootloader locked again | about 3 min from unlock fireos5 |
unlock takes the newest unlock that firebreak supports for that Fire OS, so
a target names no amonet version. unlock with no target takes fireos6.
Run it
It needs adb and fastboot from Android platform-tools, and
uv, which runs firebreak from PyPI and fetches a
Python for it when needed.
uvx firebreak@latest asks PyPI for the newest release on each run. Without a
network it fails, and uvx firebreak runs the copy uv already has.
macOS
These commands use Homebrew. Without it, download Google's platform-tools.
brew install --cask android-platform-tools uv
brew install libusb # for an Echo Dot (3rd Generation)
uvx firebreak@latest unlock # fireos6
uvx firebreak@latest stock # 8149, or name 8344, 8338, 8146, 8142, 8138, 6302, 5041, 4405, 4315, 5.5.5.4, 5.5.5.0, 5.5.4.9, 5.5.4.6, 5.5.3.1, 5.5.0.3
Linux
These commands are for Debian and Ubuntu. Run firebreak without sudo.
sudo apt install adb fastboot curl libusb-1.0-0
curl -LsSf https://astral.sh/uv/install.sh | sh
These udev rules let your own user open the Echo in each of its USB modes, so
firebreak needs no sudo. A run that cannot open the Echo prints the same
commands.
sudo groupadd -f plugdev
sudo tee /etc/udev/rules.d/51-echo-dot.rules >/dev/null <<'EOF'
SUBSYSTEM=="usb", ATTR{idVendor}=="1949", MODE="0660", GROUP="plugdev", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0660", GROUP="plugdev", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d001", MODE="0660", GROUP="plugdev", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0c01", MODE="0660", GROUP="plugdev", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="0003", MODE="0660", GROUP="plugdev", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="201c", MODE="0660", GROUP="plugdev", TAG+="uaccess"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="0003", MODE="0660", GROUP="plugdev", TAG+="uaccess"
SUBSYSTEM=="tty", ATTRS{idVendor}=="1949", ATTRS{idProduct}=="2007", MODE="0660", GROUP="plugdev", TAG+="uaccess"
EOF
sudo udevadm control --reload
sudo udevadm trigger
sudo usermod -aG plugdev "$USER"
adb kill-server
Then log in again, so your shell has the plugdev group, and run it:
uvx firebreak@latest unlock # fireos6
uvx firebreak@latest stock # the device's default build, or name one
An Echo Dot (3rd Generation) unlocks on Linux with no sudo. Linux uses a
different exploit from macOS, because each host refuses the transfer the other
exploit needs. stock, fastboot, twrp and the whole restore also run on
Linux.
Windows
Install the drivers from an administrator PowerShell:
cd $env:TEMP
curl.exe -fo fastboot.cab https://catalog.s.download.windowsupdate.com/d/msdownload/update/driver/drvs/2016/10/20940218_0ae8695c01fb84d1fdea5c9a04baf336ec5b1ba7.cab
curl.exe -fo mtk.cab https://catalog.s.download.windowsupdate.com/d/msdownload/update/driver/drvs/2016/07/20896845_fdc6bb5aa9a9bac99adf85d931d6c21d1130a96e.cab
mkdir -Force fastboot, mtk
expand -F:* fastboot.cab fastboot
expand -F:* mtk.cab mtk
pnputil /add-driver fastboot\tplink_winusb.inf /install
pnputil /add-driver mtk\cdc-acm.inf /install
Remove-Item -Recurse fastboot.cab, mtk.cab, fastboot, mtk
The drivers have x86 and x64 builds only, so on Windows on ARM the steps that use fastboot or the bootrom cannot run.
Then open a new PowerShell, not as administrator, and run these:
winget install Google.PlatformTools
winget install astral-sh.uv
uvx --managed-python firebreak@latest
--managed-python has uv use its own Python. A Python from the Microsoft
Store keeps firebreak's files where adb and fastboot cannot see them, and
firebreak stops on it.
An Echo Dot (3rd Generation) also needs UsbDk and libusb, because its bootrom is driven over raw USB. UsbDk has run on Windows 11 23H2; mtkclient reports it broken on build 26200, which is 25H2. Install it from an administrator PowerShell:
curl.exe -fLo $env:TEMP\UsbDk.msi https://github.com/daynix/UsbDk/releases/download/v1.00-22/UsbDk_1.0.22_x64.msi
msiexec /i $env:TEMP\UsbDk.msi /qn
Then put libusb on your PATH, not as administrator, and open a new
PowerShell. Windows 11 23H2's tar unpacks libusb's .7z; on an older
Windows, unpack the same VS2022\MS64\dll\libusb-1.0.dll into that folder
with 7-Zip, keeping its folders, before the last line.
$d = "$env:LOCALAPPDATA\Programs\libusb"
mkdir -Force $d
curl.exe -fLo $env:TEMP\libusb.7z https://github.com/libusb/libusb/releases/download/v1.0.30/libusb-1.0.30.7z
tar -xf $env:TEMP\libusb.7z -C $d VS2022/MS64/dll/libusb-1.0.dll
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";$d\VS2022\MS64\dll", "User")
Notes
- From stock, firebreak asks for the fastboot gesture.
- A ring that stays solid blue at the fastboot gesture can mean a cable that carries power but no data, or a bad USB connection. Try another cable, then another port. On Windows it can also mean the drivers are missing.
- A ring that restarts instead of reaching TWRP, blue with about a second of turning cyan and little or no white, has been a USB port that cannot power it. To tell, hold the + button with the device on a USB wall charger: a ring that reaches white there means TWRP runs. Then use another port. A USB 3 port on the computer itself, with nothing else on it, is the most reliable.
- An Echo that drops off USB during a TWRP step, more than once, has also been a port that cannot power it. Where the run says boot0 may hold no preloader, run firebreak again first. If it fails the same way, unplug the Echo, run firebreak again, and plug it into another port.
- A
/systemwrite that keeps failing withfailed to read copy response: EOFcan mean a poor USB connection. Unplug both ends of the cable, plug them back in firmly, and try another cable if it fails again. - Do not connect a stock device to Wi-Fi before you unlock it. Amazon can update it to a build firebreak does not support.
amonet-biscuit-v2.0.1,amonet-radar-v1.0.1andkamakiri-donut-v1.0.0root the Fire OS 6 build already installed, and keep the device's Wi-Fi and Alexa setup. Unlock it soon after setup, before it can update.--factory-reseterases the device and installs the target's build instead.- docs/unlocking.md says why each step is there, and docs/measurements.md has the ring through a root and a restore, so you can tell where a run has got to.
Bootloaders
From stock, only the LK decides whether firebreak can unlock a device.
fastboot getvar lk_build_desc reads it.
lk_build_desc |
ships in |
|---|---|
2c3569d-20260617_045829 |
Fire OS 6 8338, 8344 |
63cb91b-20221007_072309 |
Fire OS 6 4405 to 8149 |
41fb3ce-20221007_151724 |
Fire OS 6 4310, 4313, 4315 |
beb022a-20211202_231918 |
Fire OS 5.5.5.4 |
a828f29-20210822_210511 |
Fire OS 5.5.4.9, 5.5.5.0 |
f379dba-20170906_000423 |
Fire OS 5.5.3.1 to 5.5.4.6 |
0e1d0d9-20161018_220224 |
Fire OS 5.5.0.3 |
- The table is the Echo Dot (2nd Generation)'s. An Echo (2nd Generation)
reports four LKs of its own, and they differ from a Dot's even where the
build numbers match: Fire OS 6 8338, 8344 and 8349 ship
2c3569d-20260617_051433on an Echo against2c3569d-20260617_045829on a Dot, from one commit but not the same bytes. amonet-radar v1.0.1 has an image for each of the four, so no Echo build Amazon has shipped is out of reach. - docs/devices.md has each build's preloader, TEE and anti-rollback versions.
- An LK older than 5.5.0.3 reports none of these, and so no
lk_build_descand nopl_build_desc. firebreak unlocks such a Dot with the default fastbrick image, which amonet v2.0.1's own map gives an LK it does not know.
--end-in-fireos
stock [BUILD] leaves the device in fastboot at the end. The next run then
needs no button held, because a device already in fastboot is one firebreak can
find by itself. --end-in-fireos lets it start the Fire OS it now holds
instead. Only the stock target takes it. 5.5.0.3 cannot wait in fastboot,
so it waits in the Dot's bootrom, which the next run picks up with no button
held; power the Dot off and it starts Fire OS 5 instead.
--no-wait
stock [BUILD] --no-wait starts the writes at once. Without it the run counts
down 10 seconds first, which is the last point Ctrl-C leaves the device as it
is. Only the stock target takes it.
One command per entry point
A target run starts wherever the device is, so testing one stage means reaching its state first. These commands do only that, and stop there.
| command | where it leaves the device | writes |
|---|---|---|
firebreak reboot |
its firmware, as an ordinary power-on starts it | nothing |
firebreak fastboot |
the fastboot its bootloader gives | nothing |
firebreak twrp |
its TWRP | nothing, where the bootloader is unlocked and its recovery holds a TWRP; --force writes one |
firebreak bootrom |
its bootrom, with amonet's payload holding it | boot0's header from a recovery, all of boot0 from fastboot |
firebreak short |
the same, with the test point shorted | nothing |
Each asks before a write and says what the write does. --force answers in
advance, and a run with no terminal to ask at stops and names it.
short
Use firebreak short when the Dot shows no light and gives no fastboot. It
reaches the Dot's bootrom by shorting its eMMC bus as it powers up, and holds
it there. The run after it joins that payload with no second
short, so this is how a target run starts on a Dot that cannot reach fastboot.
Only this command asks for a short.
- Open the Dot with a Torx T8 screwdriver. Lift the shield's lid off the eMMC by its corners; its metal frame stays on the board.
- Find the passive marked in this photo, in the row between R60 and C52 beside the eMMC (where that is on the board). Do not use C52, which is a capacitor.
- With the Dot unplugged, run
uvx firebreak@latest short --device biscuit. - When firebreak prints "Short … test point and plug it in", hold a wire from that passive to the shield frame beside it, which is ground, and plug the Dot in. A Dot plugged in before that message can go unseen. On "Short … missed", unplug it and try again.
- Take the wire off when firebreak prints "The short may come off now".
- Leave the Dot plugged in, and run the target you want, such as
uvx firebreak@latest unlock. A power cycle loses the hold.
Reporting a problem
When a run fails, run firebreak again with the report command, as in
uvx firebreak@latest report, then please stop by #support-device-unlocking
in the EchoMuse Discord and paste what it
prints. It starts the device's recovery, prints what the device, its eMMC and
this computer are, and the device's partition table, and writes no partition. A
device already in a recovery stays there, and it is left in its recovery
afterwards.
report also names the device and lists its USB devices. An Echo (2nd
Generation) takes unlock fireos6, which roots Fire OS 6
8149 with amonet-radar v1.0.1, and stock [BUILD], which
returns one on amonet to
any of sixteen stock builds, from Fire OS 5.5.5.4 to
Fire OS 6 8349, which amonet-radar v1.0.1 is the first release to
unlock. Both have run on an Echo. The first boot after
the root has sometimes shown nothing on USB; the run waits, and after a minute
it asks for the Echo's power to be unplugged and plugged back in. An Echo Dot
(3rd Generation) takes unlock fireos6 and stock, which returns it to Fire
OS 6 8349 and locks it again. unlock fireos5 is for the Echo Dot (2nd
Generation) alone. The report is the same on other Echo devices and helps add
them.
write-test then tells a failing eMMC from a failing cable. It pushes a
pattern into the Dot's RAM, then has the Dot write it over its own cache
partition and read it back, so nothing crosses USB. It erases cache, which
holds nothing the Dot needs, and leaves an empty filesystem there, or says
it could not.
For a Dot that shows no light, run short
first; write-test then goes through the payload waiting there, writes a
pattern over the end of cache from this computer, and reads it back. It says
whether the eMMC refused a write or the bytes did not arrive, and puts back
what was there when the Dot still answers.
Credits
firebreak automates work that other people did first.
- xyz wrote amonet, a MediaTek bootrom exploit. firebreak's bootrom and payload clients follow its protocol.
- k4y0z made the first port of amonet to the Echo Dot (2nd Generation).
- Rortiz2 continued
that port, released
it with TWRP, and keeps its
XDA thread.
Rortiz2 also wrote amonet-radar and kamakiri-donut, the unlocks for the
Echo (2nd Generation)
and the
Echo Dot (3rd Generation).
The
bboeTWRP is a fork of their TWRP tree. - AntiEngineer helped find the pins and bring up UART on a Dot.
- topjohnwu wrote Magisk, which roots Fire OS 5.
- Andy Goetz described how to short the eMMC bus at the passives beside R60.
- mtkclient, by bkerler, agrees with two of firebreak's bootrom addresses.
- ftvdb keeps the Fire OS builds that the tables link to.
Licence
firebreak uses the BSD 2-Clause licence, in LICENSE.txt. This repository contains no Amazon code, and firebreak is not affiliated with, endorsed by, or supported by Amazon.
Metadata
Release files for firebreak 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| firebreak-1.0.0.tar.gz | 428.5 kB | With provenance | Details for firebreak-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| firebreak-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for firebreak-1.0.0-py3-none-any.whl |
Total release size: 570.3 kB
Release files / firebreak-1.0.0.tar.gz
| Download URL | firebreak-1.0.0.tar.gz |
|---|---|
| Size | 428.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f059778dcf8a678476bb0dfe6c7b1727c1af6f10e3995683bb8f28bd7ae2472
|
|
BLAKE2b-256 checksum How to use checksums |
56a7f973652d8700355a2f50bd6cc7514e7b8ca5bd78815617f239b0c139534d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logRelease files / firebreak-1.0.0-py3-none-any.whl
| Download URL | firebreak-1.0.0-py3-none-any.whl |
|---|---|
| Size | 141.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d41e9e5bbc284460684e2a800f1c9ef433f0b4b4bdabc9e75f3e41b914283d62
|
|
BLAKE2b-256 checksum How to use checksums |
29cc4b072bd071eca4408eec2c4abd0ffaeb586879f41ff58e89dd8b84e0b960
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logSecurity for firebreak 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for firebreak-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.