您的位置:首页 > 其它

dos批处理文件之adb push

2013-05-08 10:33 99 查看
1、建立一个.bat文件

新建一个.txt文档,将后缀名改为.bat

2、编写该文档,文档内容如下:

adb remount

adb push ./uart_cfg /system/etc

adb push ./GNSS.bin /system/etc

adb push ./UART_RW.bin /system/etc

adb shell sync

pause

注意:

uart_cfg、GNSS.bin、UART_RW.bin是要push的文件,./表示该文件在当前目录下。

/system/etc是文件要push到的目录。这个目录一般是手机中的某个位置。

另外,使用fastboot烧写img文件与之类似:

fastboot -i 0x12d1 flash boot boot.img //boot.img就是要烧写的img文件,假设在当前目录下

pause
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: