Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.
Moderators: Hacker , petermad , Stefan2 , white
jakubklos
Senior Member
Posts: 221 Joined: 2012-07-11, 14:48 UTC
Post
by *jakubklos » 2013-02-02, 16:06 UTC
tobbbie wrote: Recently I tried to find the place where the map files for the "Navfree" application are stored on my device. I could NOT get to that directory using ADBD plugin. I tried also the option with and without "ls" use - no change.
Switching on debug it shows that the "ls" is not getting all characters from the original path. The directory to list is named "$com.MAP.OSM.DEU" but the "ls" issues ".com.MAP.OSM.DEU" instead.
I checked and it seems that the "$" is a legal character in filenames, so it should be treated right.
Ok a fix a has been implemented:
5.7:
- Update: Shell path escaping added for all path operations, added escaping for "\$
kvm75
Junior Member
Posts: 6 Joined: 2007-05-09, 12:50 UTC
Post
by *kvm75 » 2013-02-05, 11:26 UTC
Is android tablet support complete?
I have a tablet (non-rooted) which is detected properly by this plugin.
But the apps are not listed.
When I try to install new apps, the installation works fine, but the apps folder is still empty.
OS: ICS
-kvm
jakubklos
Senior Member
Posts: 221 Joined: 2012-07-11, 14:48 UTC
Post
by *jakubklos » 2013-02-05, 12:11 UTC
kvm75 wrote: Is android tablet support complete?
I have a tablet (non-rooted) which is detected properly by this plugin.
But the apps are not listed.
When I try to install new apps, the installation works fine, but the apps folder is still empty.
OS: ICS
-kvm
Yes, it is supported even in a non-rooted environment. In such case the pm command is called to get the apps. Send us the logs
kvm75
Junior Member
Posts: 6 Joined: 2007-05-09, 12:50 UTC
Post
by *kvm75 » 2013-02-06, 04:26 UTC
[quote="jakubklos"][quote="kvm75"]Is android tablet support complete?
I have a tablet (non-rooted) which is detected properly by this plugin.
But the apps are not listed.
When I try to install new apps, the installation works fine, but the apps folder is still empty.
OS: ICS
-kvm[/quote]
Yes, it is supported even in a non-rooted environment. In such case the pm command is called to get the apps. Send us the logs[/quote]
I enabled debug in ADB and here is the debug.log
[code]
2013-02-06 08:30:10 [1158] Connecting to ADB server...
2013-02-06 08:30:10 [1158] Connected
2013-02-06 08:30:10 [1158] ADB Write: host:devices
2013-02-06 08:30:10 [1158] ADB Read:
2013-02-06 08:51:46 [1158] Connecting to ADB server...
2013-02-06 08:51:46 [1158] Connected
2013-02-06 08:51:46 [1158] ADB Write: host:devices
2013-02-06 08:51:46 [1158] ADB Read:
2013-02-06 09:21:15 [1158] Connecting to ADB server...
2013-02-06 09:21:15 [1158] Connected
2013-02-06 09:21:15 [1158] ADB Write: host:devices
2013-02-06 09:21:15 [1158] ADB Read:
2013-02-06 09:51:26 [1158] Connecting to ADB server...
2013-02-06 09:51:27 [1158] ADB Binary: "C:\PortableApps\TotalCommanderPortable\TotalCommander\Plugins\wfx\ADB\bin\adb" "devices"
2013-02-06 09:51:31 [1158] Connected
2013-02-06 09:51:31 [1158] ADB Write: host:devices
2013-02-06 09:51:31 [1158] ADB Read: 20080123456fc081 device
2013-02-06 09:51:32 [1158] Connecting to ADB server...
2013-02-06 09:51:32 [1158] Connected
2013-02-06 09:51:32 [1158] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:32 [1158] ADB Read: OKAY
2013-02-06 09:51:32 [1158] ADB Write: shell:ls -l "/"
2013-02-06 09:51:32 [1158] ADB Read: OKAY
2013-02-06 09:51:32 [1158] ADB Read Data: drwxr-xr-x root root 2013-02-06 08:29 acct
drwxrwx--- system cache 2013-02-05 20:47 cache
dr-x------ root root 2013-02-06 08:29 config
lrwxrwxrwx root root 2013-02-06 08:29 d -> /sys/kernel/debug
drwxrwx--x system system 2013-02-02 22:57 data
-rw-r--r-- root root 89 1970-01-01 05:30 default.prop
drwxr-xr-x root root 2013-02-06 08:29 dev
lrwxrwxrwx root root 2013-02-06 08:29 etc -> /system/etc
-rwxr-x--- root root 102784 1970-01-01 05:30 init
-rwxr-x--- root root 2344 1970-01-01 05:30 init.goldfish.rc
-rwxr-x--- root root 18396 1970-01-01 05:30 init.rc
-rwxr-x--- root root 3186 1970-01-01 05:30 init.sun5i.rc
-rwxr-x--- root root 3445 1970-01-01 05:30 init.sun5i.usb.rc
-rwxr-x--- root root 1536000 1970-01-01 05:30 initlogo.rle
drwxrwxr-x root system 2013-02-06 08:29 mnt
dr-xr-xr-x root root 1970-01-01 05:30 proc
drwx------ root root 2012-09-17 12:37 root
drwxr-x--- root root 1970-01-01 05:30 sbin
lrwxrwxrwx root root 2013-02-06 08:29 sdcard -> /mnt/sdcard
drwxr-xr-x root root 2013-02-06 08:29 sys
drwxr-xr-x root root 2012-01-01 20:39 system
-rw-r--r-- root root 272 1970-01-01 05:30 ueventd.goldfish.rc
-rw-r--r-- root root 3825 1970-01-01 05:30 ueventd.rc
-rw-r--r-- root root 822 1970-01-01 05:30 ueventd.sun5i.rc
lrwxrwxrwx root root 2013-02-06 08:29 vendor -> /system/vendor
2013-02-06 09:51:33 [1158] Connecting to ADB server...
2013-02-06 09:51:33 [1158] Connected
2013-02-06 09:51:33 [1158] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:33 [1158] ADB Read: OKAY
2013-02-06 09:51:33 [1158] ADB Write: shell:ls -l "/data/app/"
2013-02-06 09:51:33 [1158] ADB Read: OKAY
2013-02-06 09:51:33 [1158] ADB Read Data: opendir failed, Permission denied
2013-02-06 09:51:33 [1158] Connecting to ADB server...
2013-02-06 09:51:33 [1158] Connected
2013-02-06 09:51:33 [1158] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:33 [1158] ADB Read: OKAY
2013-02-06 09:51:33 [1158] ADB Write: shell:su -c "ls -l "/data/app/""
2013-02-06 09:51:33 [1158] ADB Read: OKAY
2013-02-06 09:51:33 [1158] ADB Read Data: /system/bin/sh: su: not found
2013-02-06 09:51:34 [1158] Connecting to ADB server...
2013-02-06 09:51:34 [1158] Connected
2013-02-06 09:51:34 [1158] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:34 [1158] ADB Read: OKAY
2013-02-06 09:51:34 [1158] ADB Write: shell:ls -l "/"
2013-02-06 09:51:34 [1158] ADB Read: OKAY
2013-02-06 09:51:34 [1158] ADB Read Data: drwxr-xr-x root root 2013-02-06 08:29 acct
drwxrwx--- system cache 2013-02-05 20:47 cache
dr-x------ root root 2013-02-06 08:29 config
lrwxrwxrwx root root 2013-02-06 08:29 d -> /sys/kernel/debug
drwxrwx--x system system 2013-02-02 22:57 data
-rw-r--r-- root root 89 1970-01-01 05:30 default.prop
drwxr-xr-x root root 2013-02-06 08:29 dev
lrwxrwxrwx root root 2013-02-06 08:29 etc -> /system/etc
-rwxr-x--- root root 102784 1970-01-01 05:30 init
-rwxr-x--- root root 2344 1970-01-01 05:30 init.goldfish.rc
-rwxr-x--- root root 18396 1970-01-01 05:30 init.rc
-rwxr-x--- root root 3186 1970-01-01 05:30 init.sun5i.rc
-rwxr-x--- root root 3445 1970-01-01 05:30 init.sun5i.usb.rc
-rwxr-x--- root root 1536000 1970-01-01 05:30 initlogo.rle
drwxrwxr-x root system 2013-02-06 08:29 mnt
dr-xr-xr-x root root 1970-01-01 05:30 proc
drwx------ root root 2012-09-17 12:37 root
drwxr-x--- root root 1970-01-01 05:30 sbin
lrwxrwxrwx root root 2013-02-06 08:29 sdcard -> /mnt/sdcard
drwxr-xr-x root root 2013-02-06 08:29 sys
drwxr-xr-x root root 2012-01-01 20:39 system
-rw-r--r-- root root 272 1970-01-01 05:30 ueventd.goldfish.rc
-rw-r--r-- root root 3825 1970-01-01 05:30 ueventd.rc
-rw-r--r-- root root 822 1970-01-01 05:30 ueventd.sun5i.rc
lrwxrwxrwx root root 2013-02-06 08:29 vendor -> /system/vendor
2013-02-06 09:51:47 [149C] Connecting to ADB server...
2013-02-06 09:51:47 [149C] Connected
2013-02-06 09:51:47 [149C] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Write: shell:echo $EXTERNAL_STORAGE
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Read Data: /mnt/sdcard
2013-02-06 09:51:47 [149C] Connecting to ADB server...
2013-02-06 09:51:47 [149C] Connected
2013-02-06 09:51:47 [149C] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Write: shell:logcat -f "/mnt/sdcard/BEDD557D.tmp" -d
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Read Data: open /proc/kmsg failed: Permission denied
2013-02-06 09:51:47 [149C] Connecting to ADB server...
2013-02-06 09:51:47 [149C] Connected
2013-02-06 09:51:47 [149C] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Write: sync:
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Write: STAT
[/code]
jakubklos
Senior Member
Posts: 221 Joined: 2012-07-11, 14:48 UTC
Post
by *jakubklos » 2013-02-06, 07:10 UTC
kvm75 wrote: jakubklos wrote: kvm75 wrote: Is android tablet support complete?
I have a tablet (non-rooted) which is detected properly by this plugin.
But the apps are not listed.
When I try to install new apps, the installation works fine, but the apps folder is still empty.
OS: ICS
-kvm
Yes, it is supported even in a non-rooted environment. In such case the pm command is called to get the apps. Send us the logs
I enabled debug in ADB and here is the debug.log
Code: Select all
2013-02-06 08:30:10 [1158] Connecting to ADB server...
2013-02-06 08:30:10 [1158] Connected
2013-02-06 08:30:10 [1158] ADB Write: host:devices
2013-02-06 08:30:10 [1158] ADB Read:
2013-02-06 08:51:46 [1158] Connecting to ADB server...
2013-02-06 08:51:46 [1158] Connected
2013-02-06 08:51:46 [1158] ADB Write: host:devices
2013-02-06 08:51:46 [1158] ADB Read:
2013-02-06 09:21:15 [1158] Connecting to ADB server...
2013-02-06 09:21:15 [1158] Connected
2013-02-06 09:21:15 [1158] ADB Write: host:devices
2013-02-06 09:21:15 [1158] ADB Read:
2013-02-06 09:51:26 [1158] Connecting to ADB server...
2013-02-06 09:51:27 [1158] ADB Binary: "C:\PortableApps\TotalCommanderPortable\TotalCommander\Plugins\wfx\ADB\bin\adb" "devices"
2013-02-06 09:51:31 [1158] Connected
2013-02-06 09:51:31 [1158] ADB Write: host:devices
2013-02-06 09:51:31 [1158] ADB Read: 20080123456fc081 device
2013-02-06 09:51:32 [1158] Connecting to ADB server...
2013-02-06 09:51:32 [1158] Connected
2013-02-06 09:51:32 [1158] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:32 [1158] ADB Read: OKAY
2013-02-06 09:51:32 [1158] ADB Write: shell:ls -l "/"
2013-02-06 09:51:32 [1158] ADB Read: OKAY
2013-02-06 09:51:32 [1158] ADB Read Data: drwxr-xr-x root root 2013-02-06 08:29 acct
drwxrwx--- system cache 2013-02-05 20:47 cache
dr-x------ root root 2013-02-06 08:29 config
lrwxrwxrwx root root 2013-02-06 08:29 d -> /sys/kernel/debug
drwxrwx--x system system 2013-02-02 22:57 data
-rw-r--r-- root root 89 1970-01-01 05:30 default.prop
drwxr-xr-x root root 2013-02-06 08:29 dev
lrwxrwxrwx root root 2013-02-06 08:29 etc -> /system/etc
-rwxr-x--- root root 102784 1970-01-01 05:30 init
-rwxr-x--- root root 2344 1970-01-01 05:30 init.goldfish.rc
-rwxr-x--- root root 18396 1970-01-01 05:30 init.rc
-rwxr-x--- root root 3186 1970-01-01 05:30 init.sun5i.rc
-rwxr-x--- root root 3445 1970-01-01 05:30 init.sun5i.usb.rc
-rwxr-x--- root root 1536000 1970-01-01 05:30 initlogo.rle
drwxrwxr-x root system 2013-02-06 08:29 mnt
dr-xr-xr-x root root 1970-01-01 05:30 proc
drwx------ root root 2012-09-17 12:37 root
drwxr-x--- root root 1970-01-01 05:30 sbin
lrwxrwxrwx root root 2013-02-06 08:29 sdcard -> /mnt/sdcard
drwxr-xr-x root root 2013-02-06 08:29 sys
drwxr-xr-x root root 2012-01-01 20:39 system
-rw-r--r-- root root 272 1970-01-01 05:30 ueventd.goldfish.rc
-rw-r--r-- root root 3825 1970-01-01 05:30 ueventd.rc
-rw-r--r-- root root 822 1970-01-01 05:30 ueventd.sun5i.rc
lrwxrwxrwx root root 2013-02-06 08:29 vendor -> /system/vendor
2013-02-06 09:51:33 [1158] Connecting to ADB server...
2013-02-06 09:51:33 [1158] Connected
2013-02-06 09:51:33 [1158] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:33 [1158] ADB Read: OKAY
2013-02-06 09:51:33 [1158] ADB Write: shell:ls -l "/data/app/"
2013-02-06 09:51:33 [1158] ADB Read: OKAY
2013-02-06 09:51:33 [1158] ADB Read Data: opendir failed, Permission denied
2013-02-06 09:51:33 [1158] Connecting to ADB server...
2013-02-06 09:51:33 [1158] Connected
2013-02-06 09:51:33 [1158] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:33 [1158] ADB Read: OKAY
2013-02-06 09:51:33 [1158] ADB Write: shell:su -c "ls -l "/data/app/""
2013-02-06 09:51:33 [1158] ADB Read: OKAY
2013-02-06 09:51:33 [1158] ADB Read Data: /system/bin/sh: su: not found
2013-02-06 09:51:34 [1158] Connecting to ADB server...
2013-02-06 09:51:34 [1158] Connected
2013-02-06 09:51:34 [1158] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:34 [1158] ADB Read: OKAY
2013-02-06 09:51:34 [1158] ADB Write: shell:ls -l "/"
2013-02-06 09:51:34 [1158] ADB Read: OKAY
2013-02-06 09:51:34 [1158] ADB Read Data: drwxr-xr-x root root 2013-02-06 08:29 acct
drwxrwx--- system cache 2013-02-05 20:47 cache
dr-x------ root root 2013-02-06 08:29 config
lrwxrwxrwx root root 2013-02-06 08:29 d -> /sys/kernel/debug
drwxrwx--x system system 2013-02-02 22:57 data
-rw-r--r-- root root 89 1970-01-01 05:30 default.prop
drwxr-xr-x root root 2013-02-06 08:29 dev
lrwxrwxrwx root root 2013-02-06 08:29 etc -> /system/etc
-rwxr-x--- root root 102784 1970-01-01 05:30 init
-rwxr-x--- root root 2344 1970-01-01 05:30 init.goldfish.rc
-rwxr-x--- root root 18396 1970-01-01 05:30 init.rc
-rwxr-x--- root root 3186 1970-01-01 05:30 init.sun5i.rc
-rwxr-x--- root root 3445 1970-01-01 05:30 init.sun5i.usb.rc
-rwxr-x--- root root 1536000 1970-01-01 05:30 initlogo.rle
drwxrwxr-x root system 2013-02-06 08:29 mnt
dr-xr-xr-x root root 1970-01-01 05:30 proc
drwx------ root root 2012-09-17 12:37 root
drwxr-x--- root root 1970-01-01 05:30 sbin
lrwxrwxrwx root root 2013-02-06 08:29 sdcard -> /mnt/sdcard
drwxr-xr-x root root 2013-02-06 08:29 sys
drwxr-xr-x root root 2012-01-01 20:39 system
-rw-r--r-- root root 272 1970-01-01 05:30 ueventd.goldfish.rc
-rw-r--r-- root root 3825 1970-01-01 05:30 ueventd.rc
-rw-r--r-- root root 822 1970-01-01 05:30 ueventd.sun5i.rc
lrwxrwxrwx root root 2013-02-06 08:29 vendor -> /system/vendor
2013-02-06 09:51:47 [149C] Connecting to ADB server...
2013-02-06 09:51:47 [149C] Connected
2013-02-06 09:51:47 [149C] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Write: shell:echo $EXTERNAL_STORAGE
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Read Data: /mnt/sdcard
2013-02-06 09:51:47 [149C] Connecting to ADB server...
2013-02-06 09:51:47 [149C] Connected
2013-02-06 09:51:47 [149C] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Write: shell:logcat -f "/mnt/sdcard/BEDD557D.tmp" -d
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Read Data: open /proc/kmsg failed: Permission denied
2013-02-06 09:51:47 [149C] Connecting to ADB server...
2013-02-06 09:51:47 [149C] Connected
2013-02-06 09:51:47 [149C] ADB Write: host:transport:20080123456fc081
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Write: sync:
2013-02-06 09:51:47 [149C] ADB Read: OKAY
2013-02-06 09:51:47 [149C] ADB Write: STAT
It should issue the pm command but it does not. I will check why
Ok, found and fixed it:
5.8:
- Update: App listing in special non-rooted case (pm command used)
kvm75
Junior Member
Posts: 6 Joined: 2007-05-09, 12:50 UTC
Post
by *kvm75 » 2013-02-06, 09:55 UTC
Thanks. That was quick.
I will be unable to verify as I just rooted my tablet
With rooting (and ADB version 5.7), it shows only apps installed on the system.
Apps moved to SD are not showing up. Is that to be expected.
I am not an android expert, I am unable to understand how the apps are organized in my tablet. Seems that each moved app is being mounted separately.
jakubklos
Senior Member
Posts: 221 Joined: 2012-07-11, 14:48 UTC
Post
by *jakubklos » 2013-02-06, 10:04 UTC
kvm75 wrote: Thanks. That was quick.
I will be unable to verify as I just rooted my tablet
With rooting (and ADB version 5.7), it shows only apps installed on the system.
Apps moved to SD are not showing up. Is that to be expected.
I am not an android expert, I am unable to understand how the apps are organized in my tablet. Seems that each moved app is being mounted separately.
Right, it lists only apps under /data/app/
I could add the ones on sdcard too...
Aleq
Junior Member
Posts: 55 Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU
Post
by *Aleq » 2013-02-10, 13:43 UTC
Hi Jakub,
I'm running now a ROM which is rooted, but does not start ADB shell as root, I need to explicitly enter "su" to get the "#" prompt. I suppose this is the reason why I can't navigate into /data/ in your plugin. Is it possible to request root access upon startup? Can I set it somewhere? I haven't found anything like that in options.
Thanks!
Aleš
jakubklos
Senior Member
Posts: 221 Joined: 2012-07-11, 14:48 UTC
Post
by *jakubklos » 2013-02-10, 15:00 UTC
Aleq wrote: Hi Jakub,
I'm running now a ROM which is rooted, but does not start ADB shell as root, I need to explicitly enter "su" to get the "#" prompt. I suppose this is the reason why I can't navigate into /data/ in your plugin. Is it possible to request root access upon startup? Can I set it somewhere? I haven't found anything like that in options.
Thanks!
Aleš
Hi Ales,
the plugin tries all of the different approaches. busybox, ls, su -c and others so it should eventually get the list of those permission denied folders. Could you send me the logs? I specifically designed the plugin so it would work 99%
Aleq
Junior Member
Posts: 55 Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU
Post
by *Aleq » 2013-02-10, 15:25 UTC
jakubklos wrote: Hi Ales,
the plugin tries all of the different approaches. busybox, ls, su -c and others so it should eventually get the list of those permission denied folders. Could you send me the logs? I specifically designed the plugin so it would work 99%
I have switched to alternative kernel and it's fine now. I can switch to a backup however and do the tests and provide you log. Is it just enable logging in the plugin and provide you that? Or something else also (logcat, ...)
jakubklos
Senior Member
Posts: 221 Joined: 2012-07-11, 14:48 UTC
Post
by *jakubklos » 2013-02-11, 07:15 UTC
Aleq wrote: jakubklos wrote: Hi Ales,
the plugin tries all of the different approaches. busybox, ls, su -c and others so it should eventually get the list of those permission denied folders. Could you send me the logs? I specifically designed the plugin so it would work 99%
I have switched to alternative kernel and it's fine now. I can switch to a backup however and do the tests and provide you log. Is it just enable logging in the plugin and provide you that? Or something else also (logcat, ...)
Hi Ales,
yes pls put it back so I can fix it for other people. Just turning on the debug logs in ADB will do. Thank you
Aleq
Junior Member
Posts: 55 Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU
Post
by *Aleq » 2013-02-11, 11:16 UTC
HI Jakub,
sure thing. Here comes the log:
Code: Select all
2013-02-11 12:12:46 [1B84] Connecting to ADB server...
2013-02-11 12:12:46 [1B84] Connected
2013-02-11 12:12:46 [1B84] ADB Write: host:devices
2013-02-11 12:12:46 [1B84] ADB Read: 0123456789ABCDEF device
2013-02-11 12:12:59 [1B84] Connecting to ADB server...
2013-02-11 12:13:00 [1B84] ADB Binary: "adb" "devices"
2013-02-11 12:13:05 [1B84] Connected
2013-02-11 12:13:05 [1B84] ADB Write: host:devices
2013-02-11 12:13:05 [1B84] ADB Read: 0123456789ABCDEF device
2013-02-11 12:13:06 [1B84] Connecting to ADB server...
2013-02-11 12:13:06 [1B84] Connected
2013-02-11 12:13:06 [1B84] ADB Write: host:transport:0123456789ABCDEF
2013-02-11 12:13:06 [1B84] ADB Read: OKAY
2013-02-11 12:13:06 [1B84] ADB Write: shell:busybox ls -lp -a -e --color=never "/"
2013-02-11 12:13:06 [1B84] ADB Read: OKAY
2013-02-11 12:13:06 [1B84] ADB Read Data: total 448
drwxr-xr-x 16 0 0 0 Mon Feb 11 11:10:41 2013 ./
drwxr-xr-x 16 0 0 0 Mon Feb 11 11:10:41 2013 ../
drwxr-xr-x 3 0 0 0 Mon Feb 11 11:10:41 2013 acct/
-rw-r--r-- 1 0 0 230 Mon Feb 11 11:10:41 2013 boot.txt
drwxrwx--x 5 1000 2001 4096 Mon Feb 11 06:57:16 2013 cache/
-rwxr-x--- 1 0 0 244020 Mon Feb 11 11:10:41 2013 charger
dr-x------ 2 0 0 0 Mon Feb 11 11:10:41 2013 config/
lrwxrwxrwx 1 0 0 20 Mon Feb 11 11:10:41 2013 config.sh -> /etc/init.d/21config
lrwxrwxrwx 1 0 0 16 Mon Feb 11 11:10:41 2013 config.txt -> /data/config.txt
lrwxrwxrwx 1 0 0 17 Mon Feb 11 11:10:41 2013 d -> /sys/kernel/debug/
drwxrwx--x 25 1000 1000 4096 Mon Feb 11 00:03:57 2013 data/
-rw-r--r-- 1 0 0 120 Mon Feb 11 11:10:41 2013 default.prop
drwxr-xr-x 12 0 0 3600 Mon Feb 11 11:11:55 2013 dev/
lrwxrwxrwx 1 0 0 25 Mon Feb 11 11:10:41 2013 download -> /storage/sdcard0/Download/
drwxrwx--x 10 1001 1000 4096 Fri Feb 1 01:04:55 2013 efs/
lrwxrwxrwx 1 0 0 11 Mon Feb 11 11:10:41 2013 etc -> /system/etc/
lrwxrwxrwx 1 0 0 16 Mon Feb 11 11:10:41 2013 extSdCard -> /storage/sdcard1/
-rwxr-x--- 1 0 0 105280 Mon Feb 11 11:10:41 2013 init
-rwxr-x--- 1 0 0 1223 Mon Feb 11 11:10:41 2013 init.cm.rc
-rwxr-x--- 1 0 0 2344 Mon Feb 11 11:10:41 2013 init.goldfish.rc
-rwxr-x--- 1 0 0 18305 Mon Feb 11 11:10:41 2013 init.rc
-rwxr-x--- 1 0 0 16101 Mon Feb 11 11:10:41 2013 init.smdk4210.rc
-rwxr-x--- 1 0 0 3981 Mon Feb 11 11:10:41 2013 init.smdk4210.usb.rc
-rwxr-x--- 1 0 0 1637 Mon Feb 11 11:10:41 2013 init.trace.rc
-rwxr-x--- 1 0 0 3915 Mon Feb 11 11:10:41 2013 init.usb.rc
lrwxrwxrwx 1 0 0 32 Mon Feb 11 11:10:41 2013 kernel -> /storage/sdcard0/Download/kernel
-rw-r--r-- 1 0 0 1709 Mon Feb 11 11:10:41 2013 lpm.rc
drwxrwxr-x 6 0 1000 0 Mon Feb 11 11:10:41 2013 mnt/
lrwxrwxrwx 1 0 0 31 Mon Feb 11 11:10:41 2013 patch -> /storage/sdcard0/Download/patch
drwxrwx--x 3 1000 1000 4096 Fri Feb 1 01:00:23 2013 preload/
dr-xr-xr-x 227 0 0 0 Thu Jan 1 00:00:00 1970 proc/
drwxr-xr-x 4 0 0 0 Mon Feb 11 11:10:41 2013 res/
drwxr-x--- 3 0 0 0 Mon Feb 11 11:10:41 2013 sbin/
lrwxrwxrwx 1 0 0 16 Mon Feb 11 11:10:41 2013 sdcard -> /storage/sdcard0/
lrwxrwxrwx 1 0 0 16 Mon Feb 11 11:10:41 2013 sdcard0 -> /storage/sdcard0/
lrwxrwxrwx 1 0 0 16 Mon Feb 11 11:10:41 2013 sdcard1 -> /storage/sdcard1/
drwxrwxr-x 5 1000 1000 0 Mon Feb 11 11:10:41 2013 storage/
drwxr-xr-x 13 0 0 0 Mon Feb 11 11:10:41 2013 sys/
drwxr-xr-x 16 0 0 4096 Sun Feb 10 13:18:48 2013 system/
-rw-r--r-- 1 0 0 272 Mon Feb 11 11:10:41 2013 ueventd.goldfish.rc
-rw-r--r-- 1 0 0 5075 Mon Feb 11 11:10:41 2013 ueventd.rc
-rw-r--r-- 1 0 0 1650 Mon Feb 11 11:10:41 2013 ueventd.smdk4210.rc
lrwxrwxrwx 1 0 0 17 Mon Feb 11 11:10:41 2013 usbdisk0 -> /storage/usbdisk0/
lrwxrwxrwx 1 0 0 22 Mon Feb 11 11:10:41 2013 userinit.d -> /data/local/userinit.d/
lrwxrwxrwx 1 0 0 14 Mon Feb 11 11:10:41 2013 vendor -> /system/vendor/
2013-02-11 12:13:10 [1B84] Connecting to ADB server...
2013-02-11 12:13:10 [1B84] Connected
2013-02-11 12:13:10 [1B84] ADB Write: host:transport:0123456789ABCDEF
2013-02-11 12:13:10 [1B84] ADB Read: OKAY
2013-02-11 12:13:10 [1B84] ADB Write: shell:busybox ls -lp -a -e --color=never "/data/"
2013-02-11 12:13:10 [1B84] ADB Read: OKAY
2013-02-11 12:13:10 [1B84] ADB Read Data: ls: can't open '/data/': Permission denied
total 0
2013-02-11 12:13:10 [1B84] Connecting to ADB server...
2013-02-11 12:13:10 [1B84] Connected
2013-02-11 12:13:10 [1B84] ADB Write: host:transport:0123456789ABCDEF
2013-02-11 12:13:10 [1B84] ADB Read: OKAY
2013-02-11 12:13:10 [1B84] ADB Write: shell:su -c "busybox ls -lp -a -e --color=never \"/data/\""
2013-02-11 12:13:10 [1B84] ADB Read: OKAY
2013-02-11 12:13:10 [1B84] ADB Read Data: reloc_library[1331]: 4932 cannot locate '__strlen_chk'...
CANNOT LINK EXECUTABLE
ADB shell:
Code: Select all
c:\totalcmd\plugins\ADB>adb shell
shell@android:/ $ ls /data
ls /data
opendir failed, Permission denied
1|shell@android:/ $ su -c "ls /data"
su -c "ls /data"
NVM0
NVM1
NVM13
NVM2
NVM3
NVM5
NVM6
anr
app
app-asec
app-private
backup
config.txt
dalvik-cache
data
dontpanic
drm
gps
local
local.prop
log
lost+found
misc
property
pxtmpdir
radio
resource-cache
ssh
system
tombstones
user
shell@android:/ $ su
su
shell@android:/ # ls /data
ls /data
NVM0
NVM1
NVM13
NVM2
NVM3
NVM5
NVM6
anr
app
app-asec
app-private
backup
config.txt
dalvik-cache
data
dontpanic
drm
gps
...
Good luck, Best regards,
Aleš
jakubklos
Senior Member
Posts: 221 Joined: 2012-07-11, 14:48 UTC
Post
by *jakubklos » 2013-02-11, 11:57 UTC
Aleq wrote: HI Jakub,
sure thing. Here comes the log:
Code: Select all
2013-02-11 12:12:46 [1B84] Connecting to ADB server...
2013-02-11 12:12:46 [1B84] Connected
2013-02-11 12:12:46 [1B84] ADB Write: host:devices
2013-02-11 12:12:46 [1B84] ADB Read: 0123456789ABCDEF device
2013-02-11 12:12:59 [1B84] Connecting to ADB server...
2013-02-11 12:13:00 [1B84] ADB Binary: "adb" "devices"
2013-02-11 12:13:05 [1B84] Connected
2013-02-11 12:13:05 [1B84] ADB Write: host:devices
2013-02-11 12:13:05 [1B84] ADB Read: 0123456789ABCDEF device
2013-02-11 12:13:06 [1B84] Connecting to ADB server...
2013-02-11 12:13:06 [1B84] Connected
2013-02-11 12:13:06 [1B84] ADB Write: host:transport:0123456789ABCDEF
2013-02-11 12:13:06 [1B84] ADB Read: OKAY
2013-02-11 12:13:06 [1B84] ADB Write: shell:busybox ls -lp -a -e --color=never "/"
2013-02-11 12:13:06 [1B84] ADB Read: OKAY
2013-02-11 12:13:06 [1B84] ADB Read Data: total 448
drwxr-xr-x 16 0 0 0 Mon Feb 11 11:10:41 2013 ./
drwxr-xr-x 16 0 0 0 Mon Feb 11 11:10:41 2013 ../
drwxr-xr-x 3 0 0 0 Mon Feb 11 11:10:41 2013 acct/
-rw-r--r-- 1 0 0 230 Mon Feb 11 11:10:41 2013 boot.txt
drwxrwx--x 5 1000 2001 4096 Mon Feb 11 06:57:16 2013 cache/
-rwxr-x--- 1 0 0 244020 Mon Feb 11 11:10:41 2013 charger
dr-x------ 2 0 0 0 Mon Feb 11 11:10:41 2013 config/
lrwxrwxrwx 1 0 0 20 Mon Feb 11 11:10:41 2013 config.sh -> /etc/init.d/21config
lrwxrwxrwx 1 0 0 16 Mon Feb 11 11:10:41 2013 config.txt -> /data/config.txt
lrwxrwxrwx 1 0 0 17 Mon Feb 11 11:10:41 2013 d -> /sys/kernel/debug/
drwxrwx--x 25 1000 1000 4096 Mon Feb 11 00:03:57 2013 data/
-rw-r--r-- 1 0 0 120 Mon Feb 11 11:10:41 2013 default.prop
drwxr-xr-x 12 0 0 3600 Mon Feb 11 11:11:55 2013 dev/
lrwxrwxrwx 1 0 0 25 Mon Feb 11 11:10:41 2013 download -> /storage/sdcard0/Download/
drwxrwx--x 10 1001 1000 4096 Fri Feb 1 01:04:55 2013 efs/
lrwxrwxrwx 1 0 0 11 Mon Feb 11 11:10:41 2013 etc -> /system/etc/
lrwxrwxrwx 1 0 0 16 Mon Feb 11 11:10:41 2013 extSdCard -> /storage/sdcard1/
-rwxr-x--- 1 0 0 105280 Mon Feb 11 11:10:41 2013 init
-rwxr-x--- 1 0 0 1223 Mon Feb 11 11:10:41 2013 init.cm.rc
-rwxr-x--- 1 0 0 2344 Mon Feb 11 11:10:41 2013 init.goldfish.rc
-rwxr-x--- 1 0 0 18305 Mon Feb 11 11:10:41 2013 init.rc
-rwxr-x--- 1 0 0 16101 Mon Feb 11 11:10:41 2013 init.smdk4210.rc
-rwxr-x--- 1 0 0 3981 Mon Feb 11 11:10:41 2013 init.smdk4210.usb.rc
-rwxr-x--- 1 0 0 1637 Mon Feb 11 11:10:41 2013 init.trace.rc
-rwxr-x--- 1 0 0 3915 Mon Feb 11 11:10:41 2013 init.usb.rc
lrwxrwxrwx 1 0 0 32 Mon Feb 11 11:10:41 2013 kernel -> /storage/sdcard0/Download/kernel
-rw-r--r-- 1 0 0 1709 Mon Feb 11 11:10:41 2013 lpm.rc
drwxrwxr-x 6 0 1000 0 Mon Feb 11 11:10:41 2013 mnt/
lrwxrwxrwx 1 0 0 31 Mon Feb 11 11:10:41 2013 patch -> /storage/sdcard0/Download/patch
drwxrwx--x 3 1000 1000 4096 Fri Feb 1 01:00:23 2013 preload/
dr-xr-xr-x 227 0 0 0 Thu Jan 1 00:00:00 1970 proc/
drwxr-xr-x 4 0 0 0 Mon Feb 11 11:10:41 2013 res/
drwxr-x--- 3 0 0 0 Mon Feb 11 11:10:41 2013 sbin/
lrwxrwxrwx 1 0 0 16 Mon Feb 11 11:10:41 2013 sdcard -> /storage/sdcard0/
lrwxrwxrwx 1 0 0 16 Mon Feb 11 11:10:41 2013 sdcard0 -> /storage/sdcard0/
lrwxrwxrwx 1 0 0 16 Mon Feb 11 11:10:41 2013 sdcard1 -> /storage/sdcard1/
drwxrwxr-x 5 1000 1000 0 Mon Feb 11 11:10:41 2013 storage/
drwxr-xr-x 13 0 0 0 Mon Feb 11 11:10:41 2013 sys/
drwxr-xr-x 16 0 0 4096 Sun Feb 10 13:18:48 2013 system/
-rw-r--r-- 1 0 0 272 Mon Feb 11 11:10:41 2013 ueventd.goldfish.rc
-rw-r--r-- 1 0 0 5075 Mon Feb 11 11:10:41 2013 ueventd.rc
-rw-r--r-- 1 0 0 1650 Mon Feb 11 11:10:41 2013 ueventd.smdk4210.rc
lrwxrwxrwx 1 0 0 17 Mon Feb 11 11:10:41 2013 usbdisk0 -> /storage/usbdisk0/
lrwxrwxrwx 1 0 0 22 Mon Feb 11 11:10:41 2013 userinit.d -> /data/local/userinit.d/
lrwxrwxrwx 1 0 0 14 Mon Feb 11 11:10:41 2013 vendor -> /system/vendor/
2013-02-11 12:13:10 [1B84] Connecting to ADB server...
2013-02-11 12:13:10 [1B84] Connected
2013-02-11 12:13:10 [1B84] ADB Write: host:transport:0123456789ABCDEF
2013-02-11 12:13:10 [1B84] ADB Read: OKAY
2013-02-11 12:13:10 [1B84] ADB Write: shell:busybox ls -lp -a -e --color=never "/data/"
2013-02-11 12:13:10 [1B84] ADB Read: OKAY
2013-02-11 12:13:10 [1B84] ADB Read Data: ls: can't open '/data/': Permission denied
total 0
2013-02-11 12:13:10 [1B84] Connecting to ADB server...
2013-02-11 12:13:10 [1B84] Connected
2013-02-11 12:13:10 [1B84] ADB Write: host:transport:0123456789ABCDEF
2013-02-11 12:13:10 [1B84] ADB Read: OKAY
2013-02-11 12:13:10 [1B84] ADB Write: shell:su -c "busybox ls -lp -a -e --color=never "/data/""
2013-02-11 12:13:10 [1B84] ADB Read: OKAY
2013-02-11 12:13:10 [1B84] ADB Read Data: reloc_library[1331]: 4932 cannot locate '__strlen_chk'...
CANNOT LINK EXECUTABLE
ADB shell:
Code: Select all
c:\totalcmd\plugins\ADB>adb shell
shell@android:/ $ ls /data
ls /data
opendir failed, Permission denied
1|shell@android:/ $ su -c "ls /data"
su -c "ls /data"
NVM0
NVM1
NVM13
NVM2
NVM3
NVM5
NVM6
anr
app
app-asec
app-private
backup
config.txt
dalvik-cache
data
dontpanic
drm
gps
local
local.prop
log
lost+found
misc
property
pxtmpdir
radio
resource-cache
ssh
system
tombstones
user
shell@android:/ $ su
su
shell@android:/ # ls /data
ls /data
NVM0
NVM1
NVM13
NVM2
NVM3
NVM5
NVM6
anr
app
app-asec
app-private
backup
config.txt
dalvik-cache
data
dontpanic
drm
gps
...
Good luck, Best regards,
Aleš
Hi Ales,
I think it is clear. You have the busybox ls option enabled. If you uncheck it it will work. I think busybox ls is off by default. It will first try the ordinary ls and if failed then busybox. but if you specifically force the busybox it will not retry with ls.
Aleq
Junior Member
Posts: 55 Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU
Post
by *Aleq » 2013-02-11, 12:20 UTC
Confirmed. Turning off Busybox ls helped and it's working now.
I have checked su + busybox and it's failing, so yes, that's the root of the problem here:
Code: Select all
255|shell@android:/ $ su -c busybox
su -c busybox
reloc_library[1331]: 5847 cannot locate '__strlen_chk'...
CANNOT LINK EXECUTABLE
I wonder what's the reason for this.
jakubklos
Senior Member
Posts: 221 Joined: 2012-07-11, 14:48 UTC
Post
by *jakubklos » 2013-02-11, 12:23 UTC
Aleq wrote: Confirmed. Turning off Busybox ls helped and it's working now.
I have checked su + busybox and it's failing, so yes, that's the root of the problem here:
Code: Select all
255|shell@android:/ $ su -c busybox
su -c busybox
reloc_library[1331]: 5847 cannot locate '__strlen_chk'...
CANNOT LINK EXECUTABLE
I wonder what's the reason for this.
Does busybox on its own work? It could be the busybox or su version. Not sure