Monday, July 18, 2011

Tutorial move applications to SD Card with out rooting

run out of space from your ROM? it's usually problem for midle range of android phone. that build of cheap hardwares, naturally isn't? What should we do so we do not run out of phone memory? sell it and replace with a better way? it's not the best answer if we only have limited funds. we need to do is to move the applications that have been installed in the internal memory to SD card. but the way that is usually done by most people, require rooting in the device, which can of course remove the warranty. but this does not require rooting in our device.

I realise there are a few threads about this, but I thought I would make a new one for my easier guide, and hopefully people will find it more easily as they won't have to scroll through pages of other threads to find an answer.
I am now successfully running most apps from my SD Card now. I just thought I would make an easier guide as the others are fairly complex for noobs like me. So here is my guide - hope it helps.

following instructions:

1. Download the android SDK here

2. Extract using something like WinRar

3. Copy the second folder into the sdk named "android-sdk-windows" to the desktop.

4. Open the folder on the desktop and open the file, SDK Manager.exe (as no such file as setup.exe exists in the new version of the SDk)

5. Close the command / windows command prompt window that opens

6. Untick all options you are promted to download except ones like the manuals, and Essentially, ensure the USB driver option is selected / ticked.

7. Let these files download

8. Ensure on your phone, USB Debugging is on - Go to Settings/Applications/Development/USB Debugging and ensure its ticked / on.

9. Download and install HTC Sync from HTC's website for your device.

10. Connect your phone by USB and select the HTC sync option when it pops up with charge only, disk mode etc.

11. Allow the sync to complete.

12. Open windows command promt. Start / Run

13. Type in (without quotations) "cmd"

14. The following should appear. (with your user account instead of William - note its "users" in windows 7, not documents and settings

15. Type in the following after the ">" at each step (without quotations,and including spaces and capital letters)

"cd desktop\android-sdk-windows\tools" (might be "cd desktop\android-sdk-windows\platform-tools" in windows 7)
"adb devices"
"adb shell"
A $ sign should pop up
"pm setInstallLocation 2"
Another $ should pop up

And your done. Close everything, disconnect phone, turn off phone and then turn it back on again.

16. Now the phone will be set to install all apps you install onto the SD card. However, current apps on phone will mostly still be stored on the internal memory. This process doesn't move these apps for you, it adds the ability. So you must now manually move those already installed on the phone.

To do this, go to settings / applications / manage applications
Then you just click on an app, and the move to SD card box should no longer be Grey. So you must now move all the apps you want onto the SD Card.


Note:
I would not advise moving apps like widgets, or anything system related. Furthermore, for example, I have the 3g watchdog app constantly running, so it is advisable to keep apps like that on the internal memory.
See below for more information on widgets.

If you get an invalid path message, it suggests it cannot find the required folder you are asking it to. My method only works if you have saved it to the desktop. If you have saved it elsewhere it won't work. You would have to redirect the desktop part of the code ("cd desktop\android-sdk-windows\tools") to somewhere else.

For example if you saved it in my docs instead, it would be - "cd My Documents\android-sdk-windows\tools". That's why I used the desktop, it's far easier to code the cmd to find the file.

Finally, part of the problem is that when you extract the core sdk rar file, it is extracted to a folder wherever it was saved originally titled android-sdk-windows, but in that is another folder called android-sdk-windows, and then only once you open that second folder do you gain access to the tools, usb driver folders and so on. Therefore, you must either, remove the first folder so you are left with just a folder named android-sdk-windows which inside contains tools., or you must recode my above to say "cd Desktop\android-sdk-windows\android-sdk-windows\tools".

Likewise, beware as I can't remember for certain, but I think the sdk in its core form is called android-sdk_r07-windows or something (08/09 too), so rename this to android-sdk-windows.

One final note. Fairly irrelevant to this process but since this is being viewed a lot I'll say it anyway. Don't ever use a task killer. Wrecks the phone! Happened to me, happened to thousands.

fix widget

Just to clarify about widgets for anyone unclear. There seems to be a bit of confusion here. This may have been said earlier I don't know, but again hopefully this is simpler. Ill add this to the first post too.

With this process, you can still use widgets, but not if they are on the SD Card (which they automatically will be assuming you got my original guide process to work.) Ive tested this, and it works every time for me. I know some widgets are weird but I think it will work. So to get a working widget.

Note:
Some irritating widgets may require you to uninstall the app before you proceed to step 1.

1. Download and install the widget from the android market
2. Go to Settings/Applications/Manage applications/Downloaded (or All) and find/select your widget.
3. Select move to phone.
4. Turn off the phone
5. Turn on the phone
6. Widget should now work.


option two

you may use softwares called SIMPLE2EXT

S2E works only with CyanogenMod7!
The application install a script, that allows you to move applications and some cache in sd-ext partition and back. In application can specify what needs to be moved.

Application is translated into: English and Russian. If you want to translate the application into your native language, I'm waiting for your requests to pull on GitHub =)

Support moving to sd-ext:
1. App and Private app
2. Applications data
3. Dalvik and download cache
Support mounting sd-ext as ext4

REQUIREMENTS

Device runned under CyanogenMod7
Second partition on SD card formated as ext3 or ext4
(You can do this via ROM Manager or Recovery)

USAGE
Install S2E
Choose what items will be moved to /sd-ex
Reboot (first boot may take a long time)

No comments:

Post a Comment