[Android Q&A, Help & Troubleshooting] kHron0S:
Help with Debian Kit

Yeah this kit is really good but i stumble with a problem in the second part of the installation on my Motorola Defy, maybe you can help me as you successfully installed on your tablet, i talked with Sven(the dev) too and he is trying to help me, from what i deduced of the error it gives me it seems that i don't have "/system/bin/ls" but from what i understand that file is linked by busybox on my defy these are the screen shots and the console outputs of what happens

View attachment 1062978

View attachment 1062979

exec sh -c "cd '/mnt/sdcard' ; exec /system/xbin/bash"
# exec sh -c "cd '/mnt/sdcard' ; exec /system/xbin/bash"
MotoRolaDefyX sdcard # su DEB_DEBUG=true export DEB_DEBUG /data/local/deb/armel/busybox ash -x /data/local/deb/bootdeb
SuperSU - Copyright (C) 2012 - Chainfire

MotoRolaDefyX sdcard # cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/dev/block/mmcblk1p21 /system ext3 ro,relatime,nobh,data=ordered 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk1p24 /cache ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,nobh,data=ordered 0 0
/dev/block/mmcblk1p25 /data ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,nobh,data=ordered 0 0
/dev/block/loop7 /pds ext3 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered 0 0
ramfs /tmp ramfs rw,relatime,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.herocraft.game.majesty-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.gameloft.android.GAND.GloftAsp6.asphalt6-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/sts.dl-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/gts.td2.am.full-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/eu.vcmi-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-5 /mnt/asec/com.zynga.livepoker-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-6 /mnt/asec/com.dvidearts.earthandlegend-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-7 /mnt/asec/com.outfit7.talkingtom2free-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-8 /mnt/asec/com.rockstar.gta3-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-9 /mnt/asec/com.bigfishgames.android.nawpdroidfull-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-10 /mnt/asec/com.wulven.shadowera-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-11 /mnt/asec/com.hg.townsmen6-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
MotoRolaDefyX sdcard # cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS: 1248.46
Features: swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part: 0xc08
CPU revision : 2

Hardware: mapphone_UMTS
Revision: 0000
Serial : 0000000000000000
CPU Tier: 10
MotoRolaDefyX sdcard # cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev tmpfs
nodev binfmt_misc
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev inotifyfs
nodev devpts
ext3
nodev ramfs
vfat
msdos
nodev ecryptfs
yaffs
yaffs2
nodev cifs
MotoRolaDefyX sdcard # ls -l /system /system/bin
/system:
total 37
drwxr-xr-x 2 root root 3072 May 7 22:50 app
drwxr-xr-x 3 root shell 3072 May 15 03:56 bin
drwxr-xr-x 10 root root 1024 May 7 22:16 bootmenu
-rwxrwxrwx 1 root root 5270 May 7 22:48 build.prop
-rwxrwxrwx 1 root root 4681 May 6 12:21 build.prop.bak
drwxr-xr-x 14 root root 2048 May 7 22:58 etc
drwxr-xr-x 2 root root 1024 May 7 22:16 fonts
drwxr-xr-x 2 root root 1024 May 7 22:52 framework
drwxr-xr-x 8 root root 5120 May 7 23:00 lib
drwxr-xr-x 3 root root 1024 May 7 22:17 media
drwxr-xr-x 3 root root 1024 May 7 22:17 tts
drwxr-xr-x 7 root root 1024 May 7 22:17 usr
drwxr-xr-x 2 root shell 7168 May 7 22:17 xbin

