-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/fwmgr to identify missing areas
[*] Emulating binary name: fwmgr in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-arm-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract (1/2)
[*] Using CPU config:
1 brk(NULL) = 0x4003c8a4
1 uname(0x3ff1d920) = 0
1 access("/etc/ld.so.preload",R_OK) = 0
1 openat(AT_FDCWD,"/etc/ld.so.preload",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1d8f0) = 0
1 mmap2(NULL,19,PROT_READ|PROT_WRITE,MAP_PRIVATE,3,0) = 0x3f7cf000
1 close(3) = 0
1 munmap(0x3f7cf000,19) = 0
1 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libbootblock.so.2",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d230,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf78) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7ce000
1 mmap2(NULL,73748,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7bb000
1 mprotect(0x3f7bd000,61440,PROT_NONE) = 0
1 mmap2(0x3f7cc000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f7cc000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libcrypto.so.1.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d220,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf68) = 0
1 mmap2(NULL,1677788,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f621000
1 mprotect(0x3f791000,61440,PROT_NONE) = 0
1 mmap2(0x3f7a0000,94208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16f) = 0x3f7a0000
1 mmap2(0x3f7b7000,14812,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7b7000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libkeyutils.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d210,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf58) = 0
1 mmap2(NULL,77832,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f60d000
1 mprotect(0x3f610000,61440,PROT_NONE) = 0
1 mmap2(0x3f61f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f61f000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libsystemd.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d200,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf48) = 0
1 mmap2(NULL,659836,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f56b000
1 mprotect(0x3f5f7000,65536,PROT_NONE) = 0
1 mmap2(0x3f607000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8c) = 0x3f607000
1 mmap2(0x3f60c000,380,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f60c000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libz.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1f0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf38) = 0
1 mmap2(NULL,126984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f54b000
1 mprotect(0x3f55a000,61440,PROT_NONE) = 0
1 mmap2(0x3f569000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xe) = 0x3f569000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libc.so.6",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1e0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf28) = 0
1 mmap2(NULL,1148532,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f432000
1 mprotect(0x3f52f000,61440,PROT_NONE) = 0
1 mmap2(0x3f53e000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xfc) = 0x3f53e000
1 mmap2(0x3f542000,34420,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f542000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libzstd.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1c0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cf08) = 0
1 mmap2(NULL,839716,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f364000
1 mprotect(0x3f421000,61440,PROT_NONE) = 0
1 mmap2(0x3f430000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xbc) = 0x3f430000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libcap.so.2",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d1b0,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1cef8) = 0
1 mmap2(NULL,86052,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f34e000
1 mprotect(0x3f353000,61440,PROT_NONE) = 0
1 mmap2(0x3f362000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f362000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f34c000
1 set_tid_address(0x3f34c6b8) = 1
1 set_robust_list(0x3f34c6c0,12) = -1 errno=38 (Function not implemented)
1 mprotect(0x3f53e000,8192,PROT_READ) = 0
1 mprotect(0x3f362000,4096,PROT_READ) = 0
1 mprotect(0x3f430000,4096,PROT_READ) = 0
1 mprotect(0x3f569000,4096,PROT_READ) = 0
1 mprotect(0x3f607000,16384,PROT_READ) = 0
1 mprotect(0x3f61f000,4096,PROT_READ) = 0
1 mprotect(0x3f7a0000,90112,PROT_READ) = 0
1 mprotect(0x3f7cc000,4096,PROT_READ) = 0
1 mprotect(0x4002e000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814776,1062487348,1062512050,1,1062469220) = 0
1 prctl(23,32,0,1060515844,32,0) = 1
1 prctl(23,48,0,1060515844,48,33) = -1 errno=22 (Invalid argument)
1 prctl(23,40,0,1,40,33) = 1
1 prctl(23,44,0,1,44,41) = -1 errno=22 (Invalid argument)
1 prctl(23,42,0,1,42,41) = -1 errno=22 (Invalid argument)
1 prctl(23,41,0,1,41,41) = -1 errno=22 (Invalid argument)
1 rt_sigprocmask(SIG_SETMASK,0x3ff1dcc4,0x3ff1dbb4,8) = 0
1 rt_sigaction(SIGILL,0x3ff1da78,0x3ff1db04) = 0
1 rt_sigprocmask(SIG_BLOCK,NULL,0x3f7b6cac,8) = 0
--- SIGILL {si_signo=SIGILL, si_code=2, si_addr=0x3f66b8c6} ---
1 rt_sigprocmask(SIG_SETMASK,0x3f7b6cac,NULL,8) = 0
1 rt_sigaction(SIGILL,0x3ff1da78,NULL) = 0
1 rt_sigprocmask(SIG_SETMASK,0x3ff1dbb4,NULL,8) = 0
1 openat(AT_FDCWD,"/etc/fwmgr.conf",O_RDONLY) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/etc/fwmgr.conf",O_RDONLY) = 3
1 read(3,0x3ff1d7e5,1022) = 114
1 close(3) = 0
1 openat(AT_FDCWD,"/proc/cmdline",O_RDONLY) = 3
1 read(3,0x400334f0,4095) = 119
1 close(3) = 0
1 write(2,0x40018e58,16)Missing command
= 16
1 exit_group(1)
[*] Identification of missing filesytem areas.
[*] Found missing area: /etc/fwmgr.conf
[*] Trying to identify this missing file: fwmgr.conf
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/etc/fwmgr.conf
[*] Copy file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/etc/fwmgr.conf to /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/etc/
[*] Found missing area: /etc/ld.so.cache
[*] Trying to identify this missing file: ld.so.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/etc/ld.so.cache
-----------------------------------------------------------------