Android Community
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: moving apps to Sd card

  1. #11
    Join Date
    Sep 2008
    Posts
    8

    Default Re: moving apps to Sd card


    Quote Originally Posted by Stericson View Post
    So, I have found where the apps are stored and to test the possibility of moving the files to my sd card I want to move a folder to my sd card. Yet, when I use the command "mv data/app-private sdcard/app-private" I get "failed on data/app-private - cross device link"

    Does anyone know why this is happening?
    Can't really explain why, but here is the solution:
    dd if=<initial_file_name_and_pass> of=<final_file_name_and_pass>

    It should work. Then, yes, you can create a symlinc to /data/app-private (do you have to delete the directory to do this?) or use mount --bind, if you installed busybox to your android (preinstalled mount does not have --bind option).

    After that I bet the android market couldn't realize the difference.

    PS: Just chechek symlinks by 'ln': cross-device error, does not work.
    Yuppi! 'busybox mount --bind /data/app-private /sdcard/app-private' sould works =) I just mounted some arbitrary folder to sdcard.
    Don't really wanna try this with apps folder cause the amount of space is not my problem right now - I am truing to figure out how to run sshd server to keep root access after update... Pls, tell if you know some of this =)

    PPS: Found (in previous posts) ln -s option. Checked, also works perfectly. In case of mount you need to have the directory created, in case of symlink you shouldn't have it.
    Last edited by Dimath; 11-08-2008 at 04:57 PM.

  2. #12
    Join Date
    Nov 2008
    Posts
    68

    Default Re: moving apps to Sd card


    symlinks is the way to go. In a *inx environment when you go to write data to a location that is a symlink it will follow that symbolic link to the "real" destination that your going to write your data to . Just as posted above me, the ln -s command is what is needed to be able to install to the SDcard. Some basic knowledge of linux should be there if your going to attempt to work on the phones file system. You can easily brick your phone.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Install apps onto memory card?
    By trumani in forum General Phone Chat
    Replies: 14
    Last Post: 02-08-2012, 04:04 PM
  2. Apps to SD card
    By birdtales in forum General HTC Chat
    Replies: 4
    Last Post: 11-06-2008, 08:54 PM
  3. How do I get apps installed on to SD card?
    By samd3353 in forum General Phone Chat
    Replies: 9
    Last Post: 10-27-2008, 12:04 PM
  4. Market apps stored and ran from sd card??
    By solidstar in forum General HTC Chat
    Replies: 7
    Last Post: 10-26-2008, 04:12 PM
  5. CONFORMATION: apps downloaded on the G1 go to the SD card
    By tjferris in forum General HTC Chat
    Replies: 4
    Last Post: 10-17-2008, 11:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •