Storing Apps on SD the Froyo Way

Photo: Daniel Sancho

We all rejoiced when we heard that in Froyo, Android would officially implement a way to store apps on SD card storage (commonly known as “apps2sd”). Documentation on how this will work has been published, and some of the details, while reasonable in the context of addressing real concerns, may be surprising. The most important surprise: no apps currently in the Market can be stored on the SD card without being updated.

While many of us have already taken advantage of unofficial ways to use sd card space for app storage, its inclusion in the OS will encourage developers to think big, and will remove a barrier to entry for those deciding whether to buy an Android phone. Not to mention the fact that what’s been implemented is a way to store apps on any external storage, not necessarily an SD card. This could have implications as we see Android popping up on different kinds of devices. But we waited so long for an official solution because of a number of barriers:  developers needed to be assured that app storage on a card that can be mounted as a mass storage device would not facilitate piracy; users needed a seamless, easy experience that does not require special partitioning of the SD card, and there had to be some provision for the fact that sometimes sd cards get taken out or are otherwise not available.

The implementation of this feature in Froyo addresses all those concerns, but it does so by placing some limitations on how it works. Or rather, by allowing app developers to place limitations.

The key limitation is that developers will choose whether or not their app can be installed on external storage. Why would a developer choose not to do so? Froyo’s apps2sd solution does not require a specially partitioned sd card, so there is an issue when the phone is connected to another computer and the user mounts the sd card as a mass storage device. When that happens, it’s as if the sd card has been removed: apps stored there are unavailable to the system. Because of this, Android’s documentation recommends that apps that use certain features (such as services, alarm services, live wallpapers or folders, widgets, and others) should not be eligible to be installed on external storage. Games and other apps not deeply integrated with the system will be the best candidates for external installation.

For safety’s sake, the assumption is that unless specifically authorized by the developer, an app cannot be installed on external storage. So, until developers update current apps to include this authorization,  no current apps can installed externally.

Another important concern was making sure externally installed apps would not be more easily pirated. To address this, apps installed on the SD card will be encrypted in such a way that they can only be decrypted by the device they were installed with. In other words, if you remove the SD card and put it in another phone, the apps stored on the card will be unavailable to you.

Two final notes: private user data is never stored on external storage, even if the app it is associated with is, and the documentation claims that “there is no effect on the application performance so long as the external storage is mounted on the device,” with no mention of requirements for the SD card’s transfer speed.

Thanks to Thomas Riley for pointing me to the official documentation of how this works.

About author

AndroidGuys 4639 posts

Founded on November 5, 2007, we've enjoyed bringing you the latest in Android news and rumors. Updated daily, we strive to deliver reviews, opinions, and updates on all things related to Android.

You might also like

News and Rumors

HTC and Cricket Wireless to release the HTC One SV

Cricket gets the award here for fastest release of a new phone after the new year in the U.S., as they have partnered with HTC to announce the new HTC

News and Rumors

Adobe Releases Flash Player 10.3 for Android 2.2+

Adobe has pushed out an updated version of their Flash player for Android devices, mainly fixing bugs and patching security holes.  If you have an Android phone or tablet running

News and Rumors

Holiday Shopping PSA: the Complete Android Guide for 99 Cents

Giving someone their first Android phone as a gift this holiday season? Excellent choice, but guess who that newb is going to be coming to for help while they get


  1. Mr Smith
    May 22, 15:13 Reply

    Unlock "move to SD card" for existing apps: adb shell pm setInstallLocation 2

  2. Barry
    May 22, 16:52 Reply

    Screw the SD Card altogether and focus on 64GB and above internal storage where there is no limitations.

  3. James
    May 22, 20:47 Reply

    Seems like a lot of trouble if you have an open-source application. Shouldn't there be an open-source/free mode where the application isn't encrypted and is easily shareable?

  4. Lokizilla
    May 22, 21:51 Reply

    If the open-source app is available on Market or via download (where 'install from unknown sources' is active), surely it would be easier to just download and install a new copy onto their phone instead?

  5. Mark Powell
    May 23, 15:47 Reply

    Thanks for the article Chuck. I appreciate your perspective.

  6. Shivkumar
    October 19, 01:28 Reply

    ya.. i was so thrilled thinking now i can move all my apps to sd card. but now have to wait for the developer update only then it can be done.. :(

    nevertheless, I have updated my OS to 2.2 and have enabled the HD recording on my desire alongwith great battery improvement…

Leave a Reply