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 to get back write access to SD-Card on Android 4.4
Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander for Android Printable version
View previous topic :: View next topic  
Author Message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35712
Location: Switzerland

PostPosted: Sun Sep 07, 2014 4:04 am    Post subject: How to get back write access to SD-Card on Android 4.4 Reply with quote

Here are the instructions to get back write access to your external SD-Card on Android 4.4 with just tempoary root, and without losing your warranty.

Before you begin, you need to check whether this will work on your device or not:
1. Open device settings
2. Open "About your tablet/phone", or "Device information". It's usually the last option of the settings
3. Check the Kernel version: It will only work if the Kernel build date is June 3, 2014 or older.

If it is, follow these steps:
1. Get Towelroot and run it: towelroot.com
Note: You may get a warning about a virus. This is not true, you get this warning because the tool uses an exploit in Android to get root rights.
If Towelroot worked, it will report it. Otherwise your device may reboot, then it failed. There is no danger in using this tool. All it does it put 3 files on your device:
/system/xbin/su
/system/xbin/daemonsu
/system/etc/install-recovery.sh

2. Get and run SDFix:
https://play.google.com/store/apps/details?id=nextapp.sdfix
On my S4 mini, it complained that it failed to copy the data, but it did work. The app modifies the file
/system/etc/permissions/platform.xml

3. Now all we need to do is unroot the phone by removing the above 3 files. I wrote a little tool which does exactly this:
http://ghisler.fileburst.com/android/simpleunroot1.apk
The tool is open source.

4. Restart your phone/tablet.

Of course you can also decide to keep root access - in this case, you should install SuperSU - otherwise any app can get root rights without warning the user.
_________________
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
DimitriJunker
Junior Member
Junior Member


Joined: 11 Sep 2014
Posts: 5
Location: Aachen

PostPosted: Thu Sep 11, 2014 10:59 am    Post subject: SD-Card Write Access Reply with quote

My Android is from July 23rd 2014, so the solution is not applicable for me. According to Samsung the new API allows Apps to write to the SD-Card, but they need to be updated. I quate (in german)
Quote:
Google hat mit der Android-Version 4.4.2 die Programmierschnittstelle (API) für den Zugriff auf die SD-Karte geändert. Hat der Entwickler die Anpassung nicht für seine App vorgenommen, bekommen Sie die Fehlermeldung, dass auf die SD-Karte nicht zugegriffen werden kann. Auf der Google Developer Seite selbst sind diese Änderungen veröffentlicht und noch einmal detaillierter beschrieben.


So if this is true Total commander could be updated so that it can write to the sd-card. I tried some other apps, one was able to create new folders on the SD-Card but could not copy files there.
Else nice App as the other Versions I use(d) ( Windows and the old Windows mobile)
Dimitri
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35712
Location: Switzerland

PostPosted: Fri Sep 12, 2014 3:53 am    Post subject: Reply with quote

2DimitriJunker
The beta version DOES support the new API to write to its own private SD-Card directory. When you go to the TC home folder, you can see multiple SD-Card links. The one with R/W in the name is the pointer to the private directory where TC is allowed to write.

Unfortunately there is no API to write anywhere on the external SD-Card.
_________________
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
DimitriJunker
Junior Member
Junior Member


Joined: 11 Sep 2014
Posts: 5
Location: Aachen

PostPosted: Fri Sep 12, 2014 4:28 am    Post subject: Reply with quote

So every app gets a dir where it is aloowed to write, but they can read all dirs. This is rediculous. But that's not your mistake. Can a app change the permission for it's directory so that it becomes writable for every app? So could TC create a subdir public under which every app could write and read? The actual TC can't do it, but woul`d it be possible?
Thanks any way
Dimitri
Back to top
View user's profile Send private message Send e-mail
siealex
Senior Member
Senior Member


Joined: 22 Mar 2009
Posts: 221

PostPosted: Sat Sep 13, 2014 8:59 am    Post subject: Reply with quote

The best variant is to downgrade to Jelly Bean and stay on it forever.
_________________
We are not so S.M.A.R.T. as we imagine...
Back to top
View user's profile Send private message Send e-mail
siealex
Senior Member
Senior Member


Joined: 22 Mar 2009
Posts: 221

PostPosted: Sat Sep 13, 2014 9:00 am    Post subject: Reply with quote

Quote:
So every app gets a dir where it is aloowed to write

More, this dir is cleaned up every time you delete, update, freeze or reinstall the app.
_________________
We are not so S.M.A.R.T. as we imagine...
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35712
Location: Switzerland

