[WFX] Android ADB 7.3

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

Moderators: sheep, Hacker, Stefan2, white

Post Reply
ggggnnnn
Junior Member
Junior Member
Posts: 29
Joined: 2004-05-28, 17:26 UTC

Re: [WFX] Android ADB 7.3

Post by *ggggnnnn »

Hello.

Logcat copy/edit/view does not work:

Code: Select all

2020-08-07 03:35:53 [0420] Connecting to ADB server...
2020-08-07 03:35:53 [0420] Connected
2020-08-07 03:35:53 [0420] ADB Write (34): host:transport:192.168.10.199:5555
2020-08-07 03:35:53 [0420] ADB Read (4): OKAY
2020-08-07 03:35:53 [0420] ADB Write (49): shell:logcat -v time -f "/sdcard/2EE09E1F.tmp" -d
2020-08-07 03:35:53 [0420] ADB Read (4): OKAY
2020-08-07 03:35:53 [0420] ADB Read Data (25): couldn't open output file
2020-08-07 03:35:53 [0420] Connecting to ADB server...
2020-08-07 03:35:53 [0420] Connected
2020-08-07 03:35:53 [0420] ADB Write (34): host:transport:192.168.10.199:5555
2020-08-07 03:35:53 [0420] ADB Read (4): OKAY
2020-08-07 03:35:53 [0420] ADB Write (5): sync:
2020-08-07 03:35:53 [0420] ADB Read (4): OKAY
2020-08-07 03:35:53 [0420] ADB Write (28): STA2
2020-08-07 03:35:53 [0420] ADB Read (72): STA2
2020-08-07 03:35:53 [0420] ADB STAT2: "/sdcard/2EE09E1F.tmp" does not exist!
2020-08-07 03:35:53 [0420] Connecting to ADB server...
2020-08-07 03:35:53 [0420] Connected
2020-08-07 03:35:53 [0420] ADB Write (34): host:transport:192.168.10.199:5555
2020-08-07 03:35:53 [0420] ADB Read (4): OKAY
2020-08-07 03:35:53 [0420] ADB Write (5): sync:
2020-08-07 03:35:53 [0420] ADB Read (4): OKAY
2020-08-07 03:35:53 [0420] ADB Write (28): STAT
2020-08-07 03:35:53 [0420] ADB Read (16): STAT
2020-08-07 03:35:53 [0420] ADB STAT: "/sdcard/2EE09E1F.tmp" does not exist!
2020-08-07 03:35:53 [0420] Connecting to ADB server...
2020-08-07 03:35:53 [0420] Connected
2020-08-07 03:35:53 [0420] ADB Write (34): host:transport:192.168.10.199:5555
2020-08-07 03:35:53 [0420] ADB Read (4): OKAY
2020-08-07 03:35:53 [0420] ADB Write (42): shell:busybox rm -f "/sdcard/2EE09E1F.tmp"
2020-08-07 03:35:53 [0420] ADB Read (4): OKAY
2020-08-07 03:35:53 [0420] ADB Read Data (0):
dmesg works fine:

Code: Select all

2020-08-07 03:36:59 [1758] Connecting to ADB server...
2020-08-07 03:36:59 [1758] Connected
2020-08-07 03:36:59 [1758] ADB Write (34): host:transport:192.168.10.199:5555
2020-08-07 03:36:59 [1758] ADB Read (4): OKAY
2020-08-07 03:36:59 [1758] ADB Write (44): shell:dmesg > "/sdcard/FFFFFFFFACEB96A0.tmp"
2020-08-07 03:36:59 [1758] ADB Read (4): OKAY
2020-08-07 03:36:59 [1758] ADB Read Data (34): dmesg: klogctl: Permission denied
2020-08-07 03:36:59 [1758] Connecting to ADB server...
2020-08-07 03:36:59 [1758] Connected
2020-08-07 03:36:59 [1758] ADB Write (34): host:transport:192.168.10.199:5555
2020-08-07 03:36:59 [1758] ADB Read (4): OKAY
2020-08-07 03:36:59 [1758] ADB Write (55): shell:su -c " dmesg > \"/sdcard/FFFFFFFFACEB96A0.tmp\""
2020-08-07 03:36:59 [1758] ADB Read (4): OKAY
2020-08-07 03:36:59 [1758] ADB Read Data (0):
2020-08-07 03:36:59 [1758] Connecting to ADB server...
2020-08-07 03:36:59 [1758] Connected
2020-08-07 03:36:59 [1758] ADB Write (34): host:transport:192.168.10.199:5555
2020-08-07 03:36:59 [1758] ADB Read (4): OKAY
2020-08-07 03:36:59 [1758] ADB Write (5): sync:
2020-08-07 03:36:59 [1758] ADB Read (4): OKAY
2020-08-07 03:36:59 [1758] ADB Write (36): STA2
2020-08-07 03:36:59 [1758] ADB Read (72): STA2
2020-08-07 03:36:59 [1758] ADB STAT2: "/sdcard/FFFFFFFFACEB96A0.tmp" size=725642 time=2020-08-07 03:37:00
2020-08-07 03:36:59 [1758] ADB Write (36): STAT
2020-08-07 03:36:59 [1758] ADB Read (16): STAT��
2020-08-07 03:36:59 [1758] ADB STAT: "/sdcard/FFFFFFFFACEB96A0.tmp" size=725642 time=2020-08-07 03:37:00
2020-08-07 03:36:59 [1758] ADB Write (36): RECV
2020-08-07 03:36:59 [1758] Connecting to ADB server...
2020-08-07 03:36:59 [1758] Connected
2020-08-07 03:36:59 [1758] ADB Write (34): host:transport:192.168.10.199:5555
2020-08-07 03:36:59 [1758] ADB Read (4): OKAY
2020-08-07 03:36:59 [1758] ADB Write (50): shell:busybox rm -f "/sdcard/FFFFFFFFACEB96A0.tmp"
2020-08-07 03:36:59 [1758] ADB Read (4): OKAY
2020-08-07 03:36:59 [1758] ADB Read Data (0):
Latest Total Commander 9.51 and Adb plugin 8.8
Android version 8.0
Tried all file list commands, all fail.

The error Total Commander gives is:
Error downloading file!
pgriffet
Junior Member
Junior Member
Posts: 66
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Re: [WFX] Android ADB 7.3

Post by *pgriffet »

Hi all, I have a problem with the "change directory" function (CTRL+D) when I try to go to a directory of my Smartphone. It was ok with an older one (with Android 6) but now, I have a Samsung S10 with Android 10 (USB debugging activated) and the CTRL+D + a letter does not change to the Samsung directory. I need to go to the drive letter box and choose "Samsung S10e", then navigate to the sub dir to reach it, big waste of time.
I haven't change anything in my TC config, the only difference is another smartphone

Here is the CD function that I see in the CTRL+D "change directory menu" for one of my smartphone subdir, you can see the samsung string in it

cd ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\\?\usb#vid_04e8&pid_6860&ms_comp_mtp&samsung_android#7&1ece14d8&0&0000#{6ac27878-a6fa-4155-ba85-f98f491d4f33}\SID-{20002,SECZ9519043CHOHB01,31901024256}\{ED6A2119-837D-B203-1B9E-CEACABEBD3E7}

Am I missing something ?

TC : 9.51
ADB : 8.8

TIA
damjang
Senior Member
Senior Member
Posts: 207
Joined: 2003-10-09, 15:58 UTC
Contact:

Re: [WFX] Android ADB 7.3

Post by *damjang »

pgriffet wrote:
2020-08-27, 12:30 UTC
Hi all, I have a problem with the "change directory" function (CTRL+D) when I try to go to a directory of my Smartphone. It was ok with an older one (with Android 6) but now, I have a Samsung S10 with Android 10 (USB debugging activated) and the CTRL+D + a letter does not change to the Samsung directory. I need to go to the drive letter box and choose "Samsung S10e", then navigate to the sub dir to reach it, big waste of time.
I haven't change anything in my TC config, the only difference is another smartphone

Here is the CD function that I see in the CTRL+D "change directory menu" for one of my smartphone subdir, you can see the samsung string in it

cd ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\\?\usb#vid_04e8&pid_6860&ms_comp_mtp&samsung_android#7&1ece14d8&0&0000#{6ac27878-a6fa-4155-ba85-f98f491d4f33}\SID-{20002,SECZ9519043CHOHB01,31901024256}\{ED6A2119-837D-B203-1B9E-CEACABEBD3E7}

