+ echo 'Running Mer Boat Loader'
Running Mer Boat Loader
+ BOOTLOGO=
+ ALWAYSDEBUG=
+ DATA_PARTITION=/dev/sda36
+ DEFAULT_OS=sailfishos
+ export 'PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin'
+ USB_FUNCTIONS=rndis
+ ANDROID_USB=/sys/class/android_usb/android0
+ GADGET_DIR=/config/usb_gadget
+ LOCAL_IP=192.168.2.15
+ DONE_SWITCH=no
+ '[' /init '=' /init-debug ]
+ '[' no '=' no ]
+ EXPLICIT_BUSYBOX=
+ TELNET_DEBUG_PORT=23
+ /bin/busybox --install -s
+ date
Fri Oct 30 23:07:40 UTC 1970
+ do_mount_devprocsys
+ echo '########################## mounting devprocsys'
########################## mounting devprocsys
+ mkdir /dev
mkdir: can't create directory '/dev': File exists
+ mount -t devtmpfs devtmpfs /dev
+ mkdir /dev/pts
+ mount -t devpts devpts /dev/pts
+ mkdir /proc
+ mkdir /sys
+ mount -t sysfs sysfs /sys
+ mount -t proc proc /proc
+ mkdir /config
+ mount -t configfs none /config
+ load_kernel_modules
+ CFG_FILE=/lib/modules/modules.load.recovery
+ '[' '!' -f /lib/modules/modules.load.recovery ]
+ return
+ do_hotplug_scan
/init: line 130: can't create /proc/sys/kernel/hotplug: nonexistent directory
+ mdev -s
+ sleep 2
+ ln -s . /dev/block
+ ln -s /proc/mounts /etc/mtab
+ check_kernel_config
+ echo 'Checking kernel config'
Checking kernel config
+ '[' '!' -e /proc/config.gz ]
+ zcat /proc/config.gz
+ grep -E '^CONFIG_CGROUPS=y$'
CONFIG_CGROUPS=y
+ zcat /proc/config.gz
+ grep -E '^CONFIG_AUTOFS4_FS=y$'
CONFIG_AUTOFS4_FS=y
+ zcat+  /proc/config.gzgrep -E '^CONFIG_DEVTMPFS_MOUNT=y$'

CONFIG_DEVTMPFS_MOUNT=y
+ zcat /proc/config.gz
+ grep -E '^CONFIG_DEVTMPFS=y$'
CONFIG_DEVTMPFS=y
+ + grep -Ezcat '^CONFIG_UNIX=y$' /proc/config.gz

CONFIG_UNIX=y
+ zcat /proc/config.gz
+ grep -E '^CONFIG_INOTIFY_USER=y$'
CONFIG_INOTIFY_USER=y
+ + zcatgrep -E /proc/config.gz '^CONFIG_SYSVIPC=y$'

CONFIG_SYSVIPC=y
+ zcat /proc/config.gz
+ grep -E '^CONFIG_NET=y$'
CONFIG_NET=y
+ + zcatgrep -E '^CONFIG_PROC_FS=y$' /proc/config.gz

CONFIG_PROC_FS=y
+ zcat /proc/config.gz
+ grep -E '^CONFIG_SIGNALFD=y$'
CONFIG_SIGNALFD=y
+ zcat /proc/config.gz
+ grep -E '^CONFIG_SYSFS=y$'
CONFIG_SYSFS=y
+ + grep -E '^CONFIG_TMPFS_POSIX_ACL=y$'zcat
 /proc/config.gz
CONFIG_TMPFS_POSIX_ACL=y
+ zcat /proc/config.gz
+ grep -E '^CONFIG_VT=y$'
CONFIG_VT=y
+ + grep -E '^CONFIG_DUMMY=y$'zcat
 /proc/config.gz
+ zcat /proc/config.gz
+ grep -E '^CONFIG_SYSFS_DEPRECATED=y$'
+ bootsplash
+ '[' x '=' x1 ]
+ mount_stowaways
+ echo '########################## mounting stowaways'
########################## mounting stowaways
+ '[' '!' -z /dev/sda36 ]
+ get_opt data_subdir
+ cat /proc/cmdline
+ grep '^data_subdir=*'
+ echo 'cgroup_disable=pressure'
+ cut '-d=' -f2
+ echo 'ramoops_memreserve=4M'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'rcupdate.rcu_expedited=1'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'rcu_nocbs=0-7'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo noirqdebug
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'cgroup.memory=nokmem,nosocket'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'console=ttyMSM0,115200n8'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.console=ttyMSM0'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.hardware=qcom'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.memcg=1'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'lpm_levels.sleep_disabled=1'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'msm_rtb.filter=0x237'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'service_locator.enable=1'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'swiotlb=1'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.usbcontroller=a600000.dwc3'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'loop.max_part=7'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.init_fatal_reboot_target=recovery'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'kpti=off'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.verifiedbootstate=orange'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.keymaster=1'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.bootdevice=1d84000.ufshc'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.fstab_suffix=default'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.boot_devices=soc/1d84000.ufshc'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.serialno=c7b7f3770013'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.ramdump=disable'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.secureboot=1'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.cpuid=0x2d9146b0'
+ + cut '-d=' -f2
grep '^data_subdir=*'
+ grep+  '^data_subdir=*'
echo 'androidboot.wthwlevel=MP'
+ cut '-d=' -f2
+ echo 'androidboot.wthwver=16.19.0'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.hwversion=16.19.0'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.camera.config=0'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.hwc=Global'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.hwlevel=MP'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.product.hardware.sku=pro'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'log_buf_len=2M'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'loglevel=6'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.baseband=msm'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'msm_drm.dsi_display0=dsi_k6_38_0e_0b_fhd_dsc_video_display:'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.wthwc=Global'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.board_id=S88206AA1'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ + grep '^data_subdir=*'echo
 'androidboot.dtbo_idx=0'
