| View previous topic :: View next topic |
| Author |
Message |
Yuccaman Junior Member

Joined: 26 Feb 2012 Posts: 12
|
Posted: Sun Feb 26, 2012 3:32 pm Post subject: Promlems copying to SD Card on Xoom |
|
|
I have a Xoom, rooted running the standard ICS build.
I am able to mount the external SD Card as Read/Write but TC cannot write any files to the card... Another program, FileManager HD can though, although I much prefer TC...
secondly, when clicking the copy/move button, when the dialogue box pops up, so does the keyboard. This does nor happen when using TC on my phone....
Cheers, |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Mon Feb 27, 2012 9:05 am Post subject: |
|
|
Do you have the option "root functions everywhere" checked? If yes, try to uncheck it. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Yuccaman Junior Member

Joined: 26 Feb 2012 Posts: 12
|
Posted: Mon Feb 27, 2012 9:58 am Post subject: |
|
|
That option wasn't checked....
Have checked it and tried and then unchecked it and tried but the same result..... |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Mon Feb 27, 2012 9:59 am Post subject: |
|
|
Sorry, I have no more ideas. I'm using the normal Java functions to copy files anywhere in the file system. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Yuccaman Junior Member

Joined: 26 Feb 2012 Posts: 12
|
Posted: Mon Feb 27, 2012 12:21 pm Post subject: |
|
|
Ok, no probs....
I did some more experimentation with a couple of other FileManagers from the market.
ES File Explorer worked fine, Ghost Commander did not.
I found a post on a forum saying that FileManager HD borrowed some code from a paid app written expressly for the Xoom.
I know the mounting of the SD Card as Read / Write though TC is working as if I mount as Read Only, then FileManager HD cannot write to the card.
I will settle on A.N.Other tool for the occasions I want to copy to External SD and use TC for everything else.
Many thanks for writing such an excellent program !!!! |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Tue Feb 28, 2012 3:39 am Post subject: |
|
|
I don't see why the SD-Card should be mounted as read only, but you can check that easily: In Total Commander, click on the button with the green plus sign to add a new button. Choose "Internal Command", then click on >> to choose command Nr. 119.
Now go to the SD card. If the button displays "R", the card is read only. If it displays "RW", it's read/write. Try to click on the button to remout it as read/write. If it's read only. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Yuccaman Junior Member

Joined: 26 Feb 2012 Posts: 12
|
Posted: Wed Feb 29, 2012 1:11 pm Post subject: |
|
|
On the US Xoom, the SD Card has always been Read Only in the standard builds (God know why !!!!).
I had already defined the button in TC to remount as Read Write and the SD card shows RW on that button....
The Remount is working as if I mount as Read Only, the other programs that can write to it then cannot
I've asked on xda if any other Xoom users have the same as I reckon there is something up at my end....
Cheers, |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Wed Feb 29, 2012 2:34 pm Post subject: |
|
|
You mean that when the button shows RW, the other program cannot write, and when it shows R, the other program can? _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Yuccaman Junior Member

Joined: 26 Feb 2012 Posts: 12
|
Posted: Thu Mar 01, 2012 3:39 pm Post subject: |
|
|
Bad english....
When SD card shows as R, then neither program will write to the card.
When SD card shows as RW, the other program can then write to it...
Sadly, no reply to my question on XDA yet... |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Fri Mar 02, 2012 4:22 am Post subject: |
|
|
| Quote: | | When SD card shows as RW, the other program can then write to it... |
I see - and Total Commander can't write even when it's RW? That's very odd. Do you get any error message? _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Yuccaman Junior Member

Joined: 26 Feb 2012 Posts: 12
|
Posted: Fri Mar 02, 2012 1:40 pm Post subject: |
|
|
Nope, Remount button is showing as RW and if I try to copy, I get:
Write Error
Error writing to target file!
/mnt/external1/bookmarks.html!
In Xoom world, /mnt/sdcard is the Internal Storage and /mnt/external1 is the SD Card.....
Not sure if this helps - probably makes it even more weird
I can delete files with TC from the SD Card. I get the small info message from Superuser about "Total Commander being granted Superuser permissions" and the file vanishes.
Nothing like that pops up when I try to copy though, just the error message.... |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Mon Mar 05, 2012 7:51 am Post subject: |
|
|
| Quote: | | I can delete files with TC from the SD Card. I get the small info message from Superuser about "Total Commander being granted Superuser permissions" and the file vanishes. |
I see - so your device IS rooted, and TC is using the root functions to delete the files!
It's strange that copying fails, though. TC is using the function "cp" to copy files. I have looked at the source of FileManager HD, and it seems that it used the function "dd" to copy instead of "cp".
Could you try this in Total Commander too, please? You can test it like this:
1. Click on the button with the green plus sign to add a new command
2. As command type, choose shell command
3. As command, write: su
4. As parameters, write:
*dd if=%P%N of=%T%N bs=64k
The * at the beginning forces Total Commander to show the results as a dialog instead of a short message.
Now select a file in the internal memory while the other panel shows the external SD card, and press the button to copy it. You will need to press the green reload button to see the results. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Yuccaman Junior Member

Joined: 26 Feb 2012 Posts: 12
|
Posted: Mon Mar 05, 2012 12:45 pm Post subject: |
|
|
Yep, that works fine.....
Get the pop-up for TC being granted superuser permissions. and then the dialogue shows:
7692+1 records in
7692+1 records out
509577 bytes transferred in 0.114 secs (4469973 bytes/sec)
After the refresh, the files are on the SD Card. Copied any single file ranging from an 80k HTML file to a 41mb Game Data file. |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Tue Mar 06, 2012 2:07 am Post subject: |
|
|
That's interesting, I wonder why the "cp" command doesn't work?!
Could you test this for me too, please? I could then detect that specific error, and retry with "dd".
You can test it like this:
1. Click on the button with the green plus sign to add a new command
2. As command type, choose shell command
3. As command, write: su
4. As parameters, write:
*cp P%N %T%N
Now try again to copy a file by checking it and pressing this button.
Thanks! _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Yuccaman Junior Member

Joined: 26 Feb 2012 Posts: 12
|
Posted: Tue Mar 06, 2012 2:43 am Post subject: |
|
|
I get this message:
sh: <stdin>[2]: cp: not found |
|
| Back to top |
|
 |
|