This is configurable in Options of course. I have found out that in certain aspects it is better to copy it directly to sdcard and then move. This applies to cases when partition is not mounted as writable and similar (still better than copying the same files multiple times - which is also supported). Just tweak the threshold in Optionstobbbie wrote:I still see with 6.3 that files are pushed to sdcard first and then moved.tobbbie wrote:Hi, I recently noticed that large files (e.g. movies) are not copied directly to the external sd-card, but seem to stick to some internal space (which I could not trace down yet) before being moved to their final destination on the external sd-card.
Now I have the case that the second of two 330MB files is not reaching its final destination but seems stuck in the buffer - weird.
Device is a Samsung Galaxy Tab 2 7" (GT-P3110)
Edit: found it - It is copied to a temp file in \mnt\sdcard\<tempname>.tmp and then shall be moved/renamed to its final destination. Not ok when the external card is at mnt/extSdCard and not at mnt/sdcard.
The final confirmation on TC is only given after the second part (mode from \sdcard to \extSdCard) is done as well.
Is this 2-fold sequential copy needed or could you not better push directly to the target partition?
Same applies also when copying to \data - files go first to \sdcard and then get moved.
Large copies could be much faster if the 2.nd step could be avoided.
[WFX] Android ADB 8.8
Moderators: Hacker, petermad, Stefan2, white
Re: How are files copied on devices with internal sdcard?
Re: How are files copied on devices with internal sdcard?
Is this a new option? I did not notice so far it is there.jakubklos wrote: This is configurable in Options of course. I have found out that in certain aspects it is better to copy it directly to sdcard and then move. This applies to cases when partition is not mounted as writable and similar (still better than copying the same files multiple times - which is also supported). Just tweak the threshold in Options
If above threshold sdcard will bs used and if below threshold, it will be pushed directly, right?
Is "0" an escape value or would I need to specify 4000 to force any large file be pushed directly?
EDIT: It only works with the bufferieng first, other options do not and only fallback to the buffered version will finally deliver the file. It is also fine like that.
Re: How are files copied on devices with internal sdcard?
Exactly, 0MB means to always use SDCard. So you need to put a high value there.tobbbie wrote:Is this a new option? I did not notice so far it is there.jakubklos wrote: This is configurable in Options of course. I have found out that in certain aspects it is better to copy it directly to sdcard and then move. This applies to cases when partition is not mounted as writable and similar (still better than copying the same files multiple times - which is also supported). Just tweak the threshold in Options
If above threshold sdcard will bs used and if below threshold, it will be pushed directly, right?
Is "0" an escape value or would I need to specify 4000 to force any large file be pushed directly?
EDIT: It only works with the bufferieng first, other options do not and only fallback to the buffered version will finally deliver the file. It is also fine like that.
This is unexpected behavior so it definitely counts as a bug, whether you like it or not.jakubklos wrote:This is not a bug but a "ls" command behavior. Change to busybox listing in Options and it will work.joker wrote:I also noticed that bug, files like .nomedia not showing, and I hope it will get fixed soon.wgf4242 wrote:How to list the file that filename start with "."?
e.g.
".mytest", won't list in Android ADB
Try 'ls -a'.
Linux in a Nutshell wrote:ls [options] [names]
-a List all files, including the normally hidden files whose names begin with a period.
As already discussed many times:joker wrote:This is unexpected behavior so it definitely counts as a bug, whether you like it or not.jakubklos wrote:This is not a bug but a "ls" command behavior. Change to busybox listing in Options and it will work.joker wrote:I also noticed that bug, files like .nomedia not showing, and I hope it will get fixed soon.
Try 'ls -a'.
Linux in a Nutshell wrote:ls [options] [names]
-a List all files, including the normally hidden files whose names begin with a period.
Ok, I added a new option for this. The Options screen is getting complicated:- Update: Non busybox ls cannot use "ls -la" because older versions of Android do not support the param, we have to use "ls -l" which does not display hidden files - no way to work around this
6.4
- New: Option for ls -a added, if used on older Android versions no file list will be returned (the parameter is missing on older versions)
- Update: ADBHelper stores temporary files in sdcard/tmp/ (new ADBHelper version)
Where is ADB Helper installed and how is it updated?
Just installed 6.4 and still see it copies files to /sdcard/ directly.
Only temporary other files (e.g. for getting icons off .apks) are stored in /sdcard/tmp
I also noticed that in case SU is not granted for mv operation, the created .TMP file there for the copy operation is not deleted from /sdcard/. If you have a large batch of failing files - they all pile up there
[added:] also temporary files in /sdcard/tmp are not deleted if the operation is aborted - e.g. the directory for which the icons are fetched is left before completion. Could also be that the last one always stays there anyway - have not checked this.
Just installed 6.4 and still see it copies files to /sdcard/ directly.
Only temporary other files (e.g. for getting icons off .apks) are stored in /sdcard/tmp
I also noticed that in case SU is not granted for mv operation, the created .TMP file there for the copy operation is not deleted from /sdcard/. If you have a large batch of failing files - they all pile up there