+ cut '-d=' -f2
+ echo 'androidboot.dtb_idx=0'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ echo 'androidboot.dp=0x0'
+ grep '^data_subdir=*'
+ cut '-d=' -f2
+ data_subdir=
+ mkdir /data
+ mkdir /target
+ mount /dev/sda36 /data
+ mount --bind /data//.stowaways/sailfishos /target
+ mkdir /target/data
mkdir: can't create directory '/target/data': File exists
+ mount --bind /data/ /target/data
+ mount
rootfs on / type rootfs (rw,size=3748372k,nr_inodes=937093)
devtmpfs on /dev type devtmpfs (rw,relatime,size=3748372k,nr_inodes=937093,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
sysfs on /sys type sysfs (rw,relatime)
proc on /proc type proc (rw,relatime)
none on /config type configfs (rw,relatime)
/dev/sda36 on /data type f2fs (rw,lazytime,relatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix)
/dev/sda36 on /target type f2fs (rw,lazytime,relatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix)
/dev/sda36 on /target/data type f2fs (rw,lazytime,relatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix)
+ cp /init.log /target/initramfs.log
+ touch /target/test.log
+ echo 'Hello World!'
+ DBG_REASON=
+ '[' -e /diagnosis.log ]
+ get_opt bootmode
+ cat /proc/cmdline
+ grep '^bootmode=*'
+ echo 'cgroup_disable=pressure'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'ramoops_memreserve=4M'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'rcupdate.rcu_expedited=1'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'rcu_nocbs=0-7'+ 
cut '-d=' -f2
+ grep '^bootmode=*'
+ echo noirqdebug
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'cgroup.memory=nokmem,nosocket'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'console=ttyMSM0,115200n8'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.console=ttyMSM0'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.hardware=qcom'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.memcg=1'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'lpm_levels.sleep_disabled=1'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'msm_rtb.filter=0x237'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'service_locator.enable=1'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'swiotlb=1'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.usbcontroller=a600000.dwc3'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'loop.max_part=7'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.init_fatal_reboot_target=recovery'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'kpti=off'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.verifiedbootstate=orange'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.keymaster=1'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.bootdevice=1d84000.ufshc'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.fstab_suffix=default'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.boot_devices=soc/1d84000.ufshc'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.serialno=c7b7f3770013'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.ramdump=disable'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.secureboot=1'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.cpuid=0x2d9146b0'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.wthwlevel=MP'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.wthwver=16.19.0'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.hwversion=16.19.0'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.camera.config=0'
+ cut '-d=' -f2
+ grep '^bootmode=*'+ 
echo 'androidboot.hwc=Global'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.hwlevel=MP'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.product.hardware.sku=pro'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'log_buf_len=2M'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'loglevel=6'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.baseband=msm'
+ cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'msm_drm.dsi_display0=dsi_k6_38_0e_0b_fhd_dsc_video_display:'
+ cut '-d=' -f2
+ echo 'androidboot.wthwc=Global'
+ grep '^bootmode=*'
+ cut '-d=' -f2
+ echo 'androidboot.board_id=S88206AA1'
+ grep '^bootmode=*'+ 
cut '-d=' -f2
+ grep '^bootmode=*'
+ echo 'androidboot.dtbo_idx=0'
+ cut '-d=' -f2
+ echo 'androidboot.dtb_idx=0'
+ grep '^bootmode=*'+ 
cut '-d=' -f2
+ echo 'androidboot.dp=0x0'
+ grep '^bootmode=*'
+ cut '-d=' -f2
+ '['  '=' debug ]
+ '[' x '=' x1 ]
+ '[' -f /target/init_enter_debug ]
+ '[' -f /target/init_disable_telnet ]
+ DBG_REASON=
+ '['  '='  ]
+ cp /init.log /target/initramfs.log