How do you copy something from the SDcard to the Phone Memory?
This is a discussion on How do you copy something from the SDcard to the Phone Memory? within the Droid Hacks forums, part of the Droid Hacking category; 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.
...
-
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.
-
-
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)
-
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.
-
just use cp instead of mv and it should work fine
-
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.
-
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
-
???????? ??? ?????? ?????? ?.
-

Originally Posted by
vzwmandroid
???????? ??? ?????? ?????? ?.
good job. thats a great point.
-
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.
-

Originally Posted by
vwpanda
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By eversonsc in forum Droid General Discussions
Replies: 5
Last Post: 11-11-2010, 03:39 PM
-
By johnnypopoff in forum Tech Issues, Bug Reports & Suggestions
Replies: 9
Last Post: 04-16-2010, 04:22 PM
-
By raven1911 in forum Motorola Droid
Replies: 4
Last Post: 11-29-2009, 09:35 AM
-
By Repose in forum Droid General Discussions
Replies: 11
Last Post: 11-24-2009, 08:40 PM
-
By JimMariner in forum Droid FAQ
Replies: 0
Last Post: 11-06-2009, 03:22 PM
Search tags for this page
adb cross-device link
,
android failed cross-device link
,
android terminal cross device link
,
android+busybox+cross+device link
,
copy from sd card to droid
,
cross-device link adb
,
cross-device link android
,
cross-device link sd card
,
failed cross-device link
,
failed on /mnt/sdcard/busybox - cross-device link
,
failed on /sdcard/authorized keys - cross-device link
,
failed on cross-device link android
,
failed on sdcard/download/tahoma.ttf - cross-device link
,
how to copy from sd card to phone
,
mv failed cross-device link emulator
Click on a term to search our site for related topics.