]> FriiDump Source - friidump.git/blob - docs/ChangeLog
FriiDump 0.5.3.16: finalize release identity and documentation
[friidump.git] / docs / ChangeLog
1 FriiDump 0.5.3.16-pf1
2 ----------------------
3 - Correct standard READ DVD STRUCTURE Format placement from CDB byte 11
4   (Control) to byte 7, matching the copied Windows DMI request.
5 - Add persistent Xbox PFI/DMI capture diagnostics.
6 - Add an Xbox READ DVD STRUCTURE CDB source contract.
7 - Preserve Candidate20 SG_IO handshake and Windows-sequence behavior unchanged.
8
9 FriiDump 0.5.3.16-pf1-candidate20
10 - Rejects Candidate17; do not test or promote it.
11 - Removes generic RecoveryKick behavior and its repeated LBA-zero read cadence.
12 - Removes automatic media-auth kicks from the generic copied Windows dump path.
13 - Ports the proven Windows state-aware GDR-8050L preparation sequence into Linux style.
14 - Uses direct handshake first, one tray-cycle retry only when needed, and capacity as authority.
15
16 2026-07-24  Project Frankenstein Candidate16
17
18     * Release Linux optical-door locking before GDR-8050L media cycles.
19     * Restore the door lock after successful eject/load readiness.
20     * Leave the door unlocked on media-cycle failure for recoverable tray access.
21     * Add Linux Xbox tray-cycle source/documentation contract coverage.
22
23 2026-07-24  Project Frankenstein Candidate15
24
25   * Document the two-part Linux access model: optical device-node access plus
26     CAP_SYS_RAWIO for vendor-specific SCSI commands.
27   * Add a release-build preflight that checks the effective capability mask
28     before GC/Wii memory-dump and Xbox vendor-unlock operations.
29   * Refuse whole-process root execution for Linux vendor-command paths and
30     direct users to a least-privilege file capability on the exact executable.
31   * Record missing raw-I/O authority in the native report and issue STOP UNIT
32     before returning.
33   * Add explicit CMake/build warnings that normal builds do not install or
34     preserve file capabilities.
35   * Add an install/status/remove helper for cap_sys_rawio=ep and a validator
36     capability phase.
37   * Document that rebuilding, replacing, copying, or re-extracting an executable
38     clears the capability.
39
40 2026-07-24  Project Frankenstein Candidate12
41
42   * Copy bundled Redump DAT resources beside CMake-built executables.
43   * Install Redump DAT resources under the Unix share directory.
44   * Add FRIIDUMP_REDUMP_DAT_DIR and installed-share lookup.
45   * Preserve explicit --redump-dat-dir as an authoritative override.
46   * Report Linux exclusive optical-device locking as unavailable instead of OK.
47   * Correct the Linux validation wrapper's intentional --help exit handling.
48   * Include redump_dat in the MSVC build-results archive.
49
50 2026-07-18 - FriiDump 0.5.3.15 XGD1 live closure and release cleanup
51
52   * Closed the 0.5.3.14 hardware validation on a modified GDR-8050L revision
53     0012. The 3,820,880-sector output completed successfully and the
54     drive-captured 32-sector game lead-in matched the independent 0.5.3.13
55     geometry evidence at both boundaries.
56   * Recorded final output hashes: CRC32 cc5f0e71, MD5
57     1207b2090701ba1f221d486c83c863e7, SHA-1
58     5ea9b2262ba951afd9a5d2d44cd2b62a4d9decc7, and SHA-256
59     5995f823c6d67b9e3e3b3e1c2b54e1e036793188bec6b5be4220f559305f53b9.
60   * Confirmed NO EXACT MATCH against 2,689 Microsoft Xbox DAT entries. This
61     does not invalidate acquisition: the inaccessible pregame and postgame
62     contents remain zero-filled unresolved placeholders.
63   * Made automatic DAT discovery executable-relative first, with the historical
64     current-working-directory lookup retained as a fallback. Explicit
65     --redump-dat-dir remains authoritative.
66   * Corrected sidecar wording: hardware geometry validation is complete, while
67     filler content remains unresolved.
68   * Replaced 71 local build/probe/debug artifacts with a compact evidence
69     directory containing the final geometry samples, machine-readable closure
70     record, media-layout evidence, and completed live summary.
71   * Added a C resolver test and expanded .gitignore coverage for build outputs,
72     runtime logs, and generated disc images.
73   * No XGD1 output-layout bytes changed after the accepted 0.5.3.14 live dump.
74
75 2026-07-18 - FriiDump 0.5.3.14 drive-captured XGD1 game lead-in
76
77   * Promoted the successful 0.5.3.13 live geometry result: all 13 selected
78     locked/video and unlocked/game raw-sector IDs matched the expected
79     full-output mapping.
80   * Replaced the GDR-8050L full-output synthetic game lead-in with drive reads
81     from unlocked source LBA 0..31 at output LBA 198144..198175.
82   * Kept XDVDFS/game data at unlocked source LBA 32..3431263 and output LBA
83     198176..3629407.
84   * Updated .redump.json, .media.json, and .xdvd.json layout evidence to record
85     the drive-captured lead-in source and the 0.5.3.13 physical-geometry proof.
86   * Pregame and postgame physical locations are now documented as geometry
87     verified, while their inaccessible content remains zero-filled and
88     unresolved.
89   * No claim of Redump identity is made until a new 0.5.3.14 full-disc dump is
90     hashed and compared with the canonical DAT.
91
92 2026-07-18 - FriiDump 0.5.3.13 XGD1 cache-aligned raw-ID geometry correction
93
94   * Corrected the v68 raw-ID probe to mirror the proven modified-GDR-8050L
95     Method 8 cache contract: zero-transfer READ(12) cache flush, 16-sector
96     block-aligned streaming fill, and 2064-byte slot indexing.
97   * Removed raw-cache user-data equality as a geometry criterion. Method 8
98     reconstructs sectors from cache header/EDC plus READ(12) data before
99     unscrambling, so equality is not expected.
100   * Added explicit full-output LBA mapping, layer-bit decoding, 24-bit layer-1
101     PSN normalization, expected raw/normalized PSNs, and per-sample geometry
102     verdicts.
103   * Schema 2 reports now set physical_geometry_resolved only when all 13
104     selected locked/video and unlocked/game samples match exactly.
105   * Retained the v68 live run as negative/diagnostic evidence; it is not a
106     geometry promotion. No reconstruction bytes or filler policy changed.
107
108 2026-07-18 - FriiDump 0.5.3.12 XGD1 raw-sector ID geometry probe
109
110   * Live validation of 0.5.3.11 confirmed that sampled READ(10) and READ(12)
111     sectors are identical in both locked/video and unlocked/game states.
112   * The locked view ends at LBA 6991 and the unlocked view ends at LBA
113     3431263; ordinary logical reads expose no alternate source for the
114     documented synthetic pregame or postgame ranges.
115   * Added --xgd1-raw-id-probe for modified GDR-8050L firmware with HIT 0xE7
116     memdump support. It performs controlled READ(12) cache fills, captures the
117     corresponding 2064-byte raw cache sectors at 0x80000000, and records the
118     decoded DVD physical-sector number from each raw ID field.
119   * XGD1 probe modes now measure real elapsed time and suppress the unrelated
120     HLDS GC/Wii validation summary that previously reported misleading
121     seed/dump/STOP fields for a successful diagnostic run.
122   * No reconstruction mapping changed. Raw IDs are geometry evidence only;
123     inaccessible filler bytes remain unresolved.
124
125 2026-07-18 - FriiDump 0.5.3.11 read-only XGD1 logical-boundary probe
126
127 - Adds `--xgd1-layout-probe <file>` for the GDR-8050L challenge-handshake
128   profile on Windows.
129 - Establishes and verifies the locked/video and unlocked/game views using
130   READ CAPACITY(10), then probes selected XGD1 boundary LBAs with one-sector
131   READ(10) and READ(12) commands.
132 - Records per-command success, Win32 error, SCSI status, sense key/ASC/ASCQ,
133   nullable nonzero-byte/all-zero fields for failed reads, SHA-1, complete
134   2048-byte sector data for successful reads, and explicit READ(10)/READ(12)
135   comparability in an atomic JSON report.
136 - Includes the current output-layout constants and probes the visible video
137   boundaries, synthetic pregame/postgame boundaries, game lead-in/XDVDFS
138   boundary, output layer break mapping, and each reported-capacity edge.
139 - Restores the entry locked/video state when the probe began locked; an
140   already-unlocked entry remains in the game view.
141 - Keeps the existing 0.5.3.10 ISO/XISO output unchanged. The probe explicitly
142   leaves the pregame padding, postgame padding, and game lead-in unresolved
143   until live evidence supports a source mapping.
144 - Uses only logical read commands, the established authentication handshake,
145   tray transitions, volume guard, and STOP UNIT cleanup. No firmware write,
146   flash, erase, 3B06, 3B07, or FLASHUP path was added or changed.
147
148 2026-07-18 - FriiDump 0.5.3.10 state-aware GDR-8050L handshake cleanup
149
150 - Replaces the copied reference bridge's unconditional unlock -> tray cycle ->
151   unlock preamble with state-aware READ CAPACITY(10) classification.
152 - When the bridge enters in the unlocked game view, it skips both the redundant
153   initial handshake and the redundant tray cycle before title/XDVDFS probing.
154 - When the bridge enters in the locked/video view, it performs one direct full
155   handshake without a media transition and verifies the resulting visible
156   sector count before metadata probing.
157 - Retains one explicitly logged tray-cycle recovery only when the direct
158   handshake fails to expose the game view, then retries the full handshake once.
159 - Preserves the one required media transition used later to restore the
160   locked/video view before VIDEO-L0/VIDEO-L1 capture, followed by the final full
161   handshake for game/XDVDFS data.
162 - Corrects XDVD authentication metadata: unlocking does not require a media
163   transition, while restoring the locked/video view does.
164 - Live 0.5.3.9 evidence basis: Red Faction II completed 3,820,880 sectors,
165   produced finalized four-hash/sidecar evidence, wrote the atomic Redump report,
166   issued one final STOP UNIT, and exposed the prior three-handshake/two-tray
167   sequence targeted by this cleanup.
168 - No firmware update, write, flash, erase, 3B06, 3B07, or FLASHUP path was added
169   or modified.
170
171 2026-07-17 - FriiDump 0.5.3.9 Xbox live-summary and cleanup correction
172
173 - Preserves the successful 0.5.3.8 Xbox finalized-hash handoff and shared
174   Redump verification path.
175 - Carries the Xbox title, media ID, finalized output-sector count, and elapsed
176   time across the copied GDR-8050L bridge boundary.
177 - Reports the real Xbox title/media ID and 3,820,880-sector reconstructed output
178   in the final HLDS validation summary instead of the generic pre-bridge values.
179 - Marks the GC/Wii seed field not applicable for the Xbox reference-auth path.
180 - Uses the copied reference dumper's elapsed-time handoff for Xbox runs, eliminating the
181   misleading 0.00-second duration and average-rate output.
182 - Removes the inner DumpXboxGameDisc STOP UNIT call.  Embedded runs now issue
183   exactly one final STOP UNIT from FriiDump after Redump verification; standalone
184   bridge runs retain cleanup ownership before closing their handle.
185 - Live evidence basis: Red Faction II[TQ00501A] completed as a 7,825,162,240-byte
186   reconstructed XGD1 image, produced finalized four-hash evidence, atomically
187   wrote schema-2 NO MATCH evidence against 2,689 Xbox DAT entries, and exposed
188   the summary/duplicate-cleanup defects corrected here.
189
190 2026-07-17 - FriiDump 0.5.3.8 Xbox reference-path Redump evidence handoff
191
192   * Routed successful GDR-8050L/cross-flashed GDR-8163B full-disc ISO results
193     into the shared Redump DAT verifier and atomic schema-2 evidence report.
194   * Added an explicit result contract carrying the actual finalized output path,
195     byte count, output sectors, CRC32, MD5, SHA-1, and SHA-256 from the copied
196     Xbox reference dumper into FriiDump's front end.
197   * Reused the reference dumper's existing finalized full-file hash pass; the
198     7.29 GiB Xbox ISO is not reread solely for DAT verification.
199   * Corrected the copied DumpXboxGameDisc/bridge success handoff so FriiDump now
200     receives the real dump/write result rather than assuming success after the
201     call returns.
202   * Kept the active target log open across the bridge return so shared Redump
203     evidence and the final validation summary remain in the same Xbox run log.
204   * Added `hash_source` and `representation_note` to schema-2 reports. Xbox
205     reports state that successful acquisition and exact Redump hash identity are
206     separate claims because documented synthetic XGD1 ranges may prevent a match.
207   * Confirmed the prior live Red Faction II reconstructed hashes produce the
208     expected `NO EXACT MATCH` result against the current Xbox DAT: 2,626
209     same-size entries and zero CRC32/MD5/SHA-1 correlations.
210   * Kept Xbox `-X` excluded from DAT verification because XISO is not a full
211     Redump disc image.
212   * Recorded the independent Super Smash Bros. Melee (USA) (En,Ja) (Rev 2)
213     live validation: seed retrieval 3 seconds, full dump and STOP UNIT OK, and
214     exact Redump match across size, CRC32, MD5, and SHA-1.
215   * No firmware update, write, flash, erase, 3B06, 3B07, or FLASHUP path was
216     added or modified.
217
218 2026-07-17 - FriiDump 0.5.3.7 PFES-aligned Redump evidence reporting
219
220   * Replaced the compact MATCH/NO MATCH block with a field-by-field evidence
221     presentation for image size, CRC32, MD5, and SHA-1.
222   * Added explicit overall conclusions and confidence statements, including
223     `VERIFIED AGAINST REDUMP` / `Exact archive match` for exact matches.
224   * Added a closest-candidate path only when at least one hash correlates; when
225     no hash correlates, FriiDump reports aggregate field-match counts instead
226     of presenting an arbitrary same-size disc.
227   * Advanced the Redump report to schema 2 while preserving the original
228     top-level status/output/hash fields for compatibility.
229   * Added SHA-256, expected DAT values, per-field PASS/FAIL evidence, match kind,
230     match counts, overall conclusion, and confidence to the JSON report.
231   * Corrected report/log separation: JSON structural writes no longer pass
232     through the logged `fprintf` wrapper, so the run log no longer contains an
233     incomplete mirror with omitted string values.
234   * Reports are now written to a sibling `.tmp` file, flushed/synchronized,
235     closed, and atomically moved over the final path. A failed write leaves the
236     previous complete report untouched.
237   * Documented the existing Xbox scope boundary accurately: the copied
238     GDR-8050L reference-dumper bridge keeps its own full-file hash/sidecar path
239     and is not yet routed through this DAT-verifier report.
240   * Recorded a live GCC4244/B101 Sonic Mega Collection dump: media preflight OK,
241     seed retrieval 3 seconds, full dump OK, STOP UNIT OK, 2324.52 seconds,
242     2156.33 MiB/h, and exact Redump verification. Exact B101 parser metadata
243     remains pending analyzer results; no parser profile was promoted here.
244   * No firmware update, write, flash, erase, 3B06, 3B07, or FLASHUP path was
245     added or modified.
246
247 2026-07-17 - FriiDump 0.5.3.6 automatic Redump DAT verification
248
249   * Added automatic post-dump verification against Redump Logiqx XML DAT files.
250   * Bundled stable GameCube, Wii, and Xbox DAT paths under `redump_dat/`.
251   * A positive match requires output size, CRC32, MD5, and SHA-1 to agree;
252     SHA-256 remains printed as a local integrity hash.
253   * Added `--redump-dat-dir <dir>`, `--redump-report <file>`, and
254     `--no-redump-verify`.
255   * Added JSON reporting with DAT path, entries scanned, exact-match count,
256     Redump game/ROM names, output hashes, size, and status.
257   * DAT absence or a no-match result is reported clearly without deleting the
258     output or changing a completed read into a destructive/error path.
259   * No firmware update, write, flash, erase, 3B06, 3B07, or FLASHUP path was
260     added or modified.
261
262 2026-07-10 - FriiDump 0.5.3.5
263   * Promoted live INQUIRY `HL-DT-ST CDRW/DVD GCC4244/B103` to `known_supported_profile_hardening_live_validated`.
264   * Recorded exact GCC-4244N B103 Stage5B profile evidence: JCS3 tokens, CDB base 0x894, gate 0x900386FB.
265   * Recorded successful media preflight, 4-second seed retrieval, full Sonic Mega Collection dump, STOP UNIT, and Redump-matching hashes.
266   * Recorded 2329.16-second runtime and 2152.04 MiB/h observed average.
267   * Added FriiDump 0.5.3.5 consolidated HLDS live-validation report and advanced the next test target to GCC-4243N.
268
269 2026-07-08 - HLDS profile documentation sync v58
270
271   * README now documents the Stage5B-promoted HLDS 0xE7 profile rows added in
272     v57: GCC-4244N B103 and GDR-8163B revisions 0B30, 0D20, 0E15, 0L20,
273     0L23, 0L30, and 0M26.
274   * README now documents --hlds-profile-report <file> and records the validated
275     GDR-8163B 0L30 Sonic Mega Collection dump in the observed fleet table.
276   * ChangeLog now records the v57 profile-table update so package docs match
277     the code.
278
279 2026-07-08 - HLDS promoted parser-signature profile update v57
280
281   * Added GCC-4244N B103 as a promoted Stage5B E7 parser-signature profile
282     using CDB base 0x894, gate 0x900386FB, and tokens
283     HL;IT;RPC;RPC_JCS3;RPC_SUFFIX.
284   * Promoted the observed GDR-8163B inventory variants from family fallback
285     rows to exact parser-signature profile rows: 0B30, 0D20, 0E15, 0L20,
286     0L23, 0L30, and 0M26.
287   * Recorded the exact GDR-8163B CDB/gate evidence: 0B30 0x5E0/0x90025030,
288     0D20 0x5E0/0x90024AE7, 0E15 0x5D8/0x900247D1, 0L20
289     0x5E0/0x90024C8F, 0L23 0x5E0/0x90024D5A, 0L30
290     0x5E0/0x90025021, and 0M26 0x5E0/0x90024FF7.
291   * Kept the static CDB/gate fields as report/evidence metadata only; FriiDump
292     does not use them as host-side commands or runtime addresses.
293   * No FLASHUP, 3B06, 3B07, updater, write, flash, erase, or commit paths were
294     added or touched.
295
296
297 2026-07-01 - HLDS 0xE7 log-noise cleanup
298
299   * GDR-8050L modified-0xE7 no-prefetch read-schedule logging is now emitted once per run/profile selection instead of once per read chunk.
300   * Accelerated-profile fallback resets the one-shot schedule log so the fallback profile is still visible exactly once.
301 2026-06-30 / GDR-8050L + GDR-8081N probe v2
302
303 * Fixed the modified GDR-8050L speed-probe-pending profile so it defaults to Method 8; the prior combined build could still present/run like the static single-window fallback.
304 * Made seed cracking fail the run when the experimental GDR-8081N cache-profile probe cannot validate any candidate, instead of continuing after a failed probe.
305 * Improved visible probe logging so the first probe line starts on a fresh line after the seed-retrieval prompt.
306
307 2026-06-30 / GDR-8050L speed-probe visibility fix
308
309 * Corrected the GDR-8050L modified-0xE7 speed-probe build so the initial
310   drive info reports an explicit speed-probe-pending profile instead of
311   looking like the old static single-window fallback.
312 * Probe status is now printed with direct visible output even in non-VERBOSE
313   builds, so runs show each GDR-8050L/GDR-8081N candidate and the selected
314   profile during the seed-retrieval phase.
315
316 2026-06-30 / seed-retrieval elapsed timer
317
318 * Added elapsed timing to the GC/Wii seed retrieval line.  The console/log now reports
319   `Retrieving disc seeds, this might take a while... [Elapsed:HH:MM:SS] OK`
320   or the same elapsed marker before `Failed`.
321 * Added `Seed elapsed` to the HLDS 0xE7 validation summary.
322 * Documented seed-retrieval expectations and kept timeout behavior manual/operational
323   rather than adding a hard timeout that could interrupt a blocked optical-drive I/O
324   command unsafely.
325
326 2026-06-30 / combined GDR-8081N probe + GDR-8050L speed-probe update
327
328 * Combined the GDR-8081N experimental 0xE7 cache-profile probe layer with a
329   GDR-8050L modified-firmware speed probe so two fleet tests can be run from the
330   same source package.
331 * GDR-8050L modified 0xE7 now keeps the proven 0x80000000 one-window/no-prefetch
332   profile as fallback, but probes guarded no-prefetch 3-window, 2-window, and
333   5-window candidates before seed cracking.
334 * If an accelerated GDR-8050L profile later fails during dumping, FriiDump logs
335   the failure and falls back to the proven single-window profile for the rest of
336   the run.
337 * GDR-8081N remains experimental: it is recognized as a candidate, enters the
338   seed path, and probes multiple cache profiles rather than being advertised as
339   confirmed GC/Wii support.
340 * README wording now clarifies that GDR-3120L support means the Xbox ripping path
341   is preserved; it is not claimed as a GC/Wii-tested drive.
342
343 2026-06-30 / GDR-8081N experimental 0xE7 probe layer
344
345 * Added GDR8081N/GDR-8081N as an experimental HLDS 0xE7 GC/Wii candidate.
346 * Added a small runtime cache-profile probe before seed cracking: Type4-derived
347   0x80000000/5-window, single-window 0x80000000, Type1-base 0x00a13000,
348   and a moving-cache candidate 0x7fff7f00.
349 * Fixed unsupported-drive HLDS profile display by zero-initializing dvd_drive
350   state and returning zero cache/window fields when no 0xE7 profile is active.
351
352 2026-06-30 / GDR-8050L modified 0xE7 GC/Wii test profile
353
354 * Added a special HLDS profile for GDR8050L/GDR-8050L drives running cross-flashed
355   or modified firmware with 0xE7 memdump support added.
356 * The special profile keeps the Type4 cache geometry, base 0x80000000 and five
357   16-sector memory windows, but defaults GC/Wii tests to Method 8.
358 * Stock GDR-8050L firmware is still documented as Xbox-path only; this GC/Wii
359   path is explicitly a modified-firmware experiment and does not replace the
360   existing GDR-8050L challenge-table Xbox dumper or GDR-3120L vendor-unlock path.
361
362 FriiDump 0.5.3.2 HLDS 0xE7 validation summary and speed-log update
363
364 - Added an end-of-run HLDS 0xE7 validation summary for GC/Wii dumping.
365 - The summary records model, DIC-style profile, cache base, memory-window count, seed-read status, dump status, STOP UNIT status, duration, and observed average ISO-payload speed.
366 - Documented observed Sonic Mega Collection validation speeds for GCC-4244N/B103 and GCC-4243N/A102, with GCC-4160N/0010 left as in-progress pending hash verification.
367
368 2026-06-29 / HLDS 0xE7 AutoPlay warning
369
370 * Added explicit Windows AutoPlay warning before non-Xbox HLDS 0xE7 GC/Wii
371   volume-lock and seed reads.
372 * GCC-4160N Type1 testing confirmed users may need to disable AutoPlay and
373   close File Explorer/"insert a disc" dialogs even when FriiDump applies
374   the shared volume guard.
375
376 FriiDump 0.5.3.2 HLDS 0xE7 DIC profile-layer update
377
378 - Added a DIC-style HLDS 0xE7 profile layer for GC/Wii cache dumping.
379 - Type1 GCC-4160N/GCC-4240N now use cache base 0x00a13000 with one
380   16-sector memory window.
381 - Type3/Type4 retain cache base 0x80000000 with five 16-sector memory windows.
382 - GCC-4241N/GCC-4242N are identified as Type2 experimental profiles but are
383   not yet promoted to DIC-equivalent support.
384 - Command/method logging now prints the selected HLDS 0xE7 profile, cache base,
385   and memory-window count.
386 - GDR-3120L Xbox ripping support remains on the explicit vendor lock/unlock
387   path; unsupported Xbox-forced drives still fail fast rather than falling back
388   to GC/Wii methods.
389
390 0.5.3.2-gcc4243n-method8-split-recovery (29/06/2026)
391 - Added Method 8 split recovery for GCC-4243N/GCC-4244N GC/Wii dumping.
392   After normal Method 8 and dump-level retries fail for a 16-sector block,
393   FriiDump now tries to reconstruct that block using 8-, 4-, 2-, then
394   1-sector streaming chunks, validates the rebuilt block with the existing
395   unscrambler/EDC path, and logs every attempted subrange.
396 - Preserved the shared FriiDump/Xbox log path and the GDR-3120L FF 08 01
397   Xbox vendor lock/unlock path.
398 - Confirmed the DIC source lists TSSTcorp/Samsung Kreon-firmware candidates
399   and GSA-4163B as an Xbox swap candidate; TSST/Kreon candidates remain
400   recognized as vendor-unlock experiment profiles, while GSA-4163B remains
401   documented as a separate swap-workflow target rather than being misrouted
402   into the vendor-unlock path.
403 > jtryba / ChatGPT
404
405 FriiDump 0.5.3.2 GCC-4243/4244 default path and shared logging update
406
407 - Promoted HLDS GCC-4243N/GCC4243* and GCC-4244N/GCC4244* drives to
408   Hitachi command 2 / Method 8 by default for GC/Wii dumping.  GCC-4244N was
409   validated with Sonic Mega Collection; GCC-4243N is routed to the same path
410   for the next fleet test.
411 - Extended the existing Xbox reference logger into a shared FriiDump run logger.
412   Every invocation now creates a log: `<output>.log` when an output file is
413   known, `friidump_<drive>.log` when only a drive is known, otherwise
414   `friidump.log`.
415 - Kept GDR-3120L Xbox ripping support on the FF 08 01 vendor lock/unlock path.
416 - Forced Xbox/XGD mode now refuses non-supported Xbox unlock profiles instead
417   of falling back to GC/Wii dumping methods.
418
419
420 2026-06-29  jtryba
421
422         * libfriidump/xbox_ref/utils.c: Add SHA-256 to the copied GDR-8050L
423           reference full-file hash calculation, console/log summary, and XDVD/media
424           sidecar hash metadata.
425         * src/friidump.c: Suppress the legacy FriiDump hash footer for the GDR-8050L
426           copied-reference path so empty CRC32/MD5/SHA-1/SHA-256 lines are not
427           printed after the authoritative Xbox reference summary.
428
429
430 2026-06-28  jtryba / ChatGPT
431
432         * libfriidump/xbox_ref/xbox_ref_log.[ch], libfriidump/xbox_ref/utils.c:
433           Keep carriage-return progress updates on the console only. The GDR-8050L
434           log now remains a line-oriented diagnostic record with SCSI dumps,
435           phase markers, hash summaries, metadata writes, and final elapsed time,
436           instead of recording every transient progress repaint as a separate line.
437           Full READ DVD STRUCTURE 0xAD payloads remain untruncated in the log.
438
439
440 2026-06-29  jtryba
441
442         * GDR-8050L reference hook: preserve the original dumper timing sleeps
443           exactly (tray-cycle 3000 ms, readiness settle 1500 ms or 10000 ms
444           fallback, RefreshVolume's 1000 ms plus the explicit post-refresh
445           2000 ms settle).
446         * Xbox/GDR-8050L filename behavior now matches the reference dumper: the
447           first unlock/metadata pass derives Title[MediaID].iso/.xiso from the XBE
448           title and DMI media ID by default. Supplying -i <file> or -X <file> is an
449           explicit filename override; bare -i or bare -X uses the derived name.
450         * If FSCTL_LOCK_VOLUME fails, report that the copied reference dumper treats
451           it as fatal before XBE/title probing, instead of collapsing the error into
452           a generic sector 0..15 dump failure.
453
454
455 2026-06-28  jtryba
456
457         * GDR-8050L Xbox redump/XISO path: dispatch native Windows runs directly
458           into a copied-in reference implementation from the original Xbox dumper
459           (main.c/utils.c/unlock.c helpers) instead of approximating the state
460           machine inside FriiDump's generic read loop.
461         * Preserve GDR-3120L on the separate FF 08 01 vendor command path and leave
462           non-native drives on FriiDump's existing command/method fallback behavior.
463         * Keep STOP UNIT/spin-down cleanup after the reference dump attempt.
464
465
466 2026-06-29  jtryba
467
468         * libfriidump/dumper.c, libfriidump/dvd_drive.c, libfriidump/disc.c:
469           Align the GDR-8050L Xbox redump state machine more literally with the
470           reference dumper. UnlockDrive() calls are treated as required state actions
471           rather than fatal capacity gates; RefreshVolume/settle/ready/speed/volume-lock
472           behavior is mirrored for the post-media-change metadata phase; STOP UNIT is
473           reserved for final cleanup.
474         * src/friidump.c:
475           Initialize Xbox dump failure-sector reporting before setup begins.
476 FriiDump 0.5.3.2 GDR-8050L main.c alignment follow-up
477
478 - Relaxed the GDR-8050L UnlockDrive() port to match the original dumper: the
479   final READ CAPACITY observation is diagnostic, not a fatal condition.  This
480   allows the first handshake to prime the drive before the required media-change
481   event instead of failing early while the visible DVD-video view still reports
482   6,992 sectors.
483 - Added visible stage messages for the GDR-8050L redump path: primary handshake,
484   media-cycle, re-handshake, metadata/auth kick, video-view restore, and final
485   game-view handshake.
486 - Changed the GDR-8050L redump 32-sector game lead-in to the original dumper's
487   zero-fill behavior.  The lead-in read/fallback experiment remains for non-8050L
488   Xbox strategies.
489 - Preserved GDR-3120L on the separate FF 08 01 vendor lock-state path and kept
490   non-native drives on FriiDump's original behavior unless Xbox mode is forced.
491 > jtryba
492
493 FriiDump 0.5.3.2 Xbox flow/build follow-up
494
495 - Corrected the GDR-8050L redump-style state machine to follow the original
496   dumper order: unlock/read game metadata, media-cycle back to the visible
497   DVD-video view, capture video L0/L1, unlock again, read game lead-in/game
498   data, then write PFI/DMI/redump JSON.
499 - Added START STOP UNIT LoEj tray-cycle support for the GDR-8050L redump path.
500 - Added unconditional STOP UNIT / spin-down cleanup after dump attempts, on
501   success or failure.
502 - Clarified docs to avoid describing the DVD-video section itself as locked;
503   the video section is the normal visible DVD-video view.
504
505 0.5.3.2 (28/06/2026)
506 - Added Xbox redump retry/recovery kicks around GDR-8050L view-switch reads,
507   mirroring the original dumper cadence: re-trigger auth, set maximum speed,
508   and issue harmless READ(10) probes before retrying game-view reads.
509 - Added visible Xbox failure diagnostics that report the failing phase, source
510   LBA, and reconstructed output LBA even in non-VERBOSE builds.
511 - Improved Xbox redump failure reporting so the generic final sector range no
512   longer always falls back to 0..15 after a later layout phase fails.
513 > jtryba
514
515 0.5.3.2 (28/06/2026)
516 - Fixed forced Xbox/XGD (`-T 4`) routing so GDR-8050L/GDR-3120L dumps use
517   the native Xbox direct MMC/SCSI path instead of displaying or selecting the
518   original GC/Wii Hitachi command 2 / method 9 memdump path.
519 - Reworded the runtime status text: Xbox initialization no longer says
520   "Retrieving disc seeds", because seed cracking is only for GC/Wii paths.
521 - Xbox `-i` now prints that it is writing an Xbox/XGD redump-style ISO.
522 - Added single-sector READ(10) fallback inside Xbox redump range reads so
523   visible DVD-video boundaries and other edge ranges are retried like the original
524   dumper before the dump is declared failed.
525 - Preserved the program version at 0.5.3.2; the preceding MSVC-only build-task
526   refresh did not receive a program version bump.
527 > jtryba
528
529 0.5.3.2 (28/06/2026)
530 - Added `-D` / `--dvd` as a clear standard DVD-ROM mode available to all
531   drives. It is equivalent to forcing disc type `-T 3` and uses FriiDump's
532   original DVD/raw/ISO path rather than Xbox unlock or metadata paths.
533 - Added DiscImageCreator-compatible Original Xbox/XGD1 redump layout constants
534   to the redump JSON: XBOX_SIZE 3,820,880 sectors, layer break LBA 1,913,776,
535   DVD start PSN 0x30000, Xbox/game start PSN 0x60600, and output game start
536   LBA 0x30600 / 198144.
537 - Added a runtime sanity check that the hardcoded Xbox redump layout still
538   matches the DiscImageCreator-compatible XGD1 constants before writing an
539   Xbox redump-style ISO.
540 - Updated README, README.technical, XBOX.md, options, and CLI help to make
541   standard DVD dumping and Xbox redump/XISO dumping commands clearer.
542 > jtryba
543 0.5.3.1 (28/06/2026)
544 - Added GDR-3120L/Kreon-style vendor helpers: get feature list (`FF 08 01 10`),
545   set lock state 0/2 (`FF 08 01 11 xx`), and disable error-skip
546   (`FF 08 01 15 00`) before dumping.
547 - Added Samsung/Kreon-style Xbox-capable candidates TS-H352C, TS-H353A,
548   SH-D162C, SH-D162D, SH-D163A, and SH-D163B for forced Xbox experiments
549   when the drive firmware supports the FF 08 01 command family.
550 - Expanded the Hitachi-LG supported-drive list for GC/Wii profiles to include
551   GDR-8082N/8083N/8084N, GDR-8161B/8162B/8163B/8164B,
552   GCC-4160N/4240N/4243N/4244N/4247N, with notes for probable/error-prone
553   related models; added GSA-4163B as an experimental Hitachi-LG profile.
554 - Added AUTHORS credit for scsi1.pas / The Specialist and the xboxhacker.net
555   contributors for the GDR-8050L challenge-table handshake, and DiscImageCreator
556   reference credit for the FF 08 01 vendor lock-state path.
557 - Added native Xbox/XGD disc support.
558 - Added Xbox disc type selector: `-T 4`.
559 - Added GDR-8050L profile with challenge-table handshake, partition unlock,
560   sticky descramble enablement, and direct 2048-byte READ(10) dumping.
561 - Corrected the GDR-3120L profile to use the DiscImageCreator-style FF 08 01 vendor feature-list and lock-state command family instead of treating it as a plain direct READ(10) drive.
562 - Changed Xbox `-i` output from a simple unlocked host-view copy to a
563   redump-style Original Xbox/XGD1 2048-byte-sector reconstruction with locked
564   video L0/L1, padding, 32-sector game lead-in, and unlocked game/XDVDFS data.
565 - Deferred the GDR-8050L unlock until dump time so redump-style ISO output can
566   capture the visible DVD-video view before switching to the unlocked game view.
567 - Added optional Xbox redump metadata output: `.pfi.bin`, `.dmi.bin`, and
568   `.redump.json` next to Xbox `-i` ISO dumps when the drive exposes PFI/DMI.
569 - Xbox `-i` and `-X` both attempt to read the 32-sector game lead-in and
570   zero-fill only unreadable lead-in sectors.
571 - Confirmed non-Xbox drives remain on FriiDump's original autodetection and
572   command/method paths unless Xbox mode is explicitly forced with `-T 4`.
573 - Added Xbox XISO output mode: `-X <file>` / `--xiso <file>`.
574 - XISO output probes XDVDFS at LBA 306112, falls back to LBA 32, copies
575   dual-layer retail-style images through LBA 1913920, and uses the XDVDFS
576   VolumeSize byte field for single-layer/homebrew-style images.
577 - XISO output attempts to read the 32-sector lead-in from the active drive view
578   and zero-fills only unreadable lead-in sectors.
579 - Added MMC/SCSI helpers for READ CAPACITY(10), READ(10), MODE SENSE(10),
580   MODE SELECT(10), MODE SELECT(6), READ DVD STRUCTURE, and TEST UNIT READY.
581 - Updated documentation for Xbox usage, options, output modes, and the
582   GDR-8050L handshake.
583 - Fixed `-A` / `--allmethods` so each command/method attempt opens a
584   fresh drive/disc object and binds the command-specific memory-dump function
585   before testing the method. The sweep now includes Xbox direct READ(10)
586   method 10.
587 - Fixed progress timing/statistics propagation from the dump routine to the
588   command-line front-end.
589 - Fixed the command-line process return code so successful operations return
590   `EXIT_SUCCESS` and failures return `EXIT_FAILURE`.
591 - Replaced the legacy MD5 and SHA-1 hash implementations with the fixed
592   implementations from the merged hash-upgrade branch.
593 - Added SHA-256 hashing/reporting for raw ISO, unscrambled ISO, and Xbox XISO
594   outputs while preserving existing CRC32/MD5/SHA-1 reporting.
595 - Updated the GDR-8050L challenge-table path to use the fixed SHA-1
596   implementation for its RC4 key derivation.
597 > jtryba
598 0.5.3 (15/03/2010)
599 - Fixed failing after 1st DL media layer with non-Hitachi methods.
600 - Fixed still hashing with 'nohash' parameter when resuming.
601 - Fixed resuming larger files (~4 GB).
602 - Fixed unscrambling larger files.
603 - Faster file unscrambling.
604 - Slight modifications to methods;
605   possible performance increase with Hitachi based devices.
606 - Restructured methods and added some new ones.
607 - Added layer break information.
608 - Added current position output when error occurs.
609 - Added SH-D162A, SH-D162B, SH-D162C & SH-D162D as supported.
610 > Jackal, gorelord4e, themabus
611 0.5.2 (10/01/2010)
612 - Corrected handling of standard DVDs
613   (type should be forced to 3, when dumping or unscrambling).
614 - Better response to 'speed' parameter.
615 - Uniform raw output for all devices: unscrambled data + headers.
616 - Slight performance increase (~1650 MB/h on LH-18A1H).
617 - Added LH-18A1P, LH-20A1H, LH-20A1P to list of supported devices.
618 > Jackal, themabus
619 0.5.1 (01/12/2009)
620 - New command 'vanilla 2384'.
621 - Restructured methods, some now support optional parameters.
622 - Ability to select standard DVDs as source.
623 - Limited recognized Lite-On drives to LH-18A1H.
624 > Jackal, themabus
625 0.5.0 (27/11/2009)
626 - Regions: Italy, France, Germany, Spain, Australia, PAL-X, PAL-Y.
627 - Updated publisher list from http://wiitdb.com/Company/HomePage
628 - Included GDR8082N & GDR8161B as supported Hitachi drives.
629 - Lite-On, Renesas & vanilla memory buffer access commands.
630   Lite-On tested on LH-18A1H, should work on many more
631   (LH*, SH, DH*, DW* & possibly other MediaTek drives)
632 - Shifted methods 1..4 to 0..3 and added new ones 4..6
633   Associated known drives with default methods.
634 - Additional commandline parameters:
635   stop, speed, command, type, size
636 - Some minor changes and fixes.
637 > Jackal, Truman, themabus
638 0.4 (08/03/2008)
639 - Support for DL Wii DVDs.
640 > mado3689
641 0.3 (06/10/2007)
642 - First public release.
643
644 Build packaging note:
645   - Fixed direct MSVC response-file build for copied GDR-8050L reference hook by avoiding duplicate sha1.obj output names and by exporting disc_get_device()/dvd_get_device().
646
647
648 2026-06-29 / HLDS 0xE7 Windows volume guard
649 ---------------------------------------------
650
651 * The existing Xbox FSCTL_LOCK_VOLUME-style guard is now exposed as a shared
652   FriiDump volume lock helper.
653 * HLDS 0xE7 GC/Wii paths apply the guard before disc seed retrieval, so Windows
654   Explorer/AutoPlay is less likely to interrupt GCC-4160N/GCC-4240N Type1 seed
655   reads with an "insert a disc" prompt.
656 * The guard is warning-only: if Windows already owns a transient handle, FriiDump
657   logs the failure and continues so the hardware read result remains authoritative.
658
659
660 2026-06-30 / GCC-4160N Type1 confirmed
661 ---------------------------------------
662
663 * Updated observed Sonic Mega Collection (US) fleet results: GCC-4160N/0010
664   Type1 (0x00a13000, one memory window) completed a verified matching dump.
665 * Recorded observed rate 1613.08 MB/h and total runtime 3127.98 seconds.
666 * Documented that AutoPlay had to be disabled for reliable GCC-4160N seed
667   retrieval even though the shared volume guard succeeded.
668
669 2026-07-01  HLDS 0xE7 GDR-8081N scan mode
670
671         * Added --hlds-e7-scan / --scan-log for fast HIT 0xE7 cache-base discovery without seed cracking or full dumping.
672         * The scan fills the drive cache with tiny reads, tries candidate cache/memdump bases, scores raw-sector ID headers, and writes a JSON report.
673         * Seeded GDR-8081N scan candidates from known HLDS families plus first-pass GDR-8081N firmware/binary constants and aliases.
674         * Preserved GDR-8050L modified-firmware read-quiet behavior and GDR-3120L Xbox-only support wording.
675
676 2026-07-10 - FriiDump 0.5.3.3
677   * Added media-ready preflight before disc detection and GC/Wii seed retrieval.
678   * TEST UNIT READY now blocks vendor seed/cache commands when no disc is present.
679   * Added bounded retry for transient becoming-ready / unit-attention states.
680   * Added clear no-disc and not-ready sense reporting.
681   * Added live INQUIRY alias `GCC4244/B103` for the promoted GCC-4244N B103 profile.
682   * Promoted the successfully validated GDR-8163B 0L20, 0D20, 0B30, 0E15, and 0M26 rows to live-validated status; retained 0L30 live validation.
683   * Added a consolidated real-hardware validation report with Redump comparisons.
684
685
686 2026-07-10 - FriiDump 0.5.3.4
687   * Corrected Windows/Linux MMC error semantics: ignore_errors now suppresses diagnostics only and no longer converts failed commands into success.
688   * Windows SCSI pass-through now treats non-GOOD SCSI status as command failure even when DeviceIoControl succeeds.
689   * Strengthened media preflight: TEST UNIT READY is followed by READ CAPACITY(10), requiring a nonzero 2048-byte logical-block medium before vendor seed/cache commands.
690   * Fixed empty-tray false positive observed on HL-DT-ST CDRW/DVD GCC4244/B103 over USB.
691   * Added completed GDR-8163B 0L23 Redump-matching validation result.
692
693 Candidate15
694 -----------
695 * Preserve explicit CAP_SYS_RAWIO build/runtime documentation and preflight.
696 * Normalize future source timestamps before Linux builds.
697 * Remove production raw-I/O preflight path-truncation warning signatures.
698 * Normalize source ZIP member timestamps.