Root Undoing BB Apps2SD by default.

Discussion in 'Android Devices' started by Branndon, Jun 15, 2010.

  1. Branndon

    Branndon Well-Known Member
    43

    Nov 10, 2009
    481
    30
    43
    Website Developer
    Orange County, CA
    If someone could please tell me the script or command to make it revert back to stock, I'd appreciate it and update this post with the information.

    I am hardly using 50% of my phones internal storage and get no benefit from moving the apps to the SD card. On the contrary, my SD card is pretty full, and I'd like to keep the space free. It's also piece of mind in case anything happens to the SD card.

    I have read the recent threads on BB .2 and GirLove.... said something about a command, but I can't find that post right now.

    Edit, Thanks PDR!

    The fix:
     

    Advertisement

    inssane and GTSchubert like this.
  2. PDR

    PDR Well-Known Member
    16

    Nov 19, 2009
    66
    5
    16
    su
    pm setInstallLocation 1


    *edit* I believe Pete posted that this rom was su as default so may not need to type the su command.

     
    Branndon likes this.
  3. Branndon

    Branndon Well-Known Member
    43

    Nov 10, 2009
    481
    30
    43
    Website Developer
    Orange County, CA
    Thanks, the reply was
    So I hope that means it worked.
     
  4. johnlgalt

    johnlgalt Antidisestablishmentarian
    VIP Member
    343

    Oct 28, 2009
    9,416
    1,923
    343
    Male
    Graduate Research Assitant | That part time IT guy
    3rd Rock
    that is what that means.
     
  5. Redflea

    Redflea Well-Known Member
    163

    Oct 6, 2009
    2,623
    289
    163
    Same response on my Droid...I'll move apps to SD when I want, didn't like it being the default. Call me old-fashioned. ;)
     
  6. johnlgalt

    johnlgalt Antidisestablishmentarian
    VIP Member
    343

    Oct 28, 2009
    9,416
    1,923
    343
    Male
    Graduate Research Assitant | That part time IT guy
    3rd Rock
    +5 on that - I have a lot of widgets that I use, and I just like being in control of things myself.
     
  7. GirLuvsDroid

    GirLuvsDroid Well-Known Member
    213

    Jan 5, 2010
    1,307
    515
    213
    Corporate & Securties Attorney
    Wilmington, DE
    One big caveat here: if you run that command in terminal emulator, it will be blown away on reboot. If you want to keep it from defaulting back to SD card install, you need to edit the /system/etc/install-recovery.sh file to change "pm setInstallLocation 2" to "pm setInstallLocation 1"

    Easiest way to do this is to long-press on that file in Root Explorer, scroll down to "Open in Text Editor" and make the change noted above, then press the soft back key. It will ask if you want to save changes and when you say yes, it will save the original file with a .bak extension.
     
  8. OMJ

    OMJ Bazinga
    VIP Member
    213

    Nov 27, 2009
    3,290
    825
    213
    Finance
    Pennsylvania
    Glad you posted the fix but what was pete thinking with this. Most have no use for a2sd
     
  9. Redflea

    Redflea Well-Known Member
    163

    Oct 6, 2009
    2,623
    289
    163
    Funny - I just came to this thread to post that as well. :)

    Very easy to make the edit and reboot...tested and installed to phone after the edit as expected...
     
  10. rdsok

    rdsok Well-Known Member
    53

    Feb 24, 2010
    238
    61
    53
    A quick minor correction to this statement... su is defaulted only in the ADB Shell... not just any shell or terminal program. I had made the same misunderstanding and had to re-read Pete's post to understand that.
     
  11. Branndon

    Branndon Well-Known Member
    43

    Nov 10, 2009
    481
    30
    43
    Website Developer
    Orange County, CA
    Original post updated.
     
  12. GreedyBird

    GreedyBird Well-Known Member
    36

    Dec 15, 2009
    72
    2
    36
    Graduate Student
    i agree, and an top of little use for most, it messed up almost all my widgets..facebook, twitter, pure calendar, beautiful widgets, all of these upon reboot had issues

    In my mind having to reapply all these widgets ever reboot is a big bug that came from this new feature.. glad we can easily disable though
     
  13. johnlgalt

    johnlgalt Antidisestablishmentarian
    VIP Member
    343

    Oct 28, 2009
    9,416
    1,923
    343
    Male
    Graduate Research Assitant | That part time IT guy
    3rd Rock
  14. inssane

    inssane Well-Known Member
    163

    Dec 17, 2009
    1,851
    156
    163
    Chi-Town
    Pete listed this:
    In my latest release I enabled apps2sd to work on most apps (even the ones that do not support it yet). Most of your apps will work flawlessly but there are some such as widgets and others that may not. Also you may have other questions about this feature and I will try to answer them as they come.

    Q) My Widgets and other apps are not working properly on the sdcard, what do I do?

    A) Menu > Settings > Applications > Manage Applications > Example App > Move to Phone

    Q) Does having apps installed on the sdcard cause an ill effect on its performance?

    A) No not at all, stated by Google here: App Install Location | Android Developers

    Q) Why are my my market apps not showing up in my app drawer?

    A) If they are installed on your sdcard you must have it mounted or wait for it to mount before they appear.

    Q) How do I disable automatic apps2sd permanently?

    A) In /system/etc/install-recovery.sh change "pm setInstallLocation 2" to "pm setInstallLocation 0" with no quotes.

    All About Apps2SD (FROYO) - Droid Forum - Verizon Droid & the Motorola Droid Forum

    He states "0" not "1"
    I edited 0 so hopefully all will be well.
     
  15. inssane

    inssane Well-Known Member
    163

    Dec 17, 2009
    1,851
    156
    163
    Chi-Town
    Just went back in and changed it to 1
    Everything else I read says 1 and I don't trust 0 for auto.
     
  16. Markroberthon

    Markroberthon Member
    5

    Jan 27, 2010
    9
    0
    5
    Anyone know why my /system/etc/install-recovery.sh file doesn't have that line in it at all? Can I just add it in if it's not there?
     
  17. GreedyBird

    GreedyBird Well-Known Member
    36

    Dec 15, 2009
    72
    2
    36
    Graduate Student
    Even though that is a simple solution.. how will it handle updates? Will the updated app be moved back to the SD?
     
  18. GirLuvsDroid

    GirLuvsDroid Well-Known Member
    213

    Jan 5, 2010
    1,307
    515
    213
    Corporate & Securties Attorney
    Wilmington, DE
    Are you running version V0.2 or 0.2.1 of Bugless Beast FRF57? If you're running an earlier version, it won't be in there.
     
  19. Markroberthon

    Markroberthon Member
    5

    Jan 27, 2010
    9
    0
    5
    Yeah, I tried after I switched back to 0.1, I was still getting reboots on 0.2.1, for some reason I thought auto install to SD as on 0.1 also. Thanks :)
     

Share This Page

Loading...