PostPosted: Mon Sep 15, 2014 7:35 am    Post subject: Reply with quote

No, actually the best solution is Towelroot with SDFix. If your firmware is too new, downgrade to 4.4.2 and use Towelroot.
_________________
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
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7773
Location: Valsted, Denmark

PostPosted: Mon Sep 15, 2014 12:21 pm    Post subject: Reply with quote

I have a HTC One (M8) with Android 4.4.3 KitKat

Under Settings -> About -> Software information -> More -> Kernel version - it shows this info:

3.4.0-ge224610
and@ABM102 #1
SMP PREEMPT

But no info about the build date. any othe idea where to find the build date?
_________________
#524
Danish Total Commander Translator
TC 9.20rc1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b3 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
widmannw
New Member
New Member


Joined: 16 Sep 2014
Posts: 1
Location: Deutschland

PostPosted: Tue Sep 16, 2014 8:26 am    Post subject: Reply with quote

I have a Samsung TAB S 10.5 (SM-T805) with Android 4.4.2

3.4.39-2085187
dpi@SWDD5908 #1
Mon Jun 30 21:12:29 KST 2014

No write, create and delete acess on extSD (SD-Karte (2))
Towelroot does not work: This phone isn't currently supported
Back to top
View user's profile Send private message
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7773
Location: Valsted, Denmark

PostPosted: Tue Sep 16, 2014 12:29 pm    Post subject: Reply with quote

Hmm, I tried running towelroot, and it did run through (no rebooting) and told me that I should now have root access.

But when I then run SDFix it tells me that I don't have root access, and so does TC if I try to enable the "Root functions everywhere" feature.

Afterwards when running simpleunroot1.apk - it just says "This tool is only meant to remove Towelroot!" - so apparantly the towelroot files were not installed.
_________________
#524
Danish Total Commander Translator
TC 9.20rc1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b3 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35712
Location: Switzerland

PostPosted: Thu Sep 18, 2014 3:43 am    Post subject: Reply with quote

2petermad
4.4.3 is probably too new.

2widmannw
June 30 is too new for Towelroot.

2petermad
Try checking in /system/xbin whether there is a file "su". If yes, it should have worked - try restarting the phone. if not, it failed.
_________________
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
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7773
Location: Valsted, Denmark

PostPosted: Thu Sep 18, 2014 9:36 am    Post subject: Reply with quote

Quote:
Try checking in /system/xbin whether there is a file "su"


I don't have a su file - I don't see any of the files mentioned in the first post. So even though towelroot says it did succeed, it obviously didn't. Today it did reboot the first time I tried, but not the 4 following tries. Also the first time I saw a system tray message after the reboot, that a recovery had been made by the system after a shutdown.
_________________
#524
Danish Total Commander Translator
TC 9.20rc1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b3 on Android 6.0

Get Extended Total Commander Menus


Last edited by petermad on Thu Sep 25, 2014 8:03 am; edited 3 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
franc
Senior Member
Senior Member


Joined: 27 Oct 2005
Posts: 233

PostPosted: Wed Sep 24, 2014 3:25 pm    Post subject: Reply with quote

I (my girl-friend) have a CAT B15Q, after installing and running towelroot it says: this phone isn't supported.
Kernel is from 15 May though, but no way to root this phone I read.

What now?

I cannot write even the folder:

/storage/sdcard1/Android/data/com.ghisler.android.TotalCommander

at least this should be possible isnt it?
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35712
Location: Switzerland

PostPosted: Thu Sep 25, 2014 7:41 am    Post subject: Reply with quote

Quote:
I (my girl-friend) have a CAT B15Q, after installing and running towelroot it says: this phone isn't supported.
Kernel is from 15 May though, but no way to root this phone I read.
What now?


This should work - you can try to use parameters with towelroot:
https://towelroot.com/modstrings.html

Quote:
I cannot write even the folder:

/storage/sdcard1/Android/data/com.ghisler.android.TotalCommander

at least this should be possible isnt it?


Yes, it should work, unless the phone is configured to not allow any writes at all.
_________________
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
franc
Senior Member
Senior Member


Joined: 27 Oct 2005
Posts: 233

PostPosted: Thu Sep 25, 2014 7:53 am    Post subject: Reply with quote

ghisler(Author) wrote:
...This should work - you can try to use parameters with towelroot:
https://towelroot.com/modstrings.html...

I will try..
Quote:
To fix, align and method are probably your best bet(4*2=8 values), hit_iov maybe, limit_offset if you are desperate.

I see me yet trying limit_offset Wink
(4*2*2048=16384 values)
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
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
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