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

[*] Initial strace run with jchroot on the command ./mnt/sedona/fwselfheal to identify missing areas

[*] Emulating binary name: fwselfheal 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) = 0x00412b2c
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e6e0) = 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) = -1 errno=2 (No such file or directory)
1 stat64("/lib/tls",0x4071e318) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e464,512) = 512
1 prctl(46,9,1081205860,512,1073770496,0) = 0
1 fstat64(3,0x4071e328) = 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/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e44c,512) = 512
1 prctl(46,13,1081205836,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e208,SEEK_SET) = 0
1 read(3,0x4071e238,32) = 32
1 fstat64(3,0x4071e310) = 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(0x3ffd06c0) = 0
1 mprotect(0x3ff9a000,16384,PROT_READ) = 0
1 mprotect(0x3ffc6000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 fstat64(1,0x4071e788) = 0
1 brk(NULL) = 0x00412b2c
1 brk(0x00433b2c) = 0x00433b2c
1 brk(0x00434000) = 0x00434000
1 gettimeofday(0x00412ad8,NULL) = 0 ({tv_sec = 1690095776,tv_usec = 801068},NULL)
1 openat(AT_FDCWD,"/mnt/fw.config",O_RDONLY) = 3
1 fstat64(3,0x4071ead0) = 0
1 read(3,0x413df0,4096) = 640
1 read(3,0x413df0,4096) = 0
1 close(3) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095776,tv_usec = 805290},NULL)
1 nanosleep(1081208232,0,50,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095776,tv_usec = 856058},NULL)
1 nanosleep(1081208232,0,47,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095776,tv_usec = 906237},NULL)
1 nanosleep(1081208232,0,46,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095776,tv_usec = 956937},NULL)
1 nanosleep(1081208232,0,45,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 7057},NULL)
1 nanosleep(1081208232,0,45,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 57347},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 107469},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 159554},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 209660},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 261229},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 311634},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 361829},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 412378},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 462476},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 513797},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 563920},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 615299},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 665413},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 715528},NULL)
1 nanosleep(1081208232,0,43,0,0,0)
 = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 765638},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 815752},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ad8,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 865977},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 916119},NULL)
1 nanosleep(1081208232,0,47,0,0,0)[*] Identification of missing filesytem areas.
 = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095777,tv_usec = 966808},NULL)
1 nanosleep(1081208232,0,46,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 16926},NULL)
1 nanosleep(1081208232,0,45,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 67043},NULL)
1 nanosleep(1081208232,0,45,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 117157},NULL)
1 nanosleep(1081208232,0,45,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 170652},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 220754},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 270856},NULL)
1 nanosleep(1081208232,0,44,0,0,0)[*] Found missing area: /etc/ld.so.cache
 = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 320960},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 371070},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 421177},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 471284},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 521398},NULL)
1 nanosleep(1081208232,0,43,0,0,0)[*] Trying to identify this missing file: ld.so.cache
 = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 572068},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 623456},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 673562},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 723666},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 773760},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 823880},NULL)
1 nanosleep(1081208232,0,43,0,0,0)[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/ld.so.cache
 = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 873993},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ad8,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 924163},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095778,tv_usec = 974279},NULL)
1 nanosleep(1081208232,0,47,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 24816},NULL)
1 nanosleep(1081208232,0,46,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 75350},NULL)
1 nanosleep(1081208232,0,45,0,0,0)[*] Found missing area: /lib/tls/libgcc_s.so.1
 = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 125466},NULL)
1 nanosleep(1081208232,0,45,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 175573},NULL)
1 nanosleep(1081208232,0,45,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 225676},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 276543},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 327296},NULL)
1 nanosleep(1081208232,0,44,0,0,0)[*] Trying to identify this missing file: libgcc_s.so.1
 = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 377414},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 427713},NULL)
1 nanosleep(1081208232,0,44,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 479122},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 529233},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 579338},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 629445},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 679548},NULL)
1 nanosleep(1081208232,0,43,0,0,0)[*] Possible matching file found: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/libgcc_s.so.1
 = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 729651},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 779760},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 829863},NULL)
1 nanosleep(1081208232,0,43,0,0,0) = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 879997},NULL)
1 nanosleep(1081208232,0,43,0,0,0)[*] Copy file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/libgcc_s.so.1 to /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/tls/
 = 0
1 gettimeofday(0x00412ae0,NULL) = 0 ({tv_sec = 1690095779,tv_usec = 930101},NULL)
1 nanosleep(1081208232,0,43,0,0,0)
-----------------------------------------------------------------