- 清除手机内存
adb shell pm clear com.android.xxx - 进入刷机状态
adb reboot edl - 获取数据库某个字段值
adb shell settings get system 字段名 - 查看手机屏幕分辨率
adb shell wm size - 安装、卸载apk
adb install -t 包名
adb uninstall 包名 - 重启手机
adb reboot - 查看version信息
adb shell dumpsys package 包名 | findstr versionName - 查看apk路径
adb shell pm path 包名 - 查看手机当前页面的具体信息
adb shell dumpsys activity | findstr “mFocus
adb shell dumpsys window | grep mCurrent - 自动填满存储空间
adb shell dd if=/dev/zero of=/mnt/sdcard/bigfile - push安装包步骤
a. adb root
b. adb disable-verity (关闭 system 分区的 verity特性)
c. adb reboot
d. adb root
e. adb remount
f . adb push apk.path 具体路径
g. adb reboot - 查看文件内容
cat 文件名称 - 查看日志
adb logcat >>log.txt
adb shell logcat | grep TAG
adb shell logcat | grep -E "TAG1|TAG2" - 查看WiFi详情
adb shell
ifconfig
dumpsys connectivity | grep SSID - 复制文件到电脑
adb pull 手机文件路径 E:\data
adb常用命令(持续更新...)
最新推荐文章于 2023-12-20 13:28:32 发布