Android 设备简单文件操作

1.pull

# 拷贝 /system/etc/start_eth.sh 至 /home/hil/obufile/
adb pull /system/etc/start_eth.sh /home/hil/obufile/

2.赋权限

# 重新加载文件系统 实现权限赋予
mount -o rw,remount yaffs2 /

3.push

# 拷贝 /home/hil/obufile/start_eth.sh 至 /system/etc/
adb push /home/hil/obufile/start_eth.sh /system/etc/

猜你喜欢

转载自blog.csdn.net/qq_41854291/article/details/108257483