LG G3 Receives Oversharpening Fix via Modified Kernel

Nothing is perfect, as they say. No matter how alluring or seemingly perfect, … more

APKTool Updated with Android Lollipop Support

One of the beauties of Android is the level of flexibility we have over our devices. Whether … more

Lollipop Leak for Sprint Galaxy S5, TWRP for Micromax Canvas Magnus – XDA TV

Android 5.0 Lollipop has been leaked for the Sprint … more

Velocity is Like OpenTable on Steroids

We all enjoy a night out with friends or our significant other from time to time. However, there is … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Failed to write to sdcard1 after ota kitkat

OP thesavo

18th May 2014, 03:48 AM   |  #1  
OP Member
Thanks Meter: 5
 
67 posts
Join Date:Joined: May 2011
Has any one else lost the ability to write to their socketed sdcard since the 4.4.2?
18th May 2014, 03:56 AM   |  #2  
Senior Member
Thanks Meter: 103
 
323 posts
Join Date:Joined: Jan 2012
More
Quote:
Originally Posted by thesavo

Has any one else lost the ability to write to their socketed sdcard since the 4.4.2?

Thats a "feature" of kitkat. Can't be changed unless you have root.
The Following User Says Thank You to TXKSSnapper For This Useful Post: [ View ]
18th May 2014, 04:02 AM   |  #3  
OP Member
Thanks Meter: 5
 
67 posts
Join Date:Joined: May 2011
Seriously?
18th May 2014, 04:20 AM   |  #4  
Member
Thanks Meter: 23
 
79 posts
Join Date:Joined: Jan 2014
Yes, see here for fix(if your rooted):

https://play.google.com/store/apps/d...=nextapp.sdfix
18th May 2014, 04:51 AM   |  #5  
iBolski's Avatar
Senior Member
Flag Columbus
Thanks Meter: 475
 
1,424 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by thesavo

Seriously?

It's a security issue. Before KK, the SD card was wide open to any other process to be able to request read/write to any directory and file, regardless of whether or not they created that file or directory.

Now, under KK, a program can create a file or folder in a "protected" area and only that program has the ability to modify the contents in that folder. It cannot modify other folders or files that it didn't create.
The Following User Says Thank You to iBolski For This Useful Post: [ View ]
18th May 2014, 06:08 AM   |  #6  
OP Member
Thanks Meter: 5
 
67 posts
Join Date:Joined: May 2011
Time to move the podcasts. So my older shows that I worked hard to keep to keep the ext sdcard1 as a target, will have to be copied to sdcard0.too bad.thanks @iBolski

No wonder BeyondPod kept 'accidently' putting shows on SDcard0 for the last year. Even though I "pinned" it to SDcard1 in the advanced settings.
Last edited by thesavo; 18th May 2014 at 06:15 AM.
19th May 2014, 02:11 PM   |  #7  
iBolski's Avatar
Senior Member
Flag Columbus
Thanks Meter: 475
 
1,424 posts
Join Date:Joined: Nov 2010
More
Even with the application that patches the /etc/permissions/platform.xml, I have found certain apps still do not work correctly. Dolphin Browser, for example, cannot switch to /storage/sdcard1. It keeps saying it can't find it and I need to ensure I don't have "USB Mode" enabled, which I don't even have as an option when connected to a PC.

I also have init.d installed on my machine and I had startup scripts that mounted various directories from my external to the internal SD card to "fool" the device so that apps that wouldn't save to the external but the internal would save across a mount. Well, that no longer works. For example, Amazon MP3 will not save downloaded music anywhere except to the internal sd card. I had my startup scripts mount an amazonmp3 directory on my external SD card to the internal amazonmp3 directory on the internal memory card. When I proceeded to download music, it didn't show up in the external directory. However, I noticed that the internal sd card's memory did decrease. I then unmounted the directory and saw that the Amazon MP3 app was ignoring the mount under KitKat and directory saved the files into the /storage/sdcard0/amazonmp3 directory, even though it was mounted to the directory on the external SD card. It did work under JB and ICS, but apparently, with KitKat, some apps will still write directly to the native directory on the internal SD card, ignoring the fact that I've mounted a different directory to it.

The stock Moto camera will write to the external SD card if you go and change the setting for it. However, the Google Camera does not give you any option to store your pictures anywhere except on the internal SD card memory.

Remember, apps can write to the external card, if you don't apply the "patch", but only to what is considered a protected are (the /storage/sdcard1/Android directory structure) and then, they can only write to a directory that the app created. They can read other directories, but they cannot modify them.
Last edited by iBolski; 19th May 2014 at 02:13 PM.
21st May 2014, 08:32 PM   |  #8  
Zeljko1234's Avatar
Senior Member
Flag Budapest
Thanks Meter: 1,971
 
3,233 posts
Join Date:Joined: May 2010
More
Quote:
Originally Posted by iBolski

It's a security issue. Before KK, the SD card was wide open to any other process to be able to request read/write to any directory and file, regardless of whether or not they created that file or directory.

Now, under KK, a program can create a file or folder in a "protected" area and only that program has the ability to modify the contents in that folder. It cannot modify other folders or files that it didn't create.

That's official explanation (bull****) as you described above with non stock camera. Basically KK made external storage almost useless. I found this nice description quite long time ago.

https://plus.google.com/+TodLiebeck/posts/gjnmuaDM8sn
Last edited by Zeljko1234; 21st May 2014 at 08:34 PM.
21st May 2014, 08:49 PM   |  #9  
iBolski's Avatar
Senior Member
Flag Columbus
Thanks Meter: 475
 
1,424 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by Zeljko1234

That's official explanation (bull****) as you described above with non stock camera. Basically KK made external storage almost useless. I found this nice description quite long time ago.

https://plus.google.com/+TodLiebeck/posts/gjnmuaDM8sn

I know at this point, Root Explorer still works with it, after setting the correct permissions into the /etc/permissions/platform.xml file. That works for a lot of apps. The only one that I know that is currently broken is Dolphin browser. I cannot navigate to the /storage/sdcard1/ area anymore. It keeps telling me it can't find the file or directrory and that I should make sure the SD card is ready and USB Mass Storage (haven't seen this option since my Droid X2) is not on.

So definitely, Dolphin Browser is doing something differently that even the patch isn't working for it.
21st May 2014, 09:00 PM   |  #10  
Zeljko1234's Avatar
Senior Member
Flag Budapest
Thanks Meter: 1,971
 
3,233 posts
Join Date:Joined: May 2010
More
Problem is that without root user cannot edit platform.xml and even after that some applications refuse to write to sd card. Another example is OfficeSuite 7 Pro which I bought and now cannot edit file if it's needed. Workaround is to save to internal then overwrite to sd card.
Basically stock Android becoming more and more limited, harder and harder to get root... That's so bad that I wouldn't update to official kk in the case that my phone has locked bootloader.

Read this article http://www.xda-developers.com/androi...pp-developers/
Last edited by Zeljko1234; 21st May 2014 at 09:03 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes