This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
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 

How does Total Commander write to Ext. SD card in Android?

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


Joined: 16 May 2018
Posts: 3

PostPosted: Wed May 16, 2018 2:23 pm    Post subject: How does Total Commander write to Ext. SD card in Android? Reply with quote

I'd first like to say thanks for one of the most useful programs ever! Total Commander is the best.

I have a Xiaomi phone with Android OS 7.0 (Nougat) and it seems Total Commander is able to write to the External SD card when I attempt to copy a file onto it. However what happens is it warns first that on Android 5 (and above) the external SD card is write protected and you need to choose a directory from a special Android dialog to give T.C. write rights. and a bit more.
But if I hit cancel it copies it anyway to the folder I selected on the external SD card. The phone is on a stock ROM and is rooted but currently has no patches implemented for the external SD write fix.
What I wonder is how it does this and if it is possible this method might be a way to create a permanent external SD card write fix. So far the methods I have tried - various patches (on this rooted phone) only ended up creating some serious problems - Google Services quit working and numerous force closes on some apps. I ended having to reinstall the stock ROM. While it's nice T.C. seems to bypass this block when I hit cancel I would like to understand how it does this. Thank you for any help with this!
Back to top
View user's profile Send private message
matrix.wizard
Junior Member
Junior Member


Joined: 16 May 2018
Posts: 3

PostPosted: Wed May 16, 2018 2:35 pm    Post subject: Reply with quote

Just to add a little more info hitting the cancel buttons seems to do the same exact thing as following the rest of the directions in the popup dialog warning about the external card write protection. Instead of going the choose the external SD card and hitting select at the bottom I seem to be able to avoid that operation by just hitting cancel.
Back to top
View user's profile Send private message
matrix.wizard
Junior Member
Junior Member


Joined: 16 May 2018
Posts: 3

PostPosted: Wed May 16, 2018 2:43 pm    Post subject: Reply with quote

One more note of a discovery I just made. Since this phone is rooted I was able to convert Total Commander to a System app. Once that was done it copies files from the internal to the external SD card without any popups or warnings at all. That's great news for anyone with a rooted phone.
Back to top
View user's profile Send private message
Hacker
Moderator
Moderator


Joined: 06 Feb 2003
Posts: 10851
Location: Bratislava, Slovakia

PostPosted: Wed May 16, 2018 3:43 pm    Post subject: Reply with quote

matrix.wizard,
Are we talking about TC for Windows or TC for Android?

Roman
_________________
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35473
Location: Switzerland

PostPosted: Thu May 17, 2018 4:20 am    Post subject: Reply with quote

TC first tries to write to the card with the new documents api functions. For this it has to request write access via the warning dialog. If this fails, it tries with root rights.
_________________
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
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


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group