/system/bin:
total 7402
-rwxr-xr-x 1 root shell 120304 Aug 1 2008 akmd2
-rwxr-xr-x 1 root shell 191 Aug 1 2008 am
-rwxr-xr-x 1 root shell 50371 Aug 1 2008 ap_gain.bin
-rwxr-xr-x 1 root shell 27910 Aug 1 2008 ap_gain_mmul.bin
-rwxr-xr-x 1 root shell 5720 Aug 1 2008 app_process
lrwxrwxrwx 1 root root 29 May 15 03:56 ash -> /data/local/deb/armel/busybox
-rwxr-xr-x 1 root shell 9648 Aug 1 2008 audioloop
-rwxr-xr-x 1 root shell 4202 Aug 1 2008 backuptool.sh
-rwxr-xr-x 1 root shell 18080 Aug 1 2008 badblocks
-rwxr-xr-x 1 root shell 43380 Aug 1 2008 battd
-rwxr-xr-x 1 root shell 5292 Aug 1 2008 bluetoothd
-rwxr-xr-x 1 root shell 199 Aug 1 2008 bmgr
-rwxr-xr-x 1 root shell 23160 Aug 1 2008 bootanimation
-rwxr-xr-x 1 root shell 282332 Aug 1 2008 bootmenu
-rwxr-xr-x 1 root shell 1160280 Aug 1 2008 brcm_guci_drv
-rwxr-xr-x 1 root shell 5556 Aug 1 2008 bugreport
-rwxr-xr-x 1 root shell 68420 Aug 1 2008 charge_only_mode
lrwxrwxrwx 1 root root 7 May 7 22:16 cmp -> toolbox
-rwxr-xr-x 1 root shell 1112 Aug 1 2008 compcache
-rwxr-xr-x 1 root shell 5520 Aug 1 2008 dalvikvm
-rwxr-xr-x 1 root shell 109504 Aug 1 2008 dbus-daemon
lrwxrwxrwx 1 root root 19 May 15 03:56 deb -> /data/local/deb/deb
-rwxr-xr-x 1 root shell 22224 Aug 1 2008 debuggerd
-rwxr-xr-x 1 root shell 9796 Aug 1 2008 dexopt
-rwxr-xr-x 1 root shell 44596 Aug 1 2008 dhcpcd
-rwxr-xr-x 1 root shell 104724 Aug 1 2008 dnsmasq
-rwxr-xr-x 1 root shell 9668 Aug 1 2008 dspexec
-rwxr-xr-x 1 root shell 13968 Aug 1 2008 dump_image
-rwxr-xr-x 1 root shell 34544 Aug 1 2008 dumpstate
-rwxr-xr-x 1 root shell 9812 Aug 1 2008 dumpsys
-rwxr-xr-x 1 root shell 5548 Aug 1 2008 dvz
-rwxr-xr-x 1 root shell 111524 Aug 1 2008 e2fsck
-rwxr-xr-x 1 root shell 5504 Aug 1 2008 e2label
-rwxr-xr-x 1 root shell 9776 Aug 1 2008 erase_image
-rwxr-xr-x 1 root shell 14936 Aug 1 2008 fix_permissions
-rwxr-xr-x 1 root shell 13968 Aug 1 2008 flash_image
-rwxr-xr-x 1 root shell 20540 Aug 1 2008 fmradioserver
-rwxr-xr-x 1 root shell 22640 Aug 1 2008 fsck_msdos
-rwxr-xr-x 1 root shell 5612 Aug 1 2008 gdbjithelper
-rwxr-xr-x 1 root shell 553908 Aug 1 2008 gdbserver
lrwxrwxrwx 1 root root 7 May 7 22:16 getevent -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 getprop -> toolbox
-rwxr-xr-x 1 root shell 9924 Aug 1 2008 gkisystem
-rwxr-xr-x 1 root shell 5604 Aug 1 2008 gzip
-rwxr-xr-x 1 root shell 644 Aug 1 2008 handle_compcache
-rwxr-xr-x 1 root shell 23316 Aug 1 2008 hciattach
lrwxrwxrwx 1 root root 7 May 7 22:16 hd -> toolbox
-rwxr-xr-x 1 root shell 237268 Aug 1 2008 hostap
lrwxrwxrwx 1 root root 7 May 7 22:16 iftop -> toolbox
-rwxr-xr-x 1 root shell 194 Aug 1 2008 ime
-rwxr-xr-x 1 root shell 201 Aug 1 2008 input
lrwxrwxrwx 1 root root 7 May 7 22:16 insmod -> toolbox
-rwxr-xr-x 1 root shell 22420 Aug 1 2008 installd
-rwxr-xr-x 1 root shell 9632 Aug 1 2008 io
lrwxrwxrwx 1 root root 7 May 7 22:16 ioctl -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 ionice -> toolbox
-rwxr-xr-x 1 root shell 100916 Aug 1 2008 iptables
-rwxr-xr-x 1 root shell 10112 Aug 1 2008 keystore
-rwxr-xr-x 1 root shell 6640 Aug 1 2008 keystore_cli
lrwxrwxrwx 1 root root 7 May 7 22:16 kill -> toolbox
-rwxr-xr-x 1 root shell 39416 Aug 1 2008 linker
-rwxr-xr-x 1 root shell 423620 Aug 1 2008 location
lrwxrwxrwx 1 root root 7 May 7 22:16 log -> toolbox
-rwxr-xr-x 1 root shell 13952 Aug 1 2008 logcat
lrwxrwxrwx 1 root root 8 May 7 22:16 logwrapper -> bootmenu
-rwxr-xr-x 1 root shell 63964 Aug 1 2008 logwrapper.bin
-rwxr-xr-x 1 root shell 97780 Aug 1 2008 lsof
-rwxr-xr-x 1 root shell 5504 Aug 1 2008 mediaserver
-rwxr-xr-x 1 root shell 34864 Aug 1 2008 mke2fs
-rwxr-xr-x 1 root shell 14768 Aug 1 2008 mkyaffs2image
-rwxr-xr-x 1 root shell 1602 Aug 1 2008 modelid_cfg.sh
-rwxr-xr-x 1 root shell 205 Aug 1 2008 monkey
-rwxr-xr-x 1 root shell 5556 Aug 1 2008 mot_boot_mode
-rwxr-xr-x 1 root shell 0 Aug 1 2008 mount_ext3.sh
-rwxr-xr-x 1 root shell 18340 Aug 1 2008 mtpd
lrwxrwxrwx 1 root root 7 May 7 22:16 nandread -> toolbox
-rwxr-xr-x 1 root shell 5552 Aug 1 2008 ndc
-rwxr-s--- 1 root inet 5660 Aug 1 2008 netcfg
-rwxr-xr-x 1 root shell 45924 Aug 1 2008 netd
lrwxrwxrwx 1 root root 7 May 7 22:16 netstat -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 newfs_msdos -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 notify -> toolbox
-rwxr-xr-x 1 root shell 13864 Aug 1 2008 nvm_daemon
-rwxr-xr-x 1 root shell 32616 Aug 1 2008 omx_tests
-rwxr-xr-x 1 root shell 75988 Aug 1 2008 opprofdaemon
-rwxr-xr-x 1 root shell 18692 Aug 1 2008 pand
-rwxr-sr-x 1 root net_raw 26720 Aug 1 2008 ping
-rwxr-xr-x 1 root shell 191 Aug 1 2008 pm
-rwxr-xr-x 1 root shell 139540 Aug 1 2008 pppd
-rwxr-xr-x 1 root shell 1540484 Aug 1 2008 protocol_driver
lrwxrwxrwx 1 root root 7 May 7 22:16 ps -> toolbox
-rwxr-xr-x 1 root shell 8128 Aug 1 2008 pvrsrvinit
-rwxr-xr-x 1 root shell 5520 Aug 1 2008 qemu-props
-rwxr-xr-x 1 root shell 13828 Aug 1 2008 qemud
-rwxr-xr-x 1 root shell 142516 Aug 1 2008 racoon
-rwxr-xr-x 1 root shell 5424 Aug 1 2008 radiooptions
lrwxrwxrwx 1 root root 7 May 7 22:16 reboot -> toolbox
-rwxr-xr-x 1 root shell 9912 Aug 1 2008 record
lrwxrwxrwx 1 root root 7 May 7 22:16 renice -> toolbox
-rwxr-xr-x 1 root shell 22260 Aug 1 2008 resize2fs
-rwxr-xr-x 1 root shell 5696 Aug 1 2008 rild
lrwxrwxrwx 1 root root 7 May 7 22:16 route -> toolbox
-rwsr-s--- 1 root shell 59848 Aug 1 2008 run-as
-rwxr-xr-x 1 root shell 5392 Aug 1 2008 schedtest
lrwxrwxrwx 1 root root 7 May 7 22:16 schedtop -> toolbox
-rwxr-xr-x 1 root shell 5584 Aug 1 2008 screenshot
-rwxr-xr-x 1 root shell 9748 Aug 1 2008 sdcard
-rwxr-xr-x 1 root shell 46548 Aug 1 2008 sdptool
lrwxrwxrwx 1 root root 7 May 7 22:16 sendevent -> toolbox
-rwxr-xr-x 1 root shell 9860 Aug 1 2008 service
-rwxr-xr-x 1 root shell 9940 Aug 1 2008 servicemanager
lrwxrwxrwx 1 root root 7 May 7 22:16 setconsole -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 setprop -> toolbox
-rwxr-xr-x 1 root shell 82840 Aug 1 2008 sh
-rwxr-xr-x 1 root shell 10792 Aug 1 2008 showlease
lrwxrwxrwx 1 root root 7 May 7 22:16 smd -> toolbox
-rwxr-xr-x 1 root shell 14016 Aug 1 2008 ssmgrd
-rwxr-xr-x 1 root shell 31080 Aug 1 2008 stagefright
lrwxrwxrwx 1 root root 7 May 7 22:16 start -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 stop -> toolbox
-rwxr-xr-x 1 root shell 5456 Aug 1 2008 surfaceflinger
-rwxr-xr-x 1 root shell 192 Aug 1 2008 svc
lrwxrwxrwx 1 root root 7 May 7 22:16 sync -> toolbox
-rwxr-xr-x 1 root shell 140 Aug 1 2008 sysinit
-rwxr-xr-x 1 root shell 5472 Aug 1 2008 system_server
-rwxr-xr-x 1 root shell 67956 Aug 1 2008 tc
-rwxr-xr-x 1 root shell 9712 Aug 1 2008 testid3
-rwxr-xr-x 1 root shell 174980 Aug 1 2008 tiap_cu
-rwxr-xr-x 1 root shell 9716 Aug 1 2008 tiap_loader
-rwxr-xr-x 1 root shell 73192 Aug 1 2008 toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 top -> toolbox
-rwxr-xr-x 1 root shell 26564 Aug 1 2008 tune2fs
-rwxr-xr-x 1 root shell 5656 Aug 1 2008 unyaffs
lrwxrwxrwx 1 root root 7 May 7 22:16 uptime -> toolbox
-rwxr-xr-x 1 root shell 18776 Aug 1 2008 usbd
-rwxr-xr-x 1 root shell 5552 Aug 1 2008 vdc
-rwxr-xr-x 1 root shell 265 Aug 1 2008 verify_cache_partition_size.sh
lrwxrwxrwx 1 root root 7 May 7 22:16 vmstat -> toolbox
-rwxr-xr-x 1 root shell 55892 Aug 1 2008 vold
lrwxrwxrwx 1 root root 7 May 7 22:16 watchprops -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 wipe -> toolbox
-rwxr-xr-x 1 root shell 131076 Aug 1 2008 wlan_cu
-rwxr-xr-x 1 root shell 9716 Aug 1 2008 wlan_loader
-rwxr-xr-x 1 root shell 31268 Aug 1 2008 wpa_cli
-rwxr-xr-x 1 root shell 304372 Aug 1 2008 wpa_supplicant
MotoRolaDefyX sdcard #