moving files using terminal emulator vice adb

RW-1

Silver Member
Joined
Nov 29, 2009
Messages
2,245
Reaction score
1
Location
Nazareth, PA
I have a new bootanimation.zip with sound that I want to place into /data/local (as the OS looks there first instead of replacing the one in /system if I understand correctly)

However I don't wish to use ADB, or even root explorer, would anyone know the commands that I could use in terminal emulator?

I know the move command and tried, but I get a cross device link error if I'm in /data/local and try the mv command, likewise if in sdcard and just try mv bootanimation.zip /data/local as well

any thoughts or can you direct me to someone who knows android code?

Thanks,

Marc
 

Jim 777

Silver Member
Joined
Dec 26, 2009
Messages
2,306
Reaction score
37
By no means am I suggesting this will work, but when I'm copying from the sdcard to the /system/framework folder, I use TE and type:

su
sys -rw
busybox cp /sdcard/file_name.ext /system/framework
sys -ro
reboot

Someone just shared that with me since I changed to v0.3 and then v0.4.
When I was on 1.1 and before it was different.


So, can't you use that to push to the /system/media folder?
 
OP
RW-1

RW-1

Silver Member
Joined
Nov 29, 2009
Messages
2,245
Reaction score
1
Location
Nazareth, PA
Hi,

Thanks, yes, that likely will work, but I prefer to throw it to data/local because then if I want to revert I just remove it. I'm told the less I mess with the system folder the better.

I don't have the sys command it seems, get sys: not found
 
Last edited:

gflam

Developer
Developer
Theme Developer
Joined
Jun 14, 2010
Messages
1,900
Reaction score
29
Location
Jersey
To push the bootanimation.zip use these commands in terminal emulator
su
cp /sdcard/bootanimation.zip /data/local/
reboot
 

Luc1fer

New Member
Joined
Jan 28, 2011
Messages
1
Reaction score
0
term commands

don't know how much the terminal differs from the Nexus One but these are the commands that i use....

su
mount -o rw,remount /system
busybox cp <file location to move> <where to move it>

eg "busybox cp /sdcard/bootanimation.zip /swystem/media"

hope it helps......
 
Top