Thursday, February 13, 2014

Force installing apps to SD Card on Android

It was about time for me to actually use the lowly Android smartphone I bought about a year ago, i.e., the LG. Then I started to install Skype, Whatsapp, Line, and some other must-have apps, only to find out that many failed to install because I got no space :O

Yeah, the handset has only like 100MB or so space, but I got 1GB on SD Card, why can't I install the apps directly to it? The answer is, I simply can't. Stuck. Now I understand why Android is just about numbers, not usability. Its marketshare can be no.1 in the world of smartphones, but a very large percentage of it is probably junk.

So what, am I going to give this up as junk?

Luckily, though not for the faint of heart, with the debugger in Android SDK, it can be set to install app to SD Card by default.

On Mac, install Android SDK, open terminal, connect the Android device which is already set to USB debugging mode, go to the directory where Platform Tools are, then type:

adb devices

It should show the device ID-like data.

Then type the following to start the shell:

adb shell

Then finally set default installation destination to SD Card:

pm set-install-location 2 

Voila, now I can install the apps from Google Play, and it will install to SD Card. After installation, set it back to up to system:

pm set-install-location 0

Reference:
http://techgage.com/article/moving_your_non-movable_android_apps_to_an_sd_card/