Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Promlems copying to SD Card on Xoom

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander for Android Printable version
View previous topic :: View next topic  
Author Message
Yuccaman
Junior Member
Junior Member


Joined: 26 Feb 2012
Posts: 12

PostPosted: Sun Feb 26, 2012 3:32 pm    Post subject: Promlems copying to SD Card on Xoom Reply with quote

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
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24621
Location: Switzerland

PostPosted: Mon Feb 27, 2012 9:05 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Yuccaman
Junior Member
Junior Member


Joined: 26 Feb 2012
Posts: 12

PostPosted: Mon Feb 27, 2012 9:58 am    Post subject: Reply with quote

That option wasn't checked....

Have checked it and tried and then unchecked it and tried but the same result.....
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24621
Location: Switzerland

PostPosted: Mon Feb 27, 2012 9:59 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Yuccaman
Junior Member
Junior Member


Joined: 26 Feb 2012
Posts: 12

PostPosted: Mon Feb 27, 2012 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24621
Location: Switzerland

PostPosted: Tue Feb 28, 2012 3:39 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Yuccaman
Junior Member
Junior Member


Joined: 26 Feb 2012
Posts: 12

PostPosted: Wed Feb 29, 2012 1:11 pm    Post subject: Reply with quote

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 Smile

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
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24621
Location: Switzerland

PostPosted: Wed Feb 29, 2012 2:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Yuccaman
Junior Member
Junior Member


Joined: 26 Feb 2012
Posts: 12

PostPosted: Thu Mar 01, 2012 3:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24621
Location: Switzerland

PostPosted: Fri Mar 02, 2012 4:22 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Yuccaman
Junior Member
Junior Member


Joined: 26 Feb 2012
Posts: 12

PostPosted: Fri Mar 02, 2012 1:40 pm    Post subject: Reply with quote

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 Smile

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
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24621
Location: Switzerland

PostPosted: Mon Mar 05, 2012 7:51 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Yuccaman
Junior Member
Junior Member


Joined: 26 Feb 2012
Posts: 12

PostPosted: Mon Mar 05, 2012 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24621
Location: Switzerland

PostPosted: Tue Mar 06, 2012 2:07 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Yuccaman
Junior Member
Junior Member


Joined: 26 Feb 2012
Posts: 12

PostPosted: Tue Mar 06, 2012 2:43 am    Post subject: Reply with quote

I get this message:

sh: <stdin>[2]: cp: not found
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander for Android All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group