-----------------------------------------------------------------

[*] Initial strace run with jchroot on the command ./usr/bin/xz to identify missing areas

[*] Emulating binary name: xz 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) = 0x00420920
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e750) = 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/liblzma.so.5",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/lib/tls",0x4071e388) = 0
1 openat(AT_FDCWD,"/lib/liblzma.so.5",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/lib",0x4071e388) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/liblzma.so.5",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/usr/lib/tls",0x4071e388) = 0
1 openat(AT_FDCWD,"/usr/lib/liblzma.so.5",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e4d4,512) = 512
1 prctl(46,7,1081205972,512,1073770496,0) = 0
1 fstat64(3,0x4071e398) = 0
1 mmap2(NULL,147168,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 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e4bc,512) = 512
1 prctl(46,9,1081205948,512,1073770496,0) = 0
1 fstat64(3,0x4071e380) = 0
1 mmap2(NULL,144160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff80000
1 mprotect(0x3ff93000,61440,PROT_NONE) = 0
1 mmap2(0x3ffa2000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x12) = 0x3ffa2000
1 mprotect(0x4071e000,4096,PROT_EXEC|PROT_READ|PROT_WRITE|PROT_GROWSDOWN) = 0
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e4a4,512) = 512
1 prctl(46,12,1081205924,512,1073770496,0) = 0
1 _llseek(3,0,768,0x4071e258,SEEK_SET) = 0
1 read(3,0x4071e288,32) = 32
1 fstat64(3,0x4071e368) = 0
1 mmap2(NULL,181232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff53000
1 mprotect(0x3ff6d000,61440,PROT_NONE) = 0
1 mmap2(0x3ff7c000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3ff7c000
1 mmap2(0x3ff7e000,5104,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ff7e000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e48c,512) = 512
1 prctl(46,13,1081205900,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e248,SEEK_SET) = 0
1 read(3,0x4071e278,32) = 32
1 fstat64(3,0x4071e350) = 0
1 mmap2(NULL,1630336,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fdc4000
1 mprotect(0x3ff3a000,61440,PROT_NONE) = 0
1 mmap2(0x3ff49000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3ff49000
1 mmap2(0x3ff50000,8320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ff50000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fdc2000
1 set_thread_area(0x3fdc94a0) = 0
1 mprotect(0x3ff49000,16384,PROT_READ) = 0
1 mprotect(0x3ff7c000,4096,PROT_READ) = 0
1 mprotect(0x3ffa2000,4096,PROT_READ) = 0
1 mprotect(0x3ffc6000,4096,PROT_READ) = 0
1 mprotect(0x0041b000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 set_tid_address(0x3fdc2078) = 1
1 set_robust_list(0x3fdc2080,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x4071ed98,NULL) = 0
1 rt_sigaction(33,0x4071ed98,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071ede0,NULL,16) = 0
1 getrlimit(3,0x4071ee68) = 0
1 fcntl64(0,F_GETFD) = 0
1 fcntl64(1,F_GETFD) = 0
1 fcntl64(2,F_GETFD) = 0
1 geteuid() = 0
1 pipe(4326480,1,1081208652,0,0,0) = 3
1 fcntl64(3,F_GETFL) = 0
1 fcntl64(3,F_SETFL,O_RDONLY|O_NONBLOCK) = 0
1 fcntl64(4,F_GETFL) = 1
1 fcntl64(4,F_SETFL,O_WRONLY|O_NONBLOCK) = 0
1 brk(NULL) = 0x00420920
1 brk(0x00441920) = 0x00441920
1 brk(0x00442000) = 0x00442000
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/C.UTF-8/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/locale/C.utf8/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/locale/C/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 ioctl(2,TCGETS,0x4071ecd8) = -1 errno=25 (Inappropriate ioctl for device)
1 rt_sigaction(SIGALRM,0x4071ed40,NULL) = 0
1 rt_sigaction(SIGUSR1,0x4071ed40,NULL) = 0
1 sysinfo(0x4071ed00) = 0
1 ioctl(1,TCGETS,0x4071ed68) = -1 errno=25 (Inappropriate ioctl for device)
1 rt_sigaction(SIGINT,NULL,0x4071ec80) = 0
1 rt_sigaction(SIGINT,0x4071eca0,NULL) = 0
1 rt_sigaction(SIGTERM,NULL,0x4071ec80) = 0
1 rt_sigaction(SIGTERM,0x4071eca0,NULL) = 0
1 rt_sigaction(SIGHUP,NULL,0x4071ec80) = 0
1 rt_sigaction(SIGHUP,0x4071eca0,NULL) = 0
1 rt_sigaction(SIGPIPE,NULL,0x4071ec80) = 0
1 rt_sigaction(SIGPIPE,0x4071eca0,NULL) = 0
1 rt_sigaction(SIGXCPU,NULL,0x4071ec80) = 0
1 rt_sigaction(SIGXCPU,0x4071eca0,NULL) = 0
1 rt_sigaction(SIGXFSZ,NULL,0x4071ec80) = 0
1 rt_sigaction(SIGXFSZ,0x4071eca0,NULL) = 0
1 ioctl(1,TCGETS,0x4071ed68) = -1 errno=25 (Inappropriate ioctl for device)
1 rt_sigprocmask(SIG_BLOCK,0x004205bc,NULL,16) = 0
1 fcntl64(0,F_GETFL) = 0
1 fcntl64(0,F_SETFL,O_RDONLY|O_NONBLOCK) = 0
1 fadvise64_64(0,0,0,0,0,0) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x004205bc,NULL,16) = 0
1 futex(0x3ffc72c0,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3ff85020,1073238048) = 0
1 mmap2(NULL,249856,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fd85000
1 mmap2(NULL,13123584,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f101000
1 mmap2(NULL,17047552,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3e0bf000
1 mmap2(NULL,67112960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3a0be000
1 rt_sigprocmask(SIG_BLOCK,0x004205bc,NULL,16) = 0
1 fcntl64(1,F_GETFL) = 9
1 fcntl64(1,F_SETFL,O_WRONLY|O_APPEND|O_NONBLOCK) = 0
1 fstat64(1,0x004203b0) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x004205bc,NULL,16) = 0
1 clock_gettime(CLOCK_MONOTONIC,0x4071ed98) = 0 ({tv_sec = 299192,tv_nsec = 559769826})
1 read(0,0x41e248,8192) = 0
1 write(1,0x41c248,32)ý7zXZæÖ´FßD!¶ó}YZ = 32
1 rt_sigprocmask(SIG_BLOCK,0x004205bc,NULL,16) = 0
1 fcntl64(1,F_SETFL,O_WRONLY|O_APPEND) = 0
1 fcntl64(0,F_SETFL,O_RDONLY) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x004205bc,NULL,16) = 0
1 close(1) = 0
1 close(2)
[*] 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: /lib/liblzma.so.5
[*] Trying to identify this missing file: liblzma.so.5
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/lib/liblzma.so.5
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/lib/liblzma.so.5 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/
[*] Found missing area: /lib/locale/C.UTF-8/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/C.UTF-8
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/C.UTF-8/LC_IDENTIFICATION
[*] Found missing area: /lib/locale/C.utf8/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/C.utf8
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/C.utf8/LC_IDENTIFICATION
[*] Found missing area: /lib/locale/C/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/C
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/locale/C/LC_IDENTIFICATION
[*] 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: /lib/tls/liblzma.so.5
[*] Trying to identify this missing file: liblzma.so.5
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/liblzma.so.5
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/liblzma.so.5 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/tls/
[*] Found missing area: /share/locale/locale.alias
[*] Trying to identify this missing file: locale.alias
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/share/locale
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/share/locale/locale.alias
[*] Found missing area: /usr/lib/tls/liblzma.so.5
[*] Trying to identify this missing file: liblzma.so.5
[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/liblzma.so.5
[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/liblzma.so.5 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/lib/tls/

-----------------------------------------------------------------