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

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

[*] Emulating binary name: gio in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-arm-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract (1/2)
[*] Using CPU config: 

1 brk(NULL) = 0x4000e14c
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_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libgio-2.0.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d178,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce90) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7dd000
1 mmap2(NULL,1217664,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f6b3000
1 mmap2(0x3f7d7000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x124) = 0x3f7d7000
1 mmap2(0x3f7dc000,1152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7dc000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libglib-2.0.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d168,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce80) = 0
1 mmap2(NULL,932760,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5cf000
1 mmap2(0x3f6b1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xe1) = 0x3f6b1000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libgobject-2.0.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d158,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce70) = 0
1 mmap2(NULL,256416,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f590000
1 mmap2(0x3f5cc000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x3b) = 0x3f5cc000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libgcc_s.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d148,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce60) = 0
1 mmap2(NULL,102460,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f576000
1 mmap2(0x3f58e000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x18) = 0x3f58e000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libc.so.6",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d138,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce50) = 0
1 mmap2(NULL,1108064,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f467000
1 mmap2(0x3f569000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x101) = 0x3f569000
1 mmap2(0x3f56d000,34912,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f56d000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libgmodule-2.0.so.0",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d128,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce40) = 0
1 mmap2(NULL,12360,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f463000
1 mmap2(0x3f465000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f465000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libz.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d118,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce30) = 0
1 mmap2(NULL,65544,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f452000
1 mmap2(0x3f461000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xe) = 0x3f461000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libpcre.so.1",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d108,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce20) = 0
1 mmap2(NULL,335948,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3ff000
1 mmap2(0x3f450000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x50) = 0x3f450000
1 close(3) = 0
1 openat(AT_FDCWD,"/usr/lib/tls/v8l/neon/vfp/libffi.so.8",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
1 read(3,0x3ff1d0f8,512) = 512
1 statx(3,"",AT_EMPTY_PATH|AT_NO_AUTOMOUNT,STATX_BASIC_STATS,0x3ff1ce10) = 0
1 mmap2(NULL,29288,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3f7000
1 mmap2(0x3f3fd000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5) = 0x3f3fd000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f3f5000
1 set_tid_address(0x3f3f57a8) = 1
1 set_robust_list(0x3f3f57ac,12) = -1 errno=38 (Function not implemented)
1 Unknown syscall 398
1 mprotect(0x3f569000,8192,PROT_READ) = 0
1 mprotect(0x3f58e000,4096,PROT_READ) = 0
1 mprotect(0x3f3fd000,4096,PROT_READ) = 0
1 mprotect(0x3f450000,4096,PROT_READ) = 0
1 mprotect(0x3f461000,4096,PROT_READ) = 0
1 mprotect(0x3f6b1000,4096,PROT_READ) = 0
1 mprotect(0x3f465000,4096,PROT_READ) = 0
1 mprotect(0x3f5cc000,8192,PROT_READ) = 0
1 mprotect(0x3f7d7000,16384,PROT_READ) = 0
1 mprotect(0x4000d000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 ugetrlimit(3,1072814584,1062688670,1062663940,1,1062645344) = 0
1 brk(NULL) = 0x4000e14c
1 brk(0x4002f14c) = 0x4002f14c
1 brk(0x40030000) = 0x40030000
1 clock_gettime64(CLOCK_REALTIME,0x3ff1dc88) = 0 ({tv_sec=1690031394,tv_nsec=452640818})
1 futex(0x3f6b2a1c,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
1 futex(0x3f6b2a1c,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
1 openat(AT_FDCWD,"/usr/lib/locale/locale-archive",O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/share/locale/locale.alias",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/locale/C.utf8/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/locale/C/LC_IDENTIFICATION",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/charset.alias",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/gconv/gconv-modules.cache",O_RDONLY) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/gconv/gconv-modules",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/usr/lib/gconv/gconv-modules.d",O_RDONLY|O_DIRECTORY|O_LARGEFILE|O_NONBLOCK|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 futex(0x3f56c2c0,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
1 write(2,0x400147b0,7)Usage:
 = 7
1 futex(0x3f6b2a1c,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
1 futex(0x3f6b2a1c,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
1 write(2,0x4001d700,22)  gio COMMAND [ARGS?]
 = 22
1 write(2,0x400151f0,1)
 = 1
1 write(2,0x40015200,10)Commands:
 = 10
1 write(2,0x400152a0,22)  help     Print help
 = 22
1 write(2,0x400152a0,25)  version  Print version
 = 25
1 write(2,0x40015268,48)  cat      Concatenate files to standard output
 = 48
1 write(2,0x40015268,34)  copy     Copy one or more files
 = 34
1 write(2,0x400152a0,44)  info     Show information about locations
 = 44
1 write(2,0x40015268,53)  launch   Launch an application from a desktop file
 = 53
1 write(2,0x400151f0,42)  list     List the contents of locations
 = 42
1 write(2,0x400151f0,49)  mime     Get or set the handler for a mimetype
 = 49
1 write(2,0x40015290,30)  mkdir    Create directories
 = 30
1 write(2,0x40015268,53)  monitor  Monitor files and directories for changes
 = 53
1 write(2,0x400151f0,42)  mount    Mount or unmount the locations
 = 42
1 write(2,0x400151f0,34)  move     Move one or more files
 = 34
1 write(2,0x40015328,51)  open     Open files with the default application
 = 51
1 write(2,0x40015220,25)  rename   Rename a file
 = 25
1 write(2,0x400152c0,36)  remove   Delete one or more files
 = 36
1 write(2,0x40015248,45)  save     Read from standard input and save
 = 45
1 write(2,0x40015218,32)  set      Set a file attribute
 = 32
1 write(2,0x400151f0,50)  trash    Move files or directories to the trash
 = 50
1 write(2,0x400151f0,53)  tree     Lists the contents of locations in a tree
 = 53
1 write(2,0x40015248,1)
 = 1
1 write(2,0x40015310,45)Use ?gio help COMMAND? to get detailed help.
 = 45
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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/etc/ld.so.cache
[*] Found missing area: /usr/lib/charset.alias
[*] Trying to identify this missing file: charset.alias
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/charset.alias
[*] Found missing area: /usr/lib/gconv/gconv-modules
[*] Trying to identify this missing file: gconv-modules
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/gconv/gconv-modules
[*] Found missing area: /usr/lib/gconv/gconv-modules.cache
[*] Trying to identify this missing file: gconv-modules.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/gconv/gconv-modules.cache
[*] Found missing area: /usr/lib/gconv/gconv-modules.d
[*] Trying to identify this missing file: gconv-modules.d
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/gconv/gconv-modules.d
[*] Found missing area: /usr/lib/locale/C.UTF-8/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Creating directory /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C.UTF-8
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION
[*] Found missing area: /usr/lib/locale/C.utf8/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Creating directory /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C.utf8
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C.utf8/LC_IDENTIFICATION
[*] Found missing area: /usr/lib/locale/C/LC_IDENTIFICATION
[*] Trying to identify this missing file: LC_IDENTIFICATION
[*] Creating directory /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/C/LC_IDENTIFICATION
[*] Found missing area: /usr/lib/locale/locale-archive
[*] Trying to identify this missing file: locale-archive
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/locale/locale-archive
[*] Found missing area: /usr/share/locale/locale.alias
[*] Trying to identify this missing file: locale.alias
[*] Creating directory /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/share/locale
[*] Missing file /logs/s115_usermode_emulator/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/share/locale/locale.alias

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