Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Android Cellphones Data Storage

Android 5.0 Makes SD Cards Great Again 214

An anonymous reader writes: Over the past couple of years, Google has implemented some changes to how Android handles SD cards that aren't very beneficial to users or developers. After listening to many rounds of complaints, this seems to have changed in Android 5.0 Lollipop. Google's Jeff Sharkey wrote, "[I]n Lollipop we added the new ACTION_OPEN_DOCUMENT_TREE intent. Apps can launch this intent to pick and return a directory from any supported DocumentProvider, including any of the shared storage supported by the device. Apps can then create, update, and delete files and directories anywhere under the picked tree without any additional user interaction. Just like the other document intents, apps can persist this access across reboots." Android Police adds, "All put together, this should be enough to alleviate most of the stress related to SD cards after the release of KitKat. Power users will no longer have to deal with crippled file managers, media apps will have convenient access to everything they should regardless of storage location, and developers won't have to rely on messy hacks to work around the restrictions."
This discussion has been archived. No new comments can be posted.

Android 5.0 Makes SD Cards Great Again

Comments Filter:
  • About effing time (Score:5, Insightful)

    by Overzeetop ( 214511 ) on Wednesday November 05, 2014 @10:46AM (#48317307) Journal

    I can only hope this is actually implemented transparently. Having to choose (and pay for) all the memory you'll ever use the day you buy your phone is ridiculous, and limiting people to what the manufacturer's cost targets are (and no mfr is interested in a bunch of expensive, slow moving stock) made no sense in the market.

    Now if Verizon can get it's head out of it's ass and roll out 5.0 updates quickly after the mfrs release them, things might be looking up.

    • I've had this on my Surface 2 with Windows RT, and I wonder why it took so long for Android to do the same. I can also mount network drives and do the same thing. Every app can access files on my network shares, OneDrive (aka SkyDrive), and my SD Card without the developer having to do any special coding.
      • But you cant run arbitrary code, thats the point. Its easy to make it secure when you dont allow any freedom.
      • by Karlt1 ( 231423 )

        Every app can access files on my network shares, OneDrive (aka SkyDrive), and my SD Card without the developer having to do any special coding.

        And you don't see a problem with this?

        • Every app can access the files/folders after I've selected it with the file selection interface. They can't just go and start reading and writing to all parts of the disk. Basically the same feature that this article is talking about, except that on Windows RT (all all Wndows Store apps), it also allows you to grant access to OneDrive or network shares.
    • by pauljlucas ( 529435 ) on Wednesday November 05, 2014 @11:22AM (#48317571) Homepage Journal

      Now if Verizon can get it's head out of it's ass and roll out 5.0 updates quickly after the mfrs release them, things might be looking up.

      This is one of the things I hated most when I had my previous phone: software updates can only be had via your carrier. The problem is that there's virtually no incentive for carriers to do this: they want you to buy a new phone (and lock yourself into another 2-year contract).*

      Even if you hate iPhones, you'll probably admit that it's much nicer to get software updates directly from Apple they day they make it available.

      If only all other manufacturers forced carriers to allow end-users to get software updates directly, the mobile world would be better. The mobile market place, however, is fairly crowded and no single manufacturer (other than Apple) probably has enough power to bend the carriers to their will (when the carrier can simply opt not to carry their phone).

      Of course it's not clear that other manufacturers want to be able to deliver software updates directly to end-users either. I suppose it would reinforce brand loyalty.

      * This is starting to change since some carriers are now doing away with phone subsidies and instead moving to phone financing.

      • If only all other manufacturers forced carriers to allow end-users to get software updates directly

        This is under the control of Google/Android, not your phone manufacturer. Google just refuses to organize things that way. It's encouraging that Google has (finally!!) fixed one major problem with Android; they could easily allow direct OS updates as well, if they wanted to.

        Android is just another OS, like Windows. Windows updates come from Microsoft; it doesn't matter whether you own a Dell or a HP or whatever, the update comes from Microsoft. (Device drivers may come from nVidia/ATI/etc, but core OS bits

        • How so? Many manufacturers heavily customize things quite a bit to differentiate their product. Unless you're saying that Google should disallow that and only allow "stock" OS installs? Or can the OS be updated without impacting the customization?

          • Many manufacturers heavily customize things quite a bit to differentiate their product.

            HP/Dell/etc. heavily customize their OS installs, yet the Microsoft update mechanism still works. The add-on software won't get updated, but the OS will.

      • Stop buying subsidized phones. Get off the lame contract bandwagon and take care of your own hardware. I know for certain my unlocked phone is getting an update soon and I won't have to deal with any Verizon BS.

      • This is my biggest problem with Android. I don't want to go with iOS, because although the updates come right from the supplier, the only way to load software on it is through the app store. I'm due for a new phone in a few months and I really don't like any of the choices. Going with Android means I probably won't get updates. Going with Apple means that I'm locked into Apple. Going with Windows Phone means that my phone is severely lacking in apps. I'm seriously thinking about getting the cheapest phon
        • Then get a phone on which you can unlock the bootloader, put on whatever ROM you want (Cyanogenmod is pretty damn good) and forget about this stupid artificial lockdown horseshit the carriers cook up to move new handsets. Their warranty's aren't worth shit in the first place, why the fuck do we accept being locked down to a specific carriers stupid ass upgrade schedules and other self-serving bullshit? You wouldn't by a computer that was permanently locked down to a particular version of Windows, why the

        • I don't want to go with iOS, because ... the only way to load software on it is through the app store.

          I get that, but how big of a deal is that for you really? (Or, in general, for most people?) Is it a matter of principle or are there apps that you really need that you just can't get from the App store?

      • This is why I've been saying for years that Android needs to take a page from Linux. Make the "skin" that manufacturers put on their phones a download via the play store (or a pre-installed manufacturer specific store) and let Google push all updates directly. That way users don't complain about updates and manufacturers can still put an awful skin on their phone.
    • by Svartalf ( 2997 )

      What gets me is why they didn't lead with this to begin with. What they did with KitKat was effin' stupid.

      As for Verizon getting their updates out? Heh...you're kidding, right? You'd just bend a 6' digging bar all to hell trying to surgically remove their head. I quit trying to hold my breath on that one when they got a Nexus and promptly treated the damn thing like a red-headed stepchild; and then made it...difficult...to obtain dev edition devices. (Ever thought that maybe a dev wants to be ON your

    • well, in a way it makes sense as a way to increase the likelihood that you consider getting a phone wth more space instead of a bigger card. Ridiculous that a linux based OS can't be flexible with storage devices.

    • > Now if Verizon can get it's head out of it's ass and roll out 5.0 updates quickly after the mfrs release them, things might be looking up.

      Verizon? nah. you'll have to buy a new phone.

    • Good. I was worried Android was getting ready to loose expandable storage, likely under pressure from manufactures, so they can charge ridiculous amount of money for extra storage. Like Apple has always done of course.
  • by Freedom Bug ( 86180 ) on Wednesday November 05, 2014 @10:47AM (#48317311) Homepage

    I expected the Nexus 6 to have a microSD card slot because they were supposed to gain first-class support in Android 5.0.

    But it doesn't, so external storage support must still be a second class citizen on Android.

    • Re: (Score:2, Insightful)

      by Anonymous Coward

      I expected the Nexus 6 to have a microSD card slot because they were supposed to gain first-class support in Android 5.0.

      But it doesn't, so external storage support must still be a second class citizen on Android.

      Listen, they want you to put your whole life on the google servers. Don't you get it?

      • by tepples ( 727027 )
        It takes months to put 30 GB of your life on Google servers at the 3 GB per month that a typical wireless carrier allows.
    • Because cloud (Score:5, Insightful)

      by swb ( 14022 ) on Wednesday November 05, 2014 @11:16AM (#48317523)

      Google has servers for this. You're supposed to be letting them index/scan/use your info, not storing it privately on flash.

      Duh, it's a network device, everyone has unlimited network access everywhere don't they?

      • Duh, it's a network device, everyone has unlimited network access everywhere don't they?

        Well GCHQ and the NSA have unlimited access everywhere. I don't know about anyone else.

      • by jafac ( 1449 )

        yeah. Actually, I was hoping that they'd offload all processing to a mainframe somewhere, so I can pay a per-clock-cycle fee for my batch jobs. Also can't wait for the integrated punch-card reader support!

    • The Nexus 6 is just one of many Android devices, with a specific feature set. If you want an SD card then choose a different device.

      On the other other hand, changes to the Android OS can limit every device by every manufacturer. I'm really glad Google is reverting the badly considered restrictions from Android 4.4.

  • This will help me on my phone, which has an SD slot ... but it won't help me on my Nexus tablet, which, as far as I can tell, doesn't have an SD slot.

    So, I guess I'm only partially impressed. :-P

    • You're right, but at least there's still USB-OTG: For When You Absolutely, Positively, Have to Dump Files to External Storage or Something Is Going to Dump Core.

  • At last. (Score:5, Insightful)

    by ledow ( 319597 ) on Wednesday November 05, 2014 @10:55AM (#48317365) Homepage

    For a long time, I've been hoping for an OS where, by default, the apps cannot access anything outside of their private areas.

    It's possible with chroots and cgroups and other facilities but it's always a mess of third-party after-thoughts.

    There's no reason I should have to give my satnav app full read-write permission to the entire SD card just so it can save my favourite places to permanent storage. It shouldn't even be able to know where it's saving them, that's for me to choose.

    As such, these are all moves towards a safer, more secure environment. The problem, as always, is what happens in the meantime for the transition or if we mess up and stop apps doing what they need to do. No photo app needs read-write access to the entire SD card, nor can it cope with just read-write access to a private app area. It needs to share the files it writes with the user. Isn't this precisely what the amalgamation of several folders into, say, "Pictures" or "Music" is on several OS? All the app needs to do is say "this is a pictures folder that the user might want to use". And when uninstalled, it stays around because it's still one of the many listed pictures folders for that user.

    Gone are the days of full-write-to-everything access. We don't need it. It's not necessary. But we do need the facilities to ensure apps can do what they need to do. This very much pushes into the filesystem-as-a-database idea that we've been wanting for decades. There's nothing stopping an app opening up a separate table for its photos and having the database just join the rows from several tables when the user wants to look at all their photos. And that does not require giving the app access to every table and row in the entire database.

    • For a long time, I've been hoping for an OS where, by default, the apps cannot access anything outside of their private areas.

      Okay [wikipedia.org]

      • by ledow ( 319597 )

        Not really:

        http://stackoverflow.com/quest... [stackoverflow.com]

        This stinks of "bodge".

        • It's more complicated than you think, and with OS Extensions for iOS and OS X, it's even nicer because it doesn't force you to swap apps. There's a remote view controller in the other app that runs and has no idea what process spawned it or any access into it's disk or memory. x-url:// schemes are similar.

          In either scheme, if I wanted to write to your app's, I'd have to tell your app to go write some piece of data to some document. My app would never touch your process or disk space area and your app could

    • by Minupla ( 62455 )

      I manage this using xprivacy module under xposed. It allows you to whitelist an application for any subtree under where it's requesting access. Works well for me. More work of course, but security tends to be more work.

      Min

    • Sadly I think granular security controls have been rejected by the market. You spend a while downloading and installing an app and it almost always requests access to more or less everything, or it won't run. You can "fix" this by cutting yourself off from most of the most popular apps. But the fact that it's so commonplace among popular apps implies that companies want to spy more than people want privacy, so privacy-protecting options are unlikely to become available and well-supported anytime soon.
    • For a long time, I've been hoping for an OS where, by default, the apps cannot access anything outside of their private areas.

      I'm not trying to troll but isn't that what iOS does in the first place?

  • Ha! (Score:5, Funny)

    by ArcadeMan ( 2766669 ) on Wednesday November 05, 2014 @11:15AM (#48317507)

    I would just like to point out that iOS users never had any problems with built-in SD card readers.

  • by Jason Levine ( 196982 ) on Wednesday November 05, 2014 @11:32AM (#48317643) Homepage

    So can we install apps to the SD card again? At one point, you could move apps to the SD card and run them from there instead of from internal storage. This was great if you had about 3GB of "applications storage" (the internal storage area was divided into system, applications, etc) and were running some large Android games. You could get a cheap 32GB or larger microSD card, put that in, and instantly have all the space you would need for the foreseeable future, Then, this feature was removed and apps were restricted to the "applications" area of internal storage again. It would be great if you could put apps on the SD card again.

    (Yes, I know this might be possible if you root the device, but there's something to be said for building this feature right in instead of keeping it only for the people who know how to root their devices.)

    • by GuB-42 ( 2483988 )

      It was a PITA and very user unfriendly. I'm glad I don't have to mess with this like I did when I had a Nexus One (~256 MB total storage).
      Problems are :
      - SD cards are expected to be removable, and when you remove your card, apps are in a half-installed state : you can't use it and you can't uninstall it completely.
      - SD cards are usually FAT32 formatted. And FAT32 lacks important features like users and mode bits (permissions).
      - SD cards are often slower than internal memory
      As a result, moveToSd features wer

  • Comment removed based on user account deletion
    • by Svartalf ( 2997 )

      The problem with USB MSD is that you can't operate against the store with the OS on the device at the same time the Host OS is doing it. MTP was chosen so that you could do things on the store while the device was able to use it at the same time. The fact that the implementation of the whole notion's flawed (Hey, Microsoft came up with it!) in the manner that it's single threaded (You can only act on a single object request at a given time), is irrelevant to everything. Now, if they could come up with a

  • I've often gone to eBay etc to pick up my electronic odd-and-ends. I'd have to say that for stuff like SD cards - though you do pay the price locally - it may be a safer bet to buy in a B&M than online.
    The amount of fake cards is staggering. I'm not just talking about a "no-name" brand that's labelled as Samsung, or a class 4 listed as a class 10, but cards that are labelled as 16, 32, 64GB etc, are IDENTIFIED BY THE OS as the labelled capacity, but actually contain only 2-4GB and have modified firmware

  • Just root your phone and re-enable the SD card. even the stock android phone app will gladly take advantage of the SD card when the fix to the OS is added.

  • Is that manufacturers can have multiple "external" sd cards even though only one is removable (my Moto for example).

    So when a user with one of these phones wants to get a new phone, they are practically forced to use phone mfg/service provider for transferring data to a new phone.

    The conspiracy theorist in me thinks this is all about lock-in.

    I hate all the edge case code I have to maintain to choose the correct "external" storage.

    Has this been addressed?

  • I will never trust Google with Android again, not for a platform for anything serious. When I bought my tablet, I could organize my pictures on it, and now it it sits in my room as an implement for occasional light browsing. Android had an edge over IOS, because I could do useful things with it, without begging Itunes to limit what types of files exist on my tablet.

    I love QuickPic, for my pictures, and my Galaxy Note 8 may never be upgraded to Lollypop, so what I am to do throw it away?

    Although I am angry,

  • I'm still not holding my breath for Google to finally get a clue and include SD slots on Nexus phones.

    • That makes two of us. nexus devices will either need to come with 64GB minimum and not have a usurious price-tag, or add the mSD slot before I'll even bother looking at them.

  • Now if only we could get general USB storage instead of this MTP bullshit back without having to root the phone and download some random apps to make it work.

    MTP is slow as hell, especially when dealing with thousands of files (directory listings alone take several minutes). It also requires specific OS support.

    Yeah, I get that MTP is supported on Windows/Mac/Linux, but this isn't always where we're working. I used to use my phone in place of carrying around a USB thumb drive for system servicing. I had my

  • Finally!!! Now just revert all the other stupid crippling decisions. Like banning airplane mode switch and other stuff that used to work before. The current version of Android is just totally useless crap, you have to downgrade to version 2.3 or something to get a usable Android version.

    • by dargaud ( 518470 )
      Never noticed any problem with airplane mode in 4.4 but it reminds me of something. Why do they disable GPS reception in airplane mode ?!? GPS doesn't emit anything, it only receives, so why turn it off ?!?
      • by kbg ( 241421 )

        In newest Android you can't programmatically set airplane mode so if you want to for example conserve power at night by automatically turning off mobile you can't and it keeps on draining power. For GPS it is most likely due to that most mobiles use A-GPS (Assisted GPS) which also uses cell towers communication in addition to GPS. But even so totally turning of GPS in airplane mode is stupid.

  • I've even considered going back to Apple, I never ever thought I'd type that sentence, yet here we are.
    Google continue to make decisions best for them, not their users of late. If it's not that, it's the design team fiddling with something which doesn't need adjusting, making it worse.

    It's been at least 2 or 3 years since I've read an article and thought "wow google is amazing, they are the best, a shining beacon of what a company should be, just incredible" (I really used to think that!)

BLISS is ignorance.

Working...