template:xsr2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
template:xsr2 [2025/03/30 06:28] lnrctemplate:xsr2 [2025/12/12 19:55] (current) lnrc
Line 1: Line 1:
-NOTEThis extraction method may not work on WSLIf you are having errors after trying all steps, try switching from WSL to a full Linux installation.+  - Download [[https://github.com/irdkwia/various-keitai-assemble/blob/main/assemble_xsr2.py|assemble_xsr2.py]] from Github 
 +  - IF onenand is split into onenand_a and onenand_b, combine the bin files and the oob files 
 +  - Use the following command <code>python .\assemble_xsr2.py onenand.bin output_dir</code> 
 +  - In the output directory, select the largest partition and use TestDisk
  
-  - Download [[https://github.com/ktdumper/fs-tools/tree/main/xsr2|fs-tools]] from Github +NOTEIf TestDisk says that the partition(s) can't be recoveredtry [UNDELETE] instead of Analyze.
-  - In the XSR2 folderrun the following command <code>sudo apt install gcc-arm-linux-gnueabi qemu qemu-user-static qemu-system-arm</code> +
-  - Then build with the following command<code>arm-linux-gnueabi-gcc xsr_stl.ko main.c -o main</code> +
-  - Place onenand.bin and onenand.oob into the XSR2 folder and run the following command based on the type of part<code>export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi +
-./main onenand.bin onenand.oob B output.bin</code><code>export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi +
-./main onenand.bin onenand.oob A output.bin</code><code>export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi +
-./main onenand.bin onenand.oob 8 output.bin</code> +
-After this, you must use TestDisk to acquire the data.+
  • template/xsr2.1743308935.txt.gz
  • Last modified: 2025/03/30 06:28
  • by lnrc