template:xsr2

Differences

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

Link to this comparison view

Next revision
Previous revision
template:xsr2 [2025/03/29 04:51] – created lnrctemplate:xsr2 [2025/12/12 19:55] (current) lnrc
Line 1: Line 1:
-NOTE: This extraction method may not work on WSL. If 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_bcombine the bin files and the oob files 
-  - Download [[https://github.com/ktdumper/fs-tools/tree/main/xsr2|fs-tools]] from Github +  - Use the following command <code>python .\assemble_xsr2.py onenand.bin output_dir</code> 
-  - In the XSR2 folderrun the following command <code>sudo apt install gcc-arm-linux-gnueabi qemu qemu-user-static qemu-system-arm</code> +  - In the output directoryselect the largest partition and use TestDisk
-  - 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<code>export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi +
-./main onenand.bin onenand.oob B output.bin</code> +
-  - If the command doesn’t worktry this one instead<code>export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi +
-./main onenand.bin onenand.oob A output.bin</code>+
  
 +NOTE: If TestDisk says that the partition(s) can't be recovered, try [UNDELETE] instead of Analyze.
  • template/xsr2.1743220301.txt.gz
  • Last modified: 2025/03/29 04:51
  • by lnrc