Tuesday, 7 August 2012

Android - Install Apps To SD By Default & Move unmoveable Apps to SD

Reference:
http://www.howtogeek.com/114667/how-to-install-android-apps-to-the-sd-card-by-default-move-almost-any-app-to-the-sd-card/

My beloved Nexus One ran out of space the other day - it wasn't the first time that it happened to me, but this time, I couldn't find any apps that I want to remove, so the "low storage" error message kept flashing on my face...

Here, I will be listing the steps on how-to install apps on your android to the SD card by default and also moving the previously unmoveable apps to SD.

Please only take the steps below when the normal, conventional way of freeing storage does not help anymore.

1 - Enable USB Debugging

Settings > Applications > Development > USB debugging


2 - Download & Install the Android SDK here.

There are pre-requisites skipped in this step here, they are basically:

  • Download the Java SDK
  • Change your environment variable, path, to include the directory of the java sdk and the android sdk.
  • run adb on command prompt to make sure it works

3 - Open command prompt and type in (with the device plugged-in)

adb devices


4 - Make sure your device shows up under "List of devices attached"

The most common problem is that the adb doesn't return any attached device despite your computer detects your device. This usually meant that the google usb driver haven't install.

a) Download the Google USB Driver via the SDK Manager.


5 - Run the following command to set the default install location to the SD card

adb shell pm setInstallLocation 2

To revert this change, set the 2 to 0 in the above command line.

0 represents your device internal storage
1 represents auto
2 represents external storage - in this case, the SD card



Thats it! Almost all apps that you install now will automatically install to the SD card. You can also move some of the existing apps (that cannot be move previously) to the SD card.

Note: Some apps are probably better leave it in the internal storage, this are:
  • Launcher app
  • Widgets
  • Animated Wallpapers
  • Apps that you might still use when your SD card is mounted to the computer



Cheers!