Enable/Disable automatic SD installations

Discussion in 'Bugless' started by Se7enLC, Jun 16, 2010.

  1. Se7enLC
    Offline

    Se7enLC New Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    0
    EDIT: This is no longer needed as of BB 0.3! Just run the included command "apps2sd"

    Like the idea of installing apps to SD but don't want bugless beast to automatically install ALL your apps to SD?

    Run these scripts to enable / disable the sd installs.

    To run:
    Code:
    su
    sysrw
    sh /sdcard/disablesdinst.txt
    
    The script will modify the /system/etc/install-recovery.sh startup script and make the change immediately. Reboot after running and type this to ensure that it worked:

    Code:
    
    pm getInstallLocation
    
    should return a 1
    Last edited: Jun 28, 2010
  2. briantmathers
    Offline

    briantmathers New Member

    Joined:
    May 15, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Thank you, thank you, thank you! I have been looking for a way to disable the automatic apps2sd since I found out that pm setInstallLocation 1 did not survive a reboot. I ran the pm getInstallLocation and it returned with 1! This was one of the only issues I had with BBv0.2... thanks again! dancedroid
  3. miosis
    Offline

    miosis New Member

    Joined:
    Feb 24, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    USA
    I get this: sed: can't create temp file /system/etc/install-recovery.sh0txYqN: Read-only file system
  4. Se7enLC
    Offline

    Se7enLC New Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    0
    You need to be root and have /system mounted as read/write. I'll edit the instructions.
  5. Samurai26
    Offline

    Samurai26 New Member

    Joined:
    May 1, 2010
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    0
    Hmm, not working

    After I input this: sh /sdcard/disablesdinst.txt

    I get this: sh: Can't open /sdcard/disableinst.txt
  6. Se7enLC
    Offline

    Se7enLC New Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    0
    Did you put the text file on the SD card in that location? Also, the file is called disablesdinst.xt. don't forget the SD in the middle.
  7. Samurai26
    Offline

    Samurai26 New Member

    Joined:
    May 1, 2010
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    0
    Thanks, trying it now
  8. Tony M27
    Offline

    Tony M27 New Member

    Joined:
    Apr 12, 2010
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    0
    None of my apps were moved to SD after updating to bb 0.2. Should I be worried?
  9. beejaycee
    Offline

    beejaycee New Member

    Joined:
    Feb 23, 2010
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    0
    Se7enLC, thank you for the script! I ran it and now I'll see how it goes. After playing with apps, I'm 99 & 44/100% certain that my reboot problem is due to to apps on the SD card.
  10. Asterisk
    Offline

    Asterisk New Member

    Joined:
    Mar 23, 2010
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    0
    They will only move when you install something new. Everything else is fine.
  11. Tony M27
    Offline

    Tony M27 New Member

    Joined:
    Apr 12, 2010
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    0
    Ahh thanks!
  12. Asterisk
    Offline

    Asterisk New Member

    Joined:
    Mar 23, 2010
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    0
    No problem. I thought the same thing when I first installed it.
  13. iamloco724
    Offline

    iamloco724 New Member

    Joined:
    Nov 5, 2009
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    0
    im trying to download the txt file but im getting cannot download the content is not supported on this phone
  14. Se7enLC
    Offline

    Se7enLC New Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    0
    There are ways to get around that limitation (I hate that the droid won't let you download arbitrary filetypes by default). I think installing Linda File Manager was how I got around that.

    In any case, try just downloading the scripts using a computer and dropping them on the SD card.
  15. miosis
    Offline

    miosis New Member

    Joined:
    Feb 24, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    USA
    just installed bb v.2.1 love it so far, but apps2sd I would like to disable by default. Any ideas or help appreciated.
  16. Se7enLC
    Offline

    Se7enLC New Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    0
    Not to be snarky, but that's the exact purpose of this thread. The original post in this thread explains how.
  17. stark23x
    Offline

    stark23x New Member

    Joined:
    Mar 7, 2010
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    0
    THANK. YOU.

    Dropped both on my sd card and now I can mess around with the feature but also turn it off at will. Perfect. Thanks!

    - edited to add: Quick question: if I enable it, move or install an app, then disable it, will that app still work? And will it be updated on the SD card from market? Or would I have to re-enable first?
    Last edited: Jun 17, 2010
  18. miosis
    Offline

    miosis New Member

    Joined:
    Feb 24, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    USA
    No snarkness taken. Somehow I was viewing the cached (via my browser) original post before you added the su and sysrw commands to original post.
    Hope you have a wonderful day and thank you for your time and help.
  19. Se7enLC
    Offline

    Se7enLC New Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    0
    As far as I know it will, but I haven't done much testing. I've had only problems with installing to SD, so I leave the SD card installs disabled entirely.

    I think you will have to re-enable it first, otherwise the updates will install to the internal card instead of the SD.

    You can also more permanently install the script if it's something you'll be using a lot. Just copy the file to /system/xbin and mark it executable:
    Code:
    su
    sysrw
    cp /sdcard/disablesdinst.txt /system/xbin/disablesdinst
    cp /sdcard/enablesdinst.txt /system/xbin/enablesdinst
    chmod 0755 /system/xbin/disablesdinst
    chmod 0755 /system/xbin/enablesdinst
    sysro
    
    Then you can just type "enablesdinst" or "disablesdinst"
  20. stark23x
    Offline

    stark23x New Member

    Joined:
    Mar 7, 2010
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    0
    Se7enLC, thanks so much! This is working out really well. I enabled, moved a few apps (nothing with a widget) and disabled. The apps are there, Launcher sees them and the phone is humming along normally.

    Nice. Appreciate the help!
Search tags for this page
android disable incognito
,
android disable install sd card
,
android disable install to sd
,
android disable move to sd
,
android disable sd card
,
automatic app to sd
,
disable auto move to sd card
,
disable automatic app to sd card
,

disable incognito android

,
disable incognito android#gsc.tab
,
disable sd card android
,
disable sd card app install
,
enable move to sd card on the f3
,

how to disable incognito on android

,
how to turn off sd card