Android Debug Bridge filesystem plugin

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

Moderators: white, Hacker, petermad, Stefan2

sztupy
Junior Member
Junior Member
Posts: 3
Joined: 2010-10-07, 02:47 UTC

Android Debug Bridge filesystem plugin

Post by *sztupy »

Disclaimer: This plugin is still in it's infancy, therefore it might crash you, your PC or your phone. It might not even start. But it'll improve.

1. What's this?
This is a filesystem plugin for total commander that let's you browse and modify the contents of your phone while using total commander

2. Why?
Although there are some android file managers out there, none of them I've found integrates into total commander. And if you've already using tcmd as a general file manager you usually don't want to open up a new program just to access your filesystem.

3. How?
The plugin uses the "adb shell" interface to communicate with the phone. It issues simple linux commands, parses the results and shows them to you in tcmd.

4. What's needed?
Total commander on your PC, busybox on your phone (root is not needed, but it will be used if available), and USB debugging turned on as well. Next download the plugin, open it in total commander and let it install.

5. Download location?
Download the latest version from here: http://github.com/sztupy/adbfsplugin/downloads

6. Supported features?
- directory listing
- copying from/to phone (very slow)
- copying/moving/renaming inside the phone
- creating and deleting directories

7. Whats needed?
- Better error handling
- Command line interface
- Attribute changing
- APK management
- etc.

8. Common pitfalls/limitations/etc.
- If the plugin can't start the adb server, wait a bit, then try it again
- The plugin won't ask you whether you want to overwrite a file or not, it will overwrite it
- Uploading and downloading files is very-very slow
- The plugin starts by trying to use su. If it can't get permission to use su (for example you pressed deny on the superuser page), it will run as a normal user.

Licence: GPLv3 (with the added exception that allows you to use the plugin with total commander... duh) and CC-BY-SA

DL: http://github.com/sztupy/adbfsplugin/downloads

