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
template:xsr2 [2025/03/30 06:28] lnrctemplate:xsr2 [2025/06/26 21:26] (current) lnrc
Line 4: Line 4:
   - In the XSR2 folder, run the following command <code>sudo apt install gcc-arm-linux-gnueabi qemu qemu-user-static qemu-system-arm</code>   - In the XSR2 folder, run 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>   - 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+  - Place onenand.bin and onenand.oob into the XSR2 folder and run the following command based on the part specified in the phone table at the top of the page. If no part is specified, try all of the commands listed below until one works. <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 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 A output.bin</code><code>export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi
 +./main onenand.bin onenand.oob F output.bin</code><code>export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi
 ./main onenand.bin onenand.oob 8 output.bin</code> ./main onenand.bin onenand.oob 8 output.bin</code>
 After this, you must use TestDisk to acquire the data. After this, you must use TestDisk to acquire the data.
  • template/xsr2.txt
  • Last modified: 2025/06/26 21:26
  • by lnrc