adb devices

Use ADB Method to Install apps or Move installed applications to SD Card on your Android phone

Posted on Updated on

There are many android applications present on Google Play Store that are capable to move or install apps on SD Card. The good example is App2SD which I  have used but it is failed for some Android applications like Adobe Flash Player, Screenshot and so on.

There is better alternate solution which is ADB method (ADB stands for Android Debug Bridge). Below are the screenshots BEFORE and AFTER applying this ADB method:

BEFORE Applying ADB MethodAFTER Applying ADB Method

These are the steps of ADB method:

(1) Download and install Java. Skip this step if JDK (Java Development Kit) is already installed on your Windows OS.
(2) Download and install Android SDK . It is very important that the installation path must be “C:\android” to avoid any confusion.

(3) Run Android SDK Manager by going to “Start Menu > Programs > Android SDK Tools > SDK Manager”.

Select the packages like Android SDK Tools, Android SDK Platform-tools and Google USB Driver Package and click “Install Packages” button.

android sdk1a2

android sdk1a3

android sdk1a4

(4) On your Android device (Qmobile Noir A2), go to Menu > Settings > Applications > Development > USB debugging (check: ON). Select Allow USB debugging : OK.

USB debugging mode

Before proceeding, make sure that you have installed the USB drivers from Qmobile driver CD. Now connect your mobile to PC via USB cable which will automatically start the Qmobile PC Suite application. Just close it (don’t connect it).

pc suite3a1

For Windows XP users:

(a) Run Command prompt by going to Start Menu > Run

Run cmd
(b) Write cmd and press OK. The command prompt window will open.

Command prompt
(c) Type cd C:\android\platform-tools and press ENTER key.

ADB devices
(d) Run command adb devices and press ENTER.

ADB devices

This will show the list of all devices attached.

ADB devices attached
(e) Run the following command to check the install location of your Android device:

Command # 1:
adb shell pm getInstallLocation
or adb shell pm get-install-location (for ICS versions)

command 1

The output will be 0[auto] by default. Below are the options you have:

0[auto] : Installation to auto location decided by Android OS
1[internal] : Installation to internal storage of mobile
2[external] : Installation to external media like SD Card

To set SD Card as default install location, run this command:

Command # 2:
adb shell pm setInstallLocation 2
or adb shell pm set-install-location 2 (for ICS versions)

command 2

To verify that above command worked correctly, you can run Command # 1 again.

verify command 1

To change the install location to 0[auto] again, run this command:

Command # 3:
adb shell pm setInstallLocation 0
or adb shell pm set-install-location 0 (for ICS versions)

command 3

Run Command # 1 again to verify the install location:

verify install location

You can simply unplug your mobile from PC after setting install location to SD Card.

I have made this tutorial simple for inexperienced Android users. If you have any question related to this article, post it here.

Advertisements