AndroidSDcard

Want to Make the Default Install Location Of Your Froyo OS The SDCard?

August 6, 2010 - Written By Mike Corbett
I for one had been looking for a way to do this. I searched the internet and didn’t find a lot until I realized that in my rom there was an option, however, stock froyo doesn’t have this option and there are a bunch of new games that are huge, they won’t even fit on the motorola droid, they have to be forced to the SD Card. The main problem to me was that I went to install it and it told me, sorry, too big, move things to the SD Card. I figured, why can’t I just move this app to the SD Card RIGHT NOW? Well there is now a way on stock Droids to do this, its a bit heavy and problem only for the slightly more advanced users but there is a way.
  1. First you have to enable USB debugging on your Android device from Settings > Applications > Development > USB debugging.
  2. Now you need to download and install the Android SDK on your computer fromhttp://developer.android.com/sdk/. Once you’ve downloaded and extracted the package to the folder of your choice, run SDK Setup.exe and click on Available Packages to the left. If you get an error message at this point, enable “Force https://…” in the Settings. From the list of available packages, select “Usb Driver package”, click on the Install Selected button in the bottom right corner and follow the prompts.
  3. Connect your phone to your computer with a USB-cable. Your OS will prompt you to install newdrivers. Choose to install them from the android-sdk/usb_driver folder. Do not mount your device; you only need to plug-in the cable.
  4. Next, run a command prompt and navigate to the Android-SDK\tools folder. In Windows, this is done by selecting Run from the Start Menu (or by pressing Win+R) and typing cmd. You change drives in the command prompt by entering the drive letter followed by a colon (:), and change folders with theCD command. For example, to enter the Android-SDK folder, simply type cd android-sdk.
  5. In the Android-SDK\tools folder, type in adb devices and you should get a serial number starting with “H” in return. All you have to do next is entering adb shell pm setInstallLocation 2. Voil , you’re done! Android will now install apps to the SD card by default.
  6. To switch back to storing software on the internal memory, enter adb shell pm setInstallLocation 0.

This method should not be used on all apps, there are tons of apps that are very small and do not take up much memory at all, they should likely be stored on the phones memory as they have no point being installed on th the SD card, a place for big apps like the new Need For Speed Shift etc.

Widgets are a definite no no for the sd card, they are meant to be stored on the phones memory. Just an FYI