Main Forum (I'm watching that forum more intensively than this): http://xda-developers.com/forum/showthread.php?p=8496011
Last edited by sztupy on 2010-10-08, 10:28 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Nice, thanks! I have changed the links so they can be clicked.
Author of Total Commander
https://www.ghisler.com
User avatar
raeubi
Power Member
Power Member
Posts: 575
Joined: 2003-11-25, 09:01 UTC
Location: Rhein/Main

Post by *raeubi »

Very nice, thanks for distributing the plugin!

I made some tests on Windows 7 (x86).

I get only the following output:

Code: Select all

<000B - FAIL response from adb server>
What did I need for the plugin?
The SDK?
Räubi
(#2852 + #287609)
sztupy
Junior Member
Junior Member
Posts: 3
Joined: 2010-10-07, 02:47 UTC

Post by *sztupy »

The Android SDK is built in, so you don't need that.

FAIL response actually means that it could not connect to your phone via USB debugging mode (you have to turn usb debugging mode on on the device (usually Settings->Application->USB debugging), and install the approriate usb drivers, found either in the android sdk (for nexus one), found via windows update or from the site of the phone manufacturer).

FAIL message might also mean you have multiple phones connected, and it could not decide which one to show.
Last edited by sztupy on 2010-10-08, 10:31 UTC, edited 2 times in total.
sztupy
Junior Member
Junior Member
Posts: 3
Joined: 2010-10-07, 02:47 UTC

Post by *sztupy »

ghisler(Author) wrote:Nice, thanks! I have changed the links so they can be clicked.
Thanks. My newbie status is gone, so I updated the first post with more info.
User avatar
NoSubstitute
Junior Member
Junior Member
Posts: 47
Joined: 2012-02-08, 10:45 UTC
Location: Malmö, Sweden

Post by *NoSubstitute »

It seems the sztupy-adbfsplugin-2b616cc.zip doesn't contain a .wfx file. There is nothing to install.
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

It seems the sztupy-adbfsplugin-2b616cc.zip doesn't contain a .wfx file
The adbfsplugin-0.7.zip does. Download here.
Single user license #329241
PowerPro scripts for Total Commander
User avatar
NoSubstitute
Junior Member
Junior Member
Posts: 47
Joined: 2012-02-08, 10:45 UTC
Location: Malmö, Sweden

Post by *NoSubstitute »

Thank you, Vochomurka.
That worked like a charm!
User avatar
NoSubstitute
Junior Member
Junior Member
Posts: 47
Joined: 2012-02-08, 10:45 UTC
Location: Malmö, Sweden

- Uploading and downloading files is very-very slow

Post by *NoSubstitute »

- Uploading and downloading files is very-very slow

So true.
I got about 125 KB/s when trying to upload files to the phone's sdcard.
Mounting the sdcard as a device instead gave 5+ MB/s, so for large files the speed just isn't workable.
Aleq
Junior Member
Junior Member
Posts: 55
Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU

Post by *Aleq »

I have updated version to work with latest busybox stat that doesn't support "-c" switch. As a result, files/folder were not listed properly.

You can download the version via XDA forum linked by sztupy.

Enjoy

P.S.: I have an idea how to make it faster for upload/download, so let's see how that works
Aleq
Junior Member
Junior Member
Posts: 55
Joined: 2006-06-07, 07:24 UTC
Location: CZ, EU

Re: - Uploading and downloading files is very-very slow

Post by *Aleq »

NoSubstitute wrote:- Uploading and downloading files is very-very slow

So true.
I got about 125 KB/s when trying to upload files to the phone's sdcard.
Mounting the sdcard as a device instead gave 5+ MB/s, so for large files the speed just isn't workable.
Testing version with transfer speeds 3-4 MB/s is almost ready
User avatar
pbelcl
Senior Member
Senior Member
Posts: 212
Joined: 2003-02-28, 07:21 UTC
Location: Wien
Contact:

Re: - Uploading and downloading files is very-very slow

Post by *pbelcl »

Aleq wrote:Testing version with transfer speeds 3-4 MB/s is almost ready
Where to download ??
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Android Debug Bridge filesystem plugin

Post by *DrShark »

This plugin requires an ADB driver, and one of my phones comes with such one:

Code: Select all

usb_driver\
│   androidwinusb86.cat
│   androidwinusba64.cat
│   android_winusb.inf
│   source.properties
│
├───amd64\
│       NOTICE.txt
│       WdfCoInstaller01009.dll
│       winusbcoinstaller2.dll
│       WUDFUpdate_01009.dll
│
└───i386\
        NOTICE.txt
        WdfCoInstaller01009.dll
        winusbcoinstaller2.dll
        WUDFUpdate_01009.dll
What is the proper way to install it? Should I install it using a right click menu on android_winusb.inf file? And should I have the phone connected (in some specifc USB mode?) to PC during this installation?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Android Debug Bridge filesystem plugin

Post by *ghisler(Author) »

ADB drivers are used for Android development, so the best location to look for instructions is Google's Android development site:
https://developer.android.com/studio/run/oem-usb

There are separate instructions for Windows 10, 8, etc.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Android Debug Bridge filesystem plugin

Post by *DrShark »

ghisler(Author) wrote: 2021-08-24, 14:47 UTCADB drivers are used for Android development, so the best location to look for instructions is Google's Android development site:
https://developer.android.com/studio/run/oem-usb
Thanks, it worked fine for that Android device, now in Device manager it changed locacton/name from Other devices-><Device name> to Android device->Android Composite ADB Interface.
This device in Device manager is only shown when the hardware device is actually connected/attached to a PC.

Now if I'll attach a different Android devics, will I have to install its own ADB driver, or it will use currently installed "Android Composite ADB Interface" driver of other device? If new driver installation will be required, should I install the ADB driver provided by that phone's manufacturer or can point Device Manager to a driver of other phone (from different manufacturer) which is already installed?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply