-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./sbin/block to identify missing areas
[*] Emulating binary name: block in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-mipsel-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract (1/1)
[*] Using CPU config:
1 brk(NULL) = 0x00417300
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e730) = 0
1 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e4b4,512) = 512
1 prctl(46,10,1081205940,512,1073770496,0) = 0
1 _llseek(3,0,704,0x4071e270,SEEK_SET) = 0
1 read(3,0x4071e2a0,32) = 32
1 fstat64(3,0x4071e378) = 0
1 mmap2(NULL,94912,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ffb0000
1 mprotect(0x3ffb7000,61440,PROT_NONE) = 0
1 mmap2(0x3ffc6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3ffc6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libblkid-tiny.so",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libblkid-tiny.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e49c,512) = 512
1 prctl(46,8,1081205916,512,1073770496,0) = 0
1 fstat64(3,0x4071e360) = 0
1 mmap2(NULL,94576,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff98000
1 mprotect(0x3ff9d000,61440,PROT_NONE) = 0
1 mmap2(0x3ffac000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3ffac000
1 mmap2(0x3ffae000,4464,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffae000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e484,512) = 512
1 prctl(46,9,1081205892,512,1073770496,0) = 0
1 _llseek(3,0,680,0x4071e240,SEEK_SET) = 0
1 read(3,0x4071e270,32) = 32
1 fstat64(3,0x4071e348) = 0
1 mmap2(NULL,73952,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff85000
1 mprotect(0x3ff87000,61440,PROT_NONE) = 0
1 mmap2(0x3ff96000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3ff96000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libuci.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e46c,512) = 512
1 prctl(46,8,1081205868,512,1073770496,0) = 0
1 fstat64(3,0x4071e330) = 0
1 mmap2(NULL,94880,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff6d000
1 mprotect(0x3ff74000,61440,PROT_NONE) = 0
1 mmap2(0x3ff83000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3ff83000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libubox.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e454,512) = 512
1 prctl(46,8,1081205844,512,1073770496,0) = 0
1 fstat64(3,0x4071e318) = 0
1 mmap2(NULL,99696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff54000
1 mprotect(0x3ff5c000,61440,PROT_NONE) = 0
1 mmap2(0x3ff6b000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x7) = 0x3ff6b000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libubus.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e43c,512) = 512
1 prctl(46,8,1081205820,512,1073770496,0) = 0
1 fstat64(3,0x4071e300) = 0
1 mmap2(NULL,82560,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff3f000
1 mprotect(0x3ff43000,61440,PROT_NONE) = 0
1 mmap2(0x3ff52000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3) = 0x3ff52000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libblobmsg_json.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e424,512) = 512
1 prctl(46,8,1081205796,512,1073770496,0) = 0
1 fstat64(3,0x4071e2e8) = 0
1 mmap2(NULL,73904,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff2c000
1 mprotect(0x3ff2e000,61440,PROT_NONE) = 0
1 mmap2(0x3ff3d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3ff3d000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libjson-c.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e40c,512) = 512
1 prctl(46,8,1081205772,512,1073770496,0) = 0
1 fstat64(3,0x4071e2d0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff2a000
1 mmap2(NULL,94800,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff12000
1 mprotect(0x3ff19000,61440,PROT_NONE) = 0
1 mmap2(0x3ff28000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3ff28000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e3f4,512) = 512
1 prctl(46,9,1081205748,512,1073770496,0) = 0
1 fstat64(3,0x4071e2b8) = 0
1 mmap2(NULL,144160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3feee000
1 mprotect(0x3ff01000,61440,PROT_NONE) = 0
1 mmap2(0x3ff10000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x12) = 0x3ff10000
1 mprotect(0x4071e000,4096,PROT_EXEC|PROT_READ|PROT_WRITE|PROT_GROWSDOWN) = 0
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e3dc,512) = 512
1 prctl(46,13,1081205724,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e198,SEEK_SET) = 0
1 read(3,0x4071e1c8,32) = 32
1 fstat64(3,0x4071e2a0) = 0
1 mmap2(NULL,1630336,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fd5f000
1 mprotect(0x3fed5000,61440,PROT_NONE) = 0
1 mmap2(0x3fee4000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3fee4000
1 mmap2(0x3feeb000,8320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3feeb000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e32c,512) = 512
1 prctl(46,12,1081205548,512,1073770496,0) = 0
1 _llseek(3,0,768,0x4071e0e0,SEEK_SET) = 0
1 read(3,0x4071e110,32) = 32
1 fstat64(3,0x4071e1f0) = 0
1 mmap2(NULL,181232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fd32000
1 mprotect(0x3fd4c000,61440,PROT_NONE) = 0
1 mmap2(0x3fd5b000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3fd5b000
1 mmap2(0x3fd5d000,5104,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3fd5d000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fd30000
1 set_thread_area(0x3fd374a0) = 0
1 mprotect(0x3fee4000,16384,PROT_READ) = 0
1 mprotect(0x3fd5b000,4096,PROT_READ) = 0
1 mprotect(0x3ff10000,4096,PROT_READ) = 0
1 mprotect(0x3ff28000,4096,PROT_READ) = 0
1 mprotect(0x3ff6b000,4096,PROT_READ) = 0
1 mprotect(0x3ff3d000,4096,PROT_READ) = 0
1 mprotect(0x3ff52000,4096,PROT_READ) = 0
1 mprotect(0x3ff83000,4096,PROT_READ) = 0
1 mprotect(0x3ff96000,4096,PROT_READ) = 0
1 mprotect(0x3ffc6000,4096,PROT_READ) = 0
1 mprotect(0x3ffac000,4096,PROT_READ) = 0
1 mprotect(0x00416000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 set_tid_address(0x3fd30078) = 1
1 set_robust_list(0x3fd30080,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x4071ed78,NULL) = 0
1 rt_sigaction(33,0x4071ed78,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071edc0,NULL,16) = 0
1 getrlimit(3,0x4071ee48) = 0
1 umask(0) = 18
1 ioctl(1,TCGETS,0x4071ec80) = -1 errno=25 (Inappropriate ioctl for device)
1 ioctl(1,TCGETS,0x4071ec80) = -1 errno=25 (Inappropriate ioctl for device)
1 brk(NULL) = 0x00417300
1 brk(0x00438300) = 0x00438300
1 brk(0x00439000) = 0x00439000
1 time(0,1081208028,1,2130640638,0,0) = 1690095950
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 socket(PF_UNIX,SOCK_DGRAM|SOCK_CLOEXEC,IPPROTO_IP) = 3
1 connect(3,0x3feeb5d0,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 exit_group(-1)
[*] Identification of missing filesytem areas.
[*] Found missing area: /etc/ld.so.cache
[*] Trying to identify this missing file: ld.so.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/ld.so.cache
[*] Found missing area: /etc/localtime
[*] Trying to identify this missing file: localtime
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/localtime
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/localtime to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/
[*] Found missing area: /lib/tls/libblkid-tiny.so
[*] Trying to identify this missing file: libblkid-tiny.so
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/libblkid-tiny.so
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/libblkid-tiny.so to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/tls/
-----------------------------------------------------------------