diff --git a/FINDINGS.md b/FINDINGS.md index 1358a74..850cb1d 100644 --- a/FINDINGS.md +++ b/FINDINGS.md @@ -1,7 +1,7 @@ # Lofi-12 XT — Findings Library Living knowledge base for this device. Process/tips live in `RE-PROCESS.md`. -Per-version firmware notes: `Lofi-12XT_v*/…/reversed.md`; version diff: `rev-diff.md`; +Per-version structural notes: `docs/firmware/notes-v{1.1.156,1.2.179,1.5.205}.md`; version diff: `rev-diff.md`; mod feasibility: `tweakability-report.md`; tool docs: `tools/README.md`. Deep dives: `docs/hardware.md`, `docs/bootloader.md`, `docs/firmware-update.md`, `docs/firmware/v1.5.205.md`. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..034eb9b --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Dejvino + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 097def1..024fff8 100644 --- a/README.md +++ b/README.md @@ -60,3 +60,8 @@ watch `SYSTEM UPDATE` on the OLED. Keep a stock SD for revert. - **No vendor binaries or flash dumps are shipped in this repo** (Sonicware IP). Bring your own `.bin` from an official update ZIP; distribute mods as scripts, never as full images. + +## License + +MIT — see `LICENSE`. Covers the code, docs, and photos in this repo (own work +only); no vendor binaries are shipped. diff --git a/tools/README.md b/tools/README.md index d18fe70..333a88f 100644 --- a/tools/README.md +++ b/tools/README.md @@ -9,8 +9,8 @@ Stdlib-only Python (`tools/`). Verified against v1.1.156 / v1.2.179 / v1.5.205. | `lofi_pack.py` | `indir/ out.bin [--checksum HEX]` — rebuild exact-fit image | | `lofi_patch_string.py` | Same-length UI string swap (Level-0 mod, addresses stable) | | `lofi_xref.py` | Count code/self pointers, list slack zero-gaps, locate string + refs | -| `lofi_checksum.py` | Quick check: CRC/adler/fletcher/sum/xor over obvious spans | -| `lofi_checksum_crack.py` | Long-running cracker: Phase A fast hashes + xor-mask detect, Phase B generic CRC param search (1,008 combos, multiprocessed), Phase C seeded CRC32-IEEE brute force 0..2²⁴ (hours) | +| `lofi_checksum.py` | Quick check: CRC/adler/fletcher/sum/xor over obvious spans (historical) | +| `lofi_checksum_crack.py` | Long-running cracker (**superseded** — checksum solved; kept for methodology) | ## Safe first loop (do not flash until checksum is cracked) diff --git a/tools/lofi_checksum_crack.py b/tools/lofi_checksum_crack.py index 811df88..6ba65dc 100755 --- a/tools/lofi_checksum_crack.py +++ b/tools/lofi_checksum_crack.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 -"""Long-running checksum cracker for Lofi-12 XT cmtd+0x08. +"""SUPERSEDED 2026-09-30: checksum solved (see lofi_image.compute_checksum). +Kept for methodology only — do not run expecting new results. + +Long-running checksum cracker for Lofi-12 XT cmtd+0x08. Strategy: 3 known (image, checksum) pairs let us test each hypothesis fast with early exit, plus detect CONSTANT-XOR-masked CRCs (stored = crc ^ mask). diff --git a/tools/lofi_checksum_phaseD.py b/tools/lofi_checksum_phaseD.py index 803ab34..fd60209 100755 --- a/tools/lofi_checksum_phaseD.py +++ b/tools/lofi_checksum_phaseD.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 -"""Phase D checksum cracker: 16-bit/ones-complement/chained/DJB2/Murmur batch. +"""SUPERSEDED 2026-09-30: checksum solved (see lofi_image.compute_checksum). +Kept for methodology only — do not run expecting new results. + +Phase D checksum cracker: 16-bit/ones-complement/chained/DJB2/Murmur batch. Covers what Phases A-C did not: every candidate must match ALL 3 builds. Stdlib only, read-only on stock .bin files.