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

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

[*] Emulating binary name: systemlogd 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/4325012-58052244.squashfs_v4_le_extract (1/2)
[*] Using CPU config: 

--- SIGILL {si_signo=SIGILL, si_code=SI_KERNEL, si_pid=0, si_uid=0} ---
qemu: uncaught target signal 4 (Illegal instruction) - core dumped

[*] Identification of missing filesytem areas.
[*] No missing areas found.

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


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

[*] Initial strace run with jchroot on the command ./sbin/systemlogd to identify missing areas

[*] Emulating binary name: systemlogd 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/4325012-58052244.squashfs_v4_le_extract/usr (2/2)
[*] Using CPU config: 24KEc

1 brk(NULL) = 0x400193a0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d690) = 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/libapac.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d424,512) = 512
1 prctl(46,1072813368,1072813092,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2e0) = 0
1 mmap2(NULL,78144,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7b3000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libaxlog.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d414,512) = 512
1 prctl(46,1072813352,1072813076,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2d0) = 0
1 mmap2(NULL,73920,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7a0000
1 mprotect(0x3f7a2000,61440,PROT_NONE) = 0
1 mmap2(0x3f7b1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f7b1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgio-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d404,512) = 512
1 prctl(46,1072813368,1072813060,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2c0) = 0
1 mmap2(NULL,1990784,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5b9000
1 mprotect(0x3f789000,61440,PROT_NONE) = 0
1 mmap2(0x3f798000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1cf) = 0x3f798000
1 mmap2(0x3f79e000,4224,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f79e000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgobject-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3f4,512) = 512
1 prctl(46,1072813320,1072813044,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2b0) = 0
1 mmap2(NULL,446160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f54c000
1 mprotect(0x3f5a7000,65536,PROT_NONE) = 0
1 mmap2(0x3f5b7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f5b7000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3e4,512) = 512
1 prctl(46,1072813336,1072813028,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2a0) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f418000
1 mprotect(0x3f539000,61440,PROT_NONE) = 0
1 mmap2(0x3f548000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f548000
1 mmap2(0x3f54b000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f54b000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libsystemd.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3d4,512) = 512
1 prctl(46,1072813320,1072813012,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d290) = 0
1 mmap2(NULL,814232,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f351000
1 mprotect(0x3f404000,61440,PROT_NONE) = 0
1 mmap2(0x3f413000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xb2) = 0x3f413000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3c4,512) = 512
1 prctl(46,1072813400,1072812996,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d190,SEEK_SET) = 0
1 read(3,0x3ff1d1c0,32) = 32
1 fstat64(3,0x3ff1d280) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f324000
1 mprotect(0x3f33e000,61440,PROT_NONE) = 0
1 mmap2(0x3f34d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f34d000
1 mmap2(0x3f34f000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f34f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3b4,512) = 512
1 prctl(46,1072813416,1072812980,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d188,SEEK_SET) = 0
1 read(3,0x3ff1d1b8,32) = 32
1 fstat64(3,0x3ff1d270) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f322000
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f19d000
1 mprotect(0x3f30a000,61440,PROT_NONE) = 0
1 mmap2(0x3f319000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f319000
1 mmap2(0x3f320000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f320000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdbus-1.so.3",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2f4,512) = 512
1 prctl(46,1072813064,1072812788,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1b0) = 0
1 mmap2(NULL,376352,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f141000
1 mprotect(0x3f18c000,61440,PROT_NONE) = 0
1 mmap2(0x3f19b000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4a) = 0x3f19b000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libgmodule-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d234,512) = 512
1 prctl(46,1072812872,1072812596,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0f0) = 0
1 mmap2(NULL,78096,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f12d000
1 mprotect(0x3f130000,61440,PROT_NONE) = 0
1 mmap2(0x3f13f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f13f000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d224,512) = 512
1 prctl(46,1072812888,1072812580,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0e0) = 0
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f106000
1 mprotect(0x3f11b000,65536,PROT_NONE) = 0
1 mmap2(0x3f12b000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f12b000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libresolv.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d214,512) = 512
1 prctl(46,1072812872,1072812564,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cfd8,SEEK_SET) = 0
1 read(3,0x3ff1d008,32) = 32
1 fstat64(3,0x3ff1d0d0) = 0
1 mmap2(NULL,149696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f0e1000
1 mprotect(0x3f0f3000,61440,PROT_NONE) = 0
1 mmap2(0x3f102000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x11) = 0x3f102000
1 mmap2(0x3f104000,6336,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f104000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libffi.so.7",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d204,512) = 512
1 prctl(46,1072812856,1072812548,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0c0) = 0
1 mmap2(NULL,95072,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f0c9000
1 mprotect(0x3f0d0000,61440,PROT_NONE) = 0
1 mmap2(0x3f0df000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f0df000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1f4,512) = 512
1 prctl(46,1072812808,1072812532,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d0b0) = 0
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f043000
1 mprotect(0x3f0b8000,61440,PROT_NONE) = 0
1 mmap2(0x3f0c7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f0c7000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/librt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1e4,512) = 512
1 prctl(46,1072812856,1072812516,512,1065377792,0) = 0
1 _llseek(3,0,704,0x3ff1cfa8,SEEK_SET) = 0
1 read(3,0x3ff1cfd8,32) = 32
1 fstat64(3,0x3ff1d0a0) = 0
1 mmap2(NULL,94928,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f02b000
1 mprotect(0x3f032000,61440,PROT_NONE) = 0
1 mmap2(0x3f041000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f041000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/src/basic/tls/libcap.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1d4,512) = 512
1 prctl(46,1072812776,1072812500,512,1065377792,0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f029000
1 fstat64(3,0x3ff1d090) = 0
1 mmap2(NULL,86384,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f013000
1 mprotect(0x3f017000,65536,PROT_NONE) = 0
1 mmap2(0x3f027000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x4) = 0x3f027000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/../glib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d1c4,512) = 512
1 prctl(46,1072812792,1072812484,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cf80,SEEK_SET) = 0
1 read(3,0x3ff1cfb0,32) = 32
1 fstat64(3,0x3ff1d080) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f000000
1 mprotect(0x3f002000,61440,PROT_NONE) = 0
1 mmap2(0x3f011000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f011000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3effe000
1 set_thread_area(0x3f0054a0) = 0
1 mprotect(0x3f319000,16384,PROT_READ) = 0
1 mprotect(0x3f011000,4096,PROT_READ) = 0
1 mprotect(0x3f027000,4096,PROT_READ) = 0
1 mprotect(0x3f34d000,4096,PROT_READ) = 0
1 mprotect(0x3f041000,4096,PROT_READ) = 0
1 mprotect(0x3f0c7000,4096,PROT_READ) = 0
1 mprotect(0x3f0df000,4096,PROT_READ) = 0
1 mprotect(0x3f102000,4096,PROT_READ) = 0
1 mprotect(0x3f12b000,4096,PROT_READ) = 0
1 mprotect(0x3f548000,4096,PROT_READ) = 0
1 mprotect(0x3f13f000,4096,PROT_READ) = 0
1 mprotect(0x3f413000,12288,PROT_READ) = 0
1 mprotect(0x3f19b000,4096,PROT_READ) = 0
1 mprotect(0x3f5b7000,4096,PROT_READ) = 0
1 mprotect(0x3f798000,12288,PROT_READ) = 0
1 mprotect(0x3f7b1000,4096,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40018000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3effe078) = 1
1 set_robust_list(0x3effe080,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dce0,NULL) = 0
1 rt_sigaction(33,0x3ff1dce0,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dd28,NULL,16) = 0
1 getrlimit(3,0x3ff1ddb0) = 0
1 brk(NULL) = 0x400193a0
1 brk(0x4003a3a0) = 0x4003a3a0
1 brk(0x4003b000) = 0x4003b000
1 gettimeofday(0x3ff1dce8,NULL) = 0 ({tv_sec = 1689943299,tv_usec = 884078},NULL)
1 syscall(4238,1062514380,129,2147483647,0,0)1 futex(0x3f54aecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
 = 0
1 syscall(4238,1062514380,129,2147483647,0,1062963712)1 futex(0x3f54aecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f5b8a00,1062963712) = 0
 = 0
1 fstat64(1,0x3ff1dad8) = 0
1 write(1,0x4001fd48,58)<MESSAGE > System Log Addon service 1.0.9
 = 58
1 inotify_init1(524416,1065048130,2,1073872190,0,0) = 3
1 inotify_add_watch(3,1073872176,642,0,0,0) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"lib/charset.alias",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/gconv/gconv-modules.cache",O_RDONLY) = 4
1 fstat64(4,0x3ff1d480) = 0
1 mmap2(NULL,26358,PROT_READ,MAP_SHARED,4,0) = 0x3eff7000
1 close(4) = 0
1 futex(0x3f31f460,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f356020,1060462624) = 0
1 write(1,0x4001fd48,104)<WARNING > Failed to setup inotify watch for '/var/lib/apac': No such file or directory
 = 104
1 close(3) = 0
1 clock_getres(CLOCK_MONOTONIC,0x3ff1dc24) = 0 ({tv_sec = 0,tv_nsec = 1})
1 getresuid(0x3ff1dbdc,0x3ff1dbe0,0x3ff1dbe4) = 0
1 getresgid(0x3ff1dbe8,0x3ff1dbec,0x3ff1dbf0) = 0
1 socket(PF_UNIX,SOCK_STREAM|SOCK_CLOEXEC,IPPROTO_IP) = 3
1 connect(3,0x3ff1da4c,33) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 write(1,0x4001fd48,173)<ERROR   > Unable to initialize APAC: Failed to get D-Bus connection: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
 = 173
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/4325012-58052244.squashfs_v4_le_extract/usr/etc/ld.so.cache
[*] Found missing area: lib/charset.alias
[*] Trying to identify this missing file: charset.alias
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usrlib/charset.alias

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