-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/sbin/pppd to identify missing areas
[*] Emulating binary name: pppd 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) = 0x00488abc
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffc8000
1 uname(0x4071e730) = 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/libcrypt.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e4b4,512) = 512
1 prctl(46,9,1081205940,512,1073770496,0) = 0
1 _llseek(3,0,648,0x4071e268,SEEK_SET) = 0
1 read(3,0x4071e298,32) = 32
1 fstat64(3,0x4071e378) = 0
1 mmap2(NULL,262700,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff87000
1 mprotect(0x3ff90000,61440,PROT_NONE) = 0
1 mmap2(0x3ff9f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x8) = 0x3ff9f000
1 mmap2(0x3ffa1000,156204,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffa1000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libutil.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e49c,512) = 512
1 prctl(46,9,1081205916,512,1073770496,0) = 0
1 _llseek(3,0,648,0x4071e250,SEEK_SET) = 0
1 read(3,0x4071e280,32) = 32
1 fstat64(3,0x4071e360) = 0
1 mmap2(NULL,73936,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff74000
1 mprotect(0x3ff76000,61440,PROT_NONE) = 0
1 mmap2(0x3ff85000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3ff85000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e484,512) = 512
1 prctl(46,9,1081205892,512,1073770496,0) = 0
1 _llseek(3,0,680,0x4071e240,SEEK_SET) = 0
1 read(3,0x4071e270,32) = 32
1 fstat64(3,0x4071e348) = 0
1 mmap2(NULL,73952,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff61000
1 mprotect(0x3ff63000,61440,PROT_NONE) = 0
1 mmap2(0x3ff72000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3ff72000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgcc_s.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e46c,512) = 512
1 prctl(46,9,1081205868,512,1073770496,0) = 0
1 fstat64(3,0x4071e330) = 0
1 mmap2(NULL,144160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3ff3d000
1 mprotect(0x3ff50000,61440,PROT_NONE) = 0
1 mmap2(0x3ff5f000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x12) = 0x3ff5f000
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,0x4071e454,512) = 512
1 prctl(46,13,1081205844,512,1073770496,0) = 0
1 _llseek(3,0,792,0x4071e210,SEEK_SET) = 0
1 read(3,0x4071e240,32) = 32
1 fstat64(3,0x4071e318) = 0
1 mmap2(NULL,1630336,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fdae000
1 mprotect(0x3ff24000,61440,PROT_NONE) = 0
1 mmap2(0x3ff33000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3ff33000
1 mmap2(0x3ff3a000,8320,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ff3a000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3fdac000
1 set_thread_area(0x3fdb34a0) = 0
1 mprotect(0x3ff33000,16384,PROT_READ) = 0
1 mprotect(0x3ff5f000,4096,PROT_READ) = 0
1 mprotect(0x3ff72000,4096,PROT_READ) = 0
1 mprotect(0x3ff85000,4096,PROT_READ) = 0
1 mprotect(0x3ff9f000,4096,PROT_READ) = 0
1 mprotect(0x00436000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 socket(PF_UNIX,SOCK_DGRAM|SOCK_CLOEXEC,IPPROTO_IP) = 3
1 connect(3,0x3ff3a5d0,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 uname(0x4071ebc8) = 0
1 umask(0777) = 18
1 umask(022) = 511
1 getuid() = 0
1 brk(NULL) = 0x00488abc
1 brk(0x004a9abc) = 0x004a9abc
1 brk(0x004aa000) = 0x004aa000
1 getgroups(65536,0x44020c) = 0
1 gettimeofday(0x4071ed58,NULL) = 0 ({tv_sec = 1690095922,tv_usec = 929393},NULL)
1 getpid() = 1
1 geteuid() = 0
1 openat(AT_FDCWD,"/etc/ppp/options",O_RDONLY) = 3
1 fstat64(3,0x4071e3b0) = 0
1 read(3,0x488e08,4096) = 79
1 geteuid() = 0
1 openat(AT_FDCWD,"/dev/null",O_WRONLY|O_APPEND|O_CREAT|O_EXCL,0644) = -1 errno=17 (File exists)
1 openat(AT_FDCWD,"/dev/null",O_WRONLY|O_APPEND) = 4
1 read(3,0x488e08,4096) = 0
1 close(3) = 0
1 brk(0x004a9000) = 0x004a9000
1 getuid() = 0
1 socket(PF_UNIX,SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK,IPPROTO_IP) = 3
1 connect(3,0x4071e958,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 socket(PF_UNIX,SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK,IPPROTO_IP) = 3
1 connect(3,0x4071eaa0,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 openat(AT_FDCWD,"/etc/nsswitch.conf",O_RDONLY|O_CLOEXEC) = 3
1 fstat64(3,0x4071ea70) = 0
1 read(3,0x4892a0,4096) = 185
1 read(3,0x4892a0,4096) = 0
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libnss_files.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x4071e54c,512) = 512
1 prctl(46,9,1081206092,512,1073770496,0) = 0
1 _llseek(3,0,648,0x4071e300,SEEK_SET) = 0
1 read(3,0x4071e330,32) = 32
1 fstat64(3,0x4071e410) = 0
1 mmap2(NULL,136032,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3fd8a000
1 mprotect(0x3fd95000,61440,PROT_NONE) = 0
1 mmap2(0x3fda4000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xa) = 0x3fda4000
1 mmap2(0x3fda6000,21344,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3fda6000
1 close(3) = 0
1 mprotect(0x3fda4000,4096,PROT_READ) = 0
1 openat(AT_FDCWD,"/etc/passwd",O_RDONLY|O_CLOEXEC) = 3
1 fstat64(3,0x4071e9f8) = 0
1 read(3,0x48a670,4096) = 456
1 close(3) = 0
1 geteuid() = 0
1 getuid() = 0
1 setresuid(4294967295,0,4294967295) = 0
1 openat(AT_FDCWD,"//.ppprc",O_RDONLY) = -1 errno=2 (No such file or directory)
1 setresuid(4294967295,0,4294967295) = 0
1 ioctl(0,TCGETS,0x4071ecb8) = -1 errno=25 (Inappropriate ioctl for device)
1 write(2,0x4071c320,60)./usr/sbin/pppd: no device specified and stdin is not a tty
= 60
1 time(0,1081206980,1,2130640638,0,0) = 1690095922
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 getpid() = 1
1 socket(PF_UNIX,SOCK_DGRAM|SOCK_CLOEXEC,IPPROTO_IP) = 3
1 connect(3,0x3ff3a5d0,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 exit_group(2)
[*] Identification of missing filesytem areas.
[*] Found missing area: //.ppprc
[*] Trying to identify this missing file: .ppprc
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract//.ppprc
[*] 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/
-----------------------------------------------------------------