How to get back write access to SD-Card on Android 4.4
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
How to get back write access to SD-Card on Android 4.4
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:
https://plugins.ghisler.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.
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:
https://plugins.ghisler.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
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 6
- Joined: 2014-09-11, 16:50 UTC
- Location: Aachen
SD-Card Write Access
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)
Else nice App as the other Versions I use(d) ( Windows and the old Windows mobile)
Dimitri
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.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.
Else nice App as the other Versions I use(d) ( Windows and the old Windows mobile)
Dimitri
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
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
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 6
- Joined: 2014-09-11, 16:50 UTC
- Location: Aachen
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
Thanks any way
Dimitri
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
https://www.ghisler.com
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?
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?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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.
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.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
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
https://www.ghisler.com
https://www.ghisler.com
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.Try checking in /system/xbin whether there is a file "su"
Last edited by petermad on 2014-09-25, 14:03 UTC, edited 3 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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?
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?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This should work - you can try to use parameters with towelroot: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?
https://towelroot.com/modstrings.html
Yes, it should work, unless the phone is configured to not allow any writes at all.I cannot write even the folder:
/storage/sdcard1/Android/data/com.ghisler.android.TotalCommander
at least this should be possible isnt it?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I will try..ghisler(Author) wrote:...This should work - you can try to use parameters with towelroot:
https://towelroot.com/modstrings.html...
I see me yet trying limit_offsetTo fix, align and method are probably your best bet(4*2=8 values), hit_iov maybe, limit_offset if you are desperate.

(4*2*2048=16384 values)