微信跳一跳高分系列一:解读 adb 工具
adb
常用命令
general commands: // 常用命令devices [-l] list connected devices (-l for long output) // 列出当前链接到 adb-server 的设备help show this help message // 查看帮助version show version num // 显示当前版本号
文件传输
file transfer: // 文件传输push LOCAL... REMOTE // 推送PC文件到手机: push d://demo.txt /sdcard/copy local files/directories to devicepull [-a] REMOTE... LOCAL // 拉取手机文件到PC: pull /sdcard/demo.txt d://mobilecopy files/dirs from device-a: preserve file timestamp and modesync [DIR] // 同步目录到手机copy all changed files to device; if DIR is "system", "vendor", "oem",or "data", only sync that partition (default all)-l: list but don't copy
shell 命令
shell: // shell 命令(常用于模拟点击、输入、截屏、录屏等事件)shell [-e ESCAPE] [-n] [-Tt] [-x] [COMMAND...]run remote shell command (interactive shell if no command given)-e: choose escape character, or "none"; default '~'
-n: don't read from stdin
-T: disable PTY allocation
-t: force PTY allocation
-x: disable remote exit codes and stdout/stderr separation
emu COMMAND run emulator console command
安装 apk
app installation: // 安装 apkinstall [-lrtsdg] PACKAGEinstall-multiple [-lrtsdpg] PACKAGE...push package(s) to the device and install them // 先将安装包推送到手机端,然后安装: install com.youhua-l: forward lock application-r: replace existing application-t: allow test packages-s: install application on sdcard-d: allow version code downgrade (debuggable packages only)-p: partial application install (install-multiple only)-g: grant all runtime permissionsuninstall [-k] PACKAGEremove this app package from the device'-k': keep the data and cache directories
备份和还原
backup/restore: // 备份和还原backup [-f FILE] [-apk|-noapk] [-obb|-noobb] [-shared|-noshared] [-all] [-system|-nosystem] [PACKAGE...]write an archive of the device's data to FILE [default=backup.adb]package list optional if -all/-shared are supplied-apk/-noapk: do/don't back up .apk files (default -noapk)-obb/-noobb: do/don't back up .obb files (default -noobb)-shared|-noshared: do/don't back up shared storage (default -noshared)-all: back up all installed applications-system|-nosystem: include system apps in -all (default -system)restore FILE restore device contents from FILE
调试
debugging: // 调试bugreport [PATH]write bugreport to given PATH [default=bugreport.zip];if PATH is a directory, the bug report is saved in that directory.devices that don't support zipped bug reports output to stdout.jdwp list pids of processes hosting a JDWP transportlogcat show device log (logcat --help for more)
安全
security:// 安全disable-verity disable dm-verity checking on userdebug buildsenable-verity re-enable dm-verity checking on userdebug buildskeygen FILEgenerate adb public/private key; private key stored in FILE,public key stored in FILE.pub (existing files overwritten)
脚本
scripting:wait-for[-TRANSPORT]-STATEwait for device to be in the given stateState: device, recovery, sideload, or bootloaderTransport: usb, local, or any [default=any]get-state print offline | bootloader | deviceget-serialno print <serial-number>get-devpath print <device-path>remountremount /system, /vendor, and /oem partitions read-writereboot [bootloader|recovery|sideload|sideload-auto-reboot]reboot the device; defaults to booting system image butsupports bootloader and recovery too. sideload rebootsinto recovery and automatically starts sideload mode,sideload-auto-reboot is the same but reboots after sideloading.sideload OTAPACKAGE sideload the given full OTA packageroot restart adbd with root permissionsunroot restart adbd without root permissionsusb restart adb server listening on USB // 重新启动 正在监听 usb 的 adb-servertcpip PORT restart adb server listening on TCP on PORT
internal debugging:start-server ensure that there is a server runningkill-server kill the server if it is runningreconnect kick connection from host side to force reconnectreconnect device kick connection from device side to force reconnect
环境变量
environment variables: // 环境变量$ADB_TRACEcomma-separated list of debug info to log:all,adb,sockets,packets,rwx,usb,sync,sysdeps,transport,jdwp$ADB_VENDOR_KEYS colon-separated list of keys (files or directories)$ANDROID_SERIAL serial number to connect to (see -s)$ANDROID_LOG_TAGS tags to be used by logcat (see logcat --help)
微信跳一跳高分系列一:解读 adb 工具相关推荐
- 微信跳一跳高分系列二:adb shell 中的常用命令
input 命令 > adb [-s device] shell input [<source>] <command> [<arg>...]The sourc ...
- 微信跳一跳高分系列三:用 adb 破解微信跳一跳小程序
写在前面:网上关于微信跳一跳的文章已有很多,写这篇的目的是对 adb 工具的一个熟悉过程,也是对未入门的新朋友的一个引导 步骤: 1.保存当前跳一跳页的截图到手机 adb shell screenca ...
- 微信跳一跳高分系列四:一个 JAVA 版开源的微信跳一跳辅助工具
基于前三篇文章,我们一起来制作一个自动化工具,解放劳动力,通过机器自动完成跳一跳 wechat-jump-helper 一款JAVA版开源的微信跳一跳小程序辅助工具 传送门一:wechat-jump- ...
- 微信跳一跳高分辅助踩坑
旧博文,搬到 csdn 原文:http://rebootcat.com/2018/01/08/wechat_jump_hack/ 最近挺火的微信跳一跳 最近新版微信的『跳一跳』小程序着实火了一把,也把 ...
- 微信跳一跳python自动代码解读1.0
微信跳一跳 那个跳一跳python"外挂",有几个python文件,其中有一个是得到截图,然后鼠标在图片上点击两次,python窗口上会打印两次鼠标的位置,并且会跟上一行这两个点之 ...
- Python实现微信跳一跳高分技巧
2017年12月28日下午,微信发布了 6.6.1 版本,加入了「小游戏」功能,并提供了官方 demo「跳一跳」. 游戏模式 这是一个 2.5D 插画风格的益智游戏,玩家可以通过按压屏幕时间的长短来控 ...
- 微信“跳一跳”高分技巧
首先,我的配置环境是"Windows+Android",本来刚开始想尝试"Linux"的,但是Linux的安装环境配置不成功,所以就选"Windows ...
- 微信“跳一跳”高分攻略
1.连续跳中心点,可以+2.+4.+6--连续加分. 2.特殊方块停留3秒左右,有不同程度加分. 井盖:听冲水声,加5分: 魔方:魔方旋转修正,加10分: 徐记士多:便利店开门,加15分: 唱片:播放 ...
- 使用Python玩微信跳一跳教程
在上一篇文章里介绍了使用Python玩微信跳一跳的详细使用教程,不过依旧还是有很多小伙伴有各种各样的问题.为了让各位小伙伴都能使用黑科技,于是再做一个超详细教程.从Python的安装开始,手把手教你一 ...
最新文章
- 2星|《约见投资人》:A股上市公司软文集
- python读取excel画散点图-matplotlib两种画散点图的方式
- Oracle-使用awrrpt.sql生成AWR报告
- BZOJ-2780 Sevenk Love Oimaster(广义后缀自动机)
- P2038 无线网络发射器选址
- python如何运行代码_python上怎么跑(运行)代码
- 【实用工具】之VMware workstation 14中安装CentOS 7
- Android软键盘问题
- python娃娃在地上摆积木_Python中乐高积木——函数
- 【软件分享】天若OCR文字识别V4.48(翻译功能免费)
- Android如何进行反编译
- ubuntu生成pem证书连接服务器(已验证)
- 关于天线信号测量方法的记录-确定天线质量好坏-记录
- kali linux无线驱动安装,Kali Linux安装 WIFI无线网卡驱动 教程
- python turtle绘制漫天雪花_科赫雪花渲染时间(以及如何使用海龟绘制雪花)
- 【RocketMQ】发送事务消息
- WikiOI 1139 观光公交 (NOIP2011) 贪心
- Ubuntu虚拟机ping不通
- 李宏毅机器学习 02回归
- 移动端前端的适配和rem,vm其他的一些的复习
热门文章
- html原生音频播放器倍速,HTML5倍数功能视频播放器(加速2倍,1.5倍播放)
- android 9.0 一加6,一加6终于升级到安卓9.0,但这两个BUG令人遗憾!
- 天水市一中2021高考成绩查询,天水高中成绩排名2021,天水中考分数线排行榜
- python自动操作微信_Python+Appium 自动化操作微信入门看这一篇就够了
- android onclick执行顺序,错误“无法执行android:onClick的方法”
- mac mysql 报错_mac os mysql 配置?报错-问答-阿里云开发者社区-阿里云
- staruml顺序图生成协作图_一个工具箱 之 南丁格尔玫瑰图生成器
- java写入简介_Java关于IO流的介绍
- 方欣科技算法题面试:蛇形矩阵
- 零基础跟我学前端之css3基础