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

What is the truth behind the sdcard complaints for KitKat

OP bassmanitram

12th March 2014, 12:03 AM   |  #1  
OP Member
Thanks Meter: 20
 
51 posts
Join Date:Joined: Jan 2011
While researching the great N7000/Galaxy-S2 sdcard FUSE deadlock bug, I've come across lots of posts that complain in the strongest possible language about how KitKat has changed the rules for SD cards.

The android police thread named "external-blues-google-has-brought-big-changes-to-sd-cards-in-kitkat-and-even-samsung-may-be-implementing-them" seems to sum things up less emotionally:
  • An app without any permissions has automatic read and write for designated private folders on the primary and secondary storage
  • An app with WRITE_EXTERNAL_STORAGE, also has:
    • Read and write for any public folder on the primary (built-in) storage
    • Read (not write) for any public folder on the secondary (SD card) storage
This implies, as many posts point out, that some of our most useful tools (file managers, backup apps, ...) will no longer work.

But I'm not seeing that - FX, even in non-SU mode, can still create folders and files and copy between cards, for example.

So what IS the (full) truth, and how does this affect Omni?
The Following User Says Thank You to bassmanitram For This Useful Post: [ View ]
12th March 2014, 06:29 PM   |  #2  
Senior Recognized Developer
Flag Owego, NY
Thanks Meter: 24,806
 
13,532 posts
Join Date:Joined: Aug 2007
Donate to Me
More
https://source.android.com/devices/t...g-example.html

Note: Anything here relating to use of the sdcard daemon for anything other than mapping /data/media to /sdcard on devices with unified storage is NEW for 4.4

Also relevant: https://github.com/omnirom/android_s...faf8155737ec2d - this is the one that modified the sdcard fuse daemon to do all the new stuff, and it's somewhere in the set of changes starting here that the problem lies.

It can't simply be reverted out as all of the new KK perms management stuff depends on the new daemon to work properly.
The Following 2 Users Say Thank You to Entropy512 For This Useful Post: [ View ]
16th March 2014, 03:55 PM   |  #3  
bleggy's Avatar
Senior Member
Thanks Meter: 91
 
215 posts
Join Date:Joined: Jan 2013
would it be fair to say that they're killing off the ext card?
17th March 2014, 04:08 PM   |  #4  
jeffsf's Avatar
Recognized Contributor
Flag San Francisco
Thanks Meter: 980
 
1,086 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Google has never had a card slot in their phones. Originally, they wanted you to store everything on their servers.

The changes are needed to provide some level of security on the external card, a gaping hole prior to KK and not a whole lot better now. For a slew of reasons, you don't want any app to be able to arbitrarily read another apps data, even if on the card.
---
Posted from whatever phone booted today
Last edited by jeffsf; 17th March 2014 at 04:13 PM.
The Following User Says Thank You to jeffsf For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes