[WFX] Android ADB 7.3

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

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36220
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2018-06-01, 14:10 UTC

Since you have an active ADB connection, try adb backup:

https://stackoverflow.com/questions/12266374/backup-full-sms-mms-contents-via-adb
Author of Total Commander
http://www.ghisler.com

ferenczy
Junior Member
Junior Member
Posts: 21
Joined: 2013-12-16, 23:58 UTC
Location: Prague, Czech republic
Contact:

64-bit version of the plugin for Windows

Post by *ferenczy » 2018-07-16, 18:45 UTC

Do you plan to release a 64-bit version of the plugin for Windows, please?
Dawid Ferenczy

brahman
Member
Member
Posts: 131
Joined: 2006-04-26, 13:27 UTC

Post by *brahman » 2018-07-20, 00:59 UTC

An x64 version has existed for quite a while.

Download the plugin from the first post link and you will get a 32 and 64 combined plugin.
Regards, Brahman
Win10 Pro x64

Enyby
Junior Member
Junior Member
Posts: 3
Joined: 2018-08-12, 16:02 UTC

Re: [WFX] Android ADB 7.3

Post by *Enyby » 2018-08-12, 16:34 UTC

2jakubklos

I have the following problem:
if I copy file 2147483647 to a memory card, the file is copied correctly.
If the file is larger than this size, even by 1 byte, it remains in the form of a temporary file in the root of the memory card.
Threshoild to use sdcard is set to 10 MB.
If you set it to 10000, then there is no problem, because the file is immediately copied to the right place.

This behavior occurs only when data is copied to the device.
I tried to copy to the emulator - there is no problem.

Here is the file copy log size 2147483647

Code: Select all

