DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: How do you copy something from the SDcard to the Phone Memory?

  1. Droid
    Jaylor's Avatar
    Member #
    12641
    Join Date
    Dec 2009
    Posts
    38
    Phone
    Enter Current Phone Here
    #1

    How do you copy something from the SDcard to the Phone Memory?

    I need to copy an app stock app that I deleted (Yes, I know I shouldn't have.. now!) because I need to exchange my phone.

    I have root access and was thinking that

    mv /sdcard/<file> /system/app/<file> would work but I get

    a failed message that says - Cross device link.
  2. Junior Droid
    Quickster357's Avatar
    Member #
    1059
    Join Date
    Nov 2009
    Location
    Frigid North of Central US
    Posts
    17
    Phone
    Moto Droid
    #2
    You have to mount the home first under super user.
    In a terminal:

    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    Then type your command
    mv /sdcard/file /system/app/file

    In adb:

    adb shell
    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    mv /sdcard/file /system/app/file
    sync

    And you're done! (These should work however I'm a unix newb)
  3. Droid
    Jaylor's Avatar
    Member #
    12641
    Join Date
    Dec 2009
    Posts
    38
    Phone
    Enter Current Phone Here
    #3
    I've tried that (And just did it again to make sure)

    still gives me the cross-device link error.

    I'm guessing I actually have to mount the SD card but I'm not sure how.

    I've just typed 'mount' to see what is there and I see the sd card but have no clue how to mount it .. yet anyway

    I'm playing with it now but I figured I'd check to see if anyone else has already done it.

    EDIT

    And I haven't installed ADB yet.
    Last edited by Jaylor; 12-16-2009 at 10:07 PM.
  4. Junior Droid
    vwpanda's Avatar
    Member #
    15269
    Join Date
    Dec 2009
    Posts
    14
    Phone
    Moto Droid
    #4
    just use cp instead of mv and it should work fine
  5. Droid
    Jaylor's Avatar
    Member #
    12641
    Join Date
    Dec 2009
    Posts
    38
    Phone
    Enter Current Phone Here
    #5
    I tried that one also,

    There is no cp command, I just get a cp: not found

    I also checked in the /system/bin folder for a cp command and its not there at all.
  6. Junior Droid
    vwpanda's Avatar
    Member #
    15269
    Join Date
    Dec 2009
    Posts
    14
    Phone
    Moto Droid
    #6
    install busybox or use Better Terminal Emulator and cp will work
    you should have cat though. so:
    cat /sdcard/file.apk > /system/app/file.apk
  7. Senior Droid
    vzwmandroid's Avatar
    Member #
    11142
    Join Date
    Dec 2009
    Location
    Homestead, FL 33030
    Posts
    245
    Phone
    Droid by Motorola & Droid Eris
    #7
    ???????? ??? ?????? ?????? ?.
  8. Junior Droid
    vwpanda's Avatar
    Member #
    15269
    Join Date
    Dec 2009
    Posts
    14
    Phone
    Moto Droid
    #8
    Quote Originally Posted by vzwmandroid View Post
    ???????? ??? ?????? ?????? ?.
    good job. thats a great point.
  9. Droid
    Jaylor's Avatar
    Member #
    12641
    Join Date
    Dec 2009
    Posts
    38
    Phone
    Enter Current Phone Here
    #9
    Sweet! Better Terminal did the trick!

    Thanks vwpanda!!

    To bad best buy is now closed and I can't exchange the phone tonight.. ahh well.

    I'm just happy my hair is really short or I would have bee ripping it out trying to figure out how to fix this.

    Oh, and the best part cping the app back over survived a factory reset so they won't be able to figure out I rooted my phone when I return it.
    Last edited by Jaylor; 12-16-2009 at 11:04 PM.
  10. Junior Droid
    th1rd3y3's Avatar
    Member #
    6900
    Join Date
    Nov 2009
    Posts
    5
    Phone
    Droid
    #10
    Quote Originally Posted by vwpanda View Post
    you should have cat though. so:
    cat /sdcard/file.apk > /system/app/file.apk
    ^^This worked for me through adb. Just stumbled across this thread while trying to figure out how to do it. Thanks!
Page 1 of 2 1 2 LastLast

Links

Posting Permissions

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

Similar Threads

  1. Copy and Paste
    By eversonsc in forum Android General Discussions
    Replies: 5
    Last Post: 11-11-2010, 03:39 PM
  2. cut copy and paste
    By johnnypopoff in forum Android Tech Support
    Replies: 9
    Last Post: 04-16-2010, 04:22 PM
  3. How to tell phone memory from SD card memory?
    By raven1911 in forum Motorola Droid
    Replies: 4
    Last Post: 11-29-2009, 09:35 AM
  4. Below what amount of avaliable memory slows down phone?
    By Repose in forum Android General Discussions
    Replies: 11
    Last Post: 11-24-2009, 08:40 PM
  5. Replies: 0
    Last Post: 11-06-2009, 03:22 PM

Search tags for this page

adb shell mv fail cross device link

,
android adb cross-device link
,

android cross-device link

,
android mv failed on cross-device link
,
cross-device link
,

cross-device link mv

,

failed cross-device link

,

failed on /mnt/sdcard/busybox - cross-device link

,
failed on busybox - cross-device link
,
failed on cross-device link
Click on a term to search our site for related topics.
Find us on Google+