firebreak 1.4.2__tar.gz → 1.4.4__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.4}/CHANGELOG.md +19 -0
  2. {firebreak-1.4.2 → firebreak-1.4.4}/PKG-INFO +13 -3
  3. {firebreak-1.4.2 → firebreak-1.4.4}/README.md +12 -2
  4. {firebreak-1.4.2 → firebreak-1.4.4}/docs/devices.md +3 -1
  5. {firebreak-1.4.2 → firebreak-1.4.4}/docs/plugins.md +8 -1
  6. {firebreak-1.4.2 → firebreak-1.4.4}/docs/troubleshooting.md +24 -13
  7. {firebreak-1.4.2 → firebreak-1.4.4}/docs/unlocking.md +38 -12
  8. firebreak-1.4.4/firebreak/__init__.py +1 -0
  9. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/__main__.py +4 -0
  10. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/bootrom_step.py +49 -17
  11. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/cache.py +5 -3
  12. firebreak-1.4.4/firebreak/devices/authors.py +14 -0
  13. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/devices/biscuit.py +9 -3
  14. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/devices/crown.py +3 -0
  15. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/devices/donut.py +3 -0
  16. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/devices/radar.py +9 -1
  17. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/plugin.py +10 -0
  18. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/route.py +35 -1
  19. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/unlock.py +15 -6
  20. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_bootrom_step.py +52 -1
  21. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_cache.py +16 -1
  22. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_identify.py +3 -2
  23. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_route.py +76 -1
  24. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_unlock.py +43 -4
  25. firebreak-1.4.2/firebreak/__init__.py +0 -1
  26. {firebreak-1.4.2 → firebreak-1.4.4}/.github/workflows/ci.yml +0 -0
  27. {firebreak-1.4.2 → firebreak-1.4.4}/.github/workflows/release.yml +0 -0
  28. {firebreak-1.4.2 → firebreak-1.4.4}/.gitignore +0 -0
  29. {firebreak-1.4.2 → firebreak-1.4.4}/.markdownlint-cli2.yaml +0 -0
  30. {firebreak-1.4.2 → firebreak-1.4.4}/.pre-commit-config.yaml +0 -0
  31. {firebreak-1.4.2 → firebreak-1.4.4}/CLAUDE.md +0 -0
  32. {firebreak-1.4.2 → firebreak-1.4.4}/LICENSE.txt +0 -0
  33. {firebreak-1.4.2 → firebreak-1.4.4}/docs/measurements.md +0 -0
  34. {firebreak-1.4.2 → firebreak-1.4.4}/docs/simulator.md +0 -0
  35. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/amonet/__init__.py +0 -0
  36. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/amonet/biscuit_v2_0_0.py +0 -0
  37. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/amonet/payload.py +0 -0
  38. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/android/__init__.py +0 -0
  39. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/android/bootimg.py +0 -0
  40. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/android/gpt.py +0 -0
  41. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/android/ota.py +0 -0
  42. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/backup.py +0 -0
  43. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/bootrom.py +0 -0
  44. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/bootrom_write_test.py +0 -0
  45. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/devices/__init__.py +0 -0
  46. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/devices/biscuit-partitions.csv +0 -0
  47. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/devices/crown-partitions.csv +0 -0
  48. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/devices/donut-partitions.csv +0 -0
  49. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/devices/radar-partitions.csv +0 -0
  50. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/devices/registry.py +0 -0
  51. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/emmc.py +0 -0
  52. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/emos.py +0 -0
  53. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/entry.py +0 -0
  54. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/fireos.py +0 -0
  55. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/host.py +0 -0
  56. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/identify.py +0 -0
  57. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/kamakiri/__init__.py +0 -0
  58. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/kamakiri/donut_v1_0_0.py +0 -0
  59. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/kamakiri_step.py +0 -0
  60. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/layouts.py +0 -0
  61. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/mediatek/__init__.py +0 -0
  62. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/mediatek/gcpu.py +0 -0
  63. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/mediatek/kamakiri.py +0 -0
  64. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/mediatek/libusb.py +0 -0
  65. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/mediatek/range_check.py +0 -0
  66. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/mediatek/usbdl.py +0 -0
  67. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/plan.py +0 -0
  68. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/probe.py +0 -0
  69. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/recovery.py +0 -0
  70. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/report.py +0 -0
  71. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/restore.py +0 -0
  72. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/sizes.py +0 -0
  73. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/states.py +0 -0
  74. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/stock.py +0 -0
  75. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/support.py +0 -0
  76. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/survey.py +0 -0
  77. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/targets.py +0 -0
  78. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/twrp.py +0 -0
  79. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/ui.py +0 -0
  80. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/updates.py +0 -0
  81. {firebreak-1.4.2 → firebreak-1.4.4}/firebreak/write_test.py +0 -0
  82. {firebreak-1.4.2 → firebreak-1.4.4}/pyproject.toml +0 -0
  83. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/Dockerfile +0 -0
  84. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/bin/adb +0 -0
  85. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/bin/fastboot +0 -0
  86. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/bootrom.py +0 -0
  87. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/bcbtool +0 -0
  88. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/dumpsys +0 -0
  89. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/getenforce +0 -0
  90. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/getprop +0 -0
  91. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/id +0 -0
  92. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/pm +0 -0
  93. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/reboot +0 -0
  94. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/setprop +0 -0
  95. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/sim-boot +0 -0
  96. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/sim-emmc +0 -0
  97. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/sim-flavours +0 -0
  98. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/sim-hold +0 -0
  99. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/sim-pty +0 -0
  100. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/sim-stdin +0 -0
  101. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/sim-sysfs +0 -0
  102. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/toolbox +0 -0
  103. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/toolbox-dd +0 -0
  104. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/device/twrp +0 -0
  105. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/dot.py +0 -0
  106. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/entries.sh +0 -0
  107. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/flavours/fire-os-5 +0 -0
  108. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/flavours/fire-os-6 +0 -0
  109. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/flavours/twrp-3.2.3 +0 -0
  110. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/flavours/twrp-3.7.0 +0 -0
  111. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/ports.py +0 -0
  112. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/run.sh +0 -0
  113. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/su.c +0 -0
  114. {firebreak-1.4.2 → firebreak-1.4.4}/simulator/trace.py +0 -0
  115. {firebreak-1.4.2 → firebreak-1.4.4}/tests/conftest.py +0 -0
  116. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_amonet_biscuit_v2_0_0.py +0 -0
  117. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_amonet_payload.py +0 -0
  118. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_backup.py +0 -0
  119. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_bootimg.py +0 -0
  120. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_bootrom_executor.py +0 -0
  121. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_bootrom_write_test.py +0 -0
  122. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_cli.py +0 -0
  123. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_emmc.py +0 -0
  124. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_emos.py +0 -0
  125. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_entry.py +0 -0
  126. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_fireos.py +0 -0
  127. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_gcpu.py +0 -0
  128. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_gpt.py +0 -0
  129. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_host.py +0 -0
  130. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_kamakiri.py +0 -0
  131. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_kamakiri_donut_v1_0_0.py +0 -0
  132. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_kamakiri_step.py +0 -0
  133. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_layouts.py +0 -0
  134. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_libusb.py +0 -0
  135. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_main.py +0 -0
  136. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_needs.py +0 -0
  137. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_ota.py +0 -0
  138. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_plan.py +0 -0
  139. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_preloader.py +0 -0
  140. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_probe.py +0 -0
  141. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_python_floor.py +0 -0
  142. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_range_check.py +0 -0
  143. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_recovery.py +0 -0
  144. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_report.py +0 -0
  145. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_restore.py +0 -0
  146. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_sizes.py +0 -0
  147. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_states.py +0 -0
  148. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_stock.py +0 -0
  149. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_support.py +0 -0
  150. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_survey.py +0 -0
  151. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_targets.py +0 -0
  152. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_twrp.py +0 -0
  153. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_ui.py +0 -0
  154. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_updates.py +0 -0
  155. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_usbdl.py +0 -0
  156. {firebreak-1.4.2 → firebreak-1.4.4}/tests/test_write_test.py +0 -0
@@ -2,6 +2,25 @@
2
2
 
3
3
  This project adheres to [Semantic Versioning](https://semver.org).
4
4
 
5
+ ## 1.4.4 - 2026-11-19
6
+
7
+ ### Changed
8
+
9
+ - A run that cannot read the bootloader in an Echo's flash from its bootrom
10
+ says which read failed and why.
11
+
12
+ ## 1.4.3 - 2026-11-17
13
+
14
+ ### Changed
15
+
16
+ - `short --device radar` says where an Echo (2nd Generation)'s test point is:
17
+ the same passive as an Echo Dot (2nd Generation)'s. Both name it the same
18
+ way, and warn off C52 beside it.
19
+ - A fastbrick that does not start points to `short` and the device's XDA
20
+ thread.
21
+ - An unlock that roots an Echo ends by crediting the unlock's author, Roger
22
+ Ortiz, with links to support that work and to the unlock's XDA thread.
23
+
5
24
  ## 1.4.2 - 2026-11-17
6
25
 
7
26
  ### Changed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: firebreak
3
- Version: 1.4.2
3
+ Version: 1.4.4
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
@@ -245,10 +245,16 @@ others, and [Back to stock](#back-to-stock-the-stock-target) the `stock` target.
245
245
  - Nothing in the cache names the Echo any more, and nothing on the command
246
246
  line does either: `--device` is `short`'s alone. A bootloader that names no
247
247
  product, or a partition table that does not read, leaves a run with no name,
248
- and it stops rather than take one from the person running it. Two Echo
249
- devices swapped between runs are each named by their own flash. `short` is
250
- the exception because where the test point is differs by device, and the run
251
- has to say that before any bootrom answers.
248
+ and it stops rather than take one from the person running it. A read that
249
+ failed says why, as a warning that names the read: the user area, the
250
+ table, its checksums, or `lk_a` or `lk_b`, with the read's own error. A run
251
+ that already knows the device from a USB product or a marker prints the
252
+ same warning and carries on. On 2026-11-19 a user's Dot, dark after an
253
+ unlock that did not finish, stopped this way from its bootrom with only
254
+ "skip" against the step, and nothing said whether the table or the USB link
255
+ failed. Two Echo devices swapped between runs are each named by their own
256
+ flash. `short` is the exception because where the test point is differs by
257
+ device, and the run has to say that before any bootrom answers.
252
258
  - In fastboot, the report also prints `antirback_pl_version`,
253
259
  `antirback_tee_version` and `antirback_lk_version`.
254
260
  - The report shows only the first 4 characters of a serial number. Amazon's
@@ -465,14 +471,30 @@ others, and [Back to stock](#back-to-stock-the-stock-target) the `stock` target.
465
471
  - `short` reads better with `--device`. Nothing on USB says which Echo is
466
472
  dark, and the run has to name the test point before the owner shorts it, so
467
473
  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.
474
+ - Where the test point is can differ by device, and nothing else about the
475
+ short does: both are MT8163, both answer the same bootrom, and amonet ships
476
+ one payload for the two. So `short` refuses nothing. A device whose test
477
+ point no one has found, and a run that names no device at all, are both told
478
+ that firebreak cannot say where to short it, and the run waits for a bootrom
479
+ anyway. Nothing is written while it waits, and the bootloader read names the
480
+ Echo afterwards, so `--device` only picks whose test point to describe.
481
+ - radar's test point is where biscuit's is, the passive between R60 and C52
482
+ beside the eMMC. Rortiz2's amonet-radar instructions short it, and a photo
483
+ of a radar board, `30-002527 REV 01`, read on 2026-11-17, shows the same
484
+ parts. firebreak has not run `short` on a radar itself.
485
+ - The row between R60 and C52 is the eMMC's CMD, CLK and DAT0, in that order
486
+ from R60, and C52 sits on its VCC. Grounding any of the three breaks the
487
+ preloader's read, which is all the short needs; grounding C52 shorts the
488
+ eMMC's supply instead, which is why both devices' gestures exclude it.
489
+ Labelled on biscuit's board, `30-002148 REV 01`, in Moran and Hyde's
490
+ [OSDFCon 2017 slides](https://www.osdfcon.org/presentations/2017/Moran_Hyde-Alexa-are-you-skynet.pdf),
491
+ slide 25. No source labels radar's row.
492
+ - The short does not apply to a donut, and `short` refuses one. Its action
493
+ button, held from before the cable goes in, stops its bootrom in download
494
+ mode, `0e8d:0003`, before any preloader runs, so a broken preloader does
495
+ not keep it out. Nothing here has shorted one. Giese and Noubir's WiSec
496
+ 2021 paper maps a donut's eMMC lines for reading the flash with the SoC
497
+ held off, not for a bootrom short.
476
498
  - amonet takes any port that appears after it lists the ports at start. So
477
499
  `short` asks for the short only once amonet logs that it is waiting, and
478
500
  sends no reset first: an Echo plugged in earlier would be in that list and
@@ -1516,6 +1538,10 @@ unlock's, not the stock bytes.
1516
1538
  - A flash that returns means the exploit did not start, so it is retried, up to
1517
1539
  10 times. A flash still running after 8 seconds means the exploit is running:
1518
1540
  the script stops fastboot and leaves the Echo to reach TWRP.
1541
+ - After 10 returns no other image is tried, because a wrong payload runs wrong
1542
+ code. The bootrom does not care which LK is there, so a device with a test
1543
+ point is pointed at `short`, with `--device` so that `short` can say where
1544
+ the point is, and at its XDA thread when it has one.
1519
1545
  - `eMMC-RO` or `Device mismatch` means the payload refused, and the Echo is
1520
1546
  unchanged.
1521
1547
  - `fastbrick.img` unlocked a stock radar on its Fire OS 6 LK,
@@ -0,0 +1 @@
1
+ __version__ = "1.4.4"
@@ -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
@@ -69,6 +69,13 @@ SHORT_WAIT = 5
69
69
  STEPS_AFTER_THE_CHAIN = 2
70
70
 
71
71
 
72
+ class UnreadError(Exception):
73
+ def __init__(self, *, error: BaseException | None = None, slot: str) -> None:
74
+ super().__init__(slot)
75
+ self.error = error
76
+ self.slot = slot
77
+
78
+
72
79
  def answering_payload() -> Client | None:
73
80
  failures: dict[str, float] = {}
74
81
  for name, product in sorted(mediatek_ports().items()):
@@ -358,15 +365,27 @@ def keep_trying(*, message: str) -> None:
358
365
 
359
366
 
360
367
  def lk_products(*, entries: bytes, live: Emmc) -> set[str]:
368
+ try:
369
+ return lk_reads(entries=entries, live=live)
370
+ except UnreadError as unread:
371
+ if unread.error is None:
372
+ raise FatalError(
373
+ message=f"the {title()}'s partition table has no {unread.slot}."
374
+ f" {unwritten()} Unplug the {title()}. " + asked_for()
375
+ ) from None
376
+ raise FatalError(
377
+ message=f"the {title()}'s {unread.slot} could not be read:"
378
+ f" {unread.error}. {unwritten()} Unplug the {title()}. " + again()
379
+ ) from unread.error
380
+
381
+
382
+ def lk_reads(*, entries: bytes, live: Emmc) -> set[str]:
361
383
  parts = partition_map(entries=entries)
362
384
  named: set[str] = set()
363
385
  for slot in LK_SLOTS:
364
386
  part = parts.get(slot)
365
387
  if part is None:
366
- raise FatalError(
367
- message=f"the {title()}'s partition table has no {slot}."
368
- f" {unwritten()} Unplug the {title()}. " + asked_for()
369
- )
388
+ raise UnreadError(slot=slot)
370
389
  try:
371
390
  held = bootrom.read(
372
391
  count=min(part.sectors, LK_PRODUCT_SECTORS),
@@ -374,10 +393,7 @@ def lk_products(*, entries: bytes, live: Emmc) -> set[str]:
374
393
  payload=live,
375
394
  )
376
395
  except (OSError, UsbdlError) as error:
377
- raise FatalError(
378
- message=f"the {title()}'s {slot} could not be read: {error}."
379
- f" {unwritten()} Unplug the {title()}. " + again()
380
- ) from error
396
+ raise UnreadError(error=error, slot=slot) from error
381
397
  named.update(found.decode() for found in LK_PRODUCT.findall(held))
382
398
  return named
383
399
 
@@ -406,17 +422,22 @@ def open_serial_port(*, name: str, write_timeout: float) -> serial.Serial:
406
422
 
407
423
  def payload_device(*, live: Emmc) -> Device | None:
408
424
  PROGRESS.begin(estimate=5, label="reading which Echo this is")
409
- try:
410
- named = table_products(live=live)
411
- except (FatalError, OSError, UsbdlError):
412
- named = None
425
+ named, why = table_products(live=live)
413
426
  if named is None:
414
427
  PROGRESS.end(skipped=True)
428
+ warn(
429
+ text=f"The bootloader in the {title()}'s flash was not read:"
430
+ f" {why.rstrip('.')}."
431
+ )
415
432
  return None
416
433
  PROGRESS.end()
417
434
  return next((each for each in DEVICES if each.product in named), None)
418
435
 
419
436
 
437
+ def said(*, error: BaseException) -> str:
438
+ return str(error) or type(error).__name__
439
+
440
+
420
441
  def say_missed_short(*, count: int) -> None:
421
442
  if sys.stdout.isatty():
422
443
  print()
@@ -505,13 +526,24 @@ def switched_payload(*, live: Client) -> bool:
505
526
  return True
506
527
 
507
528
 
508
- def table_products(*, live: Emmc) -> set[str] | None:
509
- bootrom.switch(partition=EmmcArea.USER, payload=live)
510
- raw = bootrom.read(count=TABLE_SECTORS, first=0, payload=live)
529
+ def table_products(*, live: Emmc) -> tuple[set[str] | None, str]:
530
+ try:
531
+ live.switch_partition(partition=EmmcArea.USER)
532
+ block = live.read_block(index=0)
533
+ if not bootrom.switched(block=block, partition=EmmcArea.USER):
534
+ return None, "its user area did not read as itself"
535
+ raw = bootrom.read(count=TABLE_SECTORS, first=0, payload=live)
536
+ except (OSError, UsbdlError) as error:
537
+ return None, f"its partition table could not be read: {said(error=error)}"
511
538
  entries = raw[2 * SECTOR_SIZE :][:ENTRIES_SIZE]
512
539
  if not gpt_intact(entries=entries, header=raw[SECTOR_SIZE : 2 * SECTOR_SIZE]):
513
- return None
514
- return lk_products(entries=entries, live=live)
540
+ return None, "its partition table failed its checksums"
541
+ try:
542
+ return lk_reads(entries=entries, live=live), ""
543
+ except UnreadError as unread:
544
+ if unread.error is None:
545
+ return None, f"its partition table has no {unread.slot}"
546
+ return None, f"its {unread.slot} could not be read: {said(error=unread.error)}"
515
547
 
516
548
 
517
549
  def unwritten() -> str:
@@ -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 (