1. Download our Official Android App: Forums for Android!

Root SD bind with boot buddy script

Discussion in 'Android Devices' started by KA24DERACER, Jan 6, 2013.

  1. KA24DERACER

    KA24DERACER Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    150
    Joined:
    Jul 19, 2011

    Jul 19, 2011
    150
    34
    43
    Sacramento, CA
    hey all, so as far as Im aware, there are only two ways to keep app data on the external SD card. Directory Bind, which I have heard stinks, and using a remount script with boot buddy.

    My question: how would I use boot buddy to JUST remount my app data folders to my external SD card. I dont really want to mount my whole internal SD card, just the large app data storages. Can anyone tell me how to do this or write me a script for it (perhaps a general script which I could just fill in the folders I want to transfer).

    Thanks for any help
     

    Advertisement

  2. orangejuicebox

    Rank:
    None
    Points:
    16
    Posts:
    60
    Joined:
    Aug 10, 2011

    Aug 10, 2011
    60
    5
    16
    Los Angeles, CA
    just move folders from internal fs to the new sd location as it says on the guide version
    2
     
  3. Sepero

    Sepero Linux Guru
    Rank:
    None
    Points:
    163
    Posts:
    963
    Joined:
    Aug 26, 2010

    Aug 26, 2010
    963
    594
    163
    I wrote up a small script that you can use, named rebind_dirs.sh. Just put that in your Boot Buddy directory. It basically performs the same function as the app "directory bind", but it will bind the directories much earlier in the startup process.

    You will also need to tell it which directories you want to bind. Create an empty file on your sdcard named rebind_dirs.txt.
    (/mnt/sdcard/external_sd/rebind_dirs.txt)

    In that file put the directory names you want to bind, for example:
    Code (Text):
    1.  
    2. Download
    3. DCIM
    4.  
    This script will not move or overwrite any files. It will simply mirror directories within internal storage to your sdcard.
    (/mnt/sdcard/DCIM -> /mnt/sdcard/external_sd/DCIM)

    Cheers :)



    For reference:
    Video on using directory bind
    Guide to remounting your entire sdcard to /mnt/sdcard
     
    KA24DERACER, Scorpion7867 and twogbsd like this.
  4. KA24DERACER

    KA24DERACER Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    150
    Joined:
    Jul 19, 2011

    Jul 19, 2011
    150
    34
    43
    Sacramento, CA
    Thank you Sepero, that is EXACTLY what I was looking for. I just dont like all the errors and things associated with remounting the WHOLE SD card, I just want to be able to mount the app data. Appreciate the help
     
Tags:

Share This Page

Loading...