:43:53 [63EC] Connecting to ADB server...
:43:53 [63EC] Connected
:43:53 [63EC] ADB Write: host:transport:XXX
:43:53 [63EC] ADB Read: OKAY
:43:53 [63EC] ADB Write: shell:ls -l "/sdcard/daw/"
:43:53 [63EC] ADB Read: OKAY
:43:54 [63EC] ADB Read Data: drwxrwx--- root     sdcard_r          2014-03-23 03:27 CallLog
:44:09 [621C] Connecting to ADB server...
:44:09 [621C] Connected
:44:09 [621C] ADB Write: host:transport:XXX
:44:09 [621C] ADB Read: OKAY
:44:09 [621C] ADB Write: shell:ls -l "/sdcard/daw/"
:44:09 [621C] ADB Read: OKAY
:44:09 [621C] ADB Read Data: drwxrwx--- root     sdcard_r          2014-03-23 03:27 CallLog
:44:09 [621C] ADB Write: STAT   /sdcard/daw/e1
:44:09 [621C] ADB Read:
:44:09 [621C] Connecting to ADB server...
:44:09 [621C] Connected
:44:09 [621C] ADB Write: host:transport:XXX
:44:09 [621C] ADB Read: OKAY
:44:09 [621C] ADB Write: sync:
:44:09 [621C] ADB Read: OKAY
:44:09 [621C] ADB Write: SEND#   /storage/sdcard0/3B0EDF19.tmp,33206
:49:15 [621C] ADB Write: DONEUp[
:49:15 [621C] ADB Read: OKAY
:49:15 [621C] Connecting to ADB server...
:49:15 [621C] Connected
:49:15 [621C] ADB Write: host:transport:XXX
:49:15 [621C] ADB Read: OKAY
:49:15 [621C] ADB Write: shell:busybox mv -f "/storage/sdcard0/3B0EDF19.tmp" "/sdcard/daw/e1"
:49:15 [621C] ADB Read: OKAY
:49:15 [621C] ADB Read Data:
:49:15 [63EC] Connecting to ADB server...
:49:15 [63EC] Connected
:49:15 [63EC] ADB Write: host:transport:XXX
:49:15 [63EC] ADB Read: OKAY
:49:15 [63EC] ADB Write: shell:ls -l "/sdcard/daw/"
:49:15 [63EC] ADB Read: OKAY
:49:15 [63EC] ADB Read Data: drwxrwx--- root     sdcard_r          2014-03-23 03:27 CallLog
-rwxrwx--- root     sdcard_r 2147483647 :49 e1
:49:33 [63EC] Connecting to ADB server...
But the log for the file size 2147483648

Code: Select all

:49:33 [63EC] Connecting to ADB server...
:49:33 [63EC] Connected
:49:33 [63EC] ADB Write: host:transport:XXX
:49:33 [63EC] ADB Read: OKAY
:49:33 [63EC] ADB Write: shell:ls -l "/sdcard/daw/"
:49:33 [63EC] ADB Read: OKAY
:49:33 [63EC] ADB Read Data: drwxrwx--- root     sdcard_r          2014-03-23 03:27 CallLog
:49:37 [2208] Connecting to ADB server...
:49:37 [2208] Connected
:49:37 [2208] ADB Write: host:transport:XXX
:49:37 [2208] ADB Read: OKAY
:49:37 [2208] ADB Write: shell:ls -l "/sdcard/daw/"
:49:37 [2208] ADB Read: OKAY
:49:37 [2208] ADB Read Data: drwxrwx--- root     sdcard_r          2014-03-23 03:27 CallLog
:49:37 [2208] ADB Write: STAT   /sdcard/daw/e2
:49:37 [2208] ADB Read:
:49:37 [2208] Connecting to ADB server...
:49:37 [2208] Connected
:49:37 [2208] ADB Write: host:transport:XXX
:49:37 [2208] ADB Read: OKAY
:49:37 [2208] ADB Write: sync:
:49:37 [2208] ADB Read: OKAY
:49:37 [2208] ADB Write: SEND+   /storage/sdcard0/FFFFFFFF9B23C382.tmp,33206
:54:02 [2208] ADB Write: DONEUp[
:54:02 [2208] ADB Read: OKAY
:54:02 [2208] Connecting to ADB server...
:54:02 [2208] Connected
:54:02 [2208] ADB Write: host:transport:XXX
:54:02 [2208] ADB Read: OKAY
:54:02 [2208] ADB Write: shell:busybox mv -f "/storage/sdcard0/FFFFFFFF9B23C382.tmp" "/sdcard/daw/e2"
:54:02 [2208] ADB Read: OKAY
:54:02 [2208] ADB Read Data:
:54:02 [63EC] Connecting to ADB server...
:54:02 [63EC] Connected
:54:02 [63EC] ADB Write: host:transport:XXX
:54:02 [63EC] ADB Read: OKAY
:54:02 [63EC] ADB Write: shell:ls -l "/sdcard/daw/"
:54:02 [63EC] ADB Read: OKAY
:54:03 [63EC] ADB Read Data: drwxrwx--- root     sdcard_r          2014-03-23 03:27 CallLog
:55:41 [63EC] Connecting to ADB server...
I replaced the null bytes from the log with spaces so that the forum had no problems.
It seems that the command

Code: Select all

busybox mv -f "/storage/sdcard0/FFFFFFFF9B23C382.tmp" "/sdcard/daw/e2"
does not work at all.
I tried to execute it separately in the adb shell - it works fine.
Moreover, even if you execute it before the copy is finished, it works out correctly, and the plug-in continues to copy to the already moved file.
It looks like this command is sent in the same connection as the data transfer, and the protocol is destroyed, so the command is not executed.

Perhaps this will help you:
https://github.com/cstyan/adbDocumentation#adb-push

I use 64-bit plug-in version 8.3.
Android Debug Bridge version 1.0.40
Version 4797878

Same problem described here:
viewtopic.php?p=289390#p289390

As I wrote above, you can set the "Threshoild to use sdcard" setting to a large number, but I would like the problem to be fixed not by crutches.

jakubklos
Senior Member
Senior Member
Posts: 214
Joined: 2012-07-11, 14:48 UTC

Re: [WFX] Android ADB 7.3

Post by *jakubklos » 2018-08-13, 06:59 UTC

Hello,
I am currently out until the 30th so I cannot check. Will do when I get back. Meanwhile you could check if the file in the temporary dir has the correct size.

Enyby
Junior Member
Junior Member
Posts: 3
Joined: 2018-08-12, 16:02 UTC

Re: [WFX] Android ADB 7.3

Post by *Enyby » 2018-08-13, 08:28 UTC

2jakubklos
Thanks for answer. File have correct size and correct content.
I copy temp file back to PC and compare by total. Is equal.

Post Reply