[WFX] Android ADB 8.8

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Aleq
Junior Member
Junior Member
Posts: 55
Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU

Post by *Aleq »

Interesting enough, the filenames are incorrectly interpreted until I mount several mounts available in the recovery (data, system, storage). The format stays the same (as seen in the log), yet the file list becomes correct in the Total Commander.

Here comes the log. First ls yields incorrect files (including date), the last ls works just fine.

Code: Select all

CONNECT \
Connecting to ADB server...
Connected
ADB Write: host:devices
ADB Read: 1518a4ee	recovery
Connecting to ADB server...
Connected
ADB Write: host:transport:1518a4ee
ADB Read: OKAY
ADB Write: shell:busybox ls -lp -a -e --color=never "/"
ADB Read: OKAY
ADB Read Data: __bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxr-xr-x   22 root     root             0 Sat May 23 21:37:37 1970 ./
drwxr-xr-x   22 root     root             0 Sat May 23 21:37:37 1970 ../
-rw-rw-rw-    1 root     root          1434 Sat May 23 21:37:36 1970 adb_keys
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 boot/
drwxrwx---    5 system   cache         4096 Thu Nov 28 21:18:59 2013 cache/
-rwxr-x---    1 root     root        267716 Thu Jan  1 00:00:00 1970 charger
drwxr-xr-x    3 root     root             0 Sat May 23 21:37:37 1970 data/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 datadata/
-rw-r--r--    1 root     root          4212 Thu Jan  1 00:00:00 1970 default.prop
drwxr-xr-x   11 root     root          4320 Sat May 23 21:37:36 1970 dev/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 emmc/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:37 1970 etc/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 external_sd/
-rw-r--r--    1 root     root         13701 Thu Jan  1 00:00:00 1970 file_contexts
-rw-r-----    1 root     root           953 Thu Jan  1 00:00:00 1970 fstab.goldfish
-rw-r-----    1 root     root          1251 Thu Jan  1 00:00:00 1970 fstab.qcom
-rwxr-x---    1 root     root        162804 Thu Jan  1 00:00:00 1970 init
-rwxr-x---    1 root     root          6737 Thu Jan  1 00:00:00 1970 init.qcom.class_core.sh
-rwxr-x---    1 root     root          2755 Thu Jan  1 00:00:00 1970 init.qcom.class_main.sh
-rwxr-x---    1 root     root          5591 Thu Jan  1 00:00:00 1970 init.qcom.early_boot.sh
-rwxr-x---    1 root     root          5142 Thu Jan  1 00:00:00 1970 init.qcom.lpm_boot.sh
-rwxr-x---    1 root     root          4576 Thu Jan  1 00:00:00 1970 init.qcom.sh
-rwxr-x---    1 root     root          3074 Thu Jan  1 00:00:00 1970 init.qcom.syspart_fixup.sh
-rwxr-x---    1 root     root          8759 Thu Jan  1 00:00:00 1970 init.qcom.usb.sh
-rwxr-x---    1 root     root          2602 Thu Jan  1 00:00:00 1970 init.rc
-rwxr-x---    1 root     root          1690 Thu Jan  1 00:00:00 1970 init.recovery.qcom.rc
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 internal_sd/
-rw-r--r--    1 root     root          2988 Thu Jan  1 00:00:00 1970 lpm.rc
drwxrwxr-x    5 root     system           0 Sat May 23 21:37:36 1970 mnt/
dr-xr-xr-x  160 root     root             0 Thu Jan  1 00:00:00 1970 proc/
-rw-r--r--    1 root     root          2244 Thu Jan  1 00:00:00 1970 property_contexts
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 recovery/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 res/
drwx------    2 root     root             0 Tue Oct  8 03:54:08 2013 root/
drwxr-x---    2 root     root             0 Thu Jan  1 00:00:00 1970 sbin/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 sd-ext/
lrwxrwxrwx    1 root     root            11 Sat May 23 21:37:37 1970 sdcard -> /data/media/
-rw-r--r--    1 root     root           665 Thu Jan  1 00:00:00 1970 seapp_contexts
-rw-r--r--    1 root     root         91649 Thu Jan  1 00:00:00 1970 sepolicy
d---r-x---    2 root     sdcard_r        40 Sat May 23 21:37:36 1970 storage/
dr-xr-xr-x   12 root     root             0 Sat May 23 21:37:34 1970 sys/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 system/
drwxrwxr-x    2 root     shell            0 Sat May 23 21:37:36 1970 tmp/
-rw-r--r--    1 root     root           272 Thu Jan  1 00:00:00 1970 ueventd.goldfish.rc
-rw-r--r--    1 root     root          6919 Thu Jan  1 00:00:00 1970 ueventd.qcom.rc
-rw-r--r--    1 root     root          5897 Thu Jan  1 00:00:00 1970 ueventd.rc
Connecting to ADB server...
Connected
ADB Write: host:transport:1518a4ee
ADB Read: OKAY
ADB Write: shell:busybox ls -lp -a -e --color=never "/"
ADB Read: OKAY
ADB Read Data: __bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxr-xr-x   22 root     root             0 Sat May 23 21:37:37 1970 ./
drwxr-xr-x   22 root     root             0 Sat May 23 21:37:37 1970 ../
-rw-rw-rw-    1 root     root          1434 Sat May 23 21:37:36 1970 adb_keys
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 boot/
drwxrwx---    5 system   cache         4096 Thu Nov 28 21:18:59 2013 cache/
-rwxr-x---    1 root     root        267716 Thu Jan  1 00:00:00 1970 charger
drwxr-xr-x    3 root     root             0 Sat May 23 21:37:37 1970 data/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 datadata/
-rw-r--r--    1 root     root          4212 Thu Jan  1 00:00:00 1970 default.prop
drwxr-xr-x   11 root     root          4320 Sat May 23 21:37:36 1970 dev/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 emmc/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:37 1970 etc/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 external_sd/
-rw-r--r--    1 root     root         13701 Thu Jan  1 00:00:00 1970 file_contexts
-rw-r-----    1 root     root           953 Thu Jan  1 00:00:00 1970 fstab.goldfish
-rw-r-----    1 root     root          1251 Thu Jan  1 00:00:00 1970 fstab.qcom
-rwxr-x---    1 root     root        162804 Thu Jan  1 00:00:00 1970 init
-rwxr-x---    1 root     root          6737 Thu Jan  1 00:00:00 1970 init.qcom.class_core.sh
-rwxr-x---    1 root     root          2755 Thu Jan  1 00:00:00 1970 init.qcom.class_main.sh
-rwxr-x---    1 root     root          5591 Thu Jan  1 00:00:00 1970 init.qcom.early_boot.sh
-rwxr-x---    1 root     root          5142 Thu Jan  1 00:00:00 1970 init.qcom.lpm_boot.sh
-rwxr-x---    1 root     root          4576 Thu Jan  1 00:00:00 1970 init.qcom.sh
-rwxr-x---    1 root     root          3074 Thu Jan  1 00:00:00 1970 init.qcom.syspart_fixup.sh
-rwxr-x---    1 root     root          8759 Thu Jan  1 00:00:00 1970 init.qcom.usb.sh
-rwxr-x---    1 root     root          2602 Thu Jan  1 00:00:00 1970 init.rc
-rwxr-x---    1 root     root          1690 Thu Jan  1 00:00:00 1970 init.recovery.qcom.rc
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 internal_sd/
-rw-r--r--    1 root     root          2988 Thu Jan  1 00:00:00 1970 lpm.rc
drwxrwxr-x    5 root     system           0 Sat May 23 21:37:36 1970 mnt/
dr-xr-xr-x  161 root     root             0 Thu Jan  1 00:00:00 1970 proc/
-rw-r--r--    1 root     root          2244 Thu Jan  1 00:00:00 1970 property_contexts
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 recovery/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 res/
drwx------    2 root     root             0 Tue Oct  8 03:54:08 2013 root/
drwxr-x---    2 root     root             0 Thu Jan  1 00:00:00 1970 sbin/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 sd-ext/
lrwxrwxrwx    1 root     root            11 Sat May 23 21:37:37 1970 sdcard -> /data/media/
-rw-r--r--    1 root     root           665 Thu Jan  1 00:00:00 1970 seapp_contexts
-rw-r--r--    1 root     root         91649 Thu Jan  1 00:00:00 1970 sepolicy
d---r-x---    2 root     sdcard_r        40 Sat May 23 21:37:36 1970 storage/
dr-xr-xr-x   12 root     root             0 Sat May 23 21:37:34 1970 sys/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 system/
drwxrwxr-x    2 root     shell            0 Sat May 23 21:37:36 1970 tmp/
-rw-r--r--    1 root     root           272 Thu Jan  1 00:00:00 1970 ueventd.goldfish.rc
-rw-r--r--    1 root     root          6919 Thu Jan  1 00:00:00 1970 ueventd.qcom.rc
-rw-r--r--    1 root     root          5897 Thu Jan  1 00:00:00 1970 ueventd.rc
Connecting to ADB server...
Connected
ADB Write: host:transport:1518a4ee
ADB Read: OKAY
ADB Write: shell:busybox ls -lp -a -e --color=never "/"
ADB Read: OKAY
ADB Read Data: __bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxr-xr-x   22 root     root             0 Sat May 23 21:37:37 1970 ./
drwxr-xr-x   22 root     root             0 Sat May 23 21:37:37 1970 ../
-rw-rw-rw-    1 root     root          1434 Sat May 23 21:37:36 1970 adb_keys
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 boot/
drwxrwx---    5 system   cache         4096 Thu Nov 28 21:18:59 2013 cache/
-rwxr-x---    1 root     root        267716 Thu Jan  1 00:00:00 1970 charger
drwxr-xr-x    3 root     root             0 Sat May 23 21:37:37 1970 data/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 datadata/
-rw-r--r--    1 root     root          4212 Thu Jan  1 00:00:00 1970 default.prop
drwxr-xr-x   11 root     root          4320 Sat May 23 21:37:36 1970 dev/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 emmc/
drwxr-xr-x    2 root     root             0 Sat May 23 21:39:22 1970 etc/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 external_sd/
-rw-r--r--    1 root     root         13701 Thu Jan  1 00:00:00 1970 file_contexts
-rw-r-----    1 root     root           953 Thu Jan  1 00:00:00 1970 fstab.goldfish
-rw-r-----    1 root     root          1251 Thu Jan  1 00:00:00 1970 fstab.qcom
-rwxr-x---    1 root     root        162804 Thu Jan  1 00:00:00 1970 init
-rwxr-x---    1 root     root          6737 Thu Jan  1 00:00:00 1970 init.qcom.class_core.sh
-rwxr-x---    1 root     root          2755 Thu Jan  1 00:00:00 1970 init.qcom.class_main.sh
-rwxr-x---    1 root     root          5591 Thu Jan  1 00:00:00 1970 init.qcom.early_boot.sh
-rwxr-x---    1 root     root          5142 Thu Jan  1 00:00:00 1970 init.qcom.lpm_boot.sh
-rwxr-x---    1 root     root          4576 Thu Jan  1 00:00:00 1970 init.qcom.sh
-rwxr-x---    1 root     root          3074 Thu Jan  1 00:00:00 1970 init.qcom.syspart_fixup.sh
-rwxr-x---    1 root     root          8759 Thu Jan  1 00:00:00 1970 init.qcom.usb.sh
-rwxr-x---    1 root     root          2602 Thu Jan  1 00:00:00 1970 init.rc
-rwxr-x---    1 root     root          1690 Thu Jan  1 00:00:00 1970 init.recovery.qcom.rc
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 internal_sd/
-rw-r--r--    1 root     root          2988 Thu Jan  1 00:00:00 1970 lpm.rc
drwxrwxr-x    5 root     system           0 Sat May 23 21:37:36 1970 mnt/
dr-xr-xr-x  161 root     root             0 Thu Jan  1 00:00:00 1970 proc/
-rw-r--r--    1 root     root          2244 Thu Jan  1 00:00:00 1970 property_contexts
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 recovery/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 res/
drwx------    2 root     root             0 Tue Oct  8 03:54:08 2013 root/
drwxr-x---    2 root     root             0 Thu Jan  1 00:00:00 1970 sbin/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 sd-ext/
lrwxrwxrwx    1 root     root            11 Sat May 23 21:37:37 1970 sdcard -> /data/media/
-rw-r--r--    1 root     root           665 Thu Jan  1 00:00:00 1970 seapp_contexts
-rw-r--r--    1 root     root         91649 Thu Jan  1 00:00:00 1970 sepolicy
d---r-x---    3 root     sdcard_r        60 Sat May 23 21:39:22 1970 storage/
dr-xr-xr-x   12 root     root             0 Sat May 23 21:37:34 1970 sys/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 system/
drwxrwxr-x    2 root     shell            0 Sat May 23 21:37:36 1970 tmp/
-rw-r--r--    1 root     root           272 Thu Jan  1 00:00:00 1970 ueventd.goldfish.rc
-rw-r--r--    1 root     root          6919 Thu Jan  1 00:00:00 1970 ueventd.qcom.rc
-rw-r--r--    1 root     root          5897 Thu Jan  1 00:00:00 1970 ueventd.rc
Connecting to ADB server...
Connected
ADB Write: host:transport:1518a4ee
ADB Read: OKAY
ADB Write: shell:busybox ls -lp -a -e --color=never "/"
ADB Read: OKAY
ADB Read Data: drwxr-xr-x   22 root     root             0 Sat May 23 21:37:37 1970 ./
drwxr-xr-x   22 root     root             0 Sat May 23 21:37:37 1970 ../
-rw-rw-rw-    1 root     root          1434 Sat May 23 21:37:36 1970 adb_keys
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 boot/
drwxrwx---    5 system   cache         4096 Thu Nov 28 21:18:59 2013 cache/
-rwxr-x---    1 root     root        267716 Thu Jan  1 00:00:00 1970 charger
drwxrwx--x   36 system   system        4096 Sat May 23 19:24:52 1970 data/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 datadata/
-rw-r--r--    1 root     root          4212 Thu Jan  1 00:00:00 1970 default.prop
drwxr-xr-x   11 root     root          4320 Sat May 23 21:37:36 1970 dev/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 emmc/
drwxr-xr-x    2 root     root             0 Sat May 23 21:39:22 1970 etc/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 external_sd/
-rw-r--r--    1 root     root         13701 Thu Jan  1 00:00:00 1970 file_contexts
-rw-r-----    1 root     root           953 Thu Jan  1 00:00:00 1970 fstab.goldfish
-rw-r-----    1 root     root          1251 Thu Jan  1 00:00:00 1970 fstab.qcom
-rwxr-x---    1 root     root        162804 Thu Jan  1 00:00:00 1970 init
-rwxr-x---    1 root     root          6737 Thu Jan  1 00:00:00 1970 init.qcom.class_core.sh
-rwxr-x---    1 root     root          2755 Thu Jan  1 00:00:00 1970 init.qcom.class_main.sh
-rwxr-x---    1 root     root          5591 Thu Jan  1 00:00:00 1970 init.qcom.early_boot.sh
-rwxr-x---    1 root     root          5142 Thu Jan  1 00:00:00 1970 init.qcom.lpm_boot.sh
-rwxr-x---    1 root     root          4576 Thu Jan  1 00:00:00 1970 init.qcom.sh
-rwxr-x---    1 root     root          3074 Thu Jan  1 00:00:00 1970 init.qcom.syspart_fixup.sh
-rwxr-x---    1 root     root          8759 Thu Jan  1 00:00:00 1970 init.qcom.usb.sh
-rwxr-x---    1 root     root          2602 Thu Jan  1 00:00:00 1970 init.rc
-rwxr-x---    1 root     root          1690 Thu Jan  1 00:00:00 1970 init.recovery.qcom.rc
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 internal_sd/
-rw-r--r--    1 root     root          2988 Thu Jan  1 00:00:00 1970 lpm.rc
drwxrwxr-x    5 root     system           0 Sat May 23 21:37:36 1970 mnt/
dr-xr-xr-x  165 root     root             0 Thu Jan  1 00:00:00 1970 proc/
-rw-r--r--    1 root     root          2244 Thu Jan  1 00:00:00 1970 property_contexts
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 recovery/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 res/
drwx------    2 root     root             0 Tue Oct  8 03:54:08 2013 root/
drwxr-x---    2 root     root             0 Thu Jan  1 00:00:00 1970 sbin/
drwxr-xr-x    2 root     root             0 Sat May 23 21:37:36 1970 sd-ext/
lrwxrwxrwx    1 root     root            11 Sat May 23 21:37:37 1970 sdcard -> /data/media/
-rw-r--r--    1 root     root           665 Thu Jan  1 00:00:00 1970 seapp_contexts
-rw-r--r--    1 root     root         91649 Thu Jan  1 00:00:00 1970 sepolicy
d---r-x---    3 root     sdcard_r        60 Sat May 23 21:39:22 1970 storage/
dr-xr-xr-x   12 root     root             0 Sat May 23 21:37:34 1970 sys/
drwxr-xr-x   15 root     root          4096 Sat Nov 30 10:01:19 2013 system/
drwxrwxr-x    2 root     shell            0 Sat May 23 21:37:36 1970 tmp/
-rw-r--r--    1 root     root           272 Thu Jan  1 00:00:00 1970 ueventd.goldfish.rc
-rw-r--r--    1 root     root          6919 Thu Jan  1 00:00:00 1970 ueventd.qcom.rc
-rw-r--r--    1 root     root          5897 Thu Jan  1 00:00:00 1970 ueventd.rc
maria_fj
Junior Member
Junior Member
Posts: 45
Joined: 2013-11-21, 10:10 UTC

