]> FriiDump Source - friidump.git/blob - docs/reports/FRIIDUMP_XBOX_STATE_AWARE_HANDSHAKE_0.5.3.10.md
FriiDump 0.5.3.16 candidate: add native reports and Linux Xbox support
[friidump.git] / docs / reports / FRIIDUMP_XBOX_STATE_AWARE_HANDSHAKE_0.5.3.10.md
1 # FriiDump 0.5.3.10 state-aware GDR-8050L handshake cleanup
2
3 ## Decision
4
5 The unconditional pre-metadata `unlock -> tray cycle -> unlock` sequence is no
6 longer justified. Live dumping proves that the GDR-8050L handshake can expose
7 the game view from the locked/video state without a preceding media change.
8
9 ## Implemented flow
10
11 1. Ensure the drive is ready.
12 2. Read entry READ CAPACITY(10).
13 3. If the visible sector count already represents the game view, reuse it.
14 4. Otherwise issue one direct full handshake and verify READ CAPACITY(10).
15 5. Only if verification fails, perform one tray-cycle recovery and retry once.
16 6. Read title/XDVDFS/media metadata.
17 7. Perform the existing intentional tray cycle to restore the locked/video view.
18 8. Dump VIDEO-L0 and capture VIDEO-L1.
19 9. Issue one full handshake and dump the game/XDVDFS range.
20 10. Return evidence to FriiDump, verify against the Xbox DAT, and issue one final
21     STOP UNIT.
22
23 ## Expected normal sequence
24
25 Cold locked/video entry:
26
27 ```text
28 handshake -> metadata -> tray cycle -> video -> handshake -> game
29 ```
30
31 Already-unlocked entry:
32
33 ```text
34 metadata -> tray cycle -> video -> handshake -> game
35 ```
36
37 Recovery sequence (only after direct handshake verification fails):
38
39 ```text
40 direct handshake failed -> tray cycle -> handshake retry
41 ```
42
43 ## Metadata correction
44
45 The XDVD sidecar now records that authentication/unlock acceptance does not
46 require a media transition. A media transition is still required to restore the
47 locked/video view before capturing the visible video ranges.
48
49 ## Live baseline used
50
51 FriiDump 0.5.3.9 completed Red Faction II as a 3,820,880-sector reconstructed
52 XGD1 image, finalized CRC32/MD5/SHA-1/SHA-256 evidence, wrote media/XDVD/PFI/DMI
53 artifacts and an atomic schema-2 Redump report, and issued one final STOP UNIT.
54 The trace showed three complete handshakes and two tray cycles; this update
55 removes the redundant pre-metadata handshake/tray pair while retaining recovery.
56
57 ## Safety boundary
58
59 No firmware write, flash, erase, vendor-memory write, 3B06, 3B07, or FLASHUP
60 operation was added or changed.