详解adb常见命令及用法

1.回显开关

@echo off

2.带有空格的文件名用“”插起来

adb install "Player Binary files"\Isdbt1SegPlayer.apk

3.强制更修权限

adb -d shell chmod 777 /system/xbin/busybox

4.注释符号rem

rem adb remount 时执行时忽略掉


例子:

adb remount
adb install "Player Binary files"\Isdbt1SegPlayer.apk

adb push "Player Binary files"\libisdbtutils.so /systemb/
adb push "Player Binary files"\libstagefright_mtvnode.so /systemb/
adb push "Player Binary files"\libmobiletv_jni.so /systemb/

adb push Stagefright_Patch\libstagefright\libstagefright.so /systemb/
adb push Stagefright_Patch\libstagefright\libmediaplayerservice.so /systemb/

adb push librk_demux.so /systemb/
adb push librk_on2.so /systemb/


rem adb push "Player Binary files"\online_12M_SPI_Encrypt_mtvserver\mtvserver /system/bin/ 注释命令

adb push "Player Binary files"\offline_Mtvserver\mtvserver /system/bin/

adb push ts\siano_1segfile.ts /data/

adb -d shell chmod 777 /system/xbin/busybox

pause

你可能感兴趣的:(android)