[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
jakubklos
Senior Member
Senior Member
Posts: 221
Joined: 2012-07-11, 14:48 UTC

Re: Great

Post by *jakubklos »

psixo wrote:Awesome plugin support! When will the fixed version be available?

I did read the page you mentioned in detail and it provides some good information on how to use the program and with some trial and error I got a hang of it pretty quickly. Al-though a little more detailed help of program functions would be quite helpful for the new users.
The plugin was released yesterday.
User avatar
humb20
Junior Member
Junior Member
Posts: 19
Joined: 2010-11-16, 16:17 UTC

Post by *humb20 »

How do you get that screen with the attributes to show? I see many screenshots of it but I see no way to enable it.

Should the "show packages (PM) command.." option be enabled? It shows less data and is generally slower when you do that.

Thanks for the new update. Keep up the good work!
hawkeye
Junior Member
Junior Member
Posts: 3
Joined: 2013-09-14, 14:37 UTC

unable to modify external sd card via adb

Post by *hawkeye »

Hi,

devices: Samsung Galaxy S2 (rooted, stock fw), Samsung Galaxy S4 (unrooted, stock fw)
adb version: 7.2

I'm unable to modify anything (only) on the external sd cards via tc adb plugin:

Code: Select all

2013-09-14 16:16:59 [096C] Connecting to ADB server...
2013-09-14 16:16:59 [096C] Connected
2013-09-14 16:16:59 [096C] ADB Write: host:transport:xxxxxxx
2013-09-14 16:16:59 [096C] ADB Read: OKAY
2013-09-14 16:16:59 [096C] ADB Write: shell:busybox mkdir -p "/storage/extSdCard/test"
2013-09-14 16:16:59 [096C] ADB Read: OKAY
2013-09-14 16:16:59 [096C] ADB Read Data: /system/bin/sh: busybox: not found
2013-09-14 16:16:59 [096C] Connecting to ADB server...
2013-09-14 16:16:59 [096C] Connected
2013-09-14 16:16:59 [096C] ADB Write: host:transport:xxxxxxx
2013-09-14 16:16:59 [096C] ADB Read: OKAY
2013-09-14 16:16:59 [096C] ADB Write: shell:mkdir "/storage/extSdCard/test"
2013-09-14 16:16:59 [096C] ADB Read: OKAY
2013-09-14 16:16:59 [096C] ADB Read Data: mkdir failed for /storage/extSdCard/test, Permission denied
2013-09-14 16:16:59 [096C] Connecting to ADB server...
2013-09-14 16:16:59 [096C] Connected
2013-09-14 16:16:59 [096C] ADB Write: host:transport:xxxxxxx
2013-09-14 16:16:59 [096C] ADB Read: OKAY
2013-09-14 16:16:59 [096C] ADB Write: shell:ls -l "/storage/extSdCard/"
2013-09-14 16:16:59 [096C] ADB Read: OKAY
2013-09-14 16:17:00 [096C] ADB Read Data: drwxrwxr-x system   media_rw          2013-09-14 15:06 Android
drwxrwxr-x system   media_rw          2013-01-16 21:41 DCIM
drwxrwxr-x system   media_rw          2013-09-14 15:06 LOST.DIR
drwxrwxr-x system   media_rw          2013-05-01 15:53 MISC
It seems that the write access for files owned by group "media_rw" is restriced by android: [google search: "chainfire Is Google blocking apps writing to SD cards ?"] (sry, first time poster is not allowed to post links).
On the other hand, the mobile total commander app is somehow capable of manipulating files on the external media (with and without root access). Is there a way to get write access to external sd card working via the adb plugin?

EDIT: SOLVED
After actually reading all the >30 pages of this thread and not just using the forum search, i found some more details and a partial solution.
jakubklos stated that the problem is within the stock kernel (so does the "linked" chainfire post). So installing a custom rom may fix that issue.
Besides, if the device is rooted, installing Busybox enables ADB-plugin to overcome these limitations by using su:

Code: Select all

2013-09-14 17:19:01 [096C] ADB Write: shell:busybox mkdir -p "/storage/extSdCard/test"
2013-09-14 17:19:01 [096C] ADB Read: OKAY
2013-09-14 17:19:01 [096C] ADB Read Data: mkdir: can't create directory '/storage/extSdCard/test': Permission denied
2013-09-14 17:19:01 [096C] Connecting to ADB server...
2013-09-14 17:19:01 [096C] Connected
2013-09-14 17:19:01 [096C] ADB Write: host:transport:00194fcf590f9e
2013-09-14 17:19:01 [096C] ADB Read: OKAY
2013-09-14 17:19:01 [096C] ADB Write: shell:su -c "busybox mkdir -p \"/storage/extSdCard/test\""
2013-09-14 17:19:01 [096C] ADB Read: OKAY
Cheers.
swimma
Junior Member
Junior Member
Posts: 6
Joined: 2010-12-30, 20:28 UTC

ADB Plugin 7.2 with Wifi ADB on Android 4.3

Post by *swimma »

Something strange happens on my Nexus 4 running the last CM 10.2 nightly build ROM (Android 4.3 with JSS kernel). I'm using Wifi ADB App ver. 1.28 to access the phone.

When I copy files to the phones internal SD card using Total Commander everything works fine and I can see those files in the Androids file manager and from Androids Terminal with ls -al. The owners/permissions seem to be set as on every other file. Small problem visible at this point: The mp3 files copied can be played from the file manager but they are not indexed by the Music players and crash the Apollo Player.

The problem becomes more obvious if I disable the USB debugging mode and attach the phone to the PC via USB cable in order to browse it with the Windows Explorer on my PC. All the files I copied with Total Commander are not visible with the Windows Explorer now. (And I can't put the files with the same names to the phone with Windows Explorer again.)

Is this some kind of known issue? I can provide more information on it, if it's new.
swimma
Junior Member
Junior Member
Posts: 6
Joined: 2010-12-30, 20:28 UTC

Post by *swimma »

The issue I described in my last post is related to the Media Scan feature of Android. As a workaround I have always to do a rescan of the SD card in order to get the last added files working. It can be done with an app like SDrescan.

It would be great to trigger rescan from ADB plugin after adding files/folders to phone if possible.
killerost
Junior Member
Junior Member
Posts: 7
Joined: 2004-09-26, 15:54 UTC

Download link, please...

Post by *killerost »

The link to the adbplugin.zip file is all messed up. Has anyone got a new link?
jomblo07
New Member
New Member
Posts: 1
Joined: 2013-10-06, 02:27 UTC
Location: Indonesia

Post by *jomblo07 »

first of all thanks for the plugin

it works beautifully :D

anyhow, does this plugin still can do queuing during copying or moving files?

or i have to change it's setting first?

thanks a lot
User avatar
BudCord
Junior Member
Junior Member
Posts: 62
Joined: 2003-02-25, 08:18 UTC

Re: Download link, please...

Post by *BudCord »

killerost wrote:... adbplugin.zip ... new link?
http://www.uniqtec.eu/applications/android-adb.html
:wink:
Make it idiotproof and someone will make a better idiot.
amir77a
Junior Member
Junior Member
Posts: 9
Joined: 2010-03-05, 16:47 UTC

The plugin doesn't work well

Post by *amir77a »

Hi,

I am using Samsung Galaxy S4 (rooted device).

I am able to connect to the device in both USB mode & via WiFi ADB.

But when I am connected to the device, I am always getting empty list.

I've tried the mount system command (via app), with no use.

Any help would be very appreciated.

Amir.
Pavlique
New Member
New Member
Posts: 1
Joined: 2013-10-31, 06:46 UTC

Post by *Pavlique »

jakubklos
Hello! How to change attributes like on your screenshot?
And how to charge Read-only file system?
brotbuexe
Junior Member
Junior Member
Posts: 12
Joined: 2008-05-02, 17:23 UTC

Post by *brotbuexe »

Small issue,

when you connected to a device via wlan and you try to view a file by pressing "F3" adb or totalcmd tries to write the file in a temp folder but the path to the folder includes the string (for example) 192.168.0.1:5500 which does not work because : is not allowed as a directory name.
brotbuexe
Junior Member
Junior Member
Posts: 12
Joined: 2008-05-02, 17:23 UTC

Post by *brotbuexe »

Is there a way to connect to more than one wireless adb instance?

Could we save the connections as favorites, so we only have to doubleclick to connect to one instance? Like the way it is in sftp plugin.
maria_fj
Junior Member
Junior Member
Posts: 45
Joined: 2013-11-21, 10:10 UTC

Post by *maria_fj »

Perhaps a little manual install-guide would be helpful. Especially when not everything is done automatically :shock: It took me some while to get it running. Main blocking points have been:

- How to add the WFX-plugin? (Config => Options => Plugin => WFX-Menu)
- A small remark for those who are using Android > 4.3 (=CM10.2): You get a notice on your mobile screen to allow ADB-debugging from your computer. This must be enabled to process further. [Rem.: I have had my mobiles screen turned off and didn't recognize the mandatory confirmation on my mobile and was looking around how to get it working on my computer. :roll: ]

Especially the second point would be good for the very first time to have a hint. Something like README, extra file-entry or whatever... - Or perhaps any time when the connection fails? Anyway, after some brief testings the plugin looks awesome.
Pychopoddy
New Member
New Member
Posts: 1
Joined: 2013-11-24, 00:55 UTC

Post by *Pychopoddy »

Hi,

Your plugin is not working.

I click on ADB (in TC > my network places) - and nothing happen.
adbplugin options dialog via RMB works.

Your debug.log msg:

Code: Select all

2013-11-24 02:58:11 [0568] Connecting to ADB server...
2013-11-24 02:58:11 [0568] ADB Binary: "adb" "devices"
2013-11-24 02:58:11 [0568] Could not connect

2013-11-24 02:58:32 [0568] Connecting to ADB server...
2013-11-24 02:58:32 [0568] ADB Binary: "c:\Program Files\totalcmd\plugins\wfx\ADB\adb.exe" "devices"
2013-11-24 02:58:32 [0568] Could not connect

2013-11-24 03:09:16 [0568] Could not connect
2013-11-24 03:09:40 [0568] Connecting to ADB server...
2013-11-24 03:09:40 [0568] ADB Binary: "c:\Android\sdk\platform-tools\adb.exe" "devices"
2013-11-24 03:09:45 [0568] Could not connect

I went to totalcmd\plugins\wfx\ADB\adb.exe start it in console (tc > open command promt > adb) - launched > typed adb devices - it works - got device id, work adb pull command and no errors..

So

1.Adb.exe (in ADBPlugin.wfx dir) works ok,
another adb.exe (from sdk)- ok,
another manager (qtadb) works well (via adb) - I can copy, read files.

2.adb exe (android sdk) path is in %PATH%

- ADB connected via usb (Window XP x64, TC v8,01 x32, plugin v7.2.0.0).
- Plugin was installed automatically by TC from zip.
- I do not have any another WFX plugins.
- No any other adb.exe running at moment
- after clicking on ADB plugin , adb.exe starts and not exit and stay running (as usual in cmd, work as fork-server)

- adb.exe log from temp dir (adb.log):

Code: Select all

--- adb starting (pid 1740) ---
--- adb starting (pid 1968) ---
no any other info in log.

What can I do?
Aleq
Junior Member
Junior Member
Posts: 55
Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU

Post by *Aleq »

Hi Jakub,
with newest recoveries (I tried sever ones), I'm getting invalid filenames/directories listed. I see

Code: Select all

Jan  1 00:00:00 1970 proc/
Jan  1 00:00:00 1970 res/
Jan  1 00:00:00 1970 sbin/
Jan  1 00:00:00 1970 system/
May 21 00:06:59 1970 boot/
May 21 00:06:59 1970 datadata/
May 21 00:06:59 1970 dev/
May 21 00:06:59 1970 emmc/
May 21 00:06:59 1970 external_sd/
May 21 00:06:59 1970 internal_sd/
instead of

Code: Select all

proc
res
sbin
system
boot
datadata
dev
emmc
external_sd
internal_sd
I tried all list modes (busybox, ls -l, ls -la)...

Here comes the log:

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 Thu May 21 00:07:01 1970 ./
drwxr-xr-x   22 root     root             0 Thu May 21 00:07:01 1970 ../
-rw-rw-rw-    1 root     root          1434 Thu May 21 00:07:00 1970 adb_keys
drwxr-xr-x    2 root     root             0 Thu May 21 00:06:59 1970 boot/
drwxrwx---    5 system   cache         4096 Wed Nov 27 14:31:49 2013 cache/
-rwxr-x---    1 root     root        267716 Thu Jan  1 00:00:00 1970 charger
drwxr-xr-x    3 root     root             0 Thu May 21 00:07:01 1970 data/
drwxr-xr-x    2 root     root             0 Thu May 21 00:06:59 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 Thu May 21 00:06:59 1970 dev/
drwxr-xr-x    2 root     root             0 Thu May 21 00:06:59 1970 emmc/
drwxr-xr-x    2 root     root             0 Thu May 21 00:07:32 1970 etc/
drwxr-xr-x    2 root     root             0 Thu May 21 00:06:59 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 Thu May 21 00:06:59 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 Thu May 21 00:06:59 1970 mnt/
dr-xr-xr-x  162 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 Thu May 21 00:06:59 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 Thu May 21 00:06:59 1970 sd-ext/
lrwxrwxrwx    1 root     root            11 Thu May 21 00:07:01 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 Thu May 21 00:07:32 1970 storage/
dr-xr-xr-x   12 root     root             0 Thu May 21 00:06:59 1970 sys/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 system/
drwxrwxr-x    2 root     shell            0 Thu May 21 00:06:59 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 Thu May 21 00:07:01 1970 ./
drwxr-xr-x   22 root     root             0 Thu May 21 00:07:01 1970 ../
-rw-rw-rw-    1 root     root          1434 Thu May 21 00:07:00 1970 adb_keys
drwxr-xr-x    2 root     root             0 Thu May 21 00:06:59 1970 boot/
drwxrwx---    5 system   cache         4096 Wed Nov 27 14:31:49 2013 cache/
-rwxr-x---    1 root     root        267716 Thu Jan  1 00:00:00 1970 charger
drwxr-xr-x    3 root     root             0 Thu May 21 00:07:01 1970 data/
drwxr-xr-x    2 root     root             0 Thu May 21 00:06:59 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 Thu May 21 00:06:59 1970 dev/
drwxr-xr-x    2 root     root             0 Thu May 21 00:06:59 1970 emmc/
drwxr-xr-x    2 root     root             0 Thu May 21 00:07:32 1970 etc/
drwxr-xr-x    2 root     root             0 Thu May 21 00:06:59 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 Thu May 21 00:06:59 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 Thu May 21 00:06:59 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 Thu May 21 00:06:59 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 Thu May 21 00:06:59 1970 sd-ext/
lrwxrwxrwx    1 root     root            11 Thu May 21 00:07:01 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 Thu May 21 00:07:32 1970 storage/
dr-xr-xr-x   12 root     root             0 Thu May 21 00:06:59 1970 sys/
drwxr-xr-x    3 root     root             0 Thu Jan  1 00:00:00 1970 system/
drwxrwxr-x    2 root     shell            0 Thu May 21 00:06:59 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
Thanks for looking!
Post Reply