-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/zip to identify missing areas
[*] Emulating binary name: zip 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) = 0x004831d4
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e740) = 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/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e4c4,512) = 512
1 prctl(46,9,1081205956,512,1073770496,0) = 0
1 fstat64(3,0x4071e388) = 0
1 mmap2(NULL,144160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ffa4000
1 mprotect(0x3ffb7000,61440,PROT_NONE) = 0
1 mmap2(0x3ffc6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x12) = 0x3ffc6000
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,0x4071e4ac,512) = 512
1 prctl(46,13,1081205932,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e268,SEEK_SET) = 0
1 read(3,0x4071e298,32) = 32
1 fstat64(3,0x4071e370) = 0
1 mmap2(NULL,1630336,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fe15000
1 mprotect(0x3ff8b000,61440,PROT_NONE) = 0
1 mmap2(0x3ff9a000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3ff9a000
1 mmap2(0x3ffa1000,8320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffa1000
1 close(3) = 0
1 set_thread_area(0x3ffd0720) = 0
1 mprotect(0x3ff9a000,16384,PROT_READ) = 0
1 mprotect(0x3ffc6000,4096,PROT_READ) = 0
1 mprotect(0x00433000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 brk(NULL) = 0x004831d4
1 brk(0x004a41d4) = 0x004a41d4
1 brk(0x004a5000) = 0x004a5000
1 openat(AT_FDCWD,"/lib/locale/locale-archive",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/share/locale/locale.alias",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/locale/en_US.UTF-8/LC_CTYPE",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/locale/en_US.utf8/LC_CTYPE",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/locale/en_US/LC_CTYPE",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/locale/en.UTF-8/LC_CTYPE",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/locale/en.utf8/LC_CTYPE",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/locale/en/LC_CTYPE",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 ioctl(1,TCGETS,0x4071ec68) = -1 errno=25 (Inappropriate ioctl for device)
1 rt_sigaction(SIGINT,0x4071eb90,0x4071eb70) = 0
1 rt_sigaction(SIGTERM,0x4071eb90,0x4071eb70) = 0
1 rt_sigaction(SIGIOT,0x4071eb90,0x4071eb70) = 0
1 rt_sigaction(SIGBUS,0x4071eb90,0x4071eb70) = 0
1 rt_sigaction(SIGILL,0x4071eb90,0x4071eb70) = 0
1 rt_sigaction(SIGSEGV,0x4071eb90,0x4071eb70) = 0
1 ioctl(1,TCGETS,0x4071ec48) = -1 errno=25 (Inappropriate ioctl for device)
1 time(0,0,0,4,0,0) = 1690095867
1 fstat64(0,0x4071ec40) = 0
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 _llseek(1,0,0,0x4071eba0,SEEK_CUR) = 0
1 _llseek(1,0,4024,0x4071eb98,SEEK_SET) = 0
1 write(2,0x4071c6f8,11) adding: - = 11
1 fstat64(0,0x4071ebb0) = 0
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 read(0,0x4731d4,65536) = 0
1 write(1,0x483820,51)PK- =ŸóV ÿÿÿÿÿÿÿÿ - = 51
1 _llseek(1,0,4074,0x4071ea28,SEEK_SET) = 0
1 _llseek(1,0,4075,0x4071ea28,SEEK_SET) = 0
1 close(0) = 0
1 _llseek(1,0,0,0x4071eb30,SEEK_SET) = 0
1 write(1,0x483820,51)PK- =ŸóV ÿÿÿÿÿÿÿÿ - = 51
1 _llseek(1,0,51,0x4071eb30,SEEK_SET) = 0
1 write(2,0x4071c668,13) (stored 0%)
= 13
1 write(1,0x483820,145)PK- =ŸóV ¶! -PK, - / 3 PK b PK / 3 = 145
1 close(1) = 0
1 exit_group(0)
[*] 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/locale/en.UTF-8/LC_CTYPE
[*] Trying to identify this missing file: LC_CTYPE
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en.UTF-8
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en.UTF-8/LC_CTYPE
[*] Found missing area: /lib/locale/en.utf8/LC_CTYPE
[*] Trying to identify this missing file: LC_CTYPE
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en.utf8
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en.utf8/LC_CTYPE
[*] Found missing area: /lib/locale/en/LC_CTYPE
[*] Trying to identify this missing file: LC_CTYPE
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en/LC_CTYPE
[*] Found missing area: /lib/locale/en_US.UTF-8/LC_CTYPE
[*] Trying to identify this missing file: LC_CTYPE
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en_US.UTF-8
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en_US.UTF-8/LC_CTYPE
[*] Found missing area: /lib/locale/en_US.utf8/LC_CTYPE
[*] Trying to identify this missing file: LC_CTYPE
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en_US.utf8
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en_US.utf8/LC_CTYPE
[*] Found missing area: /lib/locale/en_US/LC_CTYPE
[*] Trying to identify this missing file: LC_CTYPE
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en_US
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/en_US/LC_CTYPE
[*] Found missing area: /lib/locale/locale-archive
[*] Trying to identify this missing file: locale-archive
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/locale-archive
[*] Found missing area: /share/locale/locale.alias
[*] Trying to identify this missing file: locale.alias
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/share/locale/locale.alias
-----------------------------------------------------------------