Cooperation with other plugins?

Post by *maria_fj »

I am using the plugin and basically it works perfect. But I see as well, that there might be some issues with other features of TC which cannot be used. Namely I have installed the EXIF-plugin cause I wanna a have a brief idea when the pic are generated, GPS-info, etc. So I have configured customized columns which display the content.

Unfortunately when I list in DCIM/Camera I don't get the info from the preconfigured plugin. But when I copy the same file to my local file-system, then the info is displayed. Therefore I guess the current ADB-plugin does not work together with the other plugins...

Is there a chance to have a more seamless integration?

BTW: Using TC 8.5ß11, 64bit, Win8.1, GalaxyNote, CM10.2
Aleq
Junior Member
Junior Member
Posts: 55
Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU

Post by *Aleq »

Sorry for spamming. I got it. It's the system that needs to be mounted.

The log from different device running different recovery:

Code: Select all

Connecting to ADB server...
Connected
ADB Write: host:transport:R32D102TLGW
ADB Read: OKAY
ADB Write: shell:busybox ls -lp -a -e --color=never "/"
ADB Read: OKAY
ADB Read Data: __bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxr-xr-x   22 root     root             0 Sat Nov 30 14:00:40 2013 ./
drwxr-xr-x   22 root     root             0 Sat Nov 30 14:00:40 2013 ../
-rw-rw-rw-    1 root     root           717 Sat Nov 30 14:00:38 2013 adb_keys
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 boot/
drwxrwx---    5 system   cache         4096 Wed Nov 20 09:16:55 2013 cache/
-rwxr-x---    1 root     root        267716 Thu Jan  1 00:00:00 1970 charger
drwxr-xr-x    3 root     root             0 Sat Nov 30 14:00:40 2013 data/
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 datadata/
-rw-r--r--    1 root     root          2778 Thu Jan  1 00:00:00 1970 default.prop
drwxr-xr-x    9 root     root          2420 Sat Nov 30 14:00:38 2013 dev/
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 emmc/
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:40 2013 etc/
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 external_sd/
-rw-r--r--    1 root     root         10171 Thu Jan  1 00:00:00 1970 file_contexts
-rw-r-----    1 root     root           953 Thu Jan  1 00:00:00 1970 fstab.goldfish
-rw-r-----    1 root     root          1636 Thu Jan  1 00:00:00 1970 fstab.manta
-rw-r-----    1 root     root           657 Thu Jan  1 00:00:00 1970 fstab.smdk5250
-rwxr-x---    1 root     root        162780 Thu Jan  1 00:00:00 1970 init
-rwxr-x---    1 root     root          2602 Thu Jan  1 00:00:00 1970 init.rc
-rwxr-x---    1 root     root           173 Thu Jan  1 00:00:00 1970 init.recovery.manta.rc
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 internal_sd/
drwxrwxr-x    5 root     system           0 Sat Nov 30 14:00:38 2013 mnt/
dr-xr-xr-x  109 root     root             0 Thu Jan  1 00:00:00 1970 proc/
-rw-r--r--    1 root     root          2003 Thu Jan  1 00:00:00 1970 property_contexts
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 recovery/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 res/
drwx------    2 root     root             0 Sun Oct  6 17:36:03 2013 root/
drwxr-x---    2 root     root             0 Thu Jan  1 00:00:00 1970 sbin/
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 sd-ext/
lrwxrwxrwx    1 root     root            11 Sat Nov 30 14:00:40 2013 sdcard -> /data/media/
-rw-r--r--    1 root     root           665 Thu Jan  1 00:00:00 1970 seapp_contexts
-rw-r--r--    1 root     root         81866 Thu Jan  1 00:00:00 1970 sepolicy
d---r-x---    2 root     sdcard_r        40 Sat Nov 30 14:00:38 2013 storage/
dr-xr-xr-x   12 root     root             0 Sat Nov 30 14:00:38 2013 sys/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 system/
drwxrwxr-x    2 root     shell            0 Sat Nov 30 14:00:38 2013 tmp/
-rw-r--r--    1 root     root           272 Thu Jan  1 00:00:00 1970 ueventd.goldfish.rc
-rw-r--r--    1 root     root          7155 Thu Jan  1 00:00:00 1970 ueventd.manta.rc
-rw-r--r--    1 root     root          5897 Thu Jan  1 00:00:00 1970 ueventd.rc
-rw-r--r--    1 root     root          2107 Thu Jan  1 00:00:00 1970 ueventd.smdk5250.rc
Connecting to ADB server...
Connected
ADB Write: host:transport:R32D102TLGW
ADB Read: OKAY
ADB Write: shell:busybox ls -lp -a -e --color=never "/"
ADB Read: OKAY
ADB Read Data: drwxr-xr-x   22 root     root             0 Sat Nov 30 14:00:40 2013 ./
drwxr-xr-x   22 root     root             0 Sat Nov 30 14:00:40 2013 ../
-rw-rw-rw-    1 root     root           717 Sat Nov 30 14:00:38 2013 adb_keys
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 boot/
drwxrwx---    5 system   cache         4096 Wed Nov 20 09:16:55 2013 cache/
-rwxr-x---    1 root     root        267716 Thu Jan  1 00:00:00 1970 charger
drwxr-xr-x    3 root     root             0 Sat Nov 30 14:00:40 2013 data/
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 datadata/
-rw-r--r--    1 root     root          2778 Thu Jan  1 00:00:00 1970 default.prop
drwxr-xr-x    9 root     root          2420 Sat Nov 30 14:00:38 2013 dev/
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 emmc/
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:40 2013 etc/
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 external_sd/
-rw-r--r--    1 root     root         10171 Thu Jan  1 00:00:00 1970 file_contexts
-rw-r-----    1 root     root           953 Thu Jan  1 00:00:00 1970 fstab.goldfish
-rw-r-----    1 root     root          1636 Thu Jan  1 00:00:00 1970 fstab.manta
-rw-r-----    1 root     root           657 Thu Jan  1 00:00:00 1970 fstab.smdk5250
-rwxr-x---    1 root     root        162780 Thu Jan  1 00:00:00 1970 init
-rwxr-x---    1 root     root          2602 Thu Jan  1 00:00:00 1970 init.rc
-rwxr-x---    1 root     root           173 Thu Jan  1 00:00:00 1970 init.recovery.manta.rc
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 internal_sd/
drwxrwxr-x    5 root     system           0 Sat Nov 30 14:00:38 2013 mnt/
dr-xr-xr-x  111 root     root             0 Thu Jan  1 00:00:00 1970 proc/
-rw-r--r--    1 root     root          2003 Thu Jan  1 00:00:00 1970 property_contexts
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 recovery/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 res/
drwx------    2 root     root             0 Sun Oct  6 17:36:03 2013 root/
drwxr-x---    2 root     root             0 Thu Jan  1 00:00:00 1970 sbin/
drwxr-xr-x    2 root     root             0 Sat Nov 30 14:00:38 2013 sd-ext/
lrwxrwxrwx    1 root     root            11 Sat Nov 30 14:00:40 2013 sdcard -> /data/media/
-rw-r--r--    1 root     root           665 Thu Jan  1 00:00:00 1970 seapp_contexts
-rw-r--r--    1 root     root         81866 Thu Jan  1 00:00:00 1970 sepolicy
d---r-x---    2 root     sdcard_r        40 Sat Nov 30 14:00:38 2013 storage/
dr-xr-xr-x   12 root     root             0 Sat Nov 30 14:00:38 2013 sys/
drwxr-xr-x   14 root     root          4096 Wed Nov 20 09:11:15 2013 system/
drwxrwxr-x    2 root     shell            0 Sat Nov 30 14:00:38 2013 tmp/
-rw-r--r--    1 root     root           272 Thu Jan  1 00:00:00 1970 ueventd.goldfish.rc
-rw-r--r--    1 root     root          7155 Thu Jan  1 00:00:00 1970 ueventd.manta.rc
-rw-r--r--    1 root     root          5897 Thu Jan  1 00:00:00 1970 ueventd.rc
-rw-r--r--    1 root     root          2107 Thu Jan  1 00:00:00 1970 ueventd.smdk5250.rc
First listing not ok, the other correct.
Aleq
Junior Member
Junior Member
Posts: 55
Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU

Re: Cooperation with other plugins?

Post by *Aleq »

maria_fj wrote:I am using the plugin and basically it works perfect. But I see as well, that there might be some issues with other features of TC which cannot be used. Namely I have installed the EXIF-plugin cause I wanna a have a brief idea when the pic are generated, GPS-info, etc. So I have configured customized columns which display the content.

Unfortunately when I list in DCIM/Camera I don't get the info from the preconfigured plugin. But when I copy the same file to my local file-system, then the info is displayed. Therefore I guess the current ADB-plugin does not work together with the other plugins...

Is there a chance to have a more seamless integration?

BTW: Using TC 8.5ß11, 64bit, Win8.1, GalaxyNote, CM10.2
In my humble opinion, it's not possible. The EXIF plugin needs to read the whole (at least some parts) of the file - that means the ADB plugin would need to download every file just to display it as an entry in Total Commander. It would be super slow. Correct me if I'm wrong (but I think I'm not)
maria_fj
Junior Member
Junior Member
Posts: 45
Joined: 2013-11-21, 10:10 UTC

Re: Cooperation with other plugins?

Post by *maria_fj »

Aleq wrote: In my humble opinion, it's not possible. The EXIF plugin needs to read the whole (at least some parts) of the file - that means the ADB plugin would need to download every file just to display it as an entry in Total Commander. It would be super slow. Correct me if I'm wrong (but I think I'm not)
Hm', IFFF I assume you are right then I frankly don't understand how the *regular* display works. Namely that it would need to load for each file what needs to be displayed. But where is the distinction between the plugin and the built-in functions? I mean, where is it decided that the additional info is NOT loaded and just skipped by? I guess this is not done randomly and more on some kind of purpose.

The similar issue occurs without the plugin just with the regular (built-in) TC-functions, namely if you right-click on the header you get previews. And not even this is working. For that one I would expect to work, independent of slowness or not... Yeah, with the list info the speed might be a pain in the a** but preview I would expect to work...

maria

P.S.: Another (small) issue: When browsing in directories and unplug the device this is not recognized. Well the recognition isn't THAT much of a problem, but when switching to the upper dir I would have expected to get back to the ADB\ structure instead of clicking in some phantom dirs.
Aleq
Junior Member
Junior Member
Posts: 55
Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU

Post by *Aleq »

There's a significant difference between obtaining metadata (ie. the list of files, their sizes etc.) and download each and every of them.

Total Commander either lists the files on the local/network drive using OS functions (someting like dir *.*) or asks plugin to do so. If you are using EXIF plugin, then this plugin is called for every listed entry - it OPENs the local(or network shared) file using standard OS function, seeks to the EXIF header, reads several hudreds/thousands of bytes, analyzes it and display F-stop, ISO, etc.). In case of listing Android files, Total Commander asks ADB FS plugin for file list (which is swiftly obtained by executing busybox ls -l). If you are using EXIF plugin here, it gets the file names - now it wants to read the file is not accessible via the standard OS function. That file doesn't exist in the local drive or network share. It's on the Android. The ADB FS plugin would need to download the file (and as far as I know, for the sake of simplicity, there's no easy way to read only parts of the file, so it needs to download the COMPLETE file) - over the USB (of WiFi) ADB. Not only this would be really unbearably slow, there's no framework supporting connections between plugins. That means content viewer plugins can't get files from other plugins, they get only filenames and try to access them locally.

It's simply not feasible with the current architecture and even if it would be, it would be dead slow. Again, correct me if I'm wrong and the content viewer plugins can access file system plugins etc.

Anyway the best thing I can recommend is to use for this purpose Windows Explorer and access the device via MTP (you'll see device listed in "My Computer"). This protocol supports internally handing over thumbnails at reasonable speed.
maria_fj
Junior Member
Junior Member
Posts: 45
Joined: 2013-11-21, 10:10 UTC

Post by *maria_fj »

I can agree to some extent your arguments, but to some extent not. Namely when I look on the built-in function of preview THEN I would assume to read it sequentially each file to display thumbnails. THEN I would expect to take some while. And that is not related to any plugin or whatever.

So, I see it as a bug that the regular standard built-in functions are not working (thumbnail). AND I have no idea if this is related to the plugin or TC8.5ß11. AND I guess the preview function works on regular network (sorry, couldn't test cause I don't have currently networks for a quick test).

Anyway I don't wanna blame the plugin I am just curious if first of all there is a common view reg. Bug? (Yes/No) and next possible to get a fix. I am aware of workarounds and therefore I don't have THAT much urgency for a fix of this issue. And if there is no chance to get a fix, then also OK. I think it is already amazing to see how good it works now...
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Post by *jakubklos »

It is doable but I would not recommend it. The ADB plugin already installs the ADBHelper app on your device which allows copying of the clipboard and retrieving metadata of APK files (so we do not download the whole files). The same would be possible with photos but who is going to pay me :) (just kidding)
Aleq
Junior Member
Junior Member
Posts: 55
Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU

Post by *Aleq »

Hey Jakub,
thanks for 7.3! The issue with date&time in filenames in recoveries (not just TWRP :)) is gone now.
kulmegil
Junior Member
Junior Member
Posts: 17
Joined: 2006-05-27, 10:36 UTC

Post by *kulmegil »

Experiencing this on CM11... I'm no longer able to perform write operations on /system partition.
I have root and have no such issues using CMs "File Manager" app.

I have found that running

Code: Select all

adb root
adb remount 
fixed the problem... I'm not sure if this is a bug and should be addressed on this plugin's scope.

However I think it would be nice if user could specify additional commands for plugin to perform on ADB tool launch / restart - preferably per device.
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:busybox mkdir -p "/system/a"
ADB Read: OKAY
ADB Read Data: mkdir: can't create directory '/system/a': Read-only file system
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:busybox mkdir -p "/system/a"
ADB Read: OKAY
ADB Read Data: mkdir: can't create directory '/system/a': Read-only file system
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:ls -la "/system/"
ADB Read: OKAY
ADB Read Data: drwxr-xr-x root root 2013-11-30 15:13 addon.d
drwxr-xr-x root root 2013-12-04 14:01 app
drwxr-xr-x root shell 2013-11-30 15:14 bin
-rw-r--r-- root root 3335 2013-12-02 16:58 build.prop
drwxr-xr-x root root 2013-12-03 16:06 etc
drwxr-xr-x root root 2013-11-30 15:13 extras
drwxr-xr-x root root 2013-11-30 15:14 fonts
drwxr-xr-x root root 2013-11-30 15:14 framework
drwxr-xr-x root root 2013-12-03 16:06 lib
drwxr-xr-x root root 1970-01-01 01:00 lost+found
drwxr-xr-x root root 2013-11-30 15:14 media
drwxr-xr-x root root 2013-12-03 16:06 priv-app
drwxr-xr-x root root 2013-11-30 15:14 usr
drwxr-xr-x root shell 2013-11-30 15:14 vendor
drwxr-xr-x root shell 2013-11-30 15:14 xbin
Aleq
Junior Member
Junior Member
Posts: 55
Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU

Post by *Aleq »

There were some issues with busybox in KitKat related to this, I know that Rovo89 (XposedFramework) from XDA was dealing with similar problem. It's great that you've found a workaround. Now it would be nice if Jakub could add an option to send those two command automatically at the beginning of the session.
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Post by *jakubklos »

The plugin already remounts using busybox automatically when it detects such condition. I am not sure if this feature is supported for mkdir though. Any way to reproduce it? I have Nexus 10 4.4 on AOSP (not CM).
kulmegil
Junior Member
Junior Member
Posts: 17
Joined: 2006-05-27, 10:36 UTC

Post by *kulmegil »

It does indeed but looks like it fails silently..
(as a side note I do have checked ADB as root in developer settings - shouldn't it be in root already)

Code: Select all

ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:busybox mkdir -p "/system/a"
ADB Read: OKAY
ADB Read Data: mkdir: can't create directory '/system/a': Read-only file system
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:busybox mount -o remount,rw /system
ADB Read: OKAY
ADB Read Data: mount: permission denied (are you root?)
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:su -c "busybox mount -o remount,rw /system"
ADB Read: OKAY
ADB Read Data:
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:busybox mount -o remount,rw /
ADB Read: OKAY
ADB Read Data: mount: permission denied (are you root?)
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:su -c "busybox mount -o remount,rw /"
ADB Read: OKAY
ADB Read Data:
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:busybox mount -o remount,rw rootfs
ADB Read: OKAY
ADB Read Data: mount: permission denied (are you root?)
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:su -c "busybox mount -o remount,rw rootfs"
ADB Read: OKAY
ADB Read Data:
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:busybox mkdir -p "/system/a"
ADB Read: OKAY
ADB Read Data: mkdir: can't create directory '/system/a': Read-only file system
Connecting to ADB server...
Connected
ADB Write: host:transport:85901720
ADB Read: OKAY
ADB Write: shell:ls -la "/system/"
ADB Read: OKAY
ADB Read Data: drwxr-xr-x root     root              2013-11-30 15:13 addon.d
drwxr-xr-x root     root              2013-12-04 14:01 app
drwxr-xr-x root     shell             2013-11-30 15:14 bin
-rw-r--r-- root     root         3335 2013-12-02 16:58 build.prop
drwxr-xr-x root     root              2013-12-03 16:06 etc
drwxr-xr-x root     root              2013-11-30 15:13 extras
drwxr-xr-x root     root              2013-11-30 15:14 fonts
drwxr-xr-x root     root              2013-11-30 15:14 framework
drwxr-xr-x root     root              2013-12-03 16:06 lib
drwxr-xr-x root     root              1970-01-01 01:00 lost+found
drwxr-xr-x root     root              2013-11-30 15:14 media
drwxr-xr-x root     root              2013-12-03 16:06 priv-app
drwxr-xr-x root     root              2013-11-30 15:14 usr
drwxr-xr-x root     shell             2013-11-30 15:14 vendor
drwxr-xr-x root     shell             2013-11-30 15:14 xbin
edit: dunno why but this..

Code: Select all

:su -c "busybox mount -o remount,rw /system"
..does not fail with "busybox" part removed
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Post by *jakubklos »

Yes, it does not fail but still it does not work then eventually... So what is the workaround on the shell level? I could call the "adb root" but I wonder what it really does on the Android level
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3293
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

is it a limitation or a bug of the plugin that it cant be used to copy files to the handy?
Hoecker sie sind raus!
Post Reply