# cd /data/data/info.guardianproject.lildebi/app_bin
# ./create-debian-setup.sh  /data/data/info.guardianproject.lildebi/app_bin /storage/emulated/0 /storage/sdcard0/debian.img /debian 
# ./stop-debian.sh  /data/data/info.guardianproject.lildebi/app_bin /storage/emulated/0 /storage/sdcard0/debian.img /debian 
# ./unmounted-install-tweaks.sh  /data/data/info.guardianproject.lildebi/app_bin /storage/emulated/0 /storage/sdcard0/debian.img /debian 
# ./start-debian.sh  /data/data/info.guardianproject.lildebi/app_bin /storage/emulated/0 /storage/sdcard0/debian.img /debian 
# /data/data/info.guardianproject.lildebi/app_bin/chroot /debian /data/data/info.guardianproject.lildebi/app_bin/complete-debian-setup.sh  /data/data/info.guardianproject.lildebi/app_bin /storage/emulated/0 /storage/sdcard0/debian.img /debian 
# exit
+ export----------------------------------------
 PATH=/data/data/info.guardianproject.lildebi/app_bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
+ test -e /data/data/info.guardianproject.lildebi/app_bin/lildebi-common
+ . /data/data/info.guardianproject.lildebi/app_bin/lildebi-common
+ 3
./create-debian-setup.sh: /data/data/info.guardianproject.lildebi/app_bin/lildebi-common: line 4: 3: not found
+ echo ----------------------------------------
+ export TERM=linux
+ export HOME=/root
+ export HOSTNAME=debian
+ export DEBIAN_FRONTEND=noninteractive
+ [ 4 -lt 1 ]
+ app_bin=/data/data/info.guardianproject.lildebi/app_bin
+ export PATH=/data/data/info.guardianproject.lildebi/app_bin:/usr/sbin:/usr/bin:/sbin:/bin:/system/sbin:/system/bin:/system/xbin
+ basename ./create-debian-setup.sh
create-debian-setup.sh
+ echo create-debian-setup.sh
+ [ -z ]
+ sdcard=/storage/sdcard0
+ [ -z ]
+ image_path=/storage/sdcard0/debian.img
+ [ -z ]
+ mnt=/debian
+ test -d /data/data/info.guardianproject.lildebi/app_bin
+ test -d /storage/sdcard0
+ test -z /storage/sdcard0/debian.img
+ test -z /debian
+ busybox_path=/data/data/info.guardianproject.lildebi/app_bin
+ busybox=/data/data/info.guardianproject.lildebi/app_bin/busybox
+ dirname /data/data/info.guardianproject.lildebi/app_bin
+ fsck_chroot=/data/data/info.guardianproject.lildebi/fsck-chroot
+ dirname /data/data/info.guardianproject.lildebi/app_bin
+ basename /storage/sdcard0/debian.img.sha1
+ sha1file=/data/data/info.guardianproject.lildebi/debian.img.sha1
+ umask 077
+ find_loopdev
+ find_attached_loopdev
+ /data/data/info.guardianproject.lildebi/app_bin/ls -1 /dev/block/loop0 /dev/block/loop1 /dev/block/loop2 /dev/block/loop3 /dev/block/loop4 /dev/block/loop5 /dev/block/loop6 /dev/block/loop7
+ grep -q /storage/sdcard0/debian.img
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop0
+ 
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop1
+ grep -q /storage/sdcard0/debian.img
+ 
+ grep -q /storage/sdcard0/debian.img
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop2
+ 
+ grep -q /storage/sdcard0/debian.img
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop3
+ 
+ grep -q /storage/sdcard0/debian.img
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop4
+ 
+ grep -q /storage/sdcard0/debian.img
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop5
+ 
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop6
+ grep -q /storage/sdcard0/debian.img
+ 
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop7
+ grep -q /storage/sdcard0/debian.img
+ 
+ loopdev=
+ [ -z ]
+ find_free_loopdev
+ [ -e /dev/block/loop0 ]
+ i=0
+ [ 0 -le 255 ]
+ loopdev=/dev/block/loop0
+ [ ! -e /dev/block/loop0 ]
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop0
+ 
+ echo /dev/block/loop0
+ return
+ echo /dev/block/loop0
+ loopdev=/dev/block/loop0
./create-debian-setup.sh: /data/data/info.guardianproject.lildebi/app_bin/lildebi-common: line 149: syntax error: unexpected end of file (expecting "}")
----------------------------------------
./stop-debian.sh: /data/data/info.guardianproject.lildebi/app_bin/lildebi-common: line 4: 3: not found
stop-debian.sh
./stop-debian.sh: /data/data/info.guardianproject.lildebi/app_bin/lildebi-common: line 149: syntax error: unexpected end of file (expecting "}")
+ ----------------------------------------
export PATH=/data/data/info.guardianproject.lildebi/app_bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
+ test -e /data/data/info.guardianproject.lildebi/app_bin/lildebi-common
+ . /data/data/info.guardianproject.lildebi/app_bin/lildebi-common
+ 3
./unmounted-install-tweaks.sh: /data/data/info.guardianproject.lildebi/app_bin/lildebi-common: line 4: 3: not found
+ echo ----------------------------------------
+ export TERM=linux
+ export HOME=/root
+ export HOSTNAME=debian
+ export DEBIAN_FRONTEND=noninteractive
+ [ 4 -lt 1 ]
+ app_bin=/data/data/info.guardianproject.lildebi/app_bin
+ export PATH=/data/data/info.guardianproject.lildebi/app_bin:/usr/sbin:/usr/bin:/sbin:/bin:/system/sbin:/system/bin:/system/xbin
+ basename ./unmounted-install-tweaks.sh
unmounted-install-tweaks.sh
+ echo unmounted-install-tweaks.sh
+ [ -z ]
+ sdcard=/storage/sdcard0
+ [ -z ]
+ image_path=/storage/sdcard0/debian.img
+ [ -z ]
+ mnt=/debian
+ test -d /data/data/info.guardianproject.lildebi/app_bin
+ test -d /storage/sdcard0
+ test -z /storage/sdcard0/debian.img
+ test -z /debian
+ busybox_path=/data/data/info.guardianproject.lildebi/app_bin
+ busybox=/data/data/info.guardianproject.lildebi/app_bin/busybox
+ dirname /data/data/info.guardianproject.lildebi/app_bin
+ fsck_chroot=/data/data/info.guardianproject.lildebi/fsck-chroot
+ dirname /data/data/info.guardianproject.lildebi/app_bin
+ basename /storage/sdcard0/debian.img.sha1
+ sha1file=/data/data/info.guardianproject.lildebi/debian.img.sha1
+ umask 077
+ find_loopdev
+ find_attached_loopdev
+ /data/data/info.guardianproject.lildebi/app_bin/ls -1 /dev/block/loop0 /dev/block/loop1 /dev/block/loop2 /dev/block/loop3 /dev/block/loop4 /dev/block/loop5 /dev/block/loop6 /dev/block/loop7
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop0
+ grep -q /storage/sdcard0/debian.img
+ 
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop1
+ grep -q /storage/sdcard0/debian.img
+ 
+ grep -q /storage/sdcard0/debian.img
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop2
+ 
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop3
+ grep -q /storage/sdcard0/debian.img
+ 
+ grep -q /storage/sdcard0/debian.img
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop4
+ 
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop5
+ grep -q /storage/sdcard0/debian.img
+ 
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop6
+ grep -q /storage/sdcard0/debian.img
+ 
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop7
+ grep -q /storage/sdcard0/debian.img
+ 
+ loopdev=
+ [ -z ]
+ find_free_loopdev
+ [ -e /dev/block/loop0 ]
+ i=0
+ [ 0 -le 255 ]
+ loopdev=/dev/block/loop0
+ [ ! -e /dev/block/loop0 ]
+ /data/data/info.guardianproject.lildebi/app_bin/losetup /dev/block/loop0
+ 
+ echo /dev/block/loop0
+ return
+ echo /dev/block/loop0
+ loopdev=/dev/block/loop0
./unmounted-install-tweaks.sh: /data/data/info.guardianproject.lildebi/app_bin/lildebi-common: line 149: syntax error: unexpected end of file (expecting "}")
./start-debian.sh: /data/data/info.guardianproject.lildebi/app_bin/lildebi-common: line 4: 3: not found
----------------------------------------
start-debian.sh
./start-debian.sh: /data/data/info.guardianproject.lildebi/app_bin/lildebi-common: line 149: syntax error: unexpected end of file (expecting "}")
chroot: can't change root directory to '/debian': No such file or directory