[added:] also temporary files in /sdcard/tmp are not deleted if the operation is aborted - e.g. the directory for which the icons are fetched is left before completion. Could also be that the last one always stays there anyway - have not checked this.
There are 2 different things.tobbbie wrote:Where is ADB Helper installed and how is it updated?
Just installed 6.4 and still see it copies files to /sdcard/ directly.
Only temporary other files (e.g. for getting icons off .apks) are stored in /sdcard/tmp
I also noticed that in case SU is not granted for mv operation, the created .TMP file there for the copy operation is not deleted from /sdcard/. If you have a large batch of failing files - they all pile up there
[added:] also temporary files in /sdcard/tmp are not deleted if the operation is aborted - e.g. the directory for which the icons are fetched is left before completion. Could also be that the last one always stays there anyway - have not checked this.
ADBHelper uses the /tmp/ dir for retrieving apk info and icon. These files are never deleted as it is only 2 files and they are in the tmp folder anyway. This has been changed and ADBHelper app is updated automatically.
Copying files first to sdcard and then other partitions/directories is something else and remains. The behavior can be configured in the Options screen. If there are files after a failed copy then it is a bug and should be fixed. I will check
I'm aware of the fact that the APK has to be copied to the device and then tap on it with TC for Android to install. My question was how does this plugin install or uninstall the apps directly from your computer without having to use the device itself to do it. This is what I understood when the developer said the plugin features app management with installs and uninstalls. Is this what he meant? If so, then how it it done?buttie wrote:You have to copy .apk to .apps (or \data\app that's virtually the same) folder. If you want to install system app you have to copy it to \system\app folder.
Are you asking how to use the install/uninstall feature of the plugin? Enter the .apk folder and delete an apk file to uninstall and copy an apk file to the .apk folder. That's allhumb20 wrote:I'm aware of the fact that the APK has to be copied to the device and then tap on it with TC for Android to install. My question was how does this plugin install or uninstall the apps directly from your computer without having to use the device itself to do it. This is what I understood when the developer said the plugin features app management with installs and uninstalls. Is this what he meant? If so, then how it it done?buttie wrote:You have to copy .apk to .apps (or \data\app that's virtually the same) folder. If you want to install system app you have to copy it to \system\app folder.
Hi jakubklos,
first of all, thank you for your plugin.
My Problem is, i can't copy files from PC to external SD-Card on my Samsung Galaxy S3 (Android 4.1.2), also it is not possible to delete files on the external Card.
If i go to the SD-Card from TC direct (not through your plugin) or from Explorer, there is no Problem to delete or copy to the Card.
Is this a bug in your plugin or did i something wrong?
Copy to or delete Data from the internal SD-Card of the Phone works without problems from your plugin.
G
P.eter
TC Version 8.01 32-bit
ADB-plugin 6.4
Win7 64-bit
first of all, thank you for your plugin.
My Problem is, i can't copy files from PC to external SD-Card on my Samsung Galaxy S3 (Android 4.1.2), also it is not possible to delete files on the external Card.
If i go to the SD-Card from TC direct (not through your plugin) or from Explorer, there is no Problem to delete or copy to the Card.
Is this a bug in your plugin or did i something wrong?
Copy to or delete Data from the internal SD-Card of the Phone works without problems from your plugin.
G
P.eter
TC Version 8.01 32-bit
ADB-plugin 6.4
Win7 64-bit
Hi Peter,p.eter wrote:Hi jakubklos,
first of all, thank you for your plugin.
My Problem is, i can't copy files from PC to external SD-Card on my Samsung Galaxy S3 (Android 4.1.2), also it is not possible to delete files on the external Card.
If i go to the SD-Card from TC direct (not through your plugin) or from Explorer, there is no Problem to delete or copy to the Card.
Is this a bug in your plugin or did i something wrong?
Copy to or delete Data from the internal SD-Card of the Phone works without problems from your plugin.
G
P.eter
TC Version 8.01 32-bit
ADB-plugin 6.4
Win7 64-bit
the issue is with your kernel. Some other user had a similar issue and solved it by installing a different kernel. The thing is that kernel marks the external sd-card partition for root users only via ADB. The plugin tries to overcome this problem multiple ways (copying to sdcard first and then mv it there using the root functions) but this does not work either as the mv command does not support moving files over partitions. I am using WanamLite ROM with its default kernel and all works fine
Jakub
-
- Junior Member
- Posts: 64
- Joined: 2010-04-04, 10:46 UTC
why busybox must be installed in mobile to delette files?
I like the wfx ADB plugin.
i found busybox must be installed in my samsung i939 to delete/copy file on/to it via adb plugin in TC.
who can tell me what configuration is changed in my phone?
i think i can not install busybox in my phone to delete/copy directly file(s) on/to it.
thx.
I like the wfx ADB plugin.
i found busybox must be installed in my samsung i939 to delete/copy file on/to it via adb plugin in TC.
who can tell me what configuration is changed in my phone?
i think i can not install busybox in my phone to delete/copy directly file(s) on/to it.
thx.
-
- Junior Member
- Posts: 64
- Joined: 2010-04-04, 10:46 UTC
hi,p.eter wrote:Hi jakubklos,
first of all, thank you for your plugin.
My Problem is, i can't copy files from PC to external SD-Card on my Samsung Galaxy S3 (Android 4.1.2), also it is not possible to delete files on the external Card.
If i go to the SD-Card from TC direct (not through your plugin) or from Explorer, there is no Problem to delete or copy to the Card.
Is this a bug in your plugin or did i something wrong?
Copy to or delete Data from the internal SD-Card of the Phone works without problems from your plugin.
G
P.eter
TC Version 8.01 32-bit
ADB-plugin 6.4
Win7 64-bit
your experience like me.
plz try to install busybox. maybe you would do what you want to do.
Last edited by Li Yongzhen on 2013-04-25, 22:43 UTC, edited 1 time in total.
-
- Junior Member
- Posts: 64
- Joined: 2010-04-04, 10:46 UTC
hi,jakubklos wrote:.......... this does not work either as the mv command does not support moving files over partitions. I am using WanamLite ROM with its default kernel and all works finep.eter wrote:Hi jakubklos,
first of all, thank you for your plugin.
My Problem is, i can't copy files from PC to external SD-Card on my Samsung Galaxy S3 (Android 4.1.2), also it is not possible to delete files on the external Card.
........
Win7 64-bit
Jakub
Jakub, installing busybox would copy/delete files to/in mobile via plunin adb in TC.
but i do not know WHY.