Am I missing something ?

TC : 9.51
ADB : 8.8

TIA
Do you recreate the CP string for your new phone? The string contain also the (serial)number of phone, so you have to recreate string for new phone...

and another settings to change for new phones to work with ADB: after connecting usb you have to change the USB settings -> Use USB for -> Transferring images (and not Transfering files / Android Auto as will be expected).
pgriffet
Junior Member
Junior Member
Posts: 66
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Re: [WFX] Android ADB 7.3

Post by *pgriffet »

Thanks for replying ;)
The CD command has been generated by TC when I added the directory of the Samsung with CTRL+D (the other smartphone was not a Samsung).

I have changed the setting on the Samsung to "Transferring images " but the CD command does not the job.
And on TC side, I don't see the content of my Samsung directories if it's not a jpg or a png file :(
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39988
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [WFX] Android ADB 7.3

Post by *ghisler(Author) »

Unfortunately with newer Android smartphones the virtual folder location is different each time you connect it, so you cannot access it this way.
Author of Total Commander
http://www.ghisler.com
pgriffet
Junior Member
Junior Member
Posts: 66
Joined: 2003-03-01, 22:04 UTC
Location: Belgium

Re: [WFX] Android ADB 7.3

Post by *pgriffet »

ghisler(Author) wrote:
2020-08-31, 14:05 UTC
Unfortunately with newer Android smartphones the virtual folder location is different each time you connect it, so you cannot access it this way.
thanks Christian for the feedback
Hurdet
Power Member
Power Member
Posts: 544
Joined: 2003-05-10, 18:02 UTC

Re: [WFX] Android ADB 7.3

Post by *Hurdet »

The site is down for a few days.
Plumber
Junior Member
Junior Member
Posts: 12
Joined: 2014-04-25, 14:05 UTC

Re: [WFX] Android ADB 7.3

Post by *Plumber »

tasoftworks wrote:
2020-03-29, 09:45 UTC
Hi All,
First of all, thank you for this amazing plugin! It's been a great help for me for many years now.

I'd like to report a bug I've found with an Android Oreo (8.1) device.
Repro steps:
1. Create a file on your PC called "test file.txt"
2. Copy it to somewhere in the sdcard folder on the device

Expected:
3. The file appears on the device with the name "test file.txt"
4. The file can be copied back to the PC

Actual:
3. The file appears on the device with the name " file.txt"
4. The file cannot be copied back to the PC, it fails with "Error downloading file"

The file seems to be in a proper state on the device after copying, it's just that it's not accessible properly via the plugin.
This can be reproduced with a 8.1 emulator as well.
I have a device with Android 10 (Q) and on it I immediately came across a moment incomprehensible to me:
when copying files / folders with spaces in their names, the plugin displays them somehow strangely :(
For instance:
on Android 4.0.3 the path looks like this - \\\ ADB \ ... \ sdcard \ ... \ xxxx \ xxxx - xxx xxx xxx xxx xxx \
the same path on a device with Android 10 looks like this - \\\ ADB \ ... \ sdcard \ ... \ xxxx \ xxxx \ - \ xxx \ xxx \ xxx \ xxx \ xxx \
he added (\) to all spaces and, accordingly, there is nothing in the folders, but the Total Commander installed on this device and the native file manager show everything in the best possible way.

TotalCommander 9.51
Android ADB 8.8
User avatar
nsp
Power Member
Power Member
Posts: 1314
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: [WFX] Android ADB 7.3

Post by *nsp »

Hi,
Can you give a look on the ADB properties dialog.
Select Native 8.1 ls -la this should solve issues in folder name.
Also check that you have latest ADB/Fastboot binaries from google android platform.
Hope this helps.
NsPP
Plumber
Junior Member
Junior Member
Posts: 12
Joined: 2014-04-25, 14:05 UTC

Re: [WFX] Android ADB 7.3

Post by *Plumber »

nsp wrote:
2020-09-29, 06:32 UTC
Can you give a look on the ADB properties dialog.
Select Native 8.1 ls -la this should solve issues in folder name.
Many thanks, your advice helped a lot.
Post Reply