Enable/Disable automatic SD installations

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

  1. Se7enLC
    Offline

    Se7enLC Active Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +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:
    1
    Ratings:
    +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 Member

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

    Se7enLC Active Member

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

    Samurai26 Member

    Joined:
    May 1, 2010
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +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 Active Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +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 Member

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

    Tony M27 Member

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

    beejaycee Member

    Joined:
    Feb 23, 2010
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +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 Member

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

    Tony M27 Member

    Joined:
    Apr 12, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Ahh thanks!
  12. Asterisk
    Offline

    Asterisk Member

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

    iamloco724 Member

    Joined:
    Nov 5, 2009
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +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 Active Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +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 Member

    Joined:
    Feb 24, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    USA
    Ratings:
    +0
    just installed bb v.2.1 love it so far, but apps2sd I would like to disable by default. Any ideas or help appreciated.
Search tags for this page
android auto install sd card
,
android disable incognito
,
android disable install to sd
,
android disable sd card
,
disable automatic app to sd card
,

disable incognito android

,
disable sd card android
,
enable move to sd card on the f3
,
how disable move 2 sd
,

how to disable incognito on android