firebreak 1.4.2__tar.gz → 1.4.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. {firebreak-1.4.2 → firebreak-1.4.3}/CHANGELOG.md +12 -0
  2. {firebreak-1.4.2 → firebreak-1.4.3}/PKG-INFO +13 -3
  3. {firebreak-1.4.2 → firebreak-1.4.3}/README.md +12 -2
  4. {firebreak-1.4.2 → firebreak-1.4.3}/docs/devices.md +3 -1
  5. {firebreak-1.4.2 → firebreak-1.4.3}/docs/plugins.md +8 -1
  6. {firebreak-1.4.2 → firebreak-1.4.3}/docs/troubleshooting.md +24 -13
  7. {firebreak-1.4.2 → firebreak-1.4.3}/docs/unlocking.md +28 -8
  8. firebreak-1.4.3/firebreak/__init__.py +1 -0
  9. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/__main__.py +4 -0
  10. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/cache.py +5 -3
  11. firebreak-1.4.3/firebreak/devices/authors.py +14 -0
  12. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/devices/biscuit.py +9 -3
  13. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/devices/crown.py +3 -0
  14. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/devices/donut.py +3 -0
  15. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/devices/radar.py +9 -1
  16. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/plugin.py +10 -0
  17. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/route.py +35 -1
  18. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/unlock.py +15 -6
  19. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_cache.py +16 -1
  20. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_identify.py +3 -2
  21. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_route.py +76 -1
  22. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_unlock.py +43 -4
  23. firebreak-1.4.2/firebreak/__init__.py +0 -1
  24. {firebreak-1.4.2 → firebreak-1.4.3}/.github/workflows/ci.yml +0 -0
  25. {firebreak-1.4.2 → firebreak-1.4.3}/.github/workflows/release.yml +0 -0
  26. {firebreak-1.4.2 → firebreak-1.4.3}/.gitignore +0 -0
  27. {firebreak-1.4.2 → firebreak-1.4.3}/.markdownlint-cli2.yaml +0 -0
  28. {firebreak-1.4.2 → firebreak-1.4.3}/.pre-commit-config.yaml +0 -0
  29. {firebreak-1.4.2 → firebreak-1.4.3}/CLAUDE.md +0 -0
  30. {firebreak-1.4.2 → firebreak-1.4.3}/LICENSE.txt +0 -0
  31. {firebreak-1.4.2 → firebreak-1.4.3}/docs/measurements.md +0 -0
  32. {firebreak-1.4.2 → firebreak-1.4.3}/docs/simulator.md +0 -0
  33. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/amonet/__init__.py +0 -0
  34. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/amonet/biscuit_v2_0_0.py +0 -0
  35. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/amonet/payload.py +0 -0
  36. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/android/__init__.py +0 -0
  37. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/android/bootimg.py +0 -0
  38. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/android/gpt.py +0 -0
  39. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/android/ota.py +0 -0
  40. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/backup.py +0 -0
  41. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/bootrom.py +0 -0
  42. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/bootrom_step.py +0 -0
  43. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/bootrom_write_test.py +0 -0
  44. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/devices/__init__.py +0 -0
  45. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/devices/biscuit-partitions.csv +0 -0
  46. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/devices/crown-partitions.csv +0 -0
  47. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/devices/donut-partitions.csv +0 -0
  48. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/devices/radar-partitions.csv +0 -0
  49. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/devices/registry.py +0 -0
  50. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/emmc.py +0 -0
  51. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/emos.py +0 -0
  52. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/entry.py +0 -0
  53. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/fireos.py +0 -0
  54. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/host.py +0 -0
  55. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/identify.py +0 -0
  56. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/kamakiri/__init__.py +0 -0
  57. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/kamakiri/donut_v1_0_0.py +0 -0
  58. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/kamakiri_step.py +0 -0
  59. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/layouts.py +0 -0
  60. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/mediatek/__init__.py +0 -0
  61. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/mediatek/gcpu.py +0 -0
  62. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/mediatek/kamakiri.py +0 -0
  63. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/mediatek/libusb.py +0 -0
  64. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/mediatek/range_check.py +0 -0
  65. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/mediatek/usbdl.py +0 -0
  66. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/plan.py +0 -0
  67. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/probe.py +0 -0
  68. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/recovery.py +0 -0
  69. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/report.py +0 -0
  70. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/restore.py +0 -0
  71. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/sizes.py +0 -0
  72. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/states.py +0 -0
  73. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/stock.py +0 -0
  74. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/support.py +0 -0
  75. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/survey.py +0 -0
  76. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/targets.py +0 -0
  77. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/twrp.py +0 -0
  78. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/ui.py +0 -0
  79. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/updates.py +0 -0
  80. {firebreak-1.4.2 → firebreak-1.4.3}/firebreak/write_test.py +0 -0
  81. {firebreak-1.4.2 → firebreak-1.4.3}/pyproject.toml +0 -0
  82. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/Dockerfile +0 -0
  83. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/bin/adb +0 -0
  84. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/bin/fastboot +0 -0
  85. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/bootrom.py +0 -0
  86. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/bcbtool +0 -0
  87. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/dumpsys +0 -0
  88. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/getenforce +0 -0
  89. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/getprop +0 -0
  90. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/id +0 -0
  91. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/pm +0 -0
  92. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/reboot +0 -0
  93. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/setprop +0 -0
  94. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/sim-boot +0 -0
  95. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/sim-emmc +0 -0
  96. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/sim-flavours +0 -0
  97. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/sim-hold +0 -0
  98. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/sim-pty +0 -0
  99. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/sim-stdin +0 -0
  100. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/sim-sysfs +0 -0
  101. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/toolbox +0 -0
  102. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/toolbox-dd +0 -0
  103. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/device/twrp +0 -0
  104. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/dot.py +0 -0
  105. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/entries.sh +0 -0
  106. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/flavours/fire-os-5 +0 -0
  107. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/flavours/fire-os-6 +0 -0
  108. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/flavours/twrp-3.2.3 +0 -0
  109. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/flavours/twrp-3.7.0 +0 -0
  110. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/ports.py +0 -0
  111. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/run.sh +0 -0
  112. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/su.c +0 -0
  113. {firebreak-1.4.2 → firebreak-1.4.3}/simulator/trace.py +0 -0
  114. {firebreak-1.4.2 → firebreak-1.4.3}/tests/conftest.py +0 -0
  115. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_amonet_biscuit_v2_0_0.py +0 -0
  116. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_amonet_payload.py +0 -0
  117. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_backup.py +0 -0
  118. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_bootimg.py +0 -0
  119. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_bootrom_executor.py +0 -0
  120. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_bootrom_step.py +0 -0
  121. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_bootrom_write_test.py +0 -0
  122. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_cli.py +0 -0
  123. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_emmc.py +0 -0
  124. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_emos.py +0 -0
  125. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_entry.py +0 -0
  126. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_fireos.py +0 -0
  127. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_gcpu.py +0 -0
  128. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_gpt.py +0 -0
  129. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_host.py +0 -0
  130. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_kamakiri.py +0 -0
  131. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_kamakiri_donut_v1_0_0.py +0 -0
  132. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_kamakiri_step.py +0 -0
  133. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_layouts.py +0 -0
  134. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_libusb.py +0 -0
  135. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_main.py +0 -0
  136. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_needs.py +0 -0
  137. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_ota.py +0 -0
  138. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_plan.py +0 -0
  139. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_preloader.py +0 -0
  140. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_probe.py +0 -0
  141. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_python_floor.py +0 -0
  142. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_range_check.py +0 -0
  143. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_recovery.py +0 -0
  144. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_report.py +0 -0
  145. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_restore.py +0 -0
  146. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_sizes.py +0 -0
  147. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_states.py +0 -0
  148. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_stock.py +0 -0
  149. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_support.py +0 -0
  150. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_survey.py +0 -0
  151. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_targets.py +0 -0
  152. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_twrp.py +0 -0
  153. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_ui.py +0 -0
  154. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_updates.py +0 -0
  155. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_usbdl.py +0 -0
  156. {firebreak-1.4.2 → firebreak-1.4.3}/tests/test_write_test.py +0 -0
@@ -2,6 +2,18 @@
2
2
 
3
3
  This project adheres to [Semantic Versioning](https://semver.org).
4
4
 
5
+ ## 1.4.3 - 2026-11-17
6
+
7
+ ### Changed
8
+
9
+ - `short --device radar` says where an Echo (2nd Generation)'s test point is:
10
+ the same passive as an Echo Dot (2nd Generation)'s. Both name it the same
11
+ way, and warn off C52 beside it.
12
+ - A fastbrick that does not start points to `short` and the device's XDA
13
+ thread.
14
+ - An unlock that roots an Echo ends by crediting the unlock's author, Roger
15
+ Ortiz, with links to support that work and to the unlock's XDA thread.
16
+
5
17
  ## 1.4.2 - 2026-11-17
6
18
 
7
19
  ### Changed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: firebreak
3
- Version: 1.4.2
3
+ Version: 1.4.3
4
4
  Summary: Root an Echo Dot (2nd Generation), an Echo (2nd Generation) or an Echo Dot (3rd Generation), or return it to stock
5
5
  Project-URL: Changelog, https://github.com/bboe/firebreak/blob/main/CHANGELOG.md
6
6
  Project-URL: Source, https://github.com/bboe/firebreak
@@ -26,6 +26,12 @@ where it left off.
26
26
  > - [Echo Dot (2nd Generation), biscuit](https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-dot-2nd-gen-2016-biscuit.4761416/)
27
27
  > - [Echo (2nd Generation), radar](https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-2nd-gen-2017-radar.4801290/)
28
28
  > - [Echo Dot (3rd Generation), donut](https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-dot-3rd-gen-2018-donut.4801400/)
29
+ >
30
+ > To support that work:
31
+ >
32
+ > - [PayPal](https://www.paypal.com/paypalme/R0rt1z2/)
33
+ > - [Ko-fi](https://ko-fi.com/r0rt1z2)
34
+ > - [GitHub Sponsors](https://github.com/sponsors/R0rt1z2)
29
35
 
30
36
  ## Quick start
31
37
 
@@ -279,8 +285,8 @@ OS 5 that lets in the computer's key.
279
285
  ## Documentation
280
286
 
281
287
  - [docs/troubleshooting.md][troubleshooting]: USB and cable problems, Windows
282
- limits, an Echo Dot (2nd Generation) with no light, and an Echo rooted by an
283
- older firebreak.
288
+ limits, an Echo Dot (2nd Generation) or Echo (2nd Generation) with no light,
289
+ and an Echo rooted by an older firebreak.
284
290
  - [docs/unlocking.md][unlocking]: why each step is there.
285
291
  - [docs/measurements.md][measurements]: the ring at each step, so you can tell
286
292
  where a run has got to.
@@ -310,6 +316,10 @@ firebreak automates work that other people did first.
310
316
  [Echo Dot (3rd Generation)](https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-dot-3rd-gen-2018-donut.4801400/).
311
317
  The `bboe` TWRP is a fork of
312
318
  [their TWRP tree](https://github.com/R0rt1z2/twrp_device_amazon_echo-mt8163).
319
+ Rortiz2 takes support for that work through
320
+ [PayPal](https://www.paypal.com/paypalme/R0rt1z2/),
321
+ [Ko-fi](https://ko-fi.com/r0rt1z2) and
322
+ [GitHub Sponsors](https://github.com/sponsors/R0rt1z2).
313
323
  - AntiEngineer helped find the pins and bring up UART on a Dot.
314
324
  - [topjohnwu](https://github.com/topjohnwu/Magisk) wrote Magisk, which roots
315
325
  Fire OS 5.
@@ -12,6 +12,12 @@ where it left off.
12
12
  > - [Echo Dot (2nd Generation), biscuit](https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-dot-2nd-gen-2016-biscuit.4761416/)
13
13
  > - [Echo (2nd Generation), radar](https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-2nd-gen-2017-radar.4801290/)
14
14
  > - [Echo Dot (3rd Generation), donut](https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-dot-3rd-gen-2018-donut.4801400/)
15
+ >
16
+ > To support that work:
17
+ >
18
+ > - [PayPal](https://www.paypal.com/paypalme/R0rt1z2/)
19
+ > - [Ko-fi](https://ko-fi.com/r0rt1z2)
20
+ > - [GitHub Sponsors](https://github.com/sponsors/R0rt1z2)
15
21
 
16
22
  ## Quick start
17
23
 
@@ -265,8 +271,8 @@ OS 5 that lets in the computer's key.
265
271
  ## Documentation
266
272
 
267
273
  - [docs/troubleshooting.md][troubleshooting]: USB and cable problems, Windows
268
- limits, an Echo Dot (2nd Generation) with no light, and an Echo rooted by an
269
- older firebreak.
274
+ limits, an Echo Dot (2nd Generation) or Echo (2nd Generation) with no light,
275
+ and an Echo rooted by an older firebreak.
270
276
  - [docs/unlocking.md][unlocking]: why each step is there.
271
277
  - [docs/measurements.md][measurements]: the ring at each step, so you can tell
272
278
  where a run has got to.
@@ -296,6 +302,10 @@ firebreak automates work that other people did first.
296
302
  [Echo Dot (3rd Generation)](https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-dot-3rd-gen-2018-donut.4801400/).
297
303
  The `bboe` TWRP is a fork of
298
304
  [their TWRP tree](https://github.com/R0rt1z2/twrp_device_amazon_echo-mt8163).
305
+ Rortiz2 takes support for that work through
306
+ [PayPal](https://www.paypal.com/paypalme/R0rt1z2/),
307
+ [Ko-fi](https://ko-fi.com/r0rt1z2) and
308
+ [GitHub Sponsors](https://github.com/sponsors/R0rt1z2).
299
309
  - AntiEngineer helped find the pins and bring up UART on a Dot.
300
310
  - [topjohnwu](https://github.com/topjohnwu/Magisk) wrote Magisk, which roots
301
311
  Fire OS 5.
@@ -223,7 +223,9 @@ does.
223
223
  on 2026-11-17: a 2017 LK in no OTA here, with an 8-digit commit and no
224
224
  anti-rollback versions at all. Git lengthens an abbreviated commit past 7
225
225
  digits when 7 are not unique, so firebreak reads 7 or 8, the longest seen.
226
- No fastbrick image is mapped to that LK, and none has been tried on it.
226
+ No fastbrick image is mapped to that LK. The default `fastbrick.img` was
227
+ tried on it the same day, from Windows: all 10 flashes returned, so the
228
+ exploit did not start and the Echo was not modified.
227
229
  - `fastbrick-20221007.img` unlocked a radar on `63cb91b-20221007_073612`,
228
230
  2026-11-01, on the first flash: a locked 8149 reached TWRP 32 s after a 13 s
229
231
  fastbrick and rooted in place in 1 min 16 s. v1.0.0 gave that LK the default
@@ -55,7 +55,14 @@ where the test point is and what to open to reach it. A device whose test
55
55
  point no one has found leaves `short_gesture` empty, and `short` says so and
56
56
  waits for its bootrom anyway, because it writes nothing while it waits. Only
57
57
  the location differs: the bootrom behind it is the same part on every device
58
- here.
58
+ here. `thread` is the device's XDA thread. A fastbrick that does not start
59
+ points to it, and to `short`, when the device has both.
60
+
61
+ An unlock's `author` is an `Author`: a name, a home page, and the links that
62
+ take support for the work. An unlock run that reaches its goal after it
63
+ changed the Echo credits the author and gives the device's `thread`. That
64
+ includes a rooted Echo the run installs Fire OS 6 on again. A run that finds
65
+ the Echo already at its goal, and changes nothing, does not.
59
66
 
60
67
  A device firebreak can unlock lists the LK build descriptions it knows: the
61
68
  rows of its Builds table in [devices.md](devices.md), and any an Echo has
@@ -31,28 +31,39 @@
31
31
  `VS2022\MS64\dll\libusb-1.0.dll` from `%TEMP%\libusb.7z` into
32
32
  `%LOCALAPPDATA%\Programs\libusb` with 7-Zip, and keep its folders.
33
33
 
34
- ## An Echo Dot (2nd Generation) with no light
34
+ ## An Echo Dot (2nd Generation) or Echo (2nd Generation) with no light
35
35
 
36
- Use `firebreak short` when the Dot shows no light and gives no fastboot. It
37
- reaches the Dot's bootrom by shorting its eMMC bus as it powers up, and holds
38
- it there. The run after it joins that payload with no second short, so this is
39
- how a target run starts on a Dot that cannot reach fastboot.
36
+ Use `firebreak short` when the Echo shows no light and gives no fastboot, or
37
+ when its bootloader is one no fastbrick unlocks. It reaches the Echo's bootrom
38
+ by shorting its eMMC bus as it powers up, and holds it there. The run after it
39
+ joins that payload with no second short, so this is how a target run starts
40
+ on an Echo that cannot reach fastboot.
40
41
 
41
- 1. Open the Dot with a Torx T8 screwdriver. Lift the shield's lid off the eMMC
42
+ The short does not apply to an Echo Dot (3rd Generation), and `short` refuses
43
+ one. Run the target you want, such as `uvx firebreak@latest unlock`, and when
44
+ it asks, hold the action button from before you plug it in until the run says
45
+ the bootrom answered. That reaches its bootrom with the case closed.
46
+
47
+ 1. Open the Echo with a Torx T8 screwdriver. On an Echo (2nd Generation),
48
+ follow [iFixit's main board
49
+ guide](https://www.ifixit.com/Guide/Amazon+Echo+2nd+Generation+MLB+Board+Replacement/114704)
50
+ through step 8, and leave the board in. Lift the shield's lid off the eMMC
42
51
  by its corners; its metal frame stays on the board.
43
52
  2. Find the passive marked in [this
44
53
  photo](https://xdaforums.com/attachments/short2-jpg.6273804/), in the row
45
54
  between R60 and C52 beside the eMMC ([where that is on the
46
55
  board](https://andygoetz.org/blog/2022/05/echo-dot-v2-dumping-emmc/)). Do not
47
- use C52, which is a capacitor.
48
- 3. With the Dot unplugged, run
49
- `uvx firebreak@latest short --device biscuit`.
56
+ use C52, which is a capacitor. An Echo (2nd Generation) has the same parts
57
+ in the same place, on a board marked `30-002527`.
58
+ 3. With the Echo unplugged, run
59
+ `uvx firebreak@latest short --device biscuit` on a Dot, or
60
+ `uvx firebreak@latest short --device radar` on an Echo (2nd Generation).
50
61
  4. When firebreak prints "Short … test point and plug it in", hold a wire from
51
- that passive to the shield frame beside it, which is ground, and plug the Dot
52
- in. A Dot plugged in before that message can go unseen. On "Short … missed",
53
- unplug it and try again.
62
+ that passive to the shield frame beside it, which is ground, and plug the
63
+ Echo in. An Echo plugged in before that message can go unseen. On "Short …
64
+ missed", unplug it and try again.
54
65
  5. Take the wire off when firebreak prints "The short may come off now".
55
- 6. Leave the Dot plugged in, and run the target you want, such as
66
+ 6. Leave the Echo plugged in, and run the target you want, such as
56
67
  `uvx firebreak@latest unlock`. A power cycle loses the hold.
57
68
 
58
69
  ## An Echo rooted by an older firebreak
@@ -465,14 +465,30 @@ others, and [Back to stock](#back-to-stock-the-stock-target) the `stock` target.
465
465
  - `short` reads better with `--device`. Nothing on USB says which Echo is
466
466
  dark, and the run has to name the test point before the owner shorts it, so
467
467
  that name can only come from the command line.
468
- - Where the test point is differs by device, and nothing else about the short
469
- does: both are MT8163, both answer the same bootrom, and amonet ships one
470
- payload for the two. So `short` refuses nothing. A device whose test point
471
- no one has found, which today is radar, and a run that names no device at
472
- all, are both told that firebreak cannot say where to short it, and the run
473
- waits for a bootrom anyway. Nothing is written while it waits, and the
474
- bootloader read names the Echo afterwards, so `--device` only picks whose
475
- test point to describe.
468
+ - Where the test point is can differ by device, and nothing else about the
469
+ short does: both are MT8163, both answer the same bootrom, and amonet ships
470
+ one payload for the two. So `short` refuses nothing. A device whose test
471
+ point no one has found, and a run that names no device at all, are both told
472
+ that firebreak cannot say where to short it, and the run waits for a bootrom
473
+ anyway. Nothing is written while it waits, and the bootloader read names the
474
+ Echo afterwards, so `--device` only picks whose test point to describe.
475
+ - radar's test point is where biscuit's is, the passive between R60 and C52
476
+ beside the eMMC. Rortiz2's amonet-radar instructions short it, and a photo
477
+ of a radar board, `30-002527 REV 01`, read on 2026-11-17, shows the same
478
+ parts. firebreak has not run `short` on a radar itself.
479
+ - The row between R60 and C52 is the eMMC's CMD, CLK and DAT0, in that order
480
+ from R60, and C52 sits on its VCC. Grounding any of the three breaks the
481
+ preloader's read, which is all the short needs; grounding C52 shorts the
482
+ eMMC's supply instead, which is why both devices' gestures exclude it.
483
+ Labelled on biscuit's board, `30-002148 REV 01`, in Moran and Hyde's
484
+ [OSDFCon 2017 slides](https://www.osdfcon.org/presentations/2017/Moran_Hyde-Alexa-are-you-skynet.pdf),
485
+ slide 25. No source labels radar's row.
486
+ - The short does not apply to a donut, and `short` refuses one. Its action
487
+ button, held from before the cable goes in, stops its bootrom in download
488
+ mode, `0e8d:0003`, before any preloader runs, so a broken preloader does
489
+ not keep it out. Nothing here has shorted one. Giese and Noubir's WiSec
490
+ 2021 paper maps a donut's eMMC lines for reading the flash with the SoC
491
+ held off, not for a bootrom short.
476
492
  - amonet takes any port that appears after it lists the ports at start. So
477
493
  `short` asks for the short only once amonet logs that it is waiting, and
478
494
  sends no reset first: an Echo plugged in earlier would be in that list and
@@ -1516,6 +1532,10 @@ unlock's, not the stock bytes.
1516
1532
  - A flash that returns means the exploit did not start, so it is retried, up to
1517
1533
  10 times. A flash still running after 8 seconds means the exploit is running:
1518
1534
  the script stops fastboot and leaves the Echo to reach TWRP.
1535
+ - After 10 returns no other image is tried, because a wrong payload runs wrong
1536
+ code. The bootrom does not care which LK is there, so a device with a test
1537
+ point is pointed at `short`, with `--device` so that `short` can say where
1538
+ the point is, and at its XDA thread when it has one.
1519
1539
  - `eMMC-RO` or `Device mismatch` means the payload refused, and the Echo is
1520
1540
  unchanged.
1521
1541
  - `fastbrick.img` unlocked a stock radar on its Fire OS 6 LK,
@@ -0,0 +1 @@
1
+ __version__ = "1.4.3"
@@ -91,6 +91,10 @@ Rortiz2 also wrote amonet-radar and kamakiri-donut, the unlocks for the Echo
91
91
  (2nd Generation) and the Echo Dot (3rd Generation).
92
92
  https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-2nd-gen-2017-radar.4801290/
93
93
  https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-dot-3rd-gen-2018-donut.4801400/
94
+ Rortiz2 takes support for that work.
95
+ https://www.paypal.com/paypalme/R0rt1z2/
96
+ https://ko-fi.com/r0rt1z2
97
+ https://github.com/sponsors/R0rt1z2
94
98
  AntiEngineer helped find the pins and bring up UART on a Dot.
95
99
  topjohnwu wrote Magisk, which roots Fire OS 5.
96
100
  https://github.com/topjohnwu/Magisk
@@ -24,7 +24,7 @@ if TYPE_CHECKING:
24
24
  from collections.abc import Generator, Iterator
25
25
 
26
26
  from firebreak import __version__
27
- from firebreak.ui import SESSION, FatalError, again, passed, show, warn
27
+ from firebreak.ui import SESSION, FatalError, again, filled, passed, show, warn
28
28
 
29
29
  AGENT = f"firebreak/{__version__}"
30
30
  BROWSER_POLL_SECONDS = 2
@@ -124,10 +124,12 @@ def cache_note() -> None:
124
124
  path, home = str(CACHE), str(pathlib.Path.home())
125
125
  if os.name != "nt" and path.startswith(home + os.sep):
126
126
  path = "~" + path[len(home) :]
127
- show(
128
- text=f"{path} holds {size // 1000000} MB of downloads and images for"
127
+ whole = path.replace(" ", "\0")
128
+ text = filled(
129
+ text=f"{whole} holds {size // 1000000} MB of downloads and images for"
129
130
  " the next run. It is safe to delete."
130
131
  )
132
+ show(text=text.replace("\0", " "))
131
133
 
132
134
 
133
135
  def copies(
@@ -0,0 +1,14 @@
1
+ from __future__ import annotations
2
+
3
+ from firebreak.plugin import Author
4
+
5
+ RORTIZ2 = Author(
6
+ home="https://github.com/R0rt1z2",
7
+ name="Roger Ortiz (Rortiz2)",
8
+ short_name="Roger",
9
+ support=(
10
+ "https://www.paypal.com/paypalme/R0rt1z2/",
11
+ "https://ko-fi.com/r0rt1z2",
12
+ "https://github.com/sponsors/R0rt1z2",
13
+ ),
14
+ )
@@ -3,6 +3,7 @@ from __future__ import annotations
3
3
  import dataclasses
4
4
 
5
5
  from firebreak.cache import Download
6
+ from firebreak.devices.authors import RORTIZ2
6
7
  from firebreak.layouts import BootMovedLayout, StockLayout
7
8
  from firebreak.plugin import (
8
9
  BOOT0,
@@ -310,9 +311,11 @@ FLASH_BBOE_TWRP = FastbootFlash(
310
311
  )
311
312
  PAYLOAD_SEEK = 223207
312
313
  SHORT_GESTURE = (
313
- "Open the base and short the eMMC data line at the passives beside R60,"
314
- " as Andy Goetz's teardown shows, then plug the cable in with the short"
315
- " held. https://andygoetz.org/blog/2022/05/echo-dot-v2-dumping-emmc/"
314
+ "Open the base, as Andy Goetz's teardown shows, and lift the shield's lid"
315
+ " off the eMMC. Short the passive between R60 and C52, beside the eMMC, to"
316
+ " the shield frame, then plug the cable in with the short held. Do not use"
317
+ " C52, which is a capacitor."
318
+ " https://andygoetz.org/blog/2022/05/echo-dot-v2-dumping-emmc/"
316
319
  )
317
320
  STOCK_LAYOUT = StockLayout(partitions=16)
318
321
 
@@ -325,6 +328,7 @@ BISCUIT = Device(
325
328
  name="biscuit",
326
329
  product="BISCUIT",
327
330
  short_gesture=SHORT_GESTURE,
331
+ thread="https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-dot-2nd-gen-2016-biscuit.4761416/",
328
332
  title="Echo Dot (2nd Generation)",
329
333
  )
330
334
  V1_1_0_SOURCE = Download(
@@ -337,6 +341,7 @@ V1_1_0_SOURCE = Download(
337
341
  url="https://xdaforums.com/attachments/amonet-biscuit-v1-1-0-zip.6331296/",
338
342
  )
339
343
  UNLOCK_TO_FIREOS5 = Unlock(
344
+ author=RORTIZ2,
340
345
  device=BISCUIT,
341
346
  family="amonet",
342
347
  files={"twrp": BBOE_RECOVERY},
@@ -413,6 +418,7 @@ WRITE_KAERU = Write(image="bin/biscuit-kaeru.bin", label="write kaeru", target="
413
418
 
414
419
 
415
420
  UNLOCK_TO_FIREOS6 = Unlock(
421
+ author=RORTIZ2,
416
422
  device=BISCUIT,
417
423
  family="amonet",
418
424
  fastbricks={
@@ -1,6 +1,7 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  from firebreak.cache import Download
4
+ from firebreak.devices.authors import RORTIZ2
4
5
  from firebreak.plugin import (
5
6
  BOOT0,
6
7
  ClearBoot0Header,
@@ -20,6 +21,7 @@ CROWN = Device(
20
21
  models=frozenset({"AEOCW"}),
21
22
  name="crown",
22
23
  product="CROWN",
24
+ thread="https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-show-8-1st-gen-2019-crown.4766687/",
23
25
  title="Echo Show 8 (1st Generation)",
24
26
  twrp_models=frozenset({"Echo Show 8"}),
25
27
  )
@@ -34,6 +36,7 @@ SOURCE = Download(
34
36
  url="https://xdaforums.com/attachments/amonet-crown-v2-0-1-zip.6373841/",
35
37
  )
36
38
  AMONET_V2_0_1 = Unlock(
39
+ author=RORTIZ2,
37
40
  device=CROWN,
38
41
  family="amonet",
39
42
  plan=(
@@ -1,6 +1,7 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  from firebreak.cache import Download
4
+ from firebreak.devices.authors import RORTIZ2
4
5
  from firebreak.plugin import (
5
6
  BOOT0,
6
7
  Device,
@@ -177,6 +178,7 @@ DONUT = Device(
177
178
  product="DONUT",
178
179
  recovery_command=BOOT_RECOVERY,
179
180
  short_gesture=BUTTON_GESTURE,
181
+ thread="https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-dot-3rd-gen-2018-donut.4801400/",
180
182
  title="Echo Dot (3rd Generation)",
181
183
  unlock_keeps_misc=True,
182
184
  )
@@ -192,6 +194,7 @@ SOURCE = Download(
192
194
  url="https://xdaforums.com/attachments/kamakiri-donut-v1-0-0-zip.6384586/",
193
195
  )
194
196
  KAMAKIRI_V1_0_0 = Unlock(
197
+ author=RORTIZ2,
195
198
  device=DONUT,
196
199
  family="kamakiri",
197
200
  plan=(
@@ -124,7 +124,15 @@ RADAR = dataclasses.replace(
124
124
  models=frozenset({"AEORD", "Echo (2nd Gen)"}),
125
125
  name="radar",
126
126
  product="RADAR",
127
- short_gesture="",
127
+ short_gesture=(
128
+ "Open the Echo through step 8 of iFixit's main board guide, leaving the"
129
+ " board in, and lift the shield's lid off the eMMC. Short the passive"
130
+ " between R60 and C52, beside the eMMC, to the shield frame, then plug"
131
+ " the cable in with the short held. Do not use C52, which is a"
132
+ " capacitor."
133
+ " https://www.ifixit.com/Guide/Amazon+Echo+2nd+Generation+MLB+Board+Replacement/114704"
134
+ ),
135
+ thread="https://xdaforums.com/t/unlock-root-twrp-unbrick-amazon-echo-2nd-gen-2017-radar.4801290/",
128
136
  title="Echo (2nd Generation)",
129
137
  )
130
138
 
@@ -16,6 +16,14 @@ if TYPE_CHECKING:
16
16
  BOOT0 = "boot0"
17
17
 
18
18
 
19
+ @dataclasses.dataclass(frozen=True)
20
+ class Author:
21
+ home: str
22
+ name: str
23
+ short_name: str
24
+ support: tuple[str, ...] = ()
25
+
26
+
19
27
  @dataclasses.dataclass(frozen=True)
20
28
  class ClearBoot0Header:
21
29
  label: str = "clear the preloader header (boot0)"
@@ -36,6 +44,7 @@ class Device:
36
44
  named_by_bootloader: bool = True
37
45
  recovery_command: bytes = b""
38
46
  short_gesture: str = ""
47
+ thread: str = ""
39
48
  twrp_models: frozenset[str] = frozenset()
40
49
  unlock_keeps_misc: bool = False
41
50
 
@@ -163,6 +172,7 @@ class Unlock:
163
172
  requires: frozenset[Feature]
164
173
  source: Download
165
174
  version: str
175
+ author: Author | None = None
166
176
  fastbricks: dict[str, str] = dataclasses.field(default_factory=dict)
167
177
  files: dict[str, Download] = dataclasses.field(default_factory=dict)
168
178
  layout: Layout | None = None
@@ -89,7 +89,7 @@ from firebreak.unlock import (
89
89
  if TYPE_CHECKING:
90
90
  from collections.abc import Callable, Iterable
91
91
 
92
- from firebreak.plugin import Device, Unlock
92
+ from firebreak.plugin import Device, Target, Unlock
93
93
 
94
94
  Need = Download | Callable[[], object]
95
95
 
@@ -169,6 +169,36 @@ def bootrom_needs(*, unlock: Unlock) -> tuple[Need, ...]:
169
169
  return (unlock.source, FASTBRICKS[ARGUMENTS.target.device].source)
170
170
 
171
171
 
172
+ def credit_note(*, target: Target) -> None:
173
+ unlock = target.unlock
174
+ if unlock is None:
175
+ return
176
+ blocks = []
177
+ if unlock.author:
178
+ blocks.append(
179
+ filled(
180
+ text=f"{unlock.family}, the unlock this run used, is the work of"
181
+ f" {unlock.author.name}: {unlock.author.home}"
182
+ )
183
+ )
184
+ if unlock.author.support:
185
+ blocks.append(
186
+ filled(
187
+ text="If this tool helped bring new life to an old device,"
188
+ f" consider supporting {unlock.author.short_name}'s continued"
189
+ " unlocking work:"
190
+ )
191
+ + "".join(f"\n - {link}" for link in unlock.author.support)
192
+ )
193
+ if target.device.thread:
194
+ blocks.append(
195
+ filled(text=f"Unlock thread for the {target.device.title}:")
196
+ + f"\n{target.device.thread}"
197
+ )
198
+ if blocks:
199
+ show(text="\n\n".join(blocks) + "\n")
200
+
201
+
172
202
  def fireos5_stages() -> dict[State, Stage]:
173
203
  downgrades = frozenset({
174
204
  State.UNLOCKED_TWRP,
@@ -652,6 +682,8 @@ def root() -> None: # ruff: ignore[complex-structure, too-many-branches, too-ma
652
682
  seen = None
653
683
  continue
654
684
  warn(text=f"The {title()} is rooted: {version}, with root adb{locked()}.")
685
+ if done:
686
+ credit_note(target=target)
655
687
  cache_note()
656
688
  return
657
689
  if target.unlock is None and (
@@ -722,6 +754,8 @@ def root() -> None: # ruff: ignore[complex-structure, too-many-branches, too-ma
722
754
  text=f"The {title()} is rooted: {version}, SELinux {selinux},"
723
755
  f" {UPDATER} hidden{locked()}."
724
756
  )
757
+ if done:
758
+ credit_note(target=target)
725
759
  cache_note()
726
760
  return
727
761
  if (
@@ -185,8 +185,8 @@ def newer_than_known(*, little_kernel: str) -> None:
185
185
  raise FatalError(
186
186
  message=f"firebreak cannot unlock this {device.title} from fastboot. LK"
187
187
  f" {little_kernel} is newer than any firebreak knows how to unlock."
188
- " `firebreak short` holds its bootrom instead, and the run after that"
189
- " unlocks it from there."
188
+ f" `firebreak short --device {device.name}` holds its bootrom instead,"
189
+ " and the run after that unlocks it from there."
190
190
  )
191
191
 
192
192
 
@@ -273,7 +273,8 @@ def stage_downgrade() -> bool:
273
273
 
274
274
 
275
275
  def stage_fastbrick() -> None:
276
- fastbrick = FASTBRICKS[current_device()]
276
+ device = current_device()
277
+ fastbrick = FASTBRICKS[device]
277
278
  check_product()
278
279
  little_kernel = getvar(name="lk_build_desc", strict=True)
279
280
  if not little_kernel and getvar(name="pl_build_desc", strict=True):
@@ -307,10 +308,18 @@ def stage_fastbrick() -> None:
307
308
  if started:
308
309
  PROGRESS.begin(estimate=40, label="waiting for TWRP")
309
310
  return
310
- raise FatalError(
311
- message=f"the unlock did not start after 10 attempts, with {image} for"
312
- f" the bootloader {little_kernel}; the {title()} was not modified"
311
+ message = (
312
+ f"{image} did not start on the bootloader {little_kernel}; the"
313
+ f" {title()} was not modified."
313
314
  )
315
+ if device.short_gesture:
316
+ message += (
317
+ " You may try the short approach instead: unplug it, then run"
318
+ f" `firebreak short --device {device.name}`."
319
+ )
320
+ if device.thread:
321
+ message += f" The XDA thread explains it: {device.thread}"
322
+ raise FatalError(message=message)
314
323
 
315
324
 
316
325
  def stage_fireos5_recovery() -> bool:
@@ -109,7 +109,22 @@ def test_cache_note(
109
109
  cache.cache_note()
110
110
  said = capsys.readouterr().out
111
111
  assert said.startswith("~/cache holds 3 MB of downloads")
112
- assert "It is safe to delete." in said
112
+ assert "It is safe to delete." in " ".join(said.split())
113
+ assert all(len(line) <= 79 for line in said.splitlines())
114
+
115
+
116
+ def test_cache_note_keeps_a_path_with_spaces_on_one_line(
117
+ *,
118
+ capsys: pytest.CaptureFixture[str],
119
+ monkeypatch: pytest.MonkeyPatch,
120
+ tmp_path: pathlib.Path,
121
+ ) -> None:
122
+ spaced = tmp_path / ("a folder with spaces " * 3).strip()
123
+ spaced.mkdir()
124
+ monkeypatch.setattr(name="CACHE", target=cache, value=spaced)
125
+ monkeypatch.setenv(name="HOME", value="/nowhere")
126
+ cache.cache_note()
127
+ assert str(spaced) in capsys.readouterr().out.splitlines()[0]
113
128
 
114
129
 
115
130
  @pytest.mark.parametrize(
@@ -376,8 +376,9 @@ def test_a_recovery_that_does_not_answer_names_no_device(
376
376
 
377
377
  def test_a_short_gesture_names_where_to_short_the_device_it_is_given() -> None:
378
378
  assert "R60" in identify.short_gesture(device=BISCUIT)
379
- assert "No one has found the Echo (2nd Generation)'s test point" in (
380
- identify.short_gesture(device=RADAR)
379
+ assert "R60" in identify.short_gesture(device=RADAR)
380
+ assert "No one has found the Echo Show 8 (1st Generation)'s test point" in (
381
+ identify.short_gesture(device=CROWN)
381
382
  )
382
383
  assert "without --device: biscuit, donut, radar" in identify.short_gesture(
383
384
  device=None