From: Tin KOH
Date: Sat, Dec 3, 2011 at 7:33 AM
Subject: Fwd: How To: Force Move To SD On Froyo Without Rooting
To: Y S KOH
you just need the command after root
F:\VIEWPAD\ADB>adb shell pm setInstallLocation 2
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
F:\VIEWPAD\ADB>adb shell
# pm setInstallLocation 2
pm setInstallLocation 2
# pm
pm
usage: pm [list|path|install|uninstall]
pm list packages [-f]
pm list permission-groups
pm list permissions [-g] [-f] [-d] [-u] [GROUP]
pm list instrumentation [-f] [TARGET-PACKAGE]
pm list features
pm path PACKAGE
pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f] PATH
pm uninstall [-k] PACKAGE
pm enable PACKAGE_OR_COMPONENT
pm disable PACKAGE_OR_COMPONENT
pm setInstallLocation [0/auto] [1/internal] [2/external]
---------- Forwarded message ----------
From: tin Koh <tinkohsn@gmail.com>
From: tin Koh <tinkohsn@gmail.com>
Date: Tue, May 10, 2011 at 11:26 AM
Subject: How To: Force Move To SD On Froyo Without Rooting
To: "周文强, Chew BoonKeong" <aaronchew2005@yahoo.com.sg>, Timothy Tan <timothytanwp@gmail.com>
Subject: How To: Force Move To SD On Froyo Without Rooting
To: "周文强, Chew BoonKeong" <aaronchew2005@yahoo.com.sg>, Timothy Tan <timothytanwp@gmail.com>
Dun if it works for you as my phone already ROOT and App2SD by Sam Lu will do the job manually
but no harm trying.
PS: adb is found in your HTC sync program
How To: Force Move To SD On Froyo Without Rooting
One of major issues with android phones (except the new HTC Desires) is that they are low on internal phone memory, like my HTC Desire comes with around 100 MB free internal storage out of which only 15MB is free right now. With loads of new app coming everyday there must be a way to install install Apps to SD card. With Froyo implementation of Move to SD you cannot move all apps to SD card, in order to move an app to SD card app developer must specify it explicitly during development and most of apps still lack that option.
In order to force Move to SD Card your phone must be running Froyo and ADB drivers must be installed on your system.
Instructions
1. Ensure you have debugging enabled on your phone (Settings > Applications > Development > USB Debugging > Turn On)
2. Connect your phone to USB
3. Open Command Prompt/Terminal
4. Type: adb shell pm setInstallLocation 2
5. Press Enter and That’s it!
root@android:/ #
root@android:/ # pm setInstallLocation 2
pm setInstallLocation 2
Error: unknown command 'setInstallLocation'
usage: pm list packages [-f] [-d] [-e] [-s] [-e] [-u] [FILTER]
pm list permission-groups
pm list permissions [-g] [-f] [-d] [-u] [GROUP]
pm list instrumentation [-f] [TARGET-PACKAGE]
pm list features
pm list libraries
pm path PACKAGE
pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f] PATH
pm uninstall [-k] PACKAGE
pm clear PACKAGE
pm enable PACKAGE_OR_COMPONENT
pm disable PACKAGE_OR_COMPONENT
pm disable-user PACKAGE_OR_COMPONENT
pm set-install-location [0/auto] [1/internal] [2/external]
pm get-install-location
pm createUser USER_NAME
pm removeUser USER_ID
pm list packages: prints all packages, optionally only
those whose package name contains the text in FILTER. Options:
-f: see their associated file.
-d: filter to only show disbled packages.
-e: filter to only show enabled packages.
-s: filter to only show system packages.
-3: filter to only show third party packages.
-u: also include uninstalled packages.
pm list permission-groups: prints all known permission groups.
pm list permissions: prints all known permissions, optionally only
those in GROUP. Options:
-g: organize by group.
-f: print all information.
-s: short summary.
-d: only list dangerous permissions.
-u: list only the permissions users will see.
pm list instrumentation: use to list all test packages; optionally
supply
application. Options:
-f: list the .apk file for the test package.
pm list features: prints all features of the system.
pm path: print the path to the .apk of the given PACKAGE.
pm install: installs a package to the system. Options:
-l: install the package with FORWARD_LOCK.
-r: reinstall an exisiting app, keeping its data.
-t: allow test .apks to be installed.
-i: specify the installer package name.
-s: install package on sdcard.
-f: install package on internal flash.
pm uninstall: removes a package from the system. Options:
-k: keep the data and cache directories around after package removal.
pm clear: deletes all data associated with a package.
pm enable, disable, disable-user: these commands change the enabled state
of a given package or component (written as "package/class").
pm get-install-location: returns the current install location.
0 [auto]: Let system decide the best location
1 [internal]: Install on internal device storage
2 [external]: Install on external media
pm set-install-location: changes the default install location.
NOTE: this is only intended for debugging; using this can cause
applications to break and other undersireable behavior.
0 [auto]: Let system decide the best location
1 [internal]: Install on internal device storage
2 [external]: Install on external media
root@android:/ # pm set-install-location 2
pm set-install-location 2
root@android:/ #
No comments:
Post a Comment