Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use #1

Open
ghost opened this issue May 13, 2024 · 0 comments
Open

How to use #1

ghost opened this issue May 13, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented May 13, 2024

Is it normal when i ./emulate SAMFW.COM_SM-J400G_SMA_J400GDXU2ARH1_fac/BL_J400GDXU2ARH1_CL13944375_QB19170694_REV00_user_low_ship/sboot.bin

it didn't wait an input instead it shows debug message and ends the prog

======================================================================
PSTATE:
pc : 0x000000008f000000 lr : 0x0000000000000000 sp : 0x000000008f600000
x0 : 0x0000000000000000 x1 : 0x0000000000000000 x2 : 0x0000000000000000
x3 : 0x0000000000000000 x4 : 0x0000000000000000 x5 : 0x0000000000000000
x6 : 0x0000000000000000 x7 : 0x0000000000000000 x8 : 0x0000000000000000
x9 : 0x0000000000000000 x10 : 0x0000000000000000 x11 : 0x0000000000000000
x12 : 0x0000000000000000 x13 : 0x0000000000000000 x14 : 0x0000000000000000
x15 : 0x0000000000000000 x16 : 0x0000000000000000 x17 : 0x0000000000000000
x18 : 0x0000000000000000 x19 : 0x0000000000000000 x20 : 0x0000000000000000
x21 : 0x0000000000000000 x22 : 0x0000000000000000 x23 : 0x0000000000000000
x24 : 0x0000000000000000 x25 : 0x0000000000000000 x26 : 0x0000000000000000
x27 : 0x0000000000000000 x28 : 0x0000000000000000 x29 : 0x0000000000000000
Disassembly:
0x8f000000: udf #0x10
0x8f000004: tbz x19, #0x30, #0x8effc6cc
0x8f000008: udf #0
0x8f00000c: udf #0
0x8f000010: b #0x8f000018
0x8f000014: b #0x8f000014
0x8f000018: ldr x20, #0x8f000070
0x8f00001c: ldr w20, [x20]
0x8f000020: mov x21, #0x80000000
0x8f000024: tst w20, w21
0x8f000028: b.eq #0x8f000030
0x8f00002c: b #0x8f00005c
0x8f000030: ldr x0, #0x8f000078
0x8f000034: ldr x1, #0x8f000080
0x8f000038: ldr x3, #0x8f000088
0x8f00003c: ldr x1, #0x8f000090
0x8f000040: mov x2, #0
0x8f000044: cmp x3, x1
0x8f000048: b.eq #0x8f000054
0x8f00004c: str w2, [x3], #4
0x8f000050: b #0x8f000044
0x8f000054: b #0x8f0000a0
0x8f000058: b #0x8f000058
0x8f00005c: ldr x4, #0x8f000098
0x8f000060: ldr w4, [x4]
0x8f000064: add x4, x4, #0x10
0x8f000068: br x4
0x8f00006c: udf #0

i expect it to hang and wait for the inputs so that emulate the boot and i can test flash it with odin
if there's a guild or an video it'll be nice , thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants