欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

盒子开启adb命令后的相关执行命令

程序员文章站 2022-06-19 09:26:23
...

断开连接:

adb disconnect 172.26.187.3

启动menu键,输入:
C:\Users\Administrator>adb shell
aaa@qq.com:/ # input keyevent 82
aaa@qq.com:/ # input text 192.168.2.183:8081

aaa@qq.com:/data/data # rm -rf com.amt.launcherah_special
aaa@qq.com:/ # cd system/app

adb push C:\Users\Administrator\Desktop\金典版\ahjd\4K.png /data/pic

C:\Users\Administrator>adb remount ## remount ‘/system’分区 as read-write

adb devices
adb install xxx.apk
adb uninstall (-k) 包名
adb shell pm uninstall -k com.amt.launcherah_special
pm uninstall com.amt.launcherah
am start -n com.amtgd.launcher/com.amtgd.launcher.HomeActivity
adb -s emulator-5554 shell

aaa@qq.com:/data/data # rm -rf com.amt.launcherah_special
aaa@qq.com:/ # cd system/app

adb logcat -c && adb logcat -v time >D:iii.log (用命令抓log)

抓网络包命令:tcpdump -i any -p -s 0 -w /mnt/sda/sda1/2.pcap &

加权限

adb shell mount -o remount /system

查找文件:
aaa@qq.com:/ # busybox find . -name “libztestbcfg_jni.so”

mount -o remount,rw rootfs /system/

截图:

adb shell /system/bin/screencap -p /sdcard/screenshot.png
adb pull /sdcard/screenshot.png E:\

查看安装应用的 version:
dumpsys package com.android.smart.terminal.ctsh.launcher | grep version

dumpsys package com.amt.vdou

dumpsys meminfo com.android.smart.terminal.ctsh.launcher 查看内存
aaa@qq.com:/ # getprop dalvik.vm.heapgrowthlimit
96m
aaa@qq.com:/ # getprop dalvik.vm.heapsize
256m
aaa@qq.com:/ # getprop dalvik.vm.heapstartsize
5m

盒子开启adb命令后的相关执行命令

盒子开启adb命令后的相关执行命令

盒子开启adb命令后的相关执行命令

相关标签: 机顶盒