常用的adb命令

adb kill-server

adb start-server

adb devices

adb shell

adb busybox(shell格式裏支持busybox命令)

adb install -r xxx.apk(強制安裝apk)

adb shell -- 

    

   busybox ifconfig eth0 down
   busybox ifconfig eth0 hw ether 36:20:C5:45:30:97
   busybox ifconfig eth0 up

(更換eth0mac地址,要先卸載網卡,但是如果只是用網線連接devices,後面兩步就是空話了,所以只要要連接USB接口/串口)


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章