External SD as default install location

Internal Storage limitations suck?

Read on and find out how to extend your available storage!

Pretty sure you have experienced the negatives, of a small internal storage of your handheld device. Normally there is enough internal storage availible, but sometimes it just isn’t enough.

For a solution, you probably have come across micro-sd cards, to extend your storage capacity. Problem with that, you can’t really store something like apps on it, only like music, files (downloads), and so on. With android 4.4 (KitKat) the possibility to move parts of the application data to the external sd-card was introduced. But the problem is, that you can’t actually free much space on your internal storage with this. With Android 6 (Marshmallow) there is now a possibility, to format your external sd-card as internal storage and actually move apps and data completely onto the sd-card. But one problem still exists! You can’t install apps on the sd card by default, always by request (except normally on Android 6).
So in this post I’ll gonna show you how to make your external sd-card the default install location for any app.

  1. First of all you have to have adb installed. If you haven’t read here how to do it!
  2. After that you have to enable usb-debugging on your device
  3. Connect your phone to your computer with an usb-cable
  4. Open your command line
    1. either normally, if you have set up your global path-variable for adb or
    2. in the installation directory of your adb installation
  5. after that type in following command
    adb shell pm set-install-location 2
  6. to revert the changes set it to
    adb shell pm set-install-location 0

Here you go.

Hope it was useful.

David Holland


One thought on “External SD as default install location

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s