1. 2015 is going to be a great year for Android! Why wait??
    Samsung Galaxy Note 5 | Samsung Galaxy S6 | HTC One M9
  2. New Forum Created: Samsung Gear VR!

Forcing Apps to install to the SD card without rootTips


  1. CafeKampuchia

    CafeKampuchia Well-Known Member

    One of the biggest complaints levelled at the HTC Explorer is the severe lack of internal memory. There are ways around this, one of which is forcing downloaded apps to install to the SD Card. There are a couple of pre-requisites, but the process itself is relatively straight forward. :)

    You'll need HTC Sync installed (or at least the drivers that come with HTC Sync) and ADB (Android Debug Bridge) or the Android SDK. The SDK itself is a >100MB download and can be relatively difficult to install, however if you head here, look under the section entitled Mini SDK, click show, you can download a zip file called SDK-Tools.zip. Once downloaded, extract the contents of that folder to a folder of your choosing. I recommend somewhere easy, like C:\Android\ as you'll need to navigate to it via a command prompt later.

    You'll also need to enable USB Debugging on your phone. that's easily enough done by heading to Settings -> Applications -> Development -> USB Debugging. You'll get a warning message, but just ok that you'll be fine.

    Once you've done all the above, the process is as follows:

    1. Connect the Phone to the PC in Charge Only mode
    2. Open a command prompt (Start -> Run -> CMD, you'll need to run as Administrator)
    3. Navigate to the folder you extracted ADB to. In my case, the command would be "cd\Android" (minus the quotes).
    4. Type adb devices and press enter. You should then see the serial number of your phone displayed on screen. If you don't check, that USB Debugging is enabled and you're connected in Charge Only Mode.
    5. Type adb shell, press enter.
    6. Type pm setInstallLocation 2 press enter (it's important you enter this exactly as written as it's case sensitive)
    7. Type Exit, then disconnect your phone.
    8. PROFIT! :)

    You can now move apps that are already on the handset to the SD Card. Head to Settings -> Applications -> Manage Applications -> All -> Click an app -> Move to SD Card. All new apps will also install to the SD Card by default.

    It's worth mentioning that apps with active widgets cannot be moved. Also, a certain portion app will remain on the phones data partition, but this goes a long way to assist with the lack of internal memory!

    Pics for the ADB stuff below:

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    Credit: A big thanks to El Presidents for permission to copy his original guide for the Wildfire S.

    Advertisement
    :
  2. programer281

    programer281 New Member

    Thanks a lot man it worked like a charm for my HTC explorer.superb sharing simple and effective tutorial gazillion thanks to you and El Presidente.
  3. akshayk

    akshayk New Member

    This method is only useful to install NEW apps to sd card. How to move bloatware(ndtv, saavn, uno, etc.) & some google apps(gmail, maps, youtube, etc.) to sd card?
  4. El Presidente

    El Presidente Beware The Milky Pirate! Moderator

    You can't, they're classed as System Apps and reside on the system partition, not the data partition.
  5. akshayk

    akshayk New Member

    It seems that, when downloading an app, it is first stored on phone memory and then installed to sd card(after applying above method). If the app is bigger than remaining internal memory, it does not refuses to download stating "insufficient storage available". What is solution for such apps?
  6. Travisious

    Travisious New Member

    i didn't get it its my first time i do it. do i need ADB or SDK downloaded or SDK-tools is enough?
  7. CafeKampuchia

    CafeKampuchia Well-Known Member

    Adb is a component of sdk tools so whether you go with the full installation or mini-installation you'll have it.
    Travisious likes this.
  8. CafeKampuchia

    CafeKampuchia Well-Known Member

    In some cases that's correct. So the work around is to remove some apps to make room to install the ones you can move, then put them back (if that makes sense!).
    Travisious likes this.
  9. Travisious

    Travisious New Member

    you say that once downloaded SDK-Tools extract in folder of your choice. On PC or on device i can't get it
  10. CafeKampuchia

    CafeKampuchia Well-Known Member

  11. Travisious

    Travisious New Member

    it didn't work :| what the hell :mad: i navigated to that folder where files are extracted typed adb devices and it shows only serial number of my phone. doesnt kill enithing or run daemon
  12. CafeKampuchia

    CafeKampuchia Well-Known Member

  13. knorde

    knorde New Member

    I will try this because i have the same problem with low memory.

    But i have questions:

    1. How about the warrenty?
    2. If i reset factory defaults, is that save?
    3. After factory reset, have to do this again?
    4. After installing this is it possible to disable usb debugging?

    EDIT
    5. (FIXED) I have installed this and this is very very very very very nice, mannnnnnny thanks!!!
    But by default it installed new apps to the phone not to the SD.
    I can move it to the SD but it will not automatic to the SD.
    By example the app drag racing.
    Find it by myself, some apps will automatic to SD and some apps not.
    6. Is it save to delete HTC sync from my phone?
    7. How to get it back to default? (maybe: Type pm setInstallLocation 1 press enter (it's important you enter this exactly as written as it's case sensitive))?

    Gr. Kees.
    Gworld likes this.
  14. vishusaga21

    vishusaga21 New Member

    I tried what you told.But I couldn't get it.My device is not getting recognized.Did exactly what you told.Please help.Thank you
  15. Araishu

    Araishu New Member

    Thanks a lot for this ^.^
  16. CafeKampuchia

    CafeKampuchia Well-Known Member

    Sorry for the late reply:

    1. This has no impact on your warranty.
    2. It is safe to do a factory reset, but you will lose the SetInstallLocation setting as it will revert back to 1.
    3. So, yes, you would have to do this again. But now you know how and it's easy!
    4. Yes, you may now disable USB debugging.
    5. Good work! Enjoy!
    6. HTC Sync is not installed on the phone, but your computer.
    7. Yes, SetInstallLocation1.

    Hope that helps! ;)
  17. CafeKampuchia

    CafeKampuchia Well-Known Member

    Vishusaga, welcome to Android Forums :hello: Give this a try instead:
  18. htcboss

    htcboss New Member

    i followed your steps but apps are not moving they are at same place as they were plzzzz help me out
  19. naumanz

    naumanz New Member

    A Gazzilliiioooonnn Thanks for this amazing and easy tutorial. Works perfectly. Thank you sooooooooo much!!!!!! :D
  20. WAEEZ

    WAEEZ New Member

    problem in step 6 help
  21. KingDrax

    KingDrax Member

    My process *seemed* to work; there was no 'daemon' indicated but after setting the SetInstallLocation 2 it just gave the $ sign. It had seen my phone's serial number so it appeared to be connected ok.

    I still can't move my apps to the SD card (which is a shame as it's a decent 16Gb); the option 'Move to SD Card' is greyed out in all apps I have not already moved without performing this hack.

    Is there anything else I need to do?

    Thanks so much btw, great guide, easy to follow even though I can't seem to see the results yet :)
  22. mohammedsakin

    mohammedsakin New Member

    when i type adb devices... it tells adb is not recognized as an internal or external command
  23. bhavnanil

    bhavnanil New Member

    Hi, I need some help with step 4. When I type adb devices, it says "List of devices attached" and that's it - it does not mention my device. USB debugging is enabled and it is on charge only mode :confused: please help!

    --- Ah I didn't have HTC sync on the PC. Works now. SO helpful. Thank you!
  24. shivamgupta5

    shivamgupta5 New Member

    dude! this sdk-tools.zip is corrupt. not working thereby. please post another link for it.
  25. El Presidente

    El Presidente Beware The Milky Pirate! Moderator

    Welcome to AF! :)

    Just downloaded twice with no issues, the archive opens fine. What's it doing for you?

    Also removed your email address for security purposes.
Loading...

Share This Page