[Android Software/Hacking General [Developers Only]] lionking8600:
HELP

I'M TRYING TO USE LINUX DEPLOY TO RUN KALI AND I KEEP GETTING THIS

1:06:23] + sed -i s|^#!.*|#!/data/local/linux/bin/sh|g /data/local/linux/bin/linuxdeploy

[11:06:23] + sed -i s|^DEBUG_MODE=.*|DEBUG_MODE="y"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^TRACE_MODE=.*|TRACE_MODE="y"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^IMG_TARGET=.*|IMG_TARGET="/storage/emulated/0/linux.img"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^IMG_SIZE=.*|IMG_SIZE="0"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^FS_TYPE=.*|FS_TYPE="auto"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^DEPLOY_TYPE=.*|DEPLOY_TYPE="file"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^DISTRIB=.*|DISTRIB="kali"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^ARCH=.*|ARCH="armel"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^SUITE=.*|SUITE="kali"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^MIRROR=.*|MIRROR="http://http.kali.org/kali"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^USER_NAME=.*|USER_NAME="android"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^SERVER_DNS=.*|SERVER_DNS=""|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^LOCALE=.*|LOCALE="en_US.UTF-8"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^DESKTOP_ENV=.*|DESKTOP_ENV="lxde"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^COMPONENTS=.*|COMPONENTS="vnc desktop ssh"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^STARTUP=.*|STARTUP="ssh vnc"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^CUSTOM_SCRIPTS=.*|CUSTOM_SCRIPTS=""|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^CUSTOM_MOUNTS=.*|CUSTOM_MOUNTS=""|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^SSH_PORT=.*|SSH_PORT="22"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^VNC_DISPLAY=.*|VNC_DISPLAY="0"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^VNC_DEPTH=.*|VNC_DEPTH="16"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^VNC_DPI=.*|VNC_DPI="75"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^VNC_GEOMETRY=.*|VNC_GEOMETRY="1080x1920"|g /data/local/linux/etc/deploy.conf

[11:06:23] + sed -i s|^VNC_ARGS=.*|VNC_ARGS=""|g /data/local/linux/etc/deploy.conf

[11:06:24] + sed -i s|^XSERVER_DISPLAY=.*|XSERVER_DISPLAY="0"|g /data/local/linux/etc/deploy.conf

[11:06:24] + sed -i s|^XSERVER_HOST=.*|XSERVER_HOST="127.0.0.1"|g /data/local/linux/etc/deploy.conf

[11:06:24] + sed -i s|^FB_DISPLAY=.*|FB_DISPLAY="0"|g /data/local/linux/etc/deploy.conf

[11:06:24] + sed -i s|^FB_DPI=.*|FB_DPI="100"|g /data/local/linux/etc/deploy.conf

[11:06:24] + sed -i s|^FB_DEV=.*|FB_DEV="/dev/graphics/fb0"|g /data/local/linux/etc/deploy.conf

[11:06:24] + sed -i s|^FB_INPUT=.*|FB_INPUT="/dev/input/event2"|g /data/local/linux/etc/deploy.conf

[11:06:24] + sed -i s|^FB_ARGS=.*|FB_ARGS=""|g /data/local/linux/etc/deploy.conf

[11:06:24] + sed -i s|^FB_FREEZE=.*|FB_FREEZE="none"|g /data/local/linux/etc/deploy.conf

[11:06:24] + [ 0 -eq 0 ]

[11:06:24] + exit 0

[11:06:24] done

[11:06:24] + /data/local/linux/bin/linuxdeploy install

[11:06:24] + cd /data/local/linux

[11:06:24] + umask 0022

[11:06:24] + msg >>> begin: install

[11:06:24] + echo >>> begin: install

[11:06:24] >>> begin: install

[11:06:24] + install_system

[11:06:24] + prepare_system

[11:06:24] + msg -n Checking mount points ...

[11:06:24] + echo -n Checking mount points ...

[11:06:24] Checking mount points ... + cat /proc/mounts

[11:06:24] /data/local/linux/bin/linuxdeploy: line 1: cat: Permission denied

[11:06:24] + grep /data/local/linux/mnt

[11:06:24] /data/local/linux/bin/linuxdeploy: line 1: grep: Permission denied

[11:06:24] done

[11:06:24] Checking installation path ... done

[11:06:24] + is_mnt=

[11:06:24] + [ -z ]

[11:06:24] + msg done

[11:06:24] + echo done

[11:06:24] + msg -n Checking installation path ...

[11:06:24] + echo -n Checking installation path ...

[11:06:24] + [ file == file ]

[11:06:24] + [ -e /storage/emulated/0/linux.img -a ! -f /storage/emulated/0/linux.img ]

[11:06:24] + [ file == partition ]

[11:06:24] + msg done

[11:06:24] + echo done

[11:06:24] + [ file == file ]

[11:06:24] + [ 0 -eq 0 ]

[11:06:24] + [ -f /storage/emulated/0/linux.img ]

[11:06:24] + FILE_SIZE=0

[11:06:24] + dirname /storage/emulated/0/linux.img

[11:06:24] /data/local/linux/bin/linuxdeploy: line 1: dirname: Permission denied

[11:06:24] + DIR_NAME=

[11:06:25] + stat -c %s -f

[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: stat: Permission denied

[11:06:25] + BLOCK_SIZE=

[11:06:25] + stat -c %a -f

[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: stat: Permission denied

[11:06:25] Making new disk image (0 MB) ... + AVAILABLE_SIZE=

[11:06:25] + let AVAILABLE_SIZE=(*)+0

[11:06:25] /data/local/linux/bin/linuxdeploy: let: line 1: arithmetic syntax error

[11:06:25] + let IMG_SIZE=(-/10)/1048576

[11:06:25] /data/local/linux/bin/linuxdeploy: let: line 1: arithmetic syntax error

[11:06:25] + [ 0 -gt 4095 ]

[11:06:25] + msg -n Making new disk image (0 MB) ...

[11:06:25] + echo -n Making new disk image (0 MB) ...

[11:06:25] + set -e

[11:06:25] + dd if=/dev/zero of=/storage/emulated/0/linux.img bs=1048576 seek=0 count=0

[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: dd: Permission denied

[11:06:25] + dd if=/dev/zero of=/storage/emulated/0/linux.img bs=1048576 count=0

[11:06:25] fail

[11:06:25] <<< end: install

[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: dd: Permission denied

[11:06:25] + [ 126 -eq 0 ]

[11:06:25] + msg fail

[11:06:25] + echo fail

[11:06:25] + return 1

[11:06:25] + [ 1 -ne 0 ]

[11:06:25] + return 1

[11:06:25] + msg <<< end: install

[11:06:25] + echo <<< end: install

[11:06:25] + exit