[Q] how to use logcat question, Please explain some simple questions - G Tablet Q&A, Help & Troubleshooting

Hello guys,
I have done my level best research but stuck at some simple steps. My goal is to see a logcat from a application for troubleshoot. This is what I have done so far. I have a laptop running on Ubuntu 12.04 32 bit. I followed this link https://help.ubuntu.com/community/AndroidSDK and have SDK manager running successfully.
I have usb debugging enabled on my G-tablet. after connecting tablet and running the command "adb devices" the laptop recognize my device.
then I run the command " adb logcat > logcat.txt " just like explained on this link http://forum.xda-developers.com/showthread.php?t=1616059
after running the above command I noticed a file in my home folder (laptop) named logcat.txt but the file contains only this "Unable to open log device '/dev/log/main': No such file or directory"
So here comes my silly questions:
1.) am I missing something obvious?
2.) If i want to see a log of what is happening when I run a particular application , How do i do it?
3.) Do I have to run SDK manager at the same time I am trying to run adb command? (i mean on background)
OH I have many more questions ,, but for now, please answer above.

theteju said:
after running the above command I noticed a file in my home folder (laptop) named logcat.txt but the file contains only this "Unable to open log device '/dev/log/main': No such file or directory"
Click to expand...
Click to collapse
That looks like a problem on the ROM. Either a misconfigured kernel or the ROM not setting up the log devices correctly. What's the output of this command on the device?
Code:
$ [B]ls -l /dev/log[/B]

crw-rw-rw- root log 10, 47 2013-01-29 11:10 events
crw-rw-rw- root log 10, 46 2013-01-29 11:10 radio
crw-rw-rw- root log 10, 45 2013-01-29 11:10 system
thats the output on my tablet running the command you mentioned.

theteju said:
crw-rw-rw- root log 10, 47 2013-01-29 11:10 events
crw-rw-rw- root log 10, 46 2013-01-29 11:10 radio
crw-rw-rw- root log 10, 45 2013-01-29 11:10 system
Click to expand...
Click to collapse
And there you have it. The main device is non-existent--as the error message stated. Plus, the major and minor device numbers seem wrong.
What's the output of this command?
Code:
$ [B]su[/B]
# [B]strings /init | fgrep log/[/B]
/dev/log/
/dev/log/main
/dev/log/radio

same as yours.
/dev/log/
/dev/log/main
/dev/log/radio

so what is going on with my system? Am I looking at clean flash?

theteju said:
same as yours.
/dev/log/
/dev/log/main
/dev/log/radio
Click to expand...
Click to collapse
Next:
Reboot the device and post the output of this command:
Code:
$ [B]dmesg | fgrep logger[/B]
[ 13.343038] logger: created 64K log 'log_main'
[ 13.343216] logger: created 256K log 'log_events'
[ 13.343395] logger: created 64K log 'log_radio'
[ 13.343574] logger: created 64K log 'log_system'

[email protected]:/ $ su
[email protected]:/ # dmesg | fgrep logger
<6>[ 1.969399] logger: created 256K log 'log_main'
<6>[ 1.969608] logger: created 256K log 'log_events'
<6>[ 1.969750] logger: created 256K log 'log_radio'
<6>[ 1.969899] logger: created 256K log 'log_system'
[email protected]:/ #

sorry I am being impatient. and Thanks for your prompt replies..I understand its too late @ your end now.

theteju said:
I understand its too late @ your end now.
Click to expand...
Click to collapse
Well, I *was* a bit sleepy, but, now that you've tossed this bizarre problem onto my lap, I'm feeling decidedly perky. Next:
Code:
$ su
# [B]ls -l /sys/class/misc/ /sys/devices/virtual/misc/ | fgrep log_[/B]
lrwxrwxrwx 1 root root 0 Jan 29 23:45 log_events -> ../../devices/virtual/misc/log_events
lrwxrwxrwx 1 root root 0 Jan 29 23:45 log_main -> ../../devices/virtual/misc/log_main
lrwxrwxrwx 1 root root 0 Jan 29 23:45 log_radio -> ../../devices/virtual/misc/log_radio
lrwxrwxrwx 1 root root 0 Jan 29 23:45 log_system -> ../../devices/virtual/misc/log_system
drwxr-xr-x 3 root root 0 Jan 29 23:45 log_events
drwxr-xr-x 3 root root 0 Jan 29 23:45 log_main
drwxr-xr-x 3 root root 0 Jan 29 23:45 log_radio
drwxr-xr-x 3 root root 0 Jan 29 23:45 log_system
Also repeat the "ls -l /dev/log" command in post #2.

/devices/virtual/misc/ | fgrep log_ <
lrwxrwxrwx root root 2013-01-29 13:52 log_events -> ../../devices/virtual/misc/log_events
lrwxrwxrwx root root 2013-01-29 13:52 log_main -> ../../devices/virtual/misc/log_main
lrwxrwxrwx root root 2013-01-29 13:52 log_radio -> ../../devices/virtual/misc/log_radio
lrwxrwxrwx root root 2013-01-29 13:52 log_system -> ../../devices/virtual/misc/log_system
drwxr-xr-x root root 2013-01-29 13:52 log_events
drwxr-xr-x root root 2013-01-29 13:52 log_main
drwxr-xr-x root root 2013-01-29 13:52 log_radio
drwxr-xr-x root root 2013-01-29 13:52 log_system
[email protected]:/ #
Sent from my Malata SMBA1002 using xda app-developers app

[email protected]:/ # ls -l /dev/log
crw-rw-rw- root log 10, 47 2013-01-29 13:12 events
crw-rw-rw- root log 10, 46 2013-01-29 13:12 radio
crw-rw-rw- root log 10, 45 2013-01-29 13:12 system
[email protected]:/ #
Sent from my Malata SMBA1002 using xda app-developers app

theteju said:
[email protected]:/ # ls -l /dev/log
crw-rw-rw- root log 10, 47 2013-01-29 13:12 events
crw-rw-rw- root log 10, 46 2013-01-29 13:12 radio
crw-rw-rw- root log 10, 45 2013-01-29 13:12 system
[email protected]:/ #
Click to expand...
Click to collapse
You did reboot the device like I asked you to, right?
Next:
Code:
$ [B]su[/B]
# [B]for f in /sys/class/misc/log_*/dev[/B]
> [B]do[/B] [B]echo $f: $(cat $f)[/B]
> [B]done[/B]
/sys/class/misc/log_events/dev: 10:46
/sys/class/misc/log_main/dev: 10:47
/sys/class/misc/log_radio/dev: 10:45
/sys/class/misc/log_system/dev: 10:44

Yes I did reboot.
[email protected]:/ # for f /sys/class/misc//log_*/dev
sh: syntax error: '/sys/class/misc//log_*/dev' unexpected
[email protected]:/ # echo $f: $(cat $f)
done
The terminal is stuck with last command.
Sent from my Malata SMBA1002 using xda app-developers app

I think I am doing something really stupid. Please make the commands in bold only.

The commands are in bold. You've missed out the `in' and 'do' keywords. Close the Term window and retype.
You should also be able to use adb: "adb logcat" doesn't work, however, "adb shell" should.

[email protected]:/ $ su
[email protected]:/ # for f in /sys/class/misc/log_*/dev
> do echo $f: $(cat $f)
> done
/sys/class/misc/log_events/dev: 10:47
/sys/class/misc/log_main/dev: 10:48
/sys/class/misc/log_radio/dev: 10:46
/sys/class/misc/log_system/dev: 10:45
[email protected]:/ #

rajeevvp said:
The commands are in bold. You've missed out the `in' and 'do' keywords. Close the Term window and retype.
You should also be able to use adb: "adb logcat" doesn't work, however, "adb shell" should.
Click to expand...
Click to collapse
Does android SDK has to run on background on laptop to use adb?

cool I am in adb shell, makes life more easy..

Next:
Code:
$ [B]su[/B]
# [B]cat /sys/class/misc/log_*/uevent
[/B]MAJOR=10
MINOR=46
DEVNAME=log_events
MAJOR=10
MINOR=47
DEVNAME=log_main
MAJOR=10
MINOR=45
DEVNAME=log_radio
MAJOR=10
MINOR=44
DEVNAME=log_system
---------- Post added at 01:18 AM ---------- Previous post was at 01:16 AM ----------
theteju said:
Does android SDK has to run on background on laptop to use adb?
Click to expand...
Click to collapse
On Linux, you only need the adb binary to run adb commands. You don't need the entire Android SDK.

Related

[Q] apks from marketplace folder location

Hi, I am using tnt 4.4.0 on my g tablet and I see the system/apps directory with loads of apk's that came packaged with the tnt rom.
My question or issue is this.
When I download an app from the marketplace I can't seem to figure out where it goes.
Using file expert v3.1.0 I searched all over and still no luck.. using this same app I can make backups of my apps by clicking the apps tab and long clicking an app and selecting backup but I would assume the original Zip or APK that I downloaded is on my device somewhere?
Or is it just unzipping from the market and I then have to zip them into a new file with an apk extension?
Innerchaos said:
My question or issue is this.
When I download an app from the marketplace I can't seem to figure out where it goes.
Click to expand...
Click to collapse
To answer this part of your question:
Downloaded apps are either in /data/app or /mnt/asec (this, after much filesystem path-manipulation magic post system boot) for apps moved to SD card:
Code:
$ su
# find /data/ -name *.apk
/data/app/com.google.android.street-1.apk
/data/app/com.google.android.youtube-1.apk
/data/app/com.android.vending-2.apk
/data/app/com.curvefish.widgets.wifionoff.donate-1.apk
/data/app/com.jasoncalhoun.android.systeminfowidget-1.apk
/data/app/com.facebook.katana-1.apk
/data/app/com.dataviz.docstogoapp-1.apk
/data/app/org.zooper.acw-1.apk
/data/app/jackpal.androidterm-1.apk
/data/app/com.curvefish.apps.appremover-1.apk
/data/app/com.curvefish.widgets.bluetoothonoff-1.apk
/data/app/com.noshufou.android.su-1.apk
/data/app/org.adwfreak.launcher-1.apk
#
# find /mnt/asec/ -name *.apk
/mnt/asec/com.rovio.angrybirdsrio-2/pkg.apk
/mnt/asec/com.google.android.apps.maps-2/pkg.apk
/mnt/asec/com.alensw.PicFolder-1/pkg.apk
/mnt/asec/com.farproc.wifi.analyzer-2/pkg.apk
/mnt/asec/com.redirectin.rockplayer.android.unified-2/pkg.apk
/mnt/asec/com.speedsoftware.rootexplorer-2/pkg.apk
/mnt/asec/com.google.android.voicesearch-1/pkg.apk
/mnt/asec/com.dataviz.docstogo-2/pkg.apk
/mnt/asec/net.androidcomics.acv-1/pkg.apk
/mnt/asec/com.rovio.angrybirdsseasons-1/pkg.apk
/mnt/asec/com.seesmic-1/pkg.apk
/mnt/asec/com.rovio.angrybirds-1/pkg.apk
/mnt/asec/com.adobe.flashplayer-1/pkg.apk
/mnt/asec/com.google.android.gm-1/pkg.apk
/mnt/asec/com.google.android.stardroid-1/pkg.apk
As to your other questions, I don't have definitive answers, but, looking inside those 2 directories (/data, and, /mnt/sdcard after you've unmount it) might prove instructive.
My mnt/asec directory is empty as well
Innerchaos said:
My mnt/asec directory is empty as well
Click to expand...
Click to collapse
Did you run the find command as root? (Or, have root permissions when you looked inside /mnt/asec?)
/mnt/asec might also be empty simply because you haven't moved any apps to the SD card.
The actual .apk files are in /mnt/sdcard/.android_secure/, but with a .asec extension instead of .apk. You'll have to unmount /mnt/sdcard in Settings > Storage first, then mount it again manually for you to see the files in that directory:
Code:
$ su
# mount -r -t vfat /dev/block/mmcblk3p1 /mnt/sdcard
# ls -l /mnt/sdcard/.android_secure/
total 124216
-rwxr-xr-x 1 root root 13870592 Jun 8 23:17 com.adobe.flashplayer-2.asec
-rwxr-xr-x 1 root root 2161664 May 30 03:37 com.alensw.PicFolder-1.asec
-rwxr-xr-x 1 root root 7483904 May 20 08:44 com.dataviz.docstogo-2.asec
-rwxr-xr-x 1 root root 2161664 Jun 3 03:24 com.farproc.wifi.analyzer-2.asec
-rwxr-xr-x 1 root root 8548352 May 26 22:18 com.google.android.apps.maps-2.asec
-rwxr-xr-x 1 root root 4290560 May 17 10:22 com.google.android.gm-1.asec
-rwxr-xr-x 1 root root 4290560 May 17 10:21 com.google.android.stardroid-1.asec
-rwxr-xr-x 1 root root 4290560 May 17 10:22 com.google.android.voicesearch-1.asec
-rwxr-xr-x 1 root root 9612800 May 17 10:22 com.redirectin.rockplayer.android.unified-2.asec
-rwxr-xr-x 1 root root 21321728 May 17 10:21 com.rovio.angrybirds-1.asec
-rwxr-xr-x 1 root root 19192832 May 19 19:58 com.rovio.angrybirdsrio-2.asec
-rwxr-xr-x 1 root root 22386176 May 17 10:21 com.rovio.angrybirdsseasons-1.asec
-rwxr-xr-x 1 root root 3226112 May 17 10:22 com.seesmic-1.asec
-rwxr-xr-x 1 root root 2161664 May 24 20:11 com.speedsoftware.rootexplorer-2.asec
-rwxr-xr-x 1 root root 2161664 May 28 16:03 net.androidcomics.acv-1.asec
#
# umount /mnt/sdcard
You won't see those files when the SD card is mounted normally by Android. Then, the /mnt/sdcard/.android_secure directory will appear to be empty.
You might also have to use /dev/block/mmcblk2p1 instead of /dev/block/mmcblk3p1 in the mount command above, if you run a Gingerbread-based ROM.

[Q] Debian Kit for Android - 3g, etc

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.

weird characters with ADB command: adb shell ls -la /

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!

[Q] How to fix shell username funkiness?

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

[Q] Strange behavior with ext4 mount (root can see but apps cannot)

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?

Categories

Resources