--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/groups/opt_out.
An Android fan plugs their SD card into their camera while on a Safari. They get back to their hut and plug the SD card into their Android device. The camera put pictures in the folder "Camera".
These users will be able to see the photos on their Android tablet, but they won't be able to free up space or modify any of these photos until they get to a computer?
Or does Google get a pass since it can sign its apps as system apps? Will Google+ Photos be able to delete photos, but no other competitor in the marketplace will be able to?
Ok, I get why Google made this decision, but as a user I see a BIG issue with this. If as a user I use 3rd party apps, such as a camera, that app cannot save the image to anywhere on my SD card except within their app folder (or whatever one wants to call it). Shouldn’t I be able to have the choice to have the file saved where ever I chose, namely with my OTHER pictures in this example. Pictures that I’ve had for years and over multiple cameras.
And before you suggest using the “cloud” I personally prefer not to keep things in any cloud for storage. I have no control over that environment and if something happens to it I can do nothing. I specifically chose to use a SD card for that reason.
Also if a user uses multiple types of apps, like a camera, can the gallery app still find them? Similar with a music player? Do third part apps of these natures need to be able to “talk” together?
Seems to me for files such as music or photos there needs to be some sort of backup plan.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
That has to be enforced artificially by rules within the OS not by the filesystem though. They are restricting it to writing within a single path on the SD card if that path exists. That’s pretty easy to set up and enforce. However to recreate the granularity of the user/group/world system for all directories and files (even ones created outside of android) and manage that artificially would be far more difficult not to mention trying to do it efficiently. With the native files system it’s built in and automatic. That begs a question for me though. If a person were to reformat their SD card ext2 like the internal one, would the issue go away? Perhaps some changes to the system would have to be made in order to mount it but I wonder if it would bypass the problem.
--
And the change has been in place since ICS. It’s not new to KitKat. What is new is that Google is insisting that OEMs don’t simply override it like they did before by threatening to pull their certification for the ROM on their devices. Here’s a link talking about it where it was discovered early on in ICS back in 2012:
http://www.chainfire.eu/articles/113/Is_Google_blocking_apps_writing_to_SD_cards_/
Now, for users that root, they can simply go in an modify the platform.xml file the way OEMs like Samsung did to make their devices work like they did before for apps that don’t use root. It’s just not being done for you anymore by OEMs. That also doesn’t help developers though that want to make their apps work for people who aren’t willing to root.
I'll write a simpler follow up scenario not using my software, just to highlight what a big change this will be for Android users, not just software.
An Android fan plugs their SD card into their camera while on a Safari. They get back to their hut and plug the SD card into their Android device. The camera put pictures in the folder "Camera".These users will be able to see the photos on their Android tablet, but they won't be able to free up space or modify any of these photos until they get to a computer?
I initially thought like you that the fact that they are limiting the SD card but not the internal storage and claiming it was a security issue didn’t make sense. That is until I understood the issue better. The problem is not about whether it is internal or external. The problem is the file that the partition is formatted with. SD cards are FAT32 formatted which can be mounted only two ways. Read only and read/write. That’s it. At the file system level it is all or nothing for write permission access. And they have to be FAT32 formatted so that they work when you take them out and pop them in other legacy systems that don’t understand anything else. However with the internal storage they don’t have this problem. Since the internal storage is never going to be removed and popped into another system where it would be expected to be able to be mounted and read, they can format it with the ext2 file which has a much more robust permissions system built in. They can automatically limit or grant access to users and groups at the file and directory levels without having to write a single piece of code for that. That is where the security issues lie. I still wonder though if I take a SD card and purposely reformat it ext2 then pop it in to use as just extended storage will it mount and not have this problem.
From: android-...@googlegroups.com [mailto:android-...@googlegroups.com] On Behalf Of David Cakalic
Sent: Friday, March 14, 2014 3:28 PM
To: android-...@googlegroups.com
Subject: Re: What about removable SD card in 4.4
Excellent example of how this affects the end user. Also like the office (Kingsoft) example further down this thread.
--
I agree that their solution could and should be better than what they have done. Still I see their dilemma. Leaving it wide open is kind of a mess and not very secure. And I think they will eventually add some nuance to the way it works. What that will be we will have to wait and see. If they redesigned the system to make exceptions for specific file types that are typically what end users care about managing and sharing between apps, but locked out the rest to anything but a specific path I think it would accomplish their goal and make everyone happy.
I am in complete agreement with you about the way they handled this being a major blunder. Furthermore I only pointed out that they introduced this with ICS (not HC) to highlight that the way they tried to force this covertly a long time ago without regard for who would be affected by it and without any consideration for the OEMs or developers that build on the platform. What they should have done is introduced what they saw as the problem to the community and requested input for how best to address it before hamfistedly trying to force the change on everyone. Still I understand better now where they are coming from (which is also a problem because it took a good deal of research to decipher all of the "why" for this since they choose not to disclose very much in that area. Still as for your specific complaint, as your purposes require root they still will have access. The problem is for developers who build for the masses that do not care to root or even know not what that is.
As for my file types suggestion, that is coming from the perspective of what most users are concerned with managing when it comes to files. Make no mistake here, you may be a developer that all of a sudden can't do something that you could before and that has upset your apple carr but that means very little compared to what effects this gas on the average users of the platform.
The DMCA has nothing to do with rooting/jailbreaking anything. It has to do with unlocking the carrier restrictions which is completely unrelated to the any of this. If you are simply worried about fixing YOUR phone, rooting may be an option for you. However, if you are a developer trying to deal with countless customers who purchased your app that has now suddenly been broken by this decision and are calling you to complain, rooting isn’t exactly an answer.
From: android-...@googlegroups.com [mailto:android-...@googlegroups.com] On Behalf Of Sebastian Nielsen
Sent: Sunday, March 16, 2014 9:59 PM
To: android-...@googlegroups.com
Subject: Re: What about removable SD card in 4.4
Theres lots of people who advocate "root" here.
--
Right, starting in KitKat, Android now offers APIs to access secondary external storage devices.Apps have direct write access only to their package-specific directories as obtained through Context.getExternalFilesDirs(), Context.getExternalCacheDirs(), etc. "Direct" access is defined as using traditional file access APIs, like POSIX open(). Direct access to the remainder of these secondary external storage devices remains read-only for apps.However, apps can create/write files outside of their package-specific directories on secondary external storage devices by using the new CREATE_DOCUMENT intent, which involves the user in the file creation process.The reason for this design is to ensure that all app data can be effectively cleaned up when that app is uninstalled.Hope this helps. :)j
On Mon, Dec 23, 2013 at 12:32 AM, Andy Panda <loland...@gmail.com> wrote:
Hi,
Since 4.4 was published we found one more change in storage configuration. Now it is deeper that was before because was
changed policy to rich WRITE_MEDIA_STORAGE permission.
So the problem is that non-system applications could not write to external SD (i mean not emulated but real removable one)
I had look inside sdcard service some time and played with fuse options, but could not find right solution how to mount/emulate
SD to provide write access for user installed application (actually non-system one).
So I'm able to open a photo in Gallery application, but I could not save it after some modification was applied.
Storage configured according to guide on source.android.com
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/groups/opt_out.
--
Jeff Sharkey
jsha...@android.com
As long as you are only concerned with your own phone, rooting provides you options.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
Very disappointed - Three points
1) been using Galaxy Note 3 (on Android 4.3) as a mini PC, managing files and
storage on SD card and NAS drive over WIFI. This will no longer be possible if
I upgrade to Android 4.4
2) Was planning to buy a tablet running Android to effectively replace my PC
since using my note 3 was so effective. Will now have to bin that idea and will
have to look at windows 8.1 on a tablet instead.
3) If I make the switch to a windows 8 tablet then why stick with an android
phone
See where I am going with this...
I actually just moved from an Apple iPhone (owned two over the last four years)
to the note 3 choosing Android for its supposedly more open approach to users
and the Note 3 for its SD Card slot - shame to see the two benefits disappearing.
Hope Google rethink this strategy.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
Does KitKat still allow a person to move an application to or from the SD Card in the app settings under the Application Manager?
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
Built in file explorer should still have read write permissions the same as before. Just 3rd party ones lose it.
--
Completely agree. Currently using an Android 4.3 phone and sd card to manage files, down load and organise files including on my NAS drive. Basically substituting my main PC. If I upgrade to 4.4 can't do that. Staying on 4.3 indefinitely until this is sorted or my guarentee is up and I can root my phone. Was going to get an Android tablet but now looking at windows tablet instead. Very poor move Google.
You should still be able to manage files with the apps that were preloaded on the phone though.
As i understand no way to solve the prob without root (that affects warranty) the phone ...also samsung service denied to install the 4.3 over the 4.4.2 and washed their hands ...
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
As I explained earlier in the thread, the internal storage uses the ext2 filesystem format which supports user and group permissions at the filesystem level which is why it isn’t a problem for the internal system as folders and files can be created with more granular permissions that can be used to grant or deny access where needed at the user or group level. However the FAT32 filesystem does not have this. I can be mounted two ways - read only or read-write. Mounting it read-write allows write access for all users which is not very secure. To overcome this they have built in the restrictions at the OS level. Restricting apps to write access to a specific folder isn’t terribly difficult to accomplish and manage but trying to recreate the granularity of permissions that is built into the ext2 filesystem at the OS level would be very complicated to try to do. This is part of the problem.
--
As I explained earlier in the thread, the internal storage uses the ext2 filesystem format which supports user and group permissions at the filesystem level which is why it isn’t a problem for the internal system as folders and files can be created with more granular permissions that can be used to grant or deny access where needed at the user or group level. However the FAT32 filesystem does not have this. I can be mounted two ways - read only or read-write. Mounting it read-write allows write access for all users which is not very secure. To overcome this they have built in the restrictions at the OS level. Restricting apps to write access to a specific folder isn’t terribly difficult to accomplish and manage but trying to recreate the granularity of permissions that is built into the ext2 filesystem at the OS level would be very complicated to try to do. This is part of the problem.
I think the issue there may be performance.