This is my experience with Debian Kit for Android available on the Market, and which allows Debian Linux to run side by side along the Android O/S removing many of the restrictions of chroot versions (such as Backtrack 5)
Debian Kit for Android allows Debian flavours of Linux to install on the Thrive... (from Debian Squeeze up to the latest incarnation of Ubuntu - 12.04 Precise Pangolin)...
However unlike other kinds of kits, this one is not chroot, but loads Linux alongside Android, so we have more freedom to experiment without being limited by the chroot jail constraints...
To get the gui, it uses a light version of the Windows X-System: LXDE which is accessed using Microsoft RDP... (as opposed to VNC for say BackTrack 5)
I installed Ubuntu Precise (12.04) with no major problem to an ext4fs partition on my sdcard (which the package installer formats)...
and managed to access the system via wifi from MS Remote Desktop latest version for the Mac... (unlike BT5, you are not confined only to using a disk image, but you can if you wish)...
internally you will need an Android RDP client... and it works pretty well too...
what I want to try is install the Linux driver for my Huawei usb modem, it might work... even if the devs do not mention hardware possibilities, and focus more on what is already available on Android... (maybe kernel modding will still be needed, and it is a shame we did not yet get a hold of a 3g version of the kernel/rom)...
What I like already is the reverse full browsing capability of the Thrive file system from within the Linux X-windows gui...
Check, if interested, the full instructions here:
http://sven-ola.dyndns.org/repo/debian-kit-en.html
and this is my review on SF:
I am very pleased with this kit... installed it on my Toshiba AT100-100 Thrive with no major problem... used the non-stable Ubuntu Precise Pangolin 12.04 option, on a separate partition in my external 32GB SDHC Card...
It turned out to be pretty stable for my needs...
Running the LXDE Windows X GUI was smooth using wifi RDP from the Mac with 10.6.8 and either Microsoft RDP Client or the open source Cord 0.5.6 -
Single mode (i.e. just text based) on the Android device behaves like a Ubuntu box...
I even managed to install support for 3g by installing wvdial with gnome-ppp... Huawei 1750 is properly recognised and I get a persistent blue signal which means it is connected...
Now I am trying to use this connection as an Internet sharing gateway, by having the Wifi switched off, but I need to know how to do this via the command line...
Using the gui defeats the purpose as for this one needs RDP which depends on Wifi, but I want a pure available 3g connection that I then use for the Android O/S proper through a routing gateway, so need to find a way to bind the 3g connection on Debian to localhost shared by Debian and the Android O/S...
Not as easy as it seems... especially that there does not seem to be support for iptables on the Thrive Android kernel, but the 3g connection is there established on Debian...
Info: Running Honeycomb 3.2.1 rooted Toshiba Thrive AT100-100 16GB wifi only (no 3g)
one last note: unable to run chromium-browser or firefox in LXDE - via rdp - (has propably to do with the Arm version on Ubuntu 12.04)...
however the gnome web browser Epiphany works perfectly...
Now anyone has a clue on how to create a 3g reverse Connection feature, i.e. use the 3g connected Ubuntu box as an Internet sharing Server for the Android O/S that sits alongside / slightly on top?
That will solve the problem of not having 3g on reluctant devices...
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
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
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 #
really loving the idea, I'm trying it and I will hope I get further than step 8 (last time I got stuk at step 8-9) is it mayb possible to make an instruction video?
I'm reallly sorry if I'm a noob for asking.
your great
kHron0S said:
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
Code:
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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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,ioch****t=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 #
Click to expand...
Click to collapse
For the first part where the screenshot shows errors on "Valid SU" and "debian kit", just install Busybox 1.20. Use Busybox Installer for that. While installing, change install location to /system/bin instead of /system/xbin. That will take care of those 2 problems, however after typing deb in console it gives the same error, complaining about tmp resource busy and ofcourse segmentation fault. Segmentation fault occurred on just about every chroot and linux install I encountered. I even compiled custom version of debian img and its still there. Using Motorola Milestone 1 btw, with CM6.
I too receive those errors, segmentation faults and resource busy, usually when installing anything but Debian using this kit. Been working hard on figuring it out and writing about it too, but so far Lenny and Ubuntu don't install completely on some devices; Debian though has yet to fail me so long as I've a good internet connection and nothing else running when it's downloading and installing.
Hope some of it helps ya and if not you can always check the guide I've been compiling to see if I've answered your issues, links in my signature
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
resolution settings
Hi, my phone, (THL T200 octo core 1.7 ghz 2gb ram 32gb android 4.2.2 and 1280x720 6" display) debian-kit install went smooth but, the resolution in the gui is too high. How do I change the resolution? Everything is tiny on the desktop.
frz1 said:
Hi, my phone, (THL T200 octo core 1.7 ghz 2gb ram 32gb android 4.2.2 and 1280x720 6" display) debian-kit install went smooth but, the resolution in the gui is too high. How do I change the resolution? Everything is tiny on the desktop.
Click to expand...
Click to collapse
If you are using the "deb x" command to start xrdp then use the Android rdp app to change the resolution. If you're using vnc then you'll want to add "-g <width>x<height>" to the vnc server start command. I prefer rdp because then I'm not restarting vnc services ever time I connect with a different screen.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
S0AndS0 said:
If you are using the "deb x" command to start xrdp then use the Android rdp app to change the resolution. If you're using vnc then you'll want to add "-g <width>x<height>" to the vnc server start command. I prefer rdp because then I'm not restarting vnc services ever time I connect with a different screen.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Click to expand...
Click to collapse
Thanks fort the reply. Before this though, I tried to reconfigure the rdp settings by deleting the connection and starting a new one with a another resolution, right after I finally got my favorite app, "keepnote" to install. Now I have a new problem. When I start deb x, I get the error, [xrdprunning in daemon mode with no access to pid files, quitting sesman] and cannot connect anymore to the gui. I just want to use this on my phone btw. I'm not trying to connect to my pc or any other external screen. Thanks
VNC works
leaving rdp for another day. I just googled vnc and found this site, [http://news.metaparadigma.de/linux-setting-up-a-debian-vnc-server-237/]. I setup VNC which seems to be working pretty well right now so I'm going to stick with that for now. Its only in landscape mode which I like better anyway so, i'm ok with it.
frz1 said:
Thanks fort the reply. Before this though, I tried to reconfigure the rdp settings by deleting the connection and starting a new one with a another resolution, right after I finally got my favorite app, "keepnote" to install. Now I have a new problem. When I start deb x, I get the error, [xrdprunning in daemon mode with no access to pid files, quitting sesman] and cannot connect anymore to the gui. I just want to use this on my phone btw. I'm not trying to connect to my pc or any other external screen. Thanks
Click to expand...
Click to collapse
Welcome and sorry you're having issues. I'd try running "apt-get purge andromize-lxde" and then "apt-get install andromize-lxde" to uninstall and reinstall the rdp gui. I've had similar issues when installing packages that then remove something that rdp was using; usually when I install something not mint to be in my distro by modding the source lists.
Glad you got vnc working :thumbup: but like ya said it isn't as feature rich as rdp.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Loop1 is full
My loop1 device, 2g, is now full, preventing me from doing the apt-get purge andromize-lxde you mentioned. I don't think I've seen a solution to that somewhere, maybe if I continue googling around I'll figure it out eventually. How do I increase my storage here on the loop file? I have the space on my sdcard, internal and external. I figured I ran out of space after install libra office, synaptic and keepnote which I consider essential besides system packages.
There's a few ways to increase your Linux OS space. I've seen some that have modified their existing image but every time I've tried it's turned out corrupted; usually I'll pop out the SD card and set up a partition with gParted for installing to. Another option would be to add system links (see Debian Kit's source code) and link your SDcards free space to a directory in Linux' system but doing that'll cause permission denied errors if not running as Linux root user when running software or scripts.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
S0AndS0 said:
There's a few ways to increase your Linux OS space. I've seen some that have modified their existing image but every time I've tried it's turned out corrupted; usually I'll pop out the SD card and set up a partition with gParted for installing to. Another option would be to add system links (see Debian Kit's source code) and link your SDcards free space to a directory in Linux' system but doing that'll cause permission denied errors if not running as Linux root user when running software or scripts.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Click to expand...
Click to collapse
According to this website, [ http://www.tehfear.com/2007/10/08/resize-loop-disk-image/] changing the image size should be the same as how it was made. I haven't tried to get into that yet. My skills are not that good...
Like I said I have the space. Could you make another image file with the same debain-large but at least a 5gb loop that would leave room to install additional packages? Or is there a way I could choose the size of my loop file during installation?
http://www.timelesssky.com/blog/running-debian-armhf-alongside-android
It took some digging through my bookmarks but above is a guide (really amazing guide) to modify Debian Kit's source code for increasing the loop disk file size and how to run hard float Linux I too have yet to mess around with moding the loop disk much as setting up partitions is just easier. That and I've had my time devoted to making a new Crypto currency for our phones. Do you have a removable sdcard or is your device without that feature?
Sent from either my SPH-D700 or myTouch3gs or M470BSA
Guide for running Linux on Android that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Yeah, I have a removable 32gb sdcard.
frz1 said:
Yeah, I have a removable 32gb sdcard.
Click to expand...
Click to collapse
Supper. If you're planning to use/re-install Debian Kit a lot then pop that sdcard out, back it up, and partition it (see the guide on xda in my sig for how to) with a size that you do want, then move your backed up info back to the first readable partition so Android can still see it, then reinstall Linux to the partition by running the mkdeb script and pointing it at the correct UUID. So long as you either note the UUID or don't reflash your device you can reinstall Linux to your hearts content on the partition instead of a loop disk file. This is what I did on my myTouch and when I do re-install Linux I just have to tell it to format the existing partition and it happily gives me 5+ gigs to play with. Note though that the second partition will be invisible to Android until Debian Kit has mounted it.
Sent from either my SPH-D700 or myTouch3gs or M470BSA
Guide for running Linux on Android that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
root ssh and xserver
Here is where I am now. I partitioned my sdcard to put 5gb aside for this install. Proceeded with the manual install after step 4 when I followed your guide here, [http://www.timelesssky.com/blog/running-debian-armhf-alongside-android ] to modified the mk-debain script and tried to do the larger loop file first. That was going fine until it turned out the 5120mb setting I did was too large still, the highest possible I guess on a fat32 system is 4gb. I then decided to just go with the partition setup. I install wheezy and everything seems ok. The problem I am having now is with the ssh login and the xserver you recommended at the end of your guide. Idk if its the order that I install things or what but, I am unable to elevate to root during ssh login and the xserver app, well, I'm not getting how it work. Do I have to create all those scripts you mention here, [http://www.timelesssky.com/blog/android-x-server ] to get it running? If so, when I create the scripts where do I put/save them to? Thanks
manaul install small
Beside what I already mentioned in above post, it seems like the manual install only install the core packages. I'm guessing that may be a cause of the issues that I'm having.
Update: I was right. I wasn't able to elevate to root because sudo wasnt installed due to the minimal install. Done. Now that I have taken care of that I just need to figure out the xserver. from what I saw on the app video on google play, the person has the device connected to a pc thats communicating the xserver. If thats the case then I rather skip it and stay with rdp and or vnc. I need the desktop environment to be executed and run on my device.
Update 2: I figured the Xserver xdsl. I can lunch the commands from the terminal on my device and it will appear on the running xserver app, (e.g: env DISPLAY=10.0.0.16.0 iceweasel). Its not perfect but, it works. Thanks
frz1 said:
Here is where I am now. I partitioned my sdcard to put 5gb aside for this install. Proceeded with the manual install after step 4 when I followed your guide here, [http://www.timelesssky.com/blog/running-debian-armhf-alongside-android ] to modified the mk-debain script and tried to do the larger loop file first. That was going fine until it turned out the 5120mb setting I did was too large still, the highest possible I guess on a fat32 system is 4gb. I then decided to just go with the partition setup. I install wheezy and everything seems ok. The problem I am having now is with the ssh login and the xserver you recommended at the end of your guide. Idk if its the order that I install things or what but, I am unable to elevate to root during ssh login and the xserver app, well, I'm not getting how it work. Do I have to create all those scripts you mention here, [http://www.timelesssky.com/blog/android-x-server ] to get it running? If so, when I create the scripts where do I put/save them to? Thanks
Click to expand...
Click to collapse
Well first off that's not my guide, just one I suggested, links in my sig are guides and scripts I've written. If you check Sky's guide though it'll state that the reason that 4+ gig loop disk file size worked is because the device was not on vfat file system... I'm not sure on your other questions quoted here as I use other methods than Sky such as using openssh and rdp for connections instead...
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
frz1 said:
Beside what I already mentioned in above post, it seems like the manual install only install the core packages. I'm guessing that may be a cause of the issues that I'm having.
Update: I was right. I wasn't able to elevate to root because sudo wasnt installed due to the minimal install. Done. Now that I have taken care of that I just need to figure out the xserver. from what I saw on the app video on google play, the person has the device connected to a pc thats communicating the xserver. If thats the case then I rather skip it and stay with rdp and or vnc. I need the desktop environment to be executed and run on my device.
Update 2: I figured the Xserver xdsl. I can lunch the commands from the terminal on my device and it will appear on the running xserver app, (e.g: env DISPLAY=10.0.0.16.0 iceweasel). Its not perfect but, it works. Thanks
Click to expand...
Click to collapse
Ah very cool I'm glad you got it working :thumbup: which is something I've yet to do so you're blazing new trails on that front.
If you're feeling adventurous you can set an old device to mine crypto-currencies now without an android app; just got to be careful with any task that uses lots of resources. Or setup a Bramble/MPI system that shares resource load. Or setup a Android development environment for making apps or mods to your system... the options are endless....
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Related
I've seem many threads about it, but couldn't really find a solution.
I just pulled out my sdcard to do some updates in my rom (I was running Th3Bill's miui v4).
I've copied a couple of .zips to try, and when I inserted back, my I /sdcard wasn't mounting.
I've tried to format in windows (fast and normal mode); I've putted this very same card in my tabled (xoom2 me) and it was working fine.
I've tried to run format /sdcard in cwm. same error mounting;
I went to advance > show log:
CWM-based Recovery v5.0.2.7-atrix5
Error mounting /sdcard!
ro.bootloader=unknown
ro.hardware=olympus
ro.revision=33776
ro.emmc=0
init.svc.recovery=running
init.svc.adbd=running
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand. file not found...
W:failed to mount /dev/block/mmcblk1p1 (No such file or directory)
W:failed to mount /dev/block/mmcblk1 (No such file or directory)
Error mounting /sdcard!
I've tried some stuff on adb (someone mentioned it, not sure what it means):
C:\Users\Neon\Documents\Android\Auto stuff>adb shell ln -n -s /data/media /sdcar
d
ln: /sdcard/media: File exists
C:\Users\Neon\Documents\Android\Auto stuff>adb shell ls -a -l
drwxr-xr-x 21 root root 0 Aug 7 02:15 .
drwxr-xr-x 21 root root 0 Aug 7 02:15 ..
drwxr-xr-x 2 root root 0 Aug 7 02:15 boot
drwxrwx--x 5 system cache 4096 Aug 7 01:43 cache
drwxrwx--x 2 root root 0 Jan 1 1970 data
drwxr-xr-x 2 root root 0 Aug 7 02:15 datadata
-rw-r--r-- 1 root root 3875 Jan 1 1970 default.prop
drwxr-xr-x 9 root root 3260 Aug 7 02:15 dev
drwxr-xr-x 2 root root 0 Aug 7 02:15 emmc
drwxr-xr-x 2 root root 0 Aug 7 02:15 etc
-rwxr-x--- 1 root root 94404 Jan 1 1970 init
-rwxr-x--- 1 root root 783 Jan 1 1970 init.rc
drwxr-xr-x 2 root root 0 Aug 7 02:15 osh
drwxr-xr-x 2 root root 0 Aug 7 02:15 pds
drwxr-xr-x 2 root root 0 Aug 7 02:15 preinstall
dr-xr-xr-x 95 root root 0 Jan 1 1970 proc
drwxr-xr-x 3 root root 0 Jan 1 1970 res
drwx------ 2 root root 0 Sep 5 2011 root
drwxr-x--- 2 root root 0 Jan 1 1970 sbin
drwxr-xr-x 2 root root 0 Aug 7 02:15 sd-ext
drwxr-xr-x 2 root root 0 Aug 7 02:16 sdcard
drwxr-xr-x 14 root root 0 Jan 1 1970 sys
drwxr-xr-x 3 root root 0 Jan 1 1970 system
drwxr-xr-x 2 root root 0 Aug 7 02:15 tmp
-rw-r--r-- 1 root root 0 Jan 1 1970 ueventd.goldfish.rc
-rw-r--r-- 1 root root 9731 Jan 1 1970 ueventd.olympus.rc
-rw-r--r-- 1 root root 4078 Jan 1 1970 ueventd.rc
What do I need to do?
Maybe is there some pins not working in my phone? Because I've tried another micro sd and got same error!
Thanks in advance!
Sounds like you really do have some issues with the built-in card slot. Try inspecting it visually, maybe there is some visible damage. Other than that, I'm not sure what can you do... Maybe claim warranty on it?
You should also never run random commands if you don't have at least some idea what they do. Those commands have nothing to do with fixing the sdcard, luckily for you they didn't work.
ravilov said:
Sounds like you really do have some issues with the built-in card slot. Try inspecting it visually, maybe there is some visible damage. Other than that, I'm not sure what can you do... Maybe claim warranty on it?
You should also never run random commands if you don't have at least some idea what they do. Those commands have nothing to do with fixing the sdcard, luckily for you they didn't work.
Click to expand...
Click to collapse
Well, Actually those commands weren't trying to fix it, and I know what ls does, I wasn't much sure about how ln works, but I know that it wouldn't damage my stuff.
I just checked some stuff here, it seems to be a hardware issue indeed, when I put my nail under the card, it reads! Unfortunately I can't claim warranty. I bought this phone used, via ebay, like and year ago, from a seller in USA (I'm in Brazil). I'll try to arrange some workaround (maybe some paper under it might work,...) and hope it works properly.
hello, I need some assistance regarding a strange characters when using ADB commands from MSDOS window.
In my tablet that is running Android ICS 4.0.4, and is rooted, I replaced most of the commands that TOOLBOX was assign to issue in /system/bin. I replaced them with BUSYBOX commands, and everything works fine from the standpoint of the tablet.
But somehow I started to get some weird characters when using the LS command in ADB shell from a PC. so it happened right away after the replacement.
So I did a listing of the root files and folders in the tablet form my PC with the command:
adb shell ls -la /
and this is what I got:
C:\Windows\system32>adb shell ls -la /
total 285
drwxr-xr-x 16 root root 0 Sep 12 11:59 ←[1;34m.←[0m
drwxr-xr-x 16 root root 0 Sep 12 11:59 ←[1;34m..←[0m
drwxr-xr-x 3 root root 0 Sep 12 11:59 ←[1;34macct←[0m
drwxrwx--- 4 system cache 4096 Sep 12 13:01 ←[1;34mcache←[0m
dr-x------ 2 root root 0 Sep 12 11:59 ←[1;34mconfig←[0m
lrwxrwxrwx 1 root root 17 Sep 12 11:59 ←[1;36md←[0m -> ←[1;34m/sys/kernel/debug←[0m
drwxrwx--x 25 system system 4096 Sep 6 23:22 ←[1;34mdata←[0m
-rw-r--r-- 1 root root 89 Dec 31 1969 ←[0;0mdefault.prop←[0m
drwxr-xr-x 12 root root 14240 Sep 12 12:09 ←[1;34mdev←[0m
lrwxrwxrwx 1 root root 11 Sep 12 11:59 ←[1;36metc←[0m -> ←[1;34m/system/etc←[0m
drwxrwxrwx 3 root root 16384 Dec 31 1969 ←[1;34mfirmware←[0m
-rwxr-x--- 1 root root 98736 Dec 31 1969 ←[1;32minit←[0m
-rwxr-x--- 1 root root 2344 Dec 31 1969 ←[1;32minit.goldfish.rc←[0m
-rwxr-x--- 1 root root 15813 Dec 31 1969 ←[1;32minit.qcom.rc←[0m
-rwxr-x--- 1 root root 11014 Dec 31 1969 ←[1;32minit.qcom.sh←[0m
-rwxr-x--- 1 root root 30858 Dec 31 1969 ←[1;32minit.qcom.usb.rc←[0m
-rwxr-x--- 1 root root 8786 Dec 31 1969 ←[1;32minit.qcom.usb.sh←[0m
-rwxr-x--- 1 root root 19420 Dec 31 1969 ←[1;32minit.rc←[0m
-rwxr-x--- 1 root root 3491 Dec 31 1969 ←[1;32minit.target.rc←[0m
-rwxr-x--- 1 root root 12760 Dec 31 1969 ←[1;32minitlogo.rle←[0m
drwxrwxr-x 6 root system 0 Sep 12 11:59 ←[1;34mmnt←[0m
drwxrwx--x 4 system system 1024 Jul 19 22:25 ←[1;34mpersist←[0m
dr-xr-xr-x 900 root root 0 Dec 31 1969 ←[1;34mproc←[0m
drwx------ 2 root root 0 Jun 27 05:47 ←[1;34mroot←[0m
drwxr-x--- 2 root root 0 Dec 31 1969 ←[1;34msbin←[0m
lrwxrwxrwx 1 root root 11 Sep 12 11:59 ←[1;36msdcard←[0m -> ←[1;34m/mnt/sdcard←[0m
drwxr-xr-x 12 root root 0 Sep 12 11:59 ←[1;34msys←[0m
drwxr-xr-x 14 root root 4096 Sep 6 23:20 ←[1;34msystem←[0m
drwxr-xr-x 5 root root 4096 Jul 19 22:25 ←[1;34mtombstones←[0m
-rw-r--r-- 1 root root 272 Dec 31 1969 ←[0;0mueventd.goldfish.rc←[0m
-rw-r--r-- 1 root root 8338 Dec 31 1969 ←[0;0mueventd.rc←[0m
lrwxrwxrwx 1 root root 14 Sep 12 11:59 ←[1;36mvendor←[0m -> ←[1;34m/system/vendor←[0m
But from the tablet when I issue the command ls -la / i get the normal listing but in shows in COLOR, so I''m guessing that <-[1;36m in ADB represents a color ([0,0m for white, [1;34m for dark blue, etc), but how do I go to show color listing in ADB shell in my PC ?
Before when TOOLBOX was handing the LS command there was not color in the listing, but now with BUSYBOX handling the LS command I get nice different colors for files/folders/scripts, etc.
Any way I can fix this from the standpoint of the Widows PC MSDOS window with ADB shell listing files with LS in also in color ???
much appreciated, regards.
UPDATE:
I found out that I can list with ADB shell without those strange characters (in other words with NO COLOR) with the following command:
adb shell ls -la --color=never /
but it would be nice not to have to type --color=never every time I want a listing and better find a way to list it with color from PC in MSDOS window.
you can use a utility like ansicon, which allows msdos command windows to interpret the colour codes. You could add this to windows startup if you want, or use some replacement command line utility that can automatically run an app on startup.
flshg said:
you can use a utility like ansicon, which allows msdos command windows to interpret the colour codes. You could add this to windows startup if you want, or use some replacement command line utility that can automatically run an app on startup.
Click to expand...
Click to collapse
thanks a bunch, it worked just great!
I've struggled to use my Prime for development. I was seeing complaints from the development environment when trying to deploy my debug application about the folder missing. Looking at the Android sources I saw that the deployment was targeting /data/local/tmp which for some reason had been symlinked to a read-only partition. Removing the symlink fixes my debug deployment, but now I've got another strange issue that I don't know how to resolve. When executing "adb shell", my prompt looks like the following:
Code:
uid=2000 gid=2000 groups=1003,1004,1007,1009,1011,1015,1028,3001,3002,3003,[email protected]:/system/etc $
It doesn't seem like uid -> name mappings are working for some reason. "ls -l" shows the same lack of uid -> name mappings:
Code:
-rw-r--r-- 1 0 0 1231 Sep 28 01:59 cpu1.sh
-rw-r--r-- 1 0 0 1218 Sep 28 01:59 cpu2.sh
-rw-r--r-- 1 0 0 1217 Sep 28 01:59 cpu3.sh
-rw-r--r-- 1 0 0 1227 Sep 28 01:59 cpu4.sh
-rw-r--r-- 1 0 0 1222 Sep 28 01:59 cpu5.sh
-r--r----- 1 1002 1002 935 Feb 21 2012 dbus.conf
Can anyone offer any hints on what might be going on and how I might fix this?
Thanks,
Craig
Hi all,
I'm just hacking at my rk3188 box, and trying to get XBMC to read my ext4 external hard drive.
However when the hard drive is mounted, XBMC only sees an empty directory!
Also, in the terminal, "su'ing" as an app user, the directory appears empty also.
This worked perfectly with android 4.2, 4.4 seems be more troublesome.
Code:
[email protected]_872xu:/ # ls -ailrt /mnt/usb_storage/usb/
3222 dr-xr-xr-x 3 media 1023 60 Sep 9 11:32 ..
10959 -rw-rw-rw- 1 root root 0 Sep 9 11:35 testing
8841 drwxrwxrwx 2 media root 60 Sep 9 14:18 .
[email protected]_872xu:/ # mount -t ext4 /dev/block/sda1 /mnt/usb_storage/usb
[email protected]_872xu:/ # ls -l /mnt/usb_storage/usb/backup/
-rwxrwxr-x 1 root root 2147483648 Sep 9 11:20 arch.img
drwxrwxrwx 2 root root 4096 Sep 7 17:30 init.d
[email protected]_872xu:/ # su - app_65
[email protected]_872xu:/ $ ls -l /mnt/usb_storage/usb/backup/
/mnt/usb_storage/usb/backup/: No such file or directory
1|[email protected]_872xu:/ $ ls -l /mnt/usb_storage/usb
-rw-rw-rw- root root 0 2014-09-09 11:35 testing
dmarkey said:
Hi all,
I'm just hacking at my rk3188 box, and trying to get XBMC to read my ext4 external hard drive.
However when the hard drive is mounted, XBMC only sees an empty directory!
Also, in the terminal, "su'ing" as an app user, the directory appears empty also.
This worked perfectly with android 4.2, 4.4 seems be more troublesome.
Code:
[email protected]_872xu:/ # ls -ailrt /mnt/usb_storage/usb/
3222 dr-xr-xr-x 3 media 1023 60 Sep 9 11:32 ..
10959 -rw-rw-rw- 1 root root 0 Sep 9 11:35 testing
8841 drwxrwxrwx 2 media root 60 Sep 9 14:18 .
[email protected]_872xu:/ # mount -t ext4 /dev/block/sda1 /mnt/usb_storage/usb
[email protected]_872xu:/ # ls -l /mnt/usb_storage/usb/backup/
-rwxrwxr-x 1 root root 2147483648 Sep 9 11:20 arch.img
drwxrwxrwx 2 root root 4096 Sep 7 17:30 init.d
[email protected]_872xu:/ # su - app_65
[email protected]_872xu:/ $ ls -l /mnt/usb_storage/usb/backup/
/mnt/usb_storage/usb/backup/: No such file or directory
1|[email protected]_872xu:/ $ ls -l /mnt/usb_storage/usb
-rw-rw-rw- root root 0 2014-09-09 11:35 testing
Click to expand...
Click to collapse
No ideas?
I've create a directory /storage/sdcard2 and mounted it as follows:
mkdir sdcard2
chmod 771 /storage/sdcard2
chgrp 1015 /storage/sdcard2
So it has looks like:
drwxrwx--x 3 root sdcard_rw 60 Feb 12 20:17 sdcard2
Now the external storage looks like:
drwxrwx--x 19 root sdcard_rw 32768 Dec 31 1969 DE52-F3E6
So they match exactly, but for some reason while most apps (non-root) can see and view /storage/DE52-F3E6 nothing but root apps can see /storage/sdcard2 (if I su* others can see it in a console but not access it). In Android (CM12) 5.1, this worked fine, in (CM13) 6.0.1 I'm going crazy. I thought it might be namespace separation in Super SU, but that does not appear to be the case it is as if there is another block that only allows root to see non-standard directories (or files) since creating a file in /storage has the exact same issue.
How do I fix this as it makes using 6.0.1 useless as I can not manually mount my secondary partition on the SD Sard and get access to the data on it (except as root).
su - u_10034
127|[email protected]:/storage # su - u0_a334
[email protected]:/storage $ ls -al
drwxr-xr-x 6 root root 140 Feb 12 20:06 .
drwxr-xr-x 28 root root 0 Feb 12 19:59 ..
drwxrwx--x 19 root sdcard_rw 32768 Dec 31 1969 DE52-F3E6
drwx--x--x 5 root sdcard_rw 4096 Dec 31 2014 emulated
drwxrwx--x 3 root sdcard_rw 60 Feb 12 20:17 sdcard2
drwxr-xr-x 2 root root 60 Aug 2 2015 self
[email protected]:/storage $
At a minimum I want to at be able to access the sdcard2 directory same as I can access DE52-F3E6 the permissions match, but the SE (ls -n) setting differ, but I can not find what setting I need to use there to allow the same access as DE52-F3E6 since DE52-F3E6 is a device and sdcard2 is a directory.
Thanks